GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / FxBitonalSkeletonize Method
GdPicture image identifier.
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.





In This Topic
FxBitonalSkeletonize Method (GdPictureImaging)
In This Topic
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.
Syntax
'Declaration
 
Public Function FxBitonalSkeletonize( _
   ByVal ImageID As Integer, _
   ByVal Repetition As Integer _
) As GdPictureStatus
public GdPictureStatus FxBitonalSkeletonize( 
   int ImageID,
   int Repetition
)
public function FxBitonalSkeletonize( 
    ImageID: Integer;
    Repetition: Integer
): GdPictureStatus; 
public function FxBitonalSkeletonize( 
   ImageID : int,
   Repetition : int
) : GdPictureStatus;
public: GdPictureStatus FxBitonalSkeletonize( 
   int ImageID,
   int Repetition
) 
public:
GdPictureStatus FxBitonalSkeletonize( 
   int ImageID,
   int Repetition
) 

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.
Remarks

This method supports only 1 bpp indexed (Format1bppIndexed) images.

It is suggested that for noisy images a call to FxBitonalDepeckle() or FxBitonalDespeckleMore() is made before the use of this method to yield better results and so that noise is not thinned out.

This method requires the Image Documents component to run.

See Also