public class PansharpeningFilter extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IPixelFilter, IPixelFilter2, IPixelFilter3, IPansharpeningFilter, IPansharpeningFilter2, IPersistStream, IDocumentVersionSupportGEN, IXMLVersionSupport, java.io.Externalizable
Description 'A class for pansharpening filter.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
IID, IID90e3de9d_4fff_4575_b833_3ad29a57eeca, xxDummy
IID, IIDed30705b_437a_4ff4_93b3_f1947c70668b, xxDummy
IID, IID0ed41a27_9699_4b09_b3af_7cffd9f57c28, xxDummy
IID, IID64fa96ad_e00f_4aa1_82f7_b7ea95648b18, xxDummy
IIDa9d01e68_5e2e_4dbd_b878_4ec48f565120
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
IID0000010c_0000_0000_c000_000000000046
IID, IID72ca65b9_13de_48b7_8443_717b69b72a99, xxDummy
Constructor and Description |
---|
PansharpeningFilter()
Constructs a PansharpeningFilter using ArcGIS Engine.
|
PansharpeningFilter(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
PansharpeningFilter thePansharpeningFilter = (PansharpeningFilter) obj; |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
filter(IPixelBlock pBlock)
Filters a pixel block.
|
void |
getCenterPosition(int[] atColumn,
int[] atRow)
Gets center position of the filter.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
IRaster |
getInfraredImage()
The optional infrared image.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
double |
getMaximumPansharpeningCellsize()
The maximum cellsize, in Pan image's SR, below which pansharpening will be applied.
|
java.lang.String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace).
|
IRaster |
getPanImage()
The panchromatic image.
|
int |
getPansharpeningType()
The current pansharpening type.
|
void |
getSize(int[] columns,
int[] rows)
Gets dimension of the filter.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
int |
hashCode()
the hashcode for this object
|
void |
init(int nCols,
int nRows,
IEnvelope pExtent)
Initializes this filter for a given area of interest.
|
void |
initBlock(IPnt pTopLeft,
int nBlkCols,
int nBlkRows)
Initialize this filter for a given pixel block.
|
void |
isDirty()
isDirty
|
boolean |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version.
|
void |
load(IStream pstm)
load
|
void |
putWeights(double rW,
double gW,
double bW,
double iW)
Puts the Red, Green, Blue, and Infrared weights contributing to panchromatic image.
|
void |
queryWeights(double[] pRW,
double[] pGW,
double[] pBW,
double[] pIW)
Gets the Red, Green, Blue, and Infrared weights contributing to panchromatic image.
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
void |
setInfraredImageByRef(IRaster ppInfraredImage)
The optional infrared image.
|
void |
setMaximumPansharpeningCellsize(double cellSize)
The maximum cellsize, in Pan image's SR, below which pansharpening will be applied.
|
void |
setPanImageByRef(IRaster ppPanImage)
The panchromatic image.
|
void |
setPansharpeningType(int pSharpeningType)
The current pansharpening type.
|
void |
sharpen(double p,
double[] r,
double[] g,
double[] b,
double[] i)
Applies pansharpening to a pixel (R, G, B, I).
|
void |
synchronize(IRaster pRaster)
Synchronizes this filter when raster properties are changed.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public PansharpeningFilter() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic PansharpeningFilter(java.lang.Object obj) throws java.io.IOException
PansharpeningFilter thePansharpeningFilter = (PansharpeningFilter) obj;
obj
to PansharpeningFilter
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void getSize(int[] columns, int[] rows) throws java.io.IOException, AutomationException
getSize
in interface IPixelFilter
columns
- The columns (in/out: use single element array)rows
- The rows (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getCenterPosition(int[] atColumn, int[] atRow) throws java.io.IOException, AutomationException
getCenterPosition
in interface IPixelFilter
atColumn
- The atColumn (in/out: use single element array)atRow
- The atRow (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void filter(IPixelBlock pBlock) throws java.io.IOException, AutomationException
filter
in interface IPixelFilter
pBlock
- A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void init(int nCols, int nRows, IEnvelope pExtent) throws java.io.IOException, AutomationException
init
in interface IPixelFilter2
nCols
- The nCols (in)nRows
- The nRows (in)pExtent
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void initBlock(IPnt pTopLeft, int nBlkCols, int nBlkRows) throws java.io.IOException, AutomationException
initBlock
in interface IPixelFilter2
pTopLeft
- A reference to a com.esri.arcgis.geodatabase.IPnt (in)nBlkCols
- The nBlkCols (in)nBlkRows
- The nBlkRows (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void synchronize(IRaster pRaster) throws java.io.IOException, AutomationException
synchronize
in interface IPixelFilter3
pRaster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IRaster getPanImage() throws java.io.IOException, AutomationException
getPanImage
in interface IPansharpeningFilter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setPanImageByRef(IRaster ppPanImage) throws java.io.IOException, AutomationException
setPanImageByRef
in interface IPansharpeningFilter
ppPanImage
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getPansharpeningType() throws java.io.IOException, AutomationException
getPansharpeningType
in interface IPansharpeningFilter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setPansharpeningType(int pSharpeningType) throws java.io.IOException, AutomationException
setPansharpeningType
in interface IPansharpeningFilter
pSharpeningType
- A com.esri.arcgis.datasourcesraster.esriPansharpeningType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void queryWeights(double[] pRW, double[] pGW, double[] pBW, double[] pIW) throws java.io.IOException, AutomationException
queryWeights
in interface IPansharpeningFilter
pRW
- The pRW (out: use single element array)pGW
- The pGW (out: use single element array)pBW
- The pBW (out: use single element array)pIW
- The pIW (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void putWeights(double rW, double gW, double bW, double iW) throws java.io.IOException, AutomationException
putWeights
in interface IPansharpeningFilter
rW
- The rW (in)gW
- The gW (in)bW
- The bW (in)iW
- The iW (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IRaster getInfraredImage() throws java.io.IOException, AutomationException
getInfraredImage
in interface IPansharpeningFilter
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setInfraredImageByRef(IRaster ppInfraredImage) throws java.io.IOException, AutomationException
setInfraredImageByRef
in interface IPansharpeningFilter
ppInfraredImage
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void sharpen(double p, double[] r, double[] g, double[] b, double[] i) throws java.io.IOException, AutomationException
sharpen
in interface IPansharpeningFilter2
p
- The p (in)r
- The r (in/out: use single element array)g
- The g (in/out: use single element array)b
- The b (in/out: use single element array)i
- The i (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getMaximumPansharpeningCellsize() throws java.io.IOException, AutomationException
getMaximumPansharpeningCellsize
in interface IPansharpeningFilter2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setMaximumPansharpeningCellsize(double cellSize) throws java.io.IOException, AutomationException
setMaximumPansharpeningCellsize
in interface IPansharpeningFilter2
cellSize
- The cellSize (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isSupportedAtVersion(int docVersion) throws java.io.IOException, AutomationException
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
isSupportedAtVersion
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object convertToSupportedObject(int docVersion) throws java.io.IOException, AutomationException
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
convertToSupportedObject
in interface IDocumentVersionSupportGEN
docVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getMinNamespaceSupported() throws java.io.IOException, AutomationException
getMinNamespaceSupported
in interface IXMLVersionSupport
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException