[mmSe2hmt] [Up] [mmInfcanon] Sup-generating And Inf-generating

mmThreshad
Threshold (adaptive)

Synopsis

Image mmThreshad ( const Image& f , const Image& f1 , const Image& f2 = NullImage );

Input

f Image [ Gray-scale (uint8 or uint16) image ]

f1 Image [ Gray-scale (uint8 or uint16) image ]

lower value

f2 Image [ Gray-scale (uint8 or uint16) image ]

upper value

Default: NullImage

Output

y Image [ Binary image ]

Description

mmThreshad creates the image y as the threshold of the image f by the images f1 and f2. A pixel in y has the value 1 when the value of the corresponding pixel in f is between the values of the corresponding pixels in f1 and f2.

Equation

See also

mmGray Convert a binary image into a gray-scale image.
mmBinary Convert a gray-scale image into a binary image
[mmSe2hmt] [Up] [mmInfcanon]