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.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntaxpublic static TReturn[] ForEachDuplicateChannel<TReturn>(
this IInputArray image,
Func<IInputArray, int, TReturn> conv
)
<ExtensionAttribute>
Public Shared Function ForEachDuplicateChannel(Of TReturn) (
image As IInputArray,
conv As Func(Of IInputArray, Integer, TReturn)
) As TReturn()
public:
[ExtensionAttribute]
generic<typename TReturn>
static array<TReturn>^ ForEachDuplicateChannel(
IInputArray^ image,
Func<IInputArray^, int, TReturn>^ conv
)
[<ExtensionAttribute>]
static member ForEachDuplicateChannel :
image : IInputArray *
conv : Func<IInputArray, int, 'TReturn> -> 'TReturn[]
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:
TReturnAn 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