LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pixel value rescaling

Hi,

I would like to transform the values of the pixels of my image. Thus I would have my maximum value which will devindra 255 and my minimal value which will become 0 and all the values ranging between my minimal and maximum values will change proportionally...

How may I do that ?

Thank you !
0 Kudos
Message 1 of 2
(2,520 Views)
If you want to change the values of the pixels in the image, I would suggest using the IMAQ ImagetoArray.vi(NI vision VI). This changes the image to array of values. You can then subtract 255 and do an absolute value. After the manipulation you can use IMAQ arraytoimage.vi to bring it back to image format.

A. Talley
National Instruments
0 Kudos
Message 2 of 2
(2,520 Views)