gtbGrey to Binary (IPToolCIFLUTGreytoBinary)

The Grey to Binary Tool allows you to take a greyscale image and convert it to a binary image (two color).


Using the Grey to Binary tool

        Begin by draging the Grey to Binary tool onto your program.

<>Grab an image from your live feed.

Right Click the Grey to Binary tool in your program and choose "edit".  This will display the tool's property page.



Begin by clicking the store button.  This will allow you to apply your changes to the image, and then restore the origional image without re-grabbing or reloading.

Click the Apply Button.  You will immediatly see the image in the image window change to a binary image.  If you are happy with the results click okay.

If you are not happy with the results click the restore button.  This will reload the stored image so you can change your threshold settings and try again.

Setting the Thrshold

The upper and lower threshold can each be set between 0 and 255.  0 is black, 255 is white, the higher the number the ligheter the grey.  Every shade of grey between the lower and upper threshold will become white and every number not between the upper and lower threshold will turn black.

Examples:
If the lower threshold is set to 0 (black) and the upper threshold is set to 100 then the resulting image will turn all the darkest colors white and the lighter colors black.


If the lower threshold is set to 125 and the upper threshold is set to 255 (white) then the resulting image will turn all the lighter colors white and the darker colors black.