LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create inverse image (8 bit)

Solved!
Go to solution

Hello,

 

I would like to create the complementer of a 8-bit image. I am doing it wrong in the example below, how can it be done properly?

thanks!

 

(edit: the FOR loop obviously not needed)

 

Example_VI_BD.png

0 Kudos
Message 1 of 3
(2,875 Views)
Solution
Accepted by topic author Blokk

For an 8-bit image the points are indices into the color array.  What you should do is leave the indices alone and for each color in the color array find its complement:

 

InvertImage.png

Message 2 of 3
(2,863 Views)

Clear, thanks!

0 Kudos
Message 3 of 3
(2,851 Views)