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

pBlock IPixelBlock

GainFactor

The gain factor of the kernel filter.

virtual double GainFactor { get; set; }

Returns

double

GetCenterPosition(ref int, ref int)

Gets center position of the filter.

virtual void GetCenterPosition(ref int atColumn, ref int atRow)

Parameters

atColumn int
atRow int

GetSize(ref int, ref int)

Gets dimension of the filter.

virtual void GetSize(ref int Columns, ref int Rows)

Parameters

Columns int
Rows int

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

atColumn int
atRow int

IRasterConvolutionFilter_GetSize(ref int, ref int)

Gets the size of the kernel filter.

virtual void IRasterConvolutionFilter_GetSize(ref int nColumns, ref int nRows)

Parameters

nColumns int
nRows int

IsNormalized

Indicates whether the filter is normalized.

virtual bool IsNormalized { get; }

Returns

bool

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

coefList double[]

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

coefList double[]

Recursive

Indicates whether the filter is recursive.

virtual bool Recursive { get; set; }

Returns

bool

ScaleBy(double)

Scales the filter coefficients.

virtual void ScaleBy(double ScaleFactor)

Parameters

ScaleFactor double

SetCenterPosition(int, int)

Sets the center position of the kernel filter.

virtual void SetCenterPosition(int atColumn, int atRow)

Parameters

atColumn int
atRow int

SetSize(int, int)

Sets the size of the kernel filter.

virtual void SetSize(int nColumns, int nRows)

Parameters

nColumns int
nRows int

Type

The type of the stock kernel filter.

virtual esriRasterFilterTypeEnum Type { get; set; }

Returns

esriRasterFilterTypeEnum