Defines output wavelength value


int miraacq_SetResamplingWavelength(makernel* pma,int bandInd,double wavelength);


Input: 

  • Runtime environment pointer
  • Integer: Index of an output band for which we're setting the wavelength value
  • Double: Wavelength value in nm


Output: Result code (MIRA_OK or error)


This function specifies wavelength values for desired output bands. The band indices are zero based: 0 .. count -1, where the count is defined using miraacq_SetResamplingWavelengthCount function. The wavelength values are provided in nanometers. 


In order to use spectral resampling, the sensor needs to be calibrated, i.e. it needs to provide the mapping of spectral bands (pixels) to wavelengths.

Wavelength values, provided by this function, must also lay within the range of device wavelengths. This is because spectal interpolation not extrapolation is adopted.