IPixelFilter2 Interface

Provides access to additional members that control a pixel filter.

Members

Name Description
Method Init Initializes this filter for a given area of interest.
Method InitBlock Initialize this filter for a given pixel block.

IPixelFilter2.Init Method

Initializes this filter for a given area of interest.

Public Sub Init ( _
    ByVal nCols As Integer, _
    ByVal nRows As Integer, _
    ByVal pExtent As IEnvelope _
)
public void Init (
    int nCols,
    int nRows,
    IEnvelope pExtent
);

IPixelFilter2.InitBlock Method

Initialize this filter for a given pixel block.

Public Sub InitBlock ( _
    ByVal pTopLeft As IPnt, _
    ByVal nBlkCols As Integer, _
    ByVal nBlkRows As Integer _
)
public void InitBlock (
    IPnt pTopLeft,
    int nBlkCols,
    int nBlkRows
);

Classes that implement IPixelFilter2

Classes Description
ClipFilter A class for clipping filter.
PansharpeningFilter A class for pansharpening filter.
PixelFilterCollection A raster filter collection.

Remarks

IPixelFilter2 is an optional interface for implementing a custom pixel filter. It will be called, if implemented, whenever the raster properties, including number of rows and columns, and extent, has changed, and right before a pixel block is to be filtered, with more information. A custom pixel filter can use the additional information to, for example, get the cellsize, and pre-fetch a related pixel block, and etc.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.