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.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntaxpublic static void ForEachDuplicateChannel(
this IInputArray image,
Action<IInputArray, int> action
)
<ExtensionAttribute>
Public Shared Sub ForEachDuplicateChannel (
image As IInputArray,
action As Action(Of IInputArray, Integer)
)
public:
[ExtensionAttribute]
static void ForEachDuplicateChannel(
IInputArray^ image,
Action<IInputArray^, int>^ action
)
[<ExtensionAttribute>]
static member ForEachDuplicateChannel :
image : IInputArray *
action : Action<IInputArray, int> -> unit
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