com.esri.arcgis.datasourcesraster
Interface ISimplePixelResampler

All Superinterfaces:
IPixelResampler, Serializable
All Known Implementing Classes:
SimplePixelResampler

public interface ISimplePixelResampler
extends IPixelResampler, Serializable

Provides access to members that control a simple pixel resampler.

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.

Product Availability

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


Method Summary
 double getCubicConvolutionParameter()
          The cubic convolution parameter (-1, -0.75, -0.5).
 int getResamplingMethod()
          The resampling method.
 void setCubicConvolutionParameter(double a)
          The cubic convolution parameter (-1, -0.75, -0.5).
 void setMajorityWindowSize(int rhs1)
          The majority resampling window size in pixels.
 void setResamplingMethod(int pMethod)
          The resampling method.
 
Methods inherited from interface com.esri.arcgis.datasourcesraster.IPixelResampler
getWindowSize, isDownSampling, isLinearScaling, isSupportLinearScaling, resample, setLinearScaling
 

Method Detail

getResamplingMethod

int getResamplingMethod()
                        throws IOException,
                               AutomationException
The resampling method.

Product Availability

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

Returns:
A com.esri.arcgis.geodatabase.rstResamplingTypes constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setResamplingMethod

void setResamplingMethod(int pMethod)
                         throws IOException,
                                AutomationException
The resampling method.

Product Availability

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

Parameters:
pMethod - A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCubicConvolutionParameter

double getCubicConvolutionParameter()
                                    throws IOException,
                                           AutomationException
The cubic convolution parameter (-1, -0.75, -0.5).

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.

Product Availability

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

Returns:
The a
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCubicConvolutionParameter

void setCubicConvolutionParameter(double a)
                                  throws IOException,
                                         AutomationException
The cubic convolution parameter (-1, -0.75, -0.5).

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.

Product Availability

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

Parameters:
a - The a (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMajorityWindowSize

void setMajorityWindowSize(int rhs1)
                           throws IOException,
                                  AutomationException
The majority resampling window size in pixels.

Product Availability

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

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.