06-21-2011 01:48 PM - edited 06-21-2011 01:52 PM
Hey everyone,
I just had a really quick question on a program I created. It uses the vision module to open a file in a new display window, and I would like to add axis to the image simlilar to the picture below (With both the x and y axis labels as pixel, and a cursor which displays the pixel value or intensity). I have attached the simple program, as well as an example of the type of image I would like to open. Thank you for the help! =]
06-21-2011 02:52 PM
I've updated the open_img.vi file so that it works with the generic sample picture provided, but the program does not work with the image within the ZIP file from the previous post.
Or if anyone has any other ideas how to add axis labels to an image, I am by all means open to suggestion. Thanks
06-22-2011 07:35 PM
Hi BoilerUp,
Could you clarify a few things to help get an appropriate answer to the question? When you say that you want to "add a cursor which displays the pixel value or intensity," do you plan to look at the pixel value at the current mouse cursor location? If not, how will you select which pixels to investigate? An IMAQ Histograph VI will display how common each pixel value is in an image. Is this similar to what you are looking to do?
Adding the axis to the image should not be too difficult using the IMAQ Overlay functions, but I want to first clarify specifically what you are looking to do.
Thanks,