correct_light: Corrects uniform changes in light

Description Usage Arguments

View source: R/workflow.R

Description

Corrects uniform changes in light

Usage

1
correct_light(img, chunk_width = 200)

Arguments

img

an image

chunk_width

the chunk sized used to calculate background light

The size of the chunk should be large enough that each chunk contains at least a part of background.

Internally estimates the light in 2d and aproximates a linear model to it, then subtracts the estimated light.


jspaezp/clasifierrr documentation built on March 2, 2020, 11:20 a.m.