Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Conversions » AddChannels
Creates a monochromatic image by summing the values of the input image channels.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::AddChannels ( const avl::Image& inImage, atl::Optional<const avl::Region&> inRoi, avl::Image& outImage )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inImage | const Image& | Input image | ||
inRoi | Optional<const Region&> | NIL | Range of pixels to be processed | |
outImage | Image& | output mono image |
Description
This operation sums values of the given inImage image channels to obtain a monochromatic image.
Examples
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
See Also
- AddChannels_Saturation – Creates a monochromatic image by summing the values of the input image channels with saturation.
- AverageChannels – Creates a monochromatic image by averaging the input image channels.
- AverageChannels_Weighted – Creates a monochromatic image from weighted averages of the input image channels.