Hardware Binarization (Lookup Table)
- Updated2023-02-17
- 1 minute(s) read
Hardware Binarization (Lookup Table)
The NI PCIe-1437 supports binarization and inverse binarization. Binarization and inverse binarization segment an image into two regions: a particle region and a background region. Use binarization and inverse binarization to isolate objects of interest in an image.
To separate objects under consideration from the background, select a pixel value range. This pixel value range is known as the gray-level interval, or the threshold interval. Binarization works by setting all image pixels that fall within the threshold interval to the image white value and setting all other image pixels to 0. Pixels inside the threshold interval are considered part of the particle region. Pixels outside the threshold interval are considered part of the background region.
Inverse binarization flips the assigned bit numbers of the particle region and the background region. Thus, all pixels that belong in the threshold interval, or the particle region, are set to 0, and all pixels outside the threshold interval, or the background region, are set to the image white value.