Functions

Binary Image Operations
[Image Processing]

Collaboration diagram for Binary Image Operations:

Functions

int imProcessBinThinZhangSuen (imImage *src_image, imImage *dst_image)
int imProcessBinThinNhMaps (const imImage *src_image, imImage *dst_image)

Detailed Description

Other binary image operations.
See im_process_loc.h

Function Documentation

int imProcessBinThinZhangSuen ( imImage src_image,
imImage dst_image 
)

Thins the supplied binary image using Zhang-Suen thinning algorithm.
Reference:
Rosetta Code
https://rosettacode.org/wiki/Zhang-Suen_thinning_algorithm
Not using OpenMP when enabled.
Returns zero if the counter aborted (counter is approximate).
(since 3.14)

im.ProcessBinThinZhangSuen(src_image: imImage, dst_image: imImage)-> counter: boolean [in Lua 5] 
im.ProcessBinThinZhangSuenNew(image: imImage) -> counter: boolean, new_image: imImage [in Lua 5] 
int imProcessBinThinNhMaps ( const imImage src_image,
imImage dst_image 
)

Thins the supplied binary image using Rosenfeld's parallel thinning algorithm.
Reference:
"Efficient Binary Image Thinning using Neighborhood Maps"
by Joseph M. Cychosz, 3ksnn64@ecn.purdue.edu
in "Graphics Gems IV", Academic Press, 1994
Not using OpenMP when enabled.
Returns zero if the counter aborted (counter is approximate).
(renamed in 3.14)

im.ProcessBinThinNhMaps(src_image: imImage, dst_image: imImage)-> counter: boolean [in Lua 5] 
im.ProcessBinThinNhMapsNew(image: imImage) -> counter: boolean, new_image: imImage [in Lua 5]