01-09-2020 03:21 PM
Hi,
I am using Labview to display gray scale images captured by a monochrome camera. By applying color palette, the gradient of the image is shown with the specific color profile, such as a "rainbow" palette. However, is there a way to show the color scale along with the image? In that way the scale bar can be a reference for the intensity gradient in the image.
Greatly appreciate. Thanks.
01-09-2020 04:03 PM
I don't know of a way to show a scale bar using the image control. You can switch to an intensity graph instead. Alternatively, you could create another image to put next to your first with values going from 0 to 255 (or higher depending on the resolution of your camera).
01-09-2020 06:06 PM
I've used a 1D array of narrow frameless colorboxes in the past.
01-10-2020 09:31 AM
Thanks a lot! Your reply and example is very helpful. I am going to try the strategy..
01-14-2020 08:02 AM
You could use a Color Ramp and place it next to the image.
01-14-2020 09:23 AM
Hi Paul, It's very interesting to see your vi. However, I currently still work with a previous version (2017) than yours (2018), so couldn't really open it up on my machine. Could you paste a snapshot of your diagram for me to see? I have implement the way Gregory provided and then add some real-time scale adjustment into it to dynamically link to the camera signal gain in my program.
Thanks a lot for your work and advice.
01-14-2020 09:36 AM
Here it is in LV 2017
01-14-2020 10:21 AM
Wow, this is a very cool way of doing it! thanks!