setZero | R Documentation |
Scale an image and crop at the given zero value.
setZero(x, zero, min.value = 0, ...)
x |
Grayscale |
zero |
Numeric vector or list of vectors specifying the
zero value pixel for each frame. If missing, this will be
determined with |
min.value |
Numeric value or list of values to be the new minimum value in the transformed image, default of 0. |
... |
Values passed to |
Each frame of the argument will be linearly scaled by subtracting
zero
. If zero
is missing, getZero
will be
called to determine default zero values. Pixel values less than
min.value
will be set to min.value
.
This function will probably replace bnormalize
soon. This function is typically applied after using
getZero
to determine the likely zero value.
An object of the same structure as the argument x
that has been
linearly scaled and cropped.
bnormalize
, getZero
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.