GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / FxBitonalDespeckle Method
GdPicture image identifier. Only 1 bit per pixel images with black and white palette are supported.
Option to make sure text in small documents was not affected. Only set to True if image DPI is less than 200. Otherwise, set to False.





In This Topic
FxBitonalDespeckle Method (GdPictureImaging)
In This Topic
Performs a 3x3 despeckle filter on a GdPicture image or on an area of a GdPicture image defined by SetROI() method. It works as a noise removal filter, for Salt-And-Pepper like-noise, or varied dots around a document. It can remove black noise pixels from white backgrounds and visa versa.
Syntax
'Declaration
 
Public Function FxBitonalDespeckle( _
   ByVal ImageID As Integer, _
   ByVal FixText As Boolean _
) As GdPictureStatus
public GdPictureStatus FxBitonalDespeckle( 
   int ImageID,
   bool FixText
)
public function FxBitonalDespeckle( 
    ImageID: Integer;
    FixText: Boolean
): GdPictureStatus; 
public function FxBitonalDespeckle( 
   ImageID : int,
   FixText : boolean
) : GdPictureStatus;
public: GdPictureStatus FxBitonalDespeckle( 
   int ImageID,
   bool FixText
) 
public:
GdPictureStatus FxBitonalDespeckle( 
   int ImageID,
   bool FixText
) 

Parameters

ImageID
GdPicture image identifier. Only 1 bit per pixel images with black and white palette are supported.
FixText
Option to make sure text in small documents was not affected. Only set to True if image DPI is less than 200. Otherwise, set to False.

Return Value

A member of the GdPictureStatus enumeration.
Remarks
This method is used in the C# "Document Clean Up" Demo.

This method requires the Image Documents component to run.

See Also