Back to FabImage Library website

You are here: Start » Function Reference » Image » Image Conversions » MixChannels

MixChannels


Header: FIL.h
Namespace: fil
Module: FoundationLite

Calculates a linear combination of image channels.

Syntax

C++
C#
 
void fil::MixChannels
(
	const fil::Image& inImage,
	int inXCoeff,
	int inYCoeff,
	int inZCoeff,
	int inWCoeff,
	int inDivider,
	fil::Image& outImage
)

Parameters

Name Type Range Default Description
Input value inImage const Image& Input image
Input value inXCoeff int
Input value inYCoeff int
Input value inZCoeff int
Input value inWCoeff int
Input value inDivider int 1 -
Output value outImage Image& Output image

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.