Click or drag to resize

IInputArrayExtensionsForEachDuplicateChannel Method (IInputArray, ActionIInputArray, Int32)
Apply converter and compute result for each channel of the image, for single channel image, apply converter directly, for multiple channel image, make a copy of each channel to a temperary image and apply the convertor

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public static void ForEachDuplicateChannel(
	this IInputArray image,
	Action<IInputArray, int> action


Type: Emgu.CVIInputArray
The source image
Type: SystemActionIInputArray, Int32
The converter such that accept the IntPtr of a single channel IplImage, and image channel index which returning result of type R

Return Value

An array which contains result for each channel

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IInputArray. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also