Skip to contents

apply normalization function over the combination of capture and reference SpatRasters using terra spatial dataset.

Usage

create_normalized_raster(
  capture = capture,
  whiteref = whiteref,
  darkref = darkref,
  fun = normalization,
  ...
)

Arguments

capture

terra SpatRaster of captured data.

whiteref

terra SpatRaster of the white reference matching capture extent.

darkref

terra SpatRaster of the dark reference matching capture extent.

fun

function to apply: normalization.

...

additional arguments.

Value

normalized terra SpatRaster of the capture.

See also