imProcessBinMorphConvolve

Base binary morphology convolution. \n * Images are all IM_BINARY. Kernel is IM_INT, but values can be only 1, 0 or -1. Use kernel size odd for better results. \n * Hit white means hit=1 and miss=0, or else hit=0 and miss=1. \n * Use -1 for don't care positions in kernel. Kernel values are simply compared with image values. \n * The operation can be repeated by a number of iterations. * The border is zero extended. \n * Almost all the binary morphology operations use this function.\n * If the kernel image attribute "Description" exists it is used by the counter. * * \verbatim im.ProcessBinMorphConvolve(src_image: imImage, dst_image: imImage, kernel: imImage, hit_white: boolean, iter: number) -> counter: boolean [in Lua 5] \endverbatim * \verbatim im.ProcessBinMorphConvolveNew(image: imImage, kernel: imImage, hit_white: boolean, iter: number) -> counter: boolean, new_image: imImage [in Lua 5] \endverbatim * \ingroup morphbin

extern (C) @safe nothrow
int
imProcessBinMorphConvolve

Meta