imProcessRangeContrastThreshold

Threshold using a rank convolution with a range contrast function. \n * Supports all integer IM_GRAY images as source, and IM_BINARY as target. \n * Local variable threshold by the method of Bernsen. \n * Extracted from XITE, Copyright 1991, Blab, UiO \n * http://www.ifi.uio.no/~blab/Software/Xite/ \verbatim Reference: Bernsen, J: "Dynamic thresholding of grey-level images" Proc. of the 8th ICPR, Paris, Oct 1986, 1251-1255.

extern (C) @safe nothrow
int
imProcessRangeContrastThreshold

Meta

Authors

Oivind Due Trier \endverbatim * Returns zero if the counter aborted. * * \verbatim im.ProcessRangeContrastThreshold(src_image: imImage, dst_image: imImage, kernel_size: number, min_range: number) -> counter: boolean [in Lua 5] \endverbatim * \verbatim im.ProcessRangeContrastThresholdNew(image: imImage, kernel_size: number, min_range: number) -> counter: boolean, new_image: imImage [in Lua 5] \endverbatim * \ingroup threshold