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 Dec. 2, 2022, 7:35 a.m.