com.esri.arcgis.datasourcesraster
Class MeanMosaicker

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.MeanMosaicker
All Implemented Interfaces:
IMosaicOperator, IMosaicOperator2, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class MeanMosaicker
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IMosaicOperator, IMosaicOperator2

A custom raster mosaic operator for performing mean value mosaic.

Remarks

This mosaic operator calculates average of the pixel values in the overlapping areas and assign it to the output raster pixel value.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
MosaicRaster, Serialized Form

Constructor Summary
MeanMosaicker()
          Constructs a MeanMosaicker using ArcGIS Engine.
MeanMosaicker(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MeanMosaicker theMeanMosaicker = (MeanMosaicker) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IPropertySet getProperties()
          Mosaic operator properties.
 int hashCode()
          the hashcode for this object
 void init(int nBands, int nBlockCols, int nBlockRows)
          Initializes a mosaic operator.
 void operate(int x, int y, double v1, double[] v2)
          Operates on two floating-point values and returns a new one.
 void operate(int x, int y, int v1, int[] v2)
          Operates on two integer values and returns a new one.
 void setCurrentBand(int rhs1)
          The current band index.
 void setProperties(IPropertySet ppProperties)
          Mosaic operator properties.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

MeanMosaicker

public MeanMosaicker()
              throws IOException,
                     UnknownHostException
Constructs a MeanMosaicker using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

MeanMosaicker

public MeanMosaicker(Object obj)
              throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MeanMosaicker theMeanMosaicker = (MeanMosaicker) obj;

Construct a MeanMosaicker using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to MeanMosaicker.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getProperties

public IPropertySet getProperties()
                           throws IOException,
                                  AutomationException
Mosaic operator properties.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getProperties in interface IMosaicOperator
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProperties

public void setProperties(IPropertySet ppProperties)
                   throws IOException,
                          AutomationException
Mosaic operator properties.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setProperties in interface IMosaicOperator
Parameters:
ppProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

init

public void init(int nBands,
                 int nBlockCols,
                 int nBlockRows)
          throws IOException,
                 AutomationException
Initializes a mosaic operator.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
init in interface IMosaicOperator
Parameters:
nBands - The nBands (in)
nBlockCols - The nBlockCols (in)
nBlockRows - The nBlockRows (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCurrentBand

public void setCurrentBand(int rhs1)
                    throws IOException,
                           AutomationException
The current band index.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

operate

public void operate(int x,
                    int y,
                    int v1,
                    int[] v2)
             throws IOException,
                    AutomationException
Operates on two integer values and returns a new one.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
operate in interface IMosaicOperator
Parameters:
x - The x (in)
y - The y (in)
v1 - The v1 (in)
v2 - The v2 (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

operate

public void operate(int x,
                    int y,
                    double v1,
                    double[] v2)
             throws IOException,
                    AutomationException
Operates on two floating-point values and returns a new one.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
operate in interface IMosaicOperator2
Parameters:
x - The x (in)
y - The y (in)
v1 - The v1 (in)
v2 - The v2 (in/out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.