changeColorSpace: Convert image between colorspaces

Description Usage Arguments Value Author(s) See Also Examples

View source: R/conversions.R

Description

This function takes an Image object and converts it to another colorspace (e.g BGR to grayscale).

Usage

1

Arguments

image

An Image object.

colorspace

A string corresponding to the colorspace the image should be converted to. Options are "BGR" (Blue Green Red image), "BGRA" (BGR image with Alpha channel), and "GRAY" (grayscale image). Converting from a Bayer mosaic to BGR using the default algorithm is also possible with "BayerBG2BGR", "BayerGB2BGR", "BayerRG2BGR", or "BayerGR2BGR".

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.