imProcessSliceThreshold

Apply a manual threshold using an interval. \n * threshold = start_level <= a <= end_level ? 1: 0 \n * Normal value is 1 but another common value is 255. \n * Source color space must be IM_GRAY, and target color space must be IM_BINARY. * complex is not supported. Can be done in-place for IM_BYTE source. \n * * \verbatim im.ProcessSliceThreshold(src_image: imImage, dst_image: imImage, start_level: number, end_level: number) [in Lua 5] \endverbatim * \verbatim im.ProcessSliceThresholdNew(src_image: imImage, start_level: number, end_level: number) -> new_image: imImage [in Lua 5] \endverbatim * \ingroup threshold

extern (C) @safe nothrow
void
imProcessSliceThreshold

Meta