cpp_normalize: Matrix Normalization

View source: R/RcppExports.R

cpp_normalizeR Documentation

Matrix Normalization

Description

Normalizes a finite matrix to [0,1]

Arguments

mat

a finite NumericMatrix.

input_range

a finite NumericVector, sets the range of the input intensity values. Values outside this range are clipped. Default is [0.0,4095.0].

full_range

if 'full_range' is true, then 'input_range' will be set to [0.0,4095.0] and 'gamma' forced to 1.0. Default is false.

force_range

if 'force_range' is true, then 'input_range' will be adjusted to 'mat' range in [-4095.0, +inf] and 'gamma' forced to 1.0. Default is false.
Note that this parameter takes the precedence over 'input_range' and 'full_range'.

gamma

correction. Default is 1.0, for no correction.


IFC documentation built on Sept. 14, 2023, 1:08 a.m.