Click or drag to resize

IInputArrayExtensionsForEachDuplicateChannel Method (IInputArray, ActionIInputArray, Int32)

http://www.emgu.com
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: 4.1.1.3497 (4.1.1.3497)
Syntax
public static void ForEachDuplicateChannel(
	this IInputArray image,
	Action<IInputArray, int> action
)

Parameters

image
Type: Emgu.CVIInputArray
The source image
action
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

Type: 
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