Interface ISimplePixelResampler

Namespace
ESRI.ArcGIS.DatasourcesRaster
Assembly
ESRI.Server.DatasourcesRaster.dll

Provides access to members that control a simple pixel resampler.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("DDB8B2BA-A3E9-40CD-8D69-1F720A4C8E7B")]
public interface ISimplePixelResampler : IPixelResampler

Remarks

ISimplePixelReader is an interface used for creating and accessing the SimplePixelResampler.

You can perform finer adjustment of cubic convolution and majority resampling methods with this interface.

 

Properties

CubicConvolutionParameter

The cubic convolution parameter (-1, -0.75, -0.5).

double CubicConvolutionParameter { get; set; }

Property Value

double

Remarks

A parameter, (-3,0) not inclusive, is used to adjust the sharpness of cubic resampling. The resampled image will show the edge effect as the factor is close to -3, and smooth when the factor is close to 0.

DownSampling

bool DownSampling { get; }

Property Value

bool

LinearScaling

bool LinearScaling { get; set; }

Property Value

bool

MajorityWindowSize

The majority resampling window size in pixels.

int MajorityWindowSize { set; }

Property Value

int

ResamplingMethod

The resampling method.

rstResamplingTypes ResamplingMethod { get; set; }

Property Value

rstResamplingTypes

SupportLinearScaling

bool SupportLinearScaling { get; }

Property Value

bool

WindowSize

int WindowSize { get; }

Property Value

int

Methods

Resample(int, int, int, int, ref WKSPoint, double, double, double, double, IPixelBlock, IPixelBlock)

void Resample(int iCol, int iRow, int nCols, int nRows, ref WKSPoint points, double ulx, double uly, double Dx, double Dy, IPixelBlock pSrcPixelBlock, IPixelBlock pDstPixelBlock)

Parameters

iCol int
iRow int
nCols int
nRows int
points WKSPoint
ulx double
uly double
Dx double
Dy double
pSrcPixelBlock IPixelBlock
pDstPixelBlock IPixelBlock