
Image thresholding
The following dialog allows you to convert each channel of the current image to a binary bitmap using a pair of thresholds. In each channel, any pixel that is between the low and the high threshold is changed to white, otherwise to black. So the result image contains up to 8 unique colors. You can see the result (the whole image or part of image at full size) instantly from the preview window.
The following example shows an image before and after thresholding.
The original image:

The image after thresholding (low=128, high=255):

You can limit the change to the selected region. First select the region using the selection tool and then apply this function. One example is shown here.

![]() |
VIPBase © 2006 Fengjun Lv |
Last update: 08/01/2006 (check html) |
