DespeckleCommand Constructor(Int32,Int32,Int32)
In This Topic
Initializes a new instance of the
DespeckleCommand class.
Syntax
'Declaration
Public Function New( _
ByVal As System.Int32, _
ByVal As System.Int32, _
ByVal As System.Int32 _
)
public DespeckleCommand(
System.Int32 ,
System.Int32 ,
System.Int32
)
public: DespeckleCommand(
System.Int32 ,
System.Int32 ,
System.Int32
)
public:
DespeckleCommand(
System.Int32 ,
System.Int32 ,
System.Int32
)
Parameters
- level1
- Maximal quantity of pixels in a small noise. Valid values are from 0 to 100, recommended value is 8. What is "small noise" see below.
- level2
- Maximal quantity of pixels in a medium noise. Valid values are from 0 to 100, recommended value is 25. What is "medium noise" see below.
- radius
- Radius of area around medium noise in which there is no "good objects". Valid values are from 0 to 100, recommended value is 30. What is "good objects" see below.
Remarks
Current algorithm removes two types of noise:
1. "Small" noise - a set of pixels (non background pixels) with quantity of pixels less than value of level1 parameter. This set of pixels will be replaced to background pixels.
2. "Medium" noise - a set of pixels (non background pixels) with quantity of pixels less than value of level2 parameter. This set of pixels will be replaced to background pixels if around this set of pixels in a region with radius of value of radius parameter there is no "good objects". "Good object" - not a noise.
Requirements
Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5
See Also