Skip to content

Provides access to a Spectral Sensor Interface.

Members

Name Description
Read/write property Characteristics Gets the list of Spectral Sensor properties specific for the library type.
Method Create Creates the object from parameters.
Method GetTargetRasterWavelengthsAndSensorName Get target sensor wavelengths and sensor name from the input raster.
Method GetTargetSensorWavelengthsAndGUID Get target sensor wavelengths and GUID from the sensor name.
Read-only property MaxWavelength Gets the Maximum Wavelength value.
Read-only property MinWavelength Gets the Minimum Wavelength value.
Read/write property SensorId Gets the Spectral Sensor Id.
Read/write property SensorName Gets the Spectral Sensor name.
Method USGSBasicLoad Loads the basic properties of a Spectral Sensor located in the specified path. No wavelengths are loaded.
Method USGSFullyLoad Loads all the properties of a Spectral Sensor, including wavelengths, located in the specified path.
Read/write property Wavelengths Gets the array of wavelengths.
Read-only property WavelengthsCount Gets the Wavelengths count of the Spectral Sensor.
Read/write property WavelengthUnits Gets the Wavelength units.

ISpectralSensor.Characteristics Property

Gets the list of Spectral Sensor properties specific for the library type.

Public Property Characteristics As IPropertySet
public IPropertySet Characteristics {get; set;}

ISpectralSensor.Create Method

Creates the object from parameters.

Public Sub Create ( _
    ByVal SensorId As Guid, _
    ByVal SensorName As String, _
    ByVal pWavelengths As IDoubleArray, _
    ByVal wlut As WavelengthUnitType _
)
public void Create (
    Guid SensorId,
    string SensorName,
    IDoubleArray pWavelengths,
    WavelengthUnitType wlut
);

ISpectralSensor.GetTargetRasterWavelengthsAndSensorName Method

Get target sensor wavelengths and sensor name from the input raster.

Public Sub GetTargetRasterWavelengthsAndSensorName ( _
    ByVal pRaster As IRaster, _
    ByRef pSensorName As String, _
    ByRef ppTargetMinWavelengths As IDoubleArray, _
    ByRef ppTargetMaxWavelengths As IDoubleArray, _
    ByRef ppTargetCenterWavelengths As IDoubleArray, _
    ByRef pWavelengthUnit As WavelengthUnitType _
)
public void GetTargetRasterWavelengthsAndSensorName (
    IRaster pRaster,
    ref string pSensorName,
    ref IDoubleArray ppTargetMinWavelengths,
    ref IDoubleArray ppTargetMaxWavelengths,
    ref IDoubleArray ppTargetCenterWavelengths,
    ref WavelengthUnitType pWavelengthUnit
);

ISpectralSensor.GetTargetSensorWavelengthsAndGUID Method

Get target sensor wavelengths and GUID from the sensor name.

Public Sub GetTargetSensorWavelengthsAndGUID ( _
    ByVal targetSensor As String, _
    ByRef pTargetGuid As Guid&, _
    ByRef ppTargetMinWavelengths As IDoubleArray, _
    ByRef ppTargetMaxWavelengths As IDoubleArray, _
    ByRef pWavelengthUnit As WavelengthUnitType _
)
public void GetTargetSensorWavelengthsAndGUID (
    string targetSensor,
    ref Guid& pTargetGuid,
    ref IDoubleArray ppTargetMinWavelengths,
    ref IDoubleArray ppTargetMaxWavelengths,
    ref WavelengthUnitType pWavelengthUnit
);

ISpectralSensor.MaxWavelength Property

Gets the Maximum Wavelength value.

Public ReadOnly Property MaxWavelength As Double
public double MaxWavelength {get;}

ISpectralSensor.MinWavelength Property

Gets the Minimum Wavelength value.

Public ReadOnly Property MinWavelength As Double
public double MinWavelength {get;}

ISpectralSensor.SensorId Property

Gets the Spectral Sensor Id.

Public Property SensorId As Guid
public Guid SensorId {get; set;}

ISpectralSensor.SensorName Property

Gets the Spectral Sensor name.

Public Property SensorName As String
public string SensorName {get; set;}

ISpectralSensor.USGSBasicLoad Method

Loads the basic properties of a Spectral Sensor located in the specified path. No wavelengths are loaded.

Public Sub USGSBasicLoad ( _
    ByVal Path As String, _
    ByVal createId As Boolean _
)
public void USGSBasicLoad (
    string Path,
    bool createId
);

ISpectralSensor.USGSFullyLoad Method

Loads all the properties of a Spectral Sensor, including wavelengths, located in the specified path.

Public Sub USGSFullyLoad ( _
    ByVal Path As String, _
    ByVal createId As Boolean _
)
public void USGSFullyLoad (
    string Path,
    bool createId
);

ISpectralSensor.Wavelengths Property

Gets the array of wavelengths.

Public Property Wavelengths As IDoubleArray
public IDoubleArray Wavelengths {get; set;}

ISpectralSensor.WavelengthsCount Property

Gets the Wavelengths count of the Spectral Sensor.

Public ReadOnly Property WavelengthsCount As Integer
public int WavelengthsCount {get;}

ISpectralSensor.WavelengthUnits Property

Gets the Wavelength units.

Public Property WavelengthUnits As WavelengthUnitType
public WavelengthUnitType WavelengthUnits {get; set;}

Classes that implement ISpectralSensor

Classes Description
SpectralSensor The Spectrum class that holds wavelengths.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.