public class SpectralLibrary extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ISpectralLibrary, IXMLSerialize
Description 'The spectral library class.' 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 =
IID, IID024048ca_eb92_4334_be34_a4f2bf607f05, xxDummyIID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy| Constructor and Description |
|---|
SpectralLibrary()
Constructs a SpectralLibrary using ArcGIS Engine.
|
SpectralLibrary(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
SpectralLibrary theSpectralLibrary = (SpectralLibrary) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
addSample(ISpectralSample pSpectralSample)
Adds a Spectral Sample to the spectral library.
|
void |
addSensor(ISpectralSensor pSpectralSensor)
Adds a Spectral Sensor to the spectral library.
|
void |
buildMatchedFilters(IDoubleArray pCovMatArray,
IDoubleArray pTargetArray,
int numBands,
int numTargets,
int method,
IDoubleArray[] ppBandWeights,
ILongArray[] ppBandIsValid)
Compute matched filters for target spectra using background covariance.
|
void |
computeBackgroundStats(java.lang.Object pRas,
ITrackCancel pTrackCancel,
IDoubleArray[] ppCovMatArray,
IDoubleArray[] ppMeanArray)
Compute background statistics from the input raster.
|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
java.lang.String |
esri_getSource()
Gets the Spectral Library source path.
|
static java.lang.String |
getClsid()
getClsid.
|
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.
|
IArray |
getSamples()
Gets the Spectral Library array of Samples.
|
IArray |
getSensors()
Gets the Spectral Library array of Sensors.
|
int |
getSpecLibType()
Gets the Spectral Library Type.
|
java.lang.String |
getVersion()
Gets the Spectral Library Version.
|
int |
hashCode()
the hashcode for this object
|
void |
loadENVISpectralLibrary(java.lang.String path)
Loads the ENVI Spectral Libary located in the specified file path.
|
void |
loadESRISpectralLibrary(java.lang.String path)
Loads the ESRI Spectral Libary located in the specified file path.
|
void |
loadUSGSSpectralLibrary(java.lang.String path,
boolean fullyLoad)
Loads the USGS Spectral Libary located in the specified folder path.
|
void |
release()
Release this COM object reference
|
void |
removeContinuum()
Remove continuum from a spectral library.
|
void |
removeSample(GUID sampleId)
Removes a Spectral Sample from the spectral library specified by its ID.
|
void |
removeSensor(GUID sensorId)
Removes a Spectral Sensor from the spectral library specified by its ID.
|
void |
resample(IDoubleArray pTargetMinWavelengths,
IDoubleArray pTargetMaxWavelengths,
int targetWlut,
GUID targetSensorId,
java.lang.String targetSensorName,
int method)
Resample a spectral library to target min / max wavelengths.
|
void |
resampleCenter(IDoubleArray pTargetCenterWavelengths,
int targetWlut,
GUID targetSensorId,
java.lang.String targetSensorName,
int method)
Resample a spectral library to target center wavelengths.
|
void |
resampleToTargetRaster(IRaster pRaster,
int method)
Resample a spectral library to target raster.
|
void |
resampleToTargetSensor(ISpectralSensor pSpectralSensor,
int method)
Resample a spectral library to target sensor.
|
void |
saveAsESRISpectralLibrary(java.lang.String path)
Saves the Spectral Library as ESRI Spectral Library file (.esl) in the specified path
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
public SpectralLibrary()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic SpectralLibrary(java.lang.Object obj)
throws java.io.IOException
SpectralLibrary theSpectralLibrary = (SpectralLibrary) obj;obj to SpectralLibrary.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.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic java.lang.String esri_getSource()
throws java.io.IOException,
AutomationException
esri_getSource in interface ISpectralLibraryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getSpecLibType()
throws java.io.IOException,
AutomationException
getSpecLibType in interface ISpectralLibraryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getVersion()
throws java.io.IOException,
AutomationException
getVersion in interface ISpectralLibraryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IArray getSensors() throws java.io.IOException, AutomationException
getSensors in interface ISpectralLibraryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IArray getSamples() throws java.io.IOException, AutomationException
getSamples in interface ISpectralLibraryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void loadUSGSSpectralLibrary(java.lang.String path,
boolean fullyLoad)
throws java.io.IOException,
AutomationException
loadUSGSSpectralLibrary in interface ISpectralLibrarypath - The path (in)fullyLoad - The fullyLoad (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void loadESRISpectralLibrary(java.lang.String path)
throws java.io.IOException,
AutomationException
loadESRISpectralLibrary in interface ISpectralLibrarypath - The path (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void resampleToTargetSensor(ISpectralSensor pSpectralSensor, int method) throws java.io.IOException, AutomationException
resampleToTargetSensor in interface ISpectralLibrarypSpectralSensor - A reference to a com.esri.arcgis.datasourcesraster.ISpectralSensor (in)method - A com.esri.arcgis.datasourcesraster.SpectralResampleMethod constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void resampleToTargetRaster(IRaster pRaster, int method) throws java.io.IOException, AutomationException
resampleToTargetRaster in interface ISpectralLibrarypRaster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)method - A com.esri.arcgis.datasourcesraster.SpectralResampleMethod constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void resampleCenter(IDoubleArray pTargetCenterWavelengths, int targetWlut, GUID targetSensorId, java.lang.String targetSensorName, int method) throws java.io.IOException, AutomationException
resampleCenter in interface ISpectralLibrarypTargetCenterWavelengths - A reference to a com.esri.arcgis.system.IDoubleArray (in)targetWlut - A com.esri.arcgis.datasourcesraster.WavelengthUnitType constant (in)targetSensorId - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)targetSensorName - The targetSensorName (in)method - A com.esri.arcgis.datasourcesraster.SpectralResampleMethod constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void resample(IDoubleArray pTargetMinWavelengths, IDoubleArray pTargetMaxWavelengths, int targetWlut, GUID targetSensorId, java.lang.String targetSensorName, int method) throws java.io.IOException, AutomationException
resample in interface ISpectralLibrarypTargetMinWavelengths - A reference to a com.esri.arcgis.system.IDoubleArray (in)pTargetMaxWavelengths - A reference to a com.esri.arcgis.system.IDoubleArray (in)targetWlut - A com.esri.arcgis.datasourcesraster.WavelengthUnitType constant (in)targetSensorId - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)targetSensorName - The targetSensorName (in)method - A com.esri.arcgis.datasourcesraster.SpectralResampleMethod constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void removeContinuum()
throws java.io.IOException,
AutomationException
removeContinuum in interface ISpectralLibraryjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void loadENVISpectralLibrary(java.lang.String path)
throws java.io.IOException,
AutomationException
loadENVISpectralLibrary in interface ISpectralLibrarypath - The path (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addSensor(ISpectralSensor pSpectralSensor) throws java.io.IOException, AutomationException
addSensor in interface ISpectralLibrarypSpectralSensor - A reference to a com.esri.arcgis.datasourcesraster.ISpectralSensor (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addSample(ISpectralSample pSpectralSample) throws java.io.IOException, AutomationException
addSample in interface ISpectralLibrarypSpectralSample - A reference to a com.esri.arcgis.datasourcesraster.ISpectralSample (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void removeSensor(GUID sensorId) throws java.io.IOException, AutomationException
removeSensor in interface ISpectralLibrarysensorId - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void removeSample(GUID sampleId) throws java.io.IOException, AutomationException
removeSample in interface ISpectralLibrarysampleId - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void saveAsESRISpectralLibrary(java.lang.String path)
throws java.io.IOException,
AutomationException
saveAsESRISpectralLibrary in interface ISpectralLibrarypath - The path (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void buildMatchedFilters(IDoubleArray pCovMatArray, IDoubleArray pTargetArray, int numBands, int numTargets, int method, IDoubleArray[] ppBandWeights, ILongArray[] ppBandIsValid) throws java.io.IOException, AutomationException
buildMatchedFilters in interface ISpectralLibrarypCovMatArray - A reference to a com.esri.arcgis.system.IDoubleArray (in)pTargetArray - A reference to a com.esri.arcgis.system.IDoubleArray (in)numBands - The numBands (in)numTargets - The numTargets (in)method - A com.esri.arcgis.datasourcesraster.SpectralMatchingMethod constant (in)ppBandWeights - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)ppBandIsValid - A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void computeBackgroundStats(java.lang.Object pRas,
ITrackCancel pTrackCancel,
IDoubleArray[] ppCovMatArray,
IDoubleArray[] ppMeanArray)
throws java.io.IOException,
AutomationException
computeBackgroundStats in interface ISpectralLibrarypRas - A reference to another Object (IUnknown) (in)pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)ppCovMatArray - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)ppMeanArray - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.