Click or drag to resize

IInputArrayExtensionsForEachDuplicateChannelTReturn Method (IInputArray, FuncIInputArray, Int32, TReturn)

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 TReturn[] ForEachDuplicateChannel<TReturn>(
	this IInputArray image,
	Func<IInputArray, int, TReturn> conv
)

Parameters

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

Type Parameters

TReturn
The return type

Return Value

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