Interface ISpectralLibrary

Namespace
ESRI.ArcGIS.DatasourcesRaster
Assembly
ESRI.Server.DatasourcesRaster.dll

Provides access to a SpectralLibrary Interface.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("024048CA-EB92-4334-BE34-A4F2BF607F05")]
public interface ISpectralLibrary

Properties

Samples

Gets the Spectral Library array of Samples.

IArray Samples { get; }

Property Value

IArray

Sensors

Gets the Spectral Library array of Sensors.

IArray Sensors { get; }

Property Value

IArray

Source

Gets the Spectral Library source path.

string Source { get; }

Property Value

string

SpecLibType

Gets the Spectral Library Type.

SpectralLibraryType SpecLibType { get; }

Property Value

SpectralLibraryType

Version

Gets the Spectral Library Version.

string Version { get; }

Property Value

string

Methods

AddSample(ISpectralSample)

Adds a Spectral Sample to the spectral library.

void AddSample(ISpectralSample pSpectralSample)

Parameters

pSpectralSample ISpectralSample

AddSensor(ISpectralSensor)

Adds a Spectral Sensor to the spectral library.

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.

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.

void ComputeBackgroundStats(object pRas, ITrackCancel pTrackCancel, out IDoubleArray ppCovMatArray, out IDoubleArray ppMeanArray)

Parameters

pRas object
pTrackCancel ITrackCancel
ppCovMatArray IDoubleArray
ppMeanArray IDoubleArray

LoadENVISpectralLibrary(string)

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

void LoadENVISpectralLibrary(string Path)

Parameters

Path string

LoadESRISpectralLibrary(string)

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

void LoadESRISpectralLibrary(string Path)

Parameters

Path string

LoadUSGSSpectralLibrary(string, bool)

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

void LoadUSGSSpectralLibrary(string Path, bool fullyLoad)

Parameters

Path string
fullyLoad bool

RemoveContinuum()

Remove continuum from a spectral library.

void RemoveContinuum()

RemoveSample(Guid)

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

void RemoveSample(Guid SampleId)

Parameters

SampleId Guid

RemoveSensor(Guid)

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

void RemoveSensor(Guid SensorId)

Parameters

SensorId Guid

Resample(IDoubleArray, IDoubleArray, WavelengthUnitType, Guid, string, SpectralResampleMethod)

Resample a spectral library to target min / max wavelengths.

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.

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.

void ResampleToTargetRaster(IRaster pRaster, SpectralResampleMethod Method)

Parameters

pRaster IRaster
Method SpectralResampleMethod

ResampleToTargetSensor(ISpectralSensor, SpectralResampleMethod)

Resample a spectral library to target sensor.

void ResampleToTargetSensor(ISpectralSensor pSpectralSensor, SpectralResampleMethod Method)

Parameters

pSpectralSensor ISpectralSensor
Method SpectralResampleMethod

SaveAsESRISpectralLibrary(string)

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

void SaveAsESRISpectralLibrary(string Path)

Parameters

Path string