This document is archived and information here might be outdated.  Recommended version.


IRasterConvolutionFilter.PutCoefficients Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterConvolutionFilter.PutCoefficients Method

Sets the element coefficients of the kernel filter.

[Visual Basic .NET]
Public Sub PutCoefficients ( _
    ByRef coefList As Double[]& _
)
[C#]
public void PutCoefficients (
    ref Double[]& coefList
);
[C++]
HRESULT PutCoefficients(
  coefList* coefList
);
[C++]

Parameters coefList [in, out] coefList is a parameter of type

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

 

See Also

IRasterConvolutionFilter Interface

.NET Related Topics

DataSourcesRaster | How to create a custom convolution filter