07-12-2010 06:23 PM
Hi
I am a new user of Labview and I made a vi able to trace pixel values of a binary image in a histogram but actually the result is not what I was expected for. Indeed the histogram returns me the pixel values on X axis (0 or 255) and the number of particules associated with 0 or 255 on Y axis. I would like to change X axis and Y axis in order to have pixel value on Y axis and the abscissa of my image on X axis.
If you have any idea please let me know
Thanks
Luckyluke
07-15-2010 04:25 PM
Luckyloic,
The code you posted looks to be unfunctional. You could use the IMAQ Rotate function to rotate your image and essentially take the histogram of the rotated image. If you are only talking about the data in the histogram, I do not know of a way to flip the axis of the histogram graph itself.
Best,
Chris LS
07-15-2010 06:31 PM
Sorry for the unfunctionnal code. I eventually found a way to fix my problem by using the line profile FUNCTION.
Thanks Chris
Kind regards
luckyloic