com.esri.arcgis.datasourcesraster
Class BlendMosaicker

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

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

A custom raster mosaic operator for performing blend value mosaic.

Description

BlendMosaicker implements a Mosaic Operator that resolves the overlapping pixels during mosaicking by blending overlapping pixel values. The weight for blending is decreasing as a pixel is moving closer to the boundary.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
MosaicRaster, Serialized Form

Constructor Summary
BlendMosaicker()
          Constructs a BlendMosaicker using ArcGIS Engine.
BlendMosaicker(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
BlendMosaicker theBlendMosaicker = (BlendMosaicker) 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 init(int iCol, int iRow, IPixelBlock pBlock, IPixelBlock pMosaicBlock)
          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

BlendMosaicker

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

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

BlendMosaicker

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

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

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.

init

public void init(int iCol,
                 int iRow,
                 IPixelBlock pBlock,
                 IPixelBlock pMosaicBlock)
          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 IMosaicOperator3
Parameters:
iCol - The iCol (in)
iRow - The iRow (in)
pBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
pMosaicBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.