/SEBAL_Drone_Process

Uses drone technology to calculate soil saturation

Primary LanguageJavaScriptMIT LicenseMIT

SEBAL_Drone_Process

Processes drone images using the SEBAL algorithm to calculate soil saturation.

Inputs

Takes two input images (and can be configred differently):

  1. RGB Image (where the red, green, and blue channels correspond to the red, green, and blue bands respectively captured by the drone).
  2. Composite Image (where the red, green, and blue channels correspond to the red, thermal, and near-infared bands respectively captured by the drone).

General Algorithm

This program uses the latest ECMAScript standard, Tensorflow.js, and p5.js while importing, processing, exporting, and displaying images; and uses several memory-saving techniques for the proper execution of the SEBAL algorithm.

  • Uses latest tensorflow.js libraries to operate on GPU hardware built for image processing.
  • Uses a check-point system which recognizes the images that have been imported, and processes the code relevant to those images.
  • Frequently disposes uncecessary tensors and javascript objects.

Note: due to p5.js limitations, the images being imported must be commented/uncommented where necessary; the code will handle the rest.

Sample Inputs

RGB Image:

RGB Image

Composite Image:

Composite Image

Sample Outputs

Name Image
Net Radiation (Rn) Net Rad
Thermal Image (extracted) Thermal
Soil Flux (G) Soil Flux
Sensible Heat Flux (H) Heat Flux
Soil Saturation (S) Soil Sat