MeanCommand Constructor (MeanFilterType, Int32, Int32) |
Initializes a new instance of the MeanCommand specifying the type, size, and power.
Namespace:
Atalasoft.Imaging.ImageProcessing.Filters
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public MeanCommand(
MeanFilterType meanType,
int filterSize,
int power
)
Public Sub New (
meanType As MeanFilterType,
filterSize As Integer,
power As Integer
)
Parameters
- meanType
- Type: Atalasoft.Imaging.ImageProcessing.FiltersMeanFilterType
The type of mean filter to apply. - filterSize
- Type: SystemInt32
The size of the filter. Should be an odd value greater than or equal to 3. - power
- Type: SystemInt32
A non-zero integer that controls power for the Yp mean filter.
Exceptions Exception | Condition |
---|
| Thrown if filterSize is less than 0, or if power is equal to 0. |
See Also