FxBitonalSkeletonize Method (GdPictureImaging)
Performs a skeletonize (thinning) algorithm on a bitonal GdPicture image or part of it by using SetROI().
This method reduces edges sizes, it can reduce edges to 1 pixel in thickness.
public function FxBitonalSkeletonize(
: Integer;
: Integer
): GdPictureStatus;
'Declaration
Public Function FxBitonalSkeletonize( _
ByVal As Integer, _
ByVal As Integer _
) As GdPictureStatus
Parameters
- ImageID
- GdPicture image identifier.
- Repetition
- Number of passes the algorithm should run. The higher the passes, the thinner the originally thick edges will be. If -1 is used, the
algorithm will run until all edges are 1 pixel thick. Range from 1 - 10. If you do not know what to use, a value of 4 is suggested.
Return Value
A member of the GdPictureStatus enumeration.