changeBitDepth: Convert image bit depth

Description Usage Arguments Value Author(s) See Also Examples

View source: R/conversions.R

Description

This function takes an Image object and modifies its bit depth (e.g. from 16 bits to 8 bits).

Usage

1

Arguments

image

An Image object.

bitdepth

A scalar corresponding to the colorspace the image should be converted to. Options are 8 and 16, for 8 and 16 bits respectively.

Value

An Image object.

Author(s)

Simon Garnier, garnier@njit.edu

See Also

Image

Examples

1
# TODO

neuroconductor-releases/Rvision documentation built on Nov. 10, 2020, 9:10 p.m.