Class SpectralLibraryClass
- Namespace
- ESRI.ArcGIS.DatasourcesRaster
- Assembly
- ESRI.Server.DatasourcesRaster.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("D5BF1B30-F559-40E9-87C1-1339888FB46B")]
public class SpectralLibraryClass : SpectralLibrary, ISpectralLibrary, IXMLSerialize
- Inheritance
-
SpectralLibraryClass
- Implements
- Inherited Members
Constructors
SpectralLibraryClass()
public SpectralLibraryClass()
Explicit Interface Implementations
AddSample(ISpectralSample)
Adds a Spectral Sample to the spectral library.
virtual void AddSample(ISpectralSample pSpectralSample)
Parameters
pSpectralSampleISpectralSample
AddSensor(ISpectralSensor)
Adds a Spectral Sensor to the spectral library.
virtual void AddSensor(ISpectralSensor pSpectralSensor)
Parameters
pSpectralSensorISpectralSensor
BuildMatchedFilters(IDoubleArray, IDoubleArray, int, int, SpectralMatchingMethod, out IDoubleArray, out ILongArray)
Compute matched filters for target spectra using background covariance.
virtual void BuildMatchedFilters(IDoubleArray pCovMatArray, IDoubleArray pTargetArray, int numBands, int numTargets, SpectralMatchingMethod Method, out IDoubleArray ppBandWeights, out ILongArray ppBandIsValid)
Parameters
pCovMatArrayIDoubleArraypTargetArrayIDoubleArraynumBandsintnumTargetsintMethodSpectralMatchingMethodppBandWeightsIDoubleArrayppBandIsValidILongArray
ComputeBackgroundStats(object, ITrackCancel, out IDoubleArray, out IDoubleArray)
Compute background statistics from the input raster.
virtual void ComputeBackgroundStats(object pRas, ITrackCancel pTrackCancel, out IDoubleArray ppCovMatArray, out IDoubleArray ppMeanArray)
Parameters
pRasobjectpTrackCancelITrackCancelppCovMatArrayIDoubleArrayppMeanArrayIDoubleArray
Deserialize(IXMLSerializeData)
Deserializes an object from XML.
virtual void Deserialize(IXMLSerializeData data)
Parameters
dataIXMLSerializeData
LoadENVISpectralLibrary(string)
Loads the ENVI Spectral Libary located in the specified file path.
virtual void LoadENVISpectralLibrary(string Path)
Parameters
Pathstring
LoadESRISpectralLibrary(string)
Loads the ESRI Spectral Libary located in the specified file path.
virtual void LoadESRISpectralLibrary(string Path)
Parameters
Pathstring
LoadUSGSSpectralLibrary(string, bool)
Loads the USGS Spectral Libary located in the specified folder path.
virtual void LoadUSGSSpectralLibrary(string Path, bool fullyLoad)
Parameters
RemoveContinuum()
Remove continuum from a spectral library.
virtual void RemoveContinuum()
RemoveSample(Guid)
Removes a Spectral Sample from the spectral library specified by its ID.
virtual void RemoveSample(Guid SampleId)
Parameters
SampleIdGuid
RemoveSensor(Guid)
Removes a Spectral Sensor from the spectral library specified by its ID.
virtual void RemoveSensor(Guid SensorId)
Parameters
SensorIdGuid
Resample(IDoubleArray, IDoubleArray, WavelengthUnitType, Guid, string, SpectralResampleMethod)
Resample a spectral library to target min / max wavelengths.
virtual void Resample(IDoubleArray pTargetMinWavelengths, IDoubleArray pTargetMaxWavelengths, WavelengthUnitType targetWlut, Guid targetSensorId, string targetSensorName, SpectralResampleMethod Method)
Parameters
pTargetMinWavelengthsIDoubleArraypTargetMaxWavelengthsIDoubleArraytargetWlutWavelengthUnitTypetargetSensorIdGuidtargetSensorNamestringMethodSpectralResampleMethod
ResampleCenter(IDoubleArray, WavelengthUnitType, Guid, string, SpectralResampleMethod)
Resample a spectral library to target center wavelengths.
virtual void ResampleCenter(IDoubleArray pTargetCenterWavelengths, WavelengthUnitType targetWlut, Guid targetSensorId, string targetSensorName, SpectralResampleMethod Method)
Parameters
pTargetCenterWavelengthsIDoubleArraytargetWlutWavelengthUnitTypetargetSensorIdGuidtargetSensorNamestringMethodSpectralResampleMethod
ResampleToTargetRaster(IRaster, SpectralResampleMethod)
Resample a spectral library to target raster.
virtual void ResampleToTargetRaster(IRaster pRaster, SpectralResampleMethod Method)
Parameters
pRasterIRasterMethodSpectralResampleMethod
ResampleToTargetSensor(ISpectralSensor, SpectralResampleMethod)
Resample a spectral library to target sensor.
virtual void ResampleToTargetSensor(ISpectralSensor pSpectralSensor, SpectralResampleMethod Method)
Parameters
pSpectralSensorISpectralSensorMethodSpectralResampleMethod
Samples
Gets the Spectral Library array of Samples.
virtual IArray Samples { get; }
Returns
SaveAsESRISpectralLibrary(string)
Saves the Spectral Library as ESRI Spectral Library file (.esl) in the specified path
virtual void SaveAsESRISpectralLibrary(string Path)
Parameters
Pathstring
Sensors
Gets the Spectral Library array of Sensors.
virtual IArray Sensors { get; }
Returns
Serialize(IXMLSerializeData)
Serializes an object to XML.
virtual void Serialize(IXMLSerializeData data)
Parameters
dataIXMLSerializeData
Source
Gets the Spectral Library source path.
virtual string Source { get; }
Returns
SpecLibType
Gets the Spectral Library Type.
virtual SpectralLibraryType SpecLibType { get; }
Returns
Version
Gets the Spectral Library Version.
virtual string Version { get; }