Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

negative of a color image

Hi,
I have a color image and I want to take the negative of this image (black turns to white, red to green, and so on...). Is there an in-built vi in LV to perform this task?
Thanks a lot.
Fredni
0 Kudos
Message 1 of 4
(3,566 Views)
Hi Fredni,
I don't know a VI that inverts all the color planes at once.
Of course, inverting each plane individually is supported, see IMAQ Inverse.
Guenter
0 Kudos
Message 2 of 4
(3,545 Views)
Hi,
you can use the image to array function and manipulate the 32 bits RGB data as you want.
Regards

Message Edité par ManuelR le 10-10-2007 10:47 AM

Manuel R
AE dans une autre vie
0 Kudos
Message 3 of 4
(3,539 Views)
Very good proposal, Manuel.
This is more flexible. Especially as IMAQ Inverse will not convert red to green.
Have a successful day, Guenter
0 Kudos
Message 4 of 4
(3,531 Views)