Class RasterConvolutionFilterClass
- Namespace
- ESRI.ArcGIS.DatasourcesRaster
- Assembly
- ESRI.Server.DatasourcesRaster.dll
[Guid("040C1C88-9399-4990-AD7B-907FB45757BE")]
[ClassInterface(ClassInterfaceType.None)]
public class RasterConvolutionFilterClass : RasterConvolutionFilter, IPixelFilter, IRasterConvolutionFilter, IStockConvolutionFilter
- Inheritance
-
RasterConvolutionFilterClass
- Implements
- Inherited Members
Constructors
RasterConvolutionFilterClass()
public RasterConvolutionFilterClass()
Explicit Interface Implementations
Filter(IPixelBlock)
Filters a pixel block.
virtual void Filter(IPixelBlock pBlock)
Parameters
pBlockIPixelBlock
GainFactor
The gain factor of the kernel filter.
virtual double GainFactor { get; set; }
Returns
GetCenterPosition(ref int, ref int)
Gets center position of the filter.
virtual void GetCenterPosition(ref int atColumn, ref int atRow)
Parameters
GetSize(ref int, ref int)
Gets dimension of the filter.
virtual void GetSize(ref int Columns, ref int Rows)
Parameters
IRasterConvolutionFilter_GetCenterPosition(ref int, ref int)
Gets the center position of the kernel filter.
virtual void IRasterConvolutionFilter_GetCenterPosition(ref int atColumn, ref int atRow)
Parameters
IRasterConvolutionFilter_GetSize(ref int, ref int)
Gets the size of the kernel filter.
virtual void IRasterConvolutionFilter_GetSize(ref int nColumns, ref int nRows)
Parameters
IsNormalized
Indicates whether the filter is normalized.
virtual bool IsNormalized { get; }
Returns
Normalize()
Normalizes the filter.
virtual void Normalize()
PutCoefficients(ref double[])
Sets the element coefficients of the kernel filter.
virtual void PutCoefficients(ref double[] coefList)
Parameters
coefListdouble[]
Remarks
PutCoefficents takes a dimentional (1D) array (row * column of the kernel), then transforms automatically to a 2D array. The side of 2D array is defined by SetSize method.
size of 1D array = row * column of the kernel
QueryCoefficients(ref double[])
Gets the element coefficients of the kernel filter.
virtual void QueryCoefficients(ref double[] coefList)
Parameters
coefListdouble[]
Recursive
Indicates whether the filter is recursive.
virtual bool Recursive { get; set; }
Returns
ScaleBy(double)
Scales the filter coefficients.
virtual void ScaleBy(double ScaleFactor)
Parameters
ScaleFactordouble
SetCenterPosition(int, int)
Sets the center position of the kernel filter.
virtual void SetCenterPosition(int atColumn, int atRow)
Parameters
SetSize(int, int)
Sets the size of the kernel filter.
virtual void SetSize(int nColumns, int nRows)
Parameters
Type
The type of the stock kernel filter.
virtual esriRasterFilterTypeEnum Type { get; set; }