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
Sensors
Gets the Spectral Library array of Sensors.
IArray Sensors { get; }
Property Value
Source
Gets the Spectral Library source path.
string Source { get; }
Property Value
SpecLibType
Gets the Spectral Library Type.
SpectralLibraryType SpecLibType { get; }
Property Value
Version
Gets the Spectral Library Version.
string Version { get; }
Property Value
Methods
AddSample(ISpectralSample)
Adds a Spectral Sample to the spectral library.
void AddSample(ISpectralSample pSpectralSample)
Parameters
pSpectralSampleISpectralSample
AddSensor(ISpectralSensor)
Adds a Spectral Sensor to the spectral library.
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.
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.
void ComputeBackgroundStats(object pRas, ITrackCancel pTrackCancel, out IDoubleArray ppCovMatArray, out IDoubleArray ppMeanArray)
Parameters
pRasobjectpTrackCancelITrackCancelppCovMatArrayIDoubleArrayppMeanArrayIDoubleArray
LoadENVISpectralLibrary(string)
Loads the ENVI Spectral Libary located in the specified file path.
void LoadENVISpectralLibrary(string Path)
Parameters
Pathstring
LoadESRISpectralLibrary(string)
Loads the ESRI Spectral Libary located in the specified file path.
void LoadESRISpectralLibrary(string Path)
Parameters
Pathstring
LoadUSGSSpectralLibrary(string, bool)
Loads the USGS Spectral Libary located in the specified folder path.
void LoadUSGSSpectralLibrary(string Path, bool fullyLoad)
Parameters
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
SampleIdGuid
RemoveSensor(Guid)
Removes a Spectral Sensor from the spectral library specified by its ID.
void RemoveSensor(Guid SensorId)
Parameters
SensorIdGuid
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
pTargetMinWavelengthsIDoubleArraypTargetMaxWavelengthsIDoubleArraytargetWlutWavelengthUnitTypetargetSensorIdGuidtargetSensorNamestringMethodSpectralResampleMethod
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
pTargetCenterWavelengthsIDoubleArraytargetWlutWavelengthUnitTypetargetSensorIdGuidtargetSensorNamestringMethodSpectralResampleMethod
ResampleToTargetRaster(IRaster, SpectralResampleMethod)
Resample a spectral library to target raster.
void ResampleToTargetRaster(IRaster pRaster, SpectralResampleMethod Method)
Parameters
pRasterIRasterMethodSpectralResampleMethod
ResampleToTargetSensor(ISpectralSensor, SpectralResampleMethod)
Resample a spectral library to target sensor.
void ResampleToTargetSensor(ISpectralSensor pSpectralSensor, SpectralResampleMethod Method)
Parameters
pSpectralSensorISpectralSensorMethodSpectralResampleMethod
SaveAsESRISpectralLibrary(string)
Saves the Spectral Library as ESRI Spectral Library file (.esl) in the specified path
void SaveAsESRISpectralLibrary(string Path)
Parameters
Pathstring