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

pSpectralSample ISpectralSample

AddSensor(ISpectralSensor)

Adds a Spectral Sensor to the spectral library.

virtual void AddSensor(ISpectralSensor pSpectralSensor)

Parameters

pSpectralSensor ISpectralSensor

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

pCovMatArray IDoubleArray
pTargetArray IDoubleArray
numBands int
numTargets int
Method SpectralMatchingMethod
ppBandWeights IDoubleArray
ppBandIsValid ILongArray

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

pRas object
pTrackCancel ITrackCancel
ppCovMatArray IDoubleArray
ppMeanArray IDoubleArray

Deserialize(IXMLSerializeData)

Deserializes an object from XML.

virtual void Deserialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

LoadENVISpectralLibrary(string)

Loads the ENVI Spectral Libary located in the specified file path.

virtual void LoadENVISpectralLibrary(string Path)

Parameters

Path string

LoadESRISpectralLibrary(string)

Loads the ESRI Spectral Libary located in the specified file path.

virtual void LoadESRISpectralLibrary(string Path)

Parameters

Path string

LoadUSGSSpectralLibrary(string, bool)

Loads the USGS Spectral Libary located in the specified folder path.

virtual void LoadUSGSSpectralLibrary(string Path, bool fullyLoad)

Parameters

Path string
fullyLoad bool

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

SampleId Guid

RemoveSensor(Guid)

Removes a Spectral Sensor from the spectral library specified by its ID.

virtual void RemoveSensor(Guid SensorId)

Parameters

SensorId Guid

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

pTargetMinWavelengths IDoubleArray
pTargetMaxWavelengths IDoubleArray
targetWlut WavelengthUnitType
targetSensorId Guid
targetSensorName string
Method SpectralResampleMethod

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

pTargetCenterWavelengths IDoubleArray
targetWlut WavelengthUnitType
targetSensorId Guid
targetSensorName string
Method SpectralResampleMethod

ResampleToTargetRaster(IRaster, SpectralResampleMethod)

Resample a spectral library to target raster.

virtual void ResampleToTargetRaster(IRaster pRaster, SpectralResampleMethod Method)

Parameters

pRaster IRaster
Method SpectralResampleMethod

ResampleToTargetSensor(ISpectralSensor, SpectralResampleMethod)

Resample a spectral library to target sensor.

virtual void ResampleToTargetSensor(ISpectralSensor pSpectralSensor, SpectralResampleMethod Method)

Parameters

pSpectralSensor ISpectralSensor
Method SpectralResampleMethod

Samples

Gets the Spectral Library array of Samples.

virtual IArray Samples { get; }

Returns

IArray

SaveAsESRISpectralLibrary(string)

Saves the Spectral Library as ESRI Spectral Library file (.esl) in the specified path

virtual void SaveAsESRISpectralLibrary(string Path)

Parameters

Path string

Sensors

Gets the Spectral Library array of Sensors.

virtual IArray Sensors { get; }

Returns

IArray

Serialize(IXMLSerializeData)

Serializes an object to XML.

virtual void Serialize(IXMLSerializeData data)

Parameters

data IXMLSerializeData

Source

Gets the Spectral Library source path.

virtual string Source { get; }

Returns

string

SpecLibType

Gets the Spectral Library Type.

virtual SpectralLibraryType SpecLibType { get; }

Returns

SpectralLibraryType

Version

Gets the Spectral Library Version.

virtual string Version { get; }

Returns

string