LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

i want to convert my greyscale image into binary using niblack method through vision assistant.but i am getting red color putput.is it converted in binary?what is the error?please guide

Highlighted

...

Download All
0 Kudos
Message 1 of 2
(1,258 Views)
Highlighted

Hi,

When we do a thresholding in LABVIEW, the pixels values are 0 or 1. The image shown in red and black is to distincly show the user that there are two components.

However you won't be able view the image like that outside LABVIEW. To view is in other programs, you need to make the values as 0 and 255 (B and W). For that you can use lookup table with equalize opton or if you want to use a low level threshold api there is a replace terminal.

This link explains the same.

 

Hope this helps!

Vision Assisstant

0 Kudos
Message 2 of 2
(1,194 Views)