Morphology Operations for Binary Images
[Image Processing]
Detailed Description
- See im_process_loc.h
Functions | |
int | imProcessBinMorphConvolve (const imImage *src_image, imImage *dst_image, const imImage *kernel, int hit_white, int iter) |
int | imProcessBinMorphErode (const imImage *src_image, imImage *dst_image, int kernel_size, int iter) |
int | imProcessBinMorphDilate (const imImage *src_image, imImage *dst_image, int kernel_size, int iter) |
int | imProcessBinMorphOpen (const imImage *src_image, imImage *dst_image, int kernel_size, int iter) |
int | imProcessBinMorphClose (const imImage *src_image, imImage *dst_image, int kernel_size, int iter) |
int | imProcessBinMorphOutline (const imImage *src_image, imImage *dst_image, int kernel_size, int iter) |
void | imProcessBinMorphThin (const imImage *src_image, imImage *dst_image) |
Function Documentation
|
Base binary morphology convolution.
im.ProcessBinMorphConvolve(src_image: imImage, dst_image: imImage, kernel: imImage, hit_white: boolean, iter: number) -> counter: boolean [in Lua 5] im.ProcessBinMorphConvolveNew(image: imImage, kernel: imImage, hit_white: boolean, iter: number) -> counter: boolean, new_image: imImage [in Lua 5] |
|
Binary morphology convolution with a kernel full of "1"s and hit white.
im.ProcessBinMorphErode(src_image: imImage, dst_image: imImage, kernel_size: number, iter: number) -> counter: boolean [in Lua 5] im.ProcessBinMorphErodeNew(image: imImage, kernel_size: number, iter: number) -> counter: boolean, new_image: imImage [in Lua 5] |
|
Binary morphology convolution with a kernel full of "0"s and hit black.
im.ProcessBinMorphDilate(src_image: imImage, dst_image: imImage, kernel_size: number, iter: number) -> counter: boolean [in Lua 5] im.ProcessBinMorphDilateNew(image: imImage, kernel_size: number, iter: number) -> counter: boolean, new_image: imImage [in Lua 5] |
|
Erode+Dilate. When iteration is more than one it means Erode+Erode+Erode+...+Dilate+Dilate+Dilate+...
im.ProcessBinMorphOpen(src_image: imImage, dst_image: imImage, kernel_size: number, iter: number) -> counter: boolean [in Lua 5] im.ProcessBinMorphOpenNew(image: imImage, kernel_size: number, iter: number) -> counter: boolean, new_image: imImage [in Lua 5] |
|
Dilate+Erode.
im.ProcessBinMorphClose(src_image: imImage, dst_image: imImage, kernel_size: number, iter: number) -> counter: boolean [in Lua 5] im.ProcessBinMorphCloseNew(image: imImage, kernel_size: number, iter: number) -> counter: boolean, new_image: imImage [in Lua 5] |
|
Erode+Difference.
im.ProcessBinMorphOutline(src_image: imImage, dst_image: imImage, kernel_size: number, iter: number) -> counter: boolean [in Lua 5] im.ProcessBinMorphOutlineNew(image: imImage, kernel_size: number, iter: number) -> counter: boolean, new_image: imImage [in Lua 5] |
|
Thins the supplied binary image using Rosenfeld's parallel thinning algorithm.
im.ProcessBinMorphThin(src_image: imImage, dst_image: imImage) [in Lua 5] im.ProcessBinMorphThinNew(image: imImage) -> new_image: imImage [in Lua 5] |