ni | R Documentation |
Vectorized wrapper for normalize
with a default
inputRange
appropriate for 12-bit images.
ni(x, ir = c(0, 2^-4), separate = FALSE, ft = c(0, 1))
x |
An |
ir |
A numeric vector or a list of vectors or a single numeric
value indicating the bit depth
to set the input intensity range. This value is passed to
|
separate |
If |
ft |
A numeric vector of 2 values or |
See normalize
for details. The default here differs
from normalize
the default value for ir
forces
the call to use separate = FALSE
. The default value sets
inputRange
to c(0,2^-4)
, which is appropriate for
12-bit images. This function provides an easier-to-type replacement for
normalize
while extending it to accept lists of images.
If ir
is a numeric
value of length 1 between 1 and 16,
it is interpreted as the effective bit depth of the input image and
the value for ir
is given by c(0, 2^-(16-ir)
. This allows
the use of values such as 11.5
to increase the brightness of a
12-bit image.
An Image
object or array or a list
of such objects containing
the transformed object(s).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.