autoscale: Determines optimal scaling constant for a list of CIs

View source: R/autoscale.R

autoscaleR Documentation

Determines optimal scaling constant for a list of CIs

Description

Determines optimal scaling constant for a list of CIs

Usage

autoscale(cis, save_as_pngs = TRUE, targetpath = "./cis")

Arguments

cis

List of cis, each of which are a list containing the pixel matrices of at least the noise pattern ($ci) and if the noise patterns need to be written to PNGs, also the base image ($base).

save_as_pngs

Boolean, when set to true, the autoscaled noise patterns will be combined with their respective base images and saved as PNGs (using the key of the list as name).

targetpath

Optional string specifying path to save PNGs to (default: ./cis).

Value

List of scaled noise patterns and determined scaling factor.


rdotsch/rcicr documentation built on Feb. 5, 2023, 10:15 p.m.