scaleStack: Scale image stack

View source: R/scaleStack.R

scaleStackR Documentation

Scale image stack

Description

Scales the pixel values of an image stack between a new maximum and minimum values.

Usage

scaleStack(Stack, newMin = 0, newMax = 1)

Arguments

Stack

an image stack object

newMin

the new minimum pixel value (default=0)

newMax

the new maximum pixel value (default=1)

Value

An array of the same dimensions as Stack with scaled pixel values.

Author(s)

Alessio Veneziano


AlessioVeneziano/indianaBones documentation built on Nov. 29, 2022, 12:21 a.m.