adj_shift_negatives_local: Shift all values in a plane such that the minimum in every...

View source: R/adjust-array.R

adj_shift_negatives_localR Documentation

Shift all values in a plane such that the minimum in every plane is 0

Description

Shift all values in a plane such that the minimum in every plane is 0

Usage

adj_shift_negatives_local(arr)

Arguments

arr

array or matrix

Value

adjusted array

See Also

Other array adjustment functions: adj_clamp(), adj_gamma(), adj_infinite(), adj_rescale(), adj_shift_negatives_global()

Examples

arr <- array(c(-5, 1:23), c(4, 3, 2))
arr
adj_shift_negatives_local(arr)

picohdr documentation built on Oct. 28, 2024, 5:08 p.m.