rededge_to_radiance.pro


This file contains the code needed to convert the raw pixel values from a RedEdge image directly to radiance. This workflow was taken from the following source:

[https://support.micasense.com/hc/en-us/articles/115000351194-RedEdge-Camera-Radiometric-Calibration-Model](https://support.micasense.com/hc/en-us/articles/115000351194-RedEdge-Camera-Radiometric-Calibration-Model)

It does not currently account for sensor orientation with a DLS, but support is planned.

You will need a sensor that has the correct metadata for this function to work without throwing an error during processing and it should be used with a catch block to ensure that the source program continues running if there are issues.

Author

Zachary Norman - GitHub: znorman-harris


rededge_to_radiance()

Function that takes RedEdge data and converts the pixel values directly to radiance if all of the necessary metadata is present. This routine does not account for DLS sensors and the orientation of the sensor, but that support is planned.

This function is overly cautious and makes sure that all metadata is present, otherwise an error is thrown. This should be used with a catch block to ensure that we can process our data correctly.

Syntax

Result = rededge_to_radiance(file, [ DAT = array ])

Arguments

FILE

in, required, type=string

Specify the RedEdge file that you want to open and attempt to convert to radiance.

Keywords

DAT

in/out, optional, type=array

For input, specify the image data for the scene that will have the correction applied.

For output, this keyword contains the original scene data so that you don’t need to read it in multiple times.

Author

Zachary Norman - GitHub:znorman-harris


Copyright © 2019 Harris Geospatial Solutions, Inc.

Licensed under MIT. See LICENSE.txt for additional details and information.