GdPicture.NET Reference Guide
FxBitonalDespeckleMore Method (GdPictureImaging)





GdPicture14 Namespace > GdPictureImaging Class : FxBitonalDespeckleMore 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.
Performs a 5x5 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 FxBitonalDespeckleMore( _
   ByVal ImageID As Integer, _
   ByVal FixText As Boolean _
) As GdPictureStatus
public GdPictureStatus FxBitonalDespeckleMore( 
   int ImageID,
   bool FixText
)
public function FxBitonalDespeckleMore( 
    ImageID: Integer;
    FixText: Boolean
): GdPictureStatus; 
public function FxBitonalDespeckleMore( 
   ImageID : int,
   FixText : boolean
) : GdPictureStatus;
public: GdPictureStatus FxBitonalDespeckleMore( 
   int ImageID,
   bool FixText
) 
public:
GdPictureStatus FxBitonalDespeckleMore( 
   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 "Document Clean Up" C# Demo.
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members
SetROI Method
ResetROI Method
FxDespeckleMore Method
FxMedian Method