CleanNoise(CleanNoiseFlags,Int32,Int32,Int32) Method
ClearImage 8 Help
CleanNoise(CleanNoiseFlags,Int32,Int32,Int32) Method
See Also  Send Feedback
Inlite.ClearImageNet Namespace > ImageEditor Class > CleanNoise Method : CleanNoise(CleanNoiseFlags,Int32,Int32,Int32) Method






flags
Control flags to remove noise
sizeHorz
Removes all objects whose horizontal size is less than sizeHorz
sizeVert
Removes all objects whose vertical size is less than sizeVert
objectDistance
Distance from non-noise object where noise is ignored
Removes black and/or white noise

Syntax

Visual Basic (Declaration) 
Public Overloads Sub CleanNoise( _
   ByVal flags As CleanNoiseFlags, _
   ByVal sizeHorz As Integer, _
   ByVal sizeVert As Integer, _
   ByVal objectDistance As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As ImageEditor
Dim flags As CleanNoiseFlags
Dim sizeHorz As Integer
Dim sizeVert As Integer
Dim objectDistance As Integer
 
instance.CleanNoise(flags, sizeHorz, sizeVert, objectDistance)
C# 
public void CleanNoise( 
   CleanNoiseFlags flags,
   int sizeHorz,
   int sizeVert,
   int objectDistance
)
Delphi 
public procedure CleanNoise( 
    flags: CleanNoiseFlags;
    sizeHorz: Integer;
    sizeVert: Integer;
    objectDistance: Integer
); 
JScript 
public function CleanNoise( 
   flags : CleanNoiseFlags,
   sizeHorz : int,
   sizeVert : int,
   objectDistance : int
);
Managed Extensions for C++ 
public: void CleanNoise( 
   CleanNoiseFlags flags,
   int sizeHorz,
   int sizeVert,
   int objectDistance
) 
C++/CLI 
public:
void CleanNoise( 
   CleanNoiseFlags flags,
   int sizeHorz,
   int sizeVert,
   int objectDistance
) 

Parameters

flags
Control flags to remove noise
sizeHorz
Removes all objects whose horizontal size is less than sizeHorz
sizeVert
Removes all objects whose vertical size is less than sizeVert
objectDistance
Distance from non-noise object where noise is ignored

Remarks

To remove white noise: Call Invert method. Call CleanNoise. Call Invert again.

Licensing: Requires ClearImage Repair license

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2007-2013. Inlite Research, Inc. All Rights Reserved.