Intensity graph and its "interpolate color" option
Dear Devs,
using LV2013.02f, my intensity graph never redraws correctly (it remains black), after I uncheck and check the "interpolate color" option in the right-click menu for the z-axis. Is this reproducible for anybody, please?
Note: There are more situations when the intensity graph remains black after changing some options, but I could not reproduce them systematically. Any ideas what to use instead of it to display 2D arrays of values?
Cheers,
Dear users,
dear GerdW
Related issue:
Intensity graph displays a black z-axis color bar
The issue(s) are connected to the positions of the markers on the color bar. I converted the VI to a 2010version (again, wrapped in a 7-Zip archive), I hope that helps for now.
Now, when I multiply my 2D array with a suitable high- and at the same time low-enough value (multiplier=1E+34) -- 1E+33 is too low, 1E+35 is already too high; then the markers of the color bar are visible suddenly. The "interpolate color" and the blackness of the graph can be now manipulated and adjusted.
So now, I have to remember that the default markers' positions are (0,50,100) and there is no way to change them before I extend the values of my array over this region suitably. Seriously, I went through all the right-click on the z-axis menu items and executed them one-by-one. None of those brought the z-axis color bar or the colors back into the graph again.
Q: How should a novice know about it? Isn't there a "reset all markers, distribute them equally and show all values in the default spectrum color" button somewhere, and did I missed it?!
Cheers,
Attachments:
2013-11-27 0946 buggy intensity graph.7z 133 KB
Similar Messages
-
Cannot make vertical axis of intensity graph logarithmic
Has anyone else noticed that that the vertical axis on intensity charts cannot be made logarithmic? Labview gives you the option, but doesn't do anything when you try and check the box. Property nodes don't seem to work either. Tried this in LabVIEW 2011 SP1 and 2013. Am I doing something wrong or is this just a feature that isn't avaiable? I am just wondering if its my install or something that is really an issue.
My application is to plot the power spectrum of sound on a intensity chart to show history of sound recorded by a microphone in real time. Really good to pin point source frequencies of feedback.
AmitHi Amit,
This is a documented problem with LabVIEW and it is currently being worked on. Here are a couple other Forums that discuss it and offer workarounds for this issue.
Log scale in an Intensity graph
Possible bug in Intensity Graph while using interpolate colors on a Log scale
Intensity Graph - Mapping Mode
As shown in the 'Possible Bug' link above, a Corrective Action Request has been filed under the number 453407 as soon as a couple of weeks ago. To fully answer your question, it is not your install or anything like that, just an issue NI knows about and will be working on for future releases.
Douglas C.
Applications Engineer
National Instruments -
Change colors of individual pixels on intensity graph?
I would like to be able to change the color of a set of individual pixels within an intensity graph, to blue for example, while leaving the color table otherwise as is, for example, gray scale. The change to blue would be based on location, not on current gray value. I think I can accomplish this using the mask fx with picture controls, and then convert to intensity graph. Is there a more direct way? A good example to demonstrate this capability would be just using a 'mouse down' event on an intensity graph to change the color at the mouse location. Any thoughts are appreciated.
Sincerely,
DonYes, seems to work fine .
If you have LabVIEW 8.0, there is another possibility. There is a new property that allows drawing any pictures or picture elements on your graph area. Of course you could draw individual pixels, but nothing prevents you from e.g. drawing circles, squares, odd shaped areas, arrows or event text. ... Anything you could do with a plain picture indicator. One example that ships with LabVIEW 8.0 is Envelope.vi, see image.
Message Edited by altenbach on 06-12-2006 07:31 PM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
envelope.png 32 KB -
Changing color table for intensity graphs
Hi, I've been working on superimposing intensity graphs and I'm almost getting it, I'm just having trouble with color table, it is suppose to be composed of a 1-D array of 256 colors
I have 2 intensity graphs each with a different color table (256 color - 256 locations in the color table array). I need to "squeeze" both color table into a third color table for the superimposing of the 2 intensity graphs. therefore I figure I would take every other color value from each of the first 2 color tables (so each color table shrinks to 128 color) and add the values to form a 3rd color table so that the bottom will correspond to the first color table and the top will correspond to the 2nd color table.
I can do this manually, but it takes WAY too long, so I've been trying to use some kinda of algorism, but I cannot succeed. Anyone have any suggestions? it seems that color table is an unusual kinda of array
My attempted program is attached.
thanks very much!!
Attachments:
superimposing3.vi 111 KBBrian,
I think this is what you're after (attached). The easiest thing to do is to decimate, then concatenate your original color tables to form your new "squeezed" color table. However, keep in mind that you also have to squeeze, or remap, your underlying data values to correspond with either one half of the color table or the other.
See if what I did makes sense.
Regards,
John
Attachments:
superimposing3_MOD.vi 90 KB -
Cursor/Window for Zooming in Intensity Graph
Does anybody know how to create a non-rectangular window (any shape
connected by mouse clicks) for zooming (or for data retrieval) if a
particular area in the graph is of interest in a intensity graph?
Wouldn't it be really cool if we can select edges in a graph and
retrieve the information (or data) from the graph?
The other question of mine is: is there a way that when we're using
intensity graphs, we can create the custom menu with right mouse button
click, instead of the standard set of menu items? Any help is greatly
appreciated. Thanks.
Sent via Deja.com http://www.deja.com/
Before you buy.[email protected] wrote:
> Does anybody know how to create a non-rectangular window (any shape
> connected by mouse clicks) for zooming (or for data retrieval) if a
> particular area in the graph is of interest in a intensity graph?
> Wouldn't it be really cool if we can select edges in a graph and
> retrieve the information (or data) from the graph?
In my pre-NI days, I had a lot of fun trying to coax image-manipulation and
-analysis behavior out of LabVIEW intensity graphs. You can do a fair
amount by making use of cursors and hotkeys and creating pseudo-overlays by
setting image coordinates to certain colors to create visual cues in
response to user inputs.
That being said, I never considered trying to get complex ROI (region of
interest) info from a user wi
th an intensity graph, and I'll bet it's a
pretty tough GUI trick unless you're using IMAQ Vision. If you find
yourself trying to build features like this into your application, or doing
a lot of image manipulation in general, you might save yourself time in the
long run by getting the IMAQ Vision toolkit from NI.
> The other question of mine is: is there a way that when we're using
> intensity graphs, we can create the custom menu with right mouse button
> click, instead of the standard set of menu items? Any help is greatly
> appreciated. Thanks.
I'm not aware of a way to suppress the built-in context-sensitive popup
menus. Sorry!
Regards,
John Lum
National Instruments -
How does LabVIEW Render the data in 2D Intensity Graphs?
Hello,
I was hoping someone could explain to me how LabVIEW renders it's 2D intensity data. For instance, in the attachment I have included an image that I get from LabVIEW's intensity graph. The array that went into the intensity graph is 90000x896 and the width/height of the image in pixels is 1056x636.
Something I know from zooming in on these images as well as viewing the data in other programs (e.g. Matlab) is that LabVIEW is not simply decimating the data, it is doing something more intelligent. Some of our 90000 lines have great signal to noise, but a lot of them do not. If LabVIEW was simply decimating then our image would be primarily black but instead there are very obvious features we can track.
The reason I am asking is we are trying to do a "Live Acquistion" type program. I know that updating the intensity graph and forcing LabVIEW to choose how to render our data gives us a huge performance hit. We are already doing some processing of the data and if we can be intelligent and help LabVIEW out so that it doesn't have to figure out how to render everything and we still can get the gorgeous images that LabVIEW generates then that would be great!
Any help would be appreciated! Thanks in advance!
Attachments:
Weld.jpg 139 KBHi Cole,
Thank you for your understanding. I do have a few tips and tricks you may find helpful, though as I mentioned in my previous post - optimization for images or image-like data types (e.g. 2D array of numbers) may best be discussed in the Machine Vision Forum. That forum is monitored by our vision team (this one is not) who may have more input.
Here are some things to try:
Try adjusting the VI's priority (File»VI Properties»Category: Execution»Change Priority to "time critical priority")
Make sure Synchronous Display is diasbled on your indicators (right-click indicator»Advanced»Synchronous Display)
Try some benchmarking to see where the most time is being taken in your code so you can focus on optimizing that (download evaluation of our Desktop Execution Trace Toolkit)
Try putting an array constant into your graph and looping updates on your Front Panel as if you were viewing real-time data. What is the performance of this? Any better?
The first few tips there come from some larger sets of general performance improvement tips that we have online, which are located at the following links:
Tips and Tricks to Speed NI LabVIEW Performance
How Can I Improve Performance in a Front Panel with Many Controls and Indicators?
Beyond that, I'd need to take a look at your code to see if there's anything we can make changes to. Are you able to post your VI here?
Regards,
Chris E.
Applications Engineer
National Instruments
http://www.ni.com/support -
Can you make intensity graphs in diadem like in labview. For example I
have data that is in one channel group, that has about 100 channels.
Each channel has a 1d array of data points which have about 50 points
each. Is it possible to plot this 100 by 50 array in diadem as a
intensity graph, and how would it be done?
Thank youHi Timothy 123,
You can achieve intensity-chart-like behavior in DIAdem by using a 3D surface graph. Please refer to the following tutorial for one such implementation:
Joint Time Frequency and Order Analysis Tool for DIAdem
Regards, -
How to change z-value in a specific region in intensity graph
Hi all!
I have an intensity graph and I want to mark a specific region which is dark and then change the z-value(autoscale) so I can see what's in this region, of course the rest of the intensity graph will be very bright but it's not a problem. How do I do that?
Thanks in advance
GiangEasiest method is to change the z scale, unselect autocscale z and rescale the max and min z to the max and minimum region of interest. This can be easily automated, by using the roi as a subset of the input array and then get max min of the subset and feed it to the z-scale property max min.
Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA -
How to change z-value in specific region in intensity graph
Hi!
I have an intensity graph and I want to mark a specific region which is dark and then change the z-value(autoscale) so I can see what in this region, of course the rest of the intensity graph will be very bright but it's not a problem. How do I do that?
Thanks in advance
GiangAssuming you are using LabVIEW, you would be much better off posting to the LabVIEW board since your question has nothing to do with counter/timers.
-
Looking for BCG function returning color table / lookup table coded in
pure G and applicable to 8-bit Intensity Graph or Picture Control. Do
not want to use IMAQ Vision is this particular application. Any
help is appreciated.
Sincerely,
DonTake a look at this color model software I put together. (Don't concern yourself much with the basic programming at this point.). The color component generator subVI is borrowed from a LabVIEW example.
First look at test_color2.vi. If you adjust the sliders of the various controls, you will see how it works. You can see that for pure B&W images, brightness, contrast, and gamma (which I think I have coded correctly) are all fairly straightforward to modify.
Now look at test_color3.vi. Here we try to adjust BCG for color images using the color model shown here where current color component clusters are carried into the BCG event cases via shift registers. You can see that once color is introduced into the image, it becomes difficult to mix the colorizing with the BCG model. And this is pretty much where I am right now.
Would be interested in comments / suggestions.
Sincerely,
Don
Attachments:
test_color2.llb 2251 KB -
Setting color table of intensity graph
Hi!
I set the attribute color table of an intensity graph to a rainbow
distribution of the colors, but now I'm not able to change the color
table with the markers in the front panel.
Do you know a solution?
Thanks, Markus> I set the attribute color table of an intensity graph to a rainbow
> distribution of the colors, but now I'm not able to change the color
> table with the markers in the front panel.
> Do you know a solution?
>
Intensity graphs have two different modes for its color definition.
The first, typical one, is the Color array. It can be set using
either attributes or interactively and lets you define number/color
pairs that create either a smoothly interpolated or a banded color
gradient. The second mode is the color table. This is useful for
bitmaps or for cases where the color table has been custom generated
on the diagram. When using the color table, the Z scale is still
useful for determining which numbers map to the 0-255 range of the
color table. If you set the
Z scale to autoScale, it will find the
min and max of the data and set the Z to show all data mapped through
the color table. If set smaller, some of the values will map to the
first and last out of range colors. If set larger, it will map the
values to a smaller and smaller number of the colors in the color
table.
It sounds like you really want to be using the color array and not
the color table. The intensity graph automatically switches for
you when you write attributes to it, but there is a way to change
it back the the color array using a popup or attribute.
Greg McKaskle -
Axes scaling and Intensity Graph
Hello,
I use a Intensity Graph to display measured data. Sometimes the X/Y-axis has to be transformed via the 1/x Operation and some other nonlinear transformations. Now I don't know how to let the Intensity Graph display the data correctly.
E.g. I use a normal X/Y Graph. After the 1/x operation the space between the data points are not equidistant anymore. This probably works because the XY-Graph needs the X AND Y Axis.
How can I do this with the Intensity Graph? Is there a simple solution or do I have to use the "picture" or somehting else?Greetings!
You might need to use the arbitrary marker spacing. (click on the legend and look at the options) YOu can then assign a new color to each increment you select. You can also play around with the gradients, (color interpretation) but I suggest you only do that after you have your markers where you want them. I'm sure you can get nice results with the intensity graph.
Eric
Eric P. Nichols
P.O. Box 56235
North Pole, AK 99705 -
Fade colors of intensity graph
Hi everyone,
I've made a program where I read an 2D-array and plot this array in a intensity graph.
I was wondering if the colors in the graph can fade in each other, preferably in vertical position (columns). The idea is that the numeric data becomes visualized like a DNA profile.
I've added a image of the plotted graph.
Thanks.
Solved!
Go to Solution.
Attachments:
Intensity graph plot major.PNG 48 KB
Intensity graph plot minor.PNG 35 KBWithout manipulating the array, no it's not possible. I made an idea on the Idea exchange to fix this, I recommend you vote for it. Anti-Alias or Smooth Intensity Plot
Like the idea says, see this post for workarounds.
Tim Elsey
LabVIEW 2010, 2012
Certified LabVIEW Architect -
MATLAB pcolor and LABVIEW Intensity Graph
Hello all
I have a data matrix which i want to plot using intensity graph of LABVIEW. My problem is that when i plot this matrix using MATLAB pcolor along with "shading interp" command, i got a very fine and smooth coloring graph of this matrix, however, using LABVIEW Intensity graph along with getcolor vi, i was not able to get a smooth coloring graph comparable to MATLAB pcolor. I have tried many setting but results were not satisfactory
Is this due to a limitation of LABVIEW intensity graph or i am missing something? Kindly help me
Best Regards
AsimThanks for providing that Asim, unfortunately the VI you provided is unusable as-is. There is a subVI missing, and while not critical, it's difficult to tell how you're setting up the intensity graph without that VI. Additionally, it doesn't appear that there is any graph data included in the VI you provided and a third-party software license would be required to use this VI. Could you upload the data you're handling in a format that works without any external tools?
As for thoughts on the differences in the plots; they are largely similar in appearance, although it does appear that you're using a different color scale in LabVIEW- the majority of your scale is in the blue-green range, rather than continuing linearly through yellow, orange, and red. You're going to lose a lot of visual resolution in the ranges you're highlighting due to this. The plot you're trying to achieve also appears to be interpolated or blurred around the edges of bins, are you actually plotting data between integers on the x-axis, or is this an artefact introduced by the software?
Regards,
Tom L. -
Dfc: Display file system space usage using graph and colors
Hi all,
I wrote a little tool, somewhat similar to df(1) which I named dfc.
To present it, nothing better than a screenshot (because of colors):
And there is a few options available (as of version 3.0.0):
Usage: dfc [OPTIONS(S)] [-c WHEN] [-e FORMAT] [-p FSNAME] [-q SORTBY] [-t FSTYPE]
[-u UNIT]
Available options:
-a print all mounted filesystem
-b do not show the graph bar
-c choose color mode. Read the manpage
for details
-d show used size
-e export to specified format. Read the manpage
for details
-f disable auto-adjust mode (force display)
-h print this message
-i info about inodes
-l only show information about locally mounted
file systems
-m use metric (SI unit)
-n do not print header
-o show mount flags
-p filter by file system name. Read the manpage
for details
-q sort the output. Read the manpage
for details
-s sum the total usage
-t filter by file system type. Read the manpage
for details
-T show filesystem type
-u choose the unit in which
to show the values. Read the manpage
for details
-v print program version
-w use a wider bar
-W wide filename (un truncate)
If you find it interesting, you may install it from the AUR: http://aur.archlinux.org/packages.php?ID=57770
(it is also available on the archlinuxfr repository for those who have it enabled).
For further explanations, there is a manpage or the wiki on the official website.
Here is the official website: http://projects.gw-computing.net/projects/dfc
If you encounter a bug (or several!), it would be nice to inform me. If you wish a new feature to be implemented, you can always ask me by sending me an email (you can find my email address in the manpage or on the official website).
Cheers,
Rolinh
Last edited by Rolinh (2012-05-31 00:36:48)bencahill wrote:There were the decently major changes (e.g. -t changing from 'don't show type' to 'filter by type'), but I suppose this is to be expected from such young software.
I know I changed the options a lot with 2.1.0 release. I thought it would be better to have -t for filtering and -T for printing the file system type so someone using the original df would not be surprised.
I'm sorry for the inconvenience. There should not be any changes like this one in the future though but I thought it was needed (especially because of the unit options).
bencahill wrote:
Anyway, I now cannot find any way of having colored output showing only some mounts (that aren't all the same type), without modifying the code.
Two suggestions:
1. Introduce a --color option like ls and grep (--color=WHEN, where WHEN is always,never,auto)
Ok, I'll implement this one for 2.2.0 release It'll be more like "-c always", "-c never" and "-c auto" (default) because I do not use long options but I think this would be OK, right?
bencahill wrote:2. Change -t to be able to filter multiple types (-t ext4,ext3,etc), and support negative matching (! -t tmpfs,devtmpfs,etc)
This was already planned for 2.2.0 release
bencahill wrote:Both of these would be awesome, if you have time. I've simply reverted for now.
This is what I would have suggested.
bencahill wrote:By the way, awesome software.
Thanks I'm glad you like it!
bencahill wrote:P.S. I'd already written this up before I noticed the part in your post about sending feature requests to your email. I decided to post it anyway, as I figured others could benefit from your answer as well. Please forgive me if this is not acceptable.
This is perfectly fine Moreover, I seem to have some troubles with my e-mail addressee... So it's actually better that you posted your requests here!
Maybe you are looking for
-
How to detect video files in Aperture Applescript?
Hi, I'm writing Applescript for exporting images based on certain criteria. I do not want to include my video files in the export. How can I determine in the Applescript that a "image version" is actually a video file? Or even better, is it possible
-
HT4009 how long before charges for buying a app shows up on statement
I bought a few apps like 4 days ago and they still havent charged my account. not that this is a problem, if they want me to have it for free thta is. but im just curious why they arnt charging my account... is there like a trial period first befor
-
11g pivot query syntax question
I searched the forums and I have seen questions similiar to the one I am asking, but its not the exact same issue. I need 3 fields in my 'for' clause. I get 'column ambiguously defined. I think I get this error for a different reason that other peopl
-
Hi all, I need to show a sample of drill down BI reports (by customer) to a client.Would any one have something they can share. A link or file would help. Thanks [email protected]
-
I want to backup JUST the Users folder (actually just a couple users within the Users folder). The Users folder is 2.08 GB (according to the Finder). I exclude a bunch of things in Time Machine: /Applications /Library /System and /Volumes/Hard Disk/U