ImageTColor, TDepthConvertTDepth2, TDepth3, TDepth4 Method (ImageTColor, TDepth2, ImageTColor, TDepth3, FuncTDepth, TDepth2, TDepth3, TDepth4) |
http://www.emgu.com Compute the element of the new image based on the elements of the three image
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic Image<TColor, TDepth4> Convert<TDepth2, TDepth3, TDepth4>(
Image<TColor, TDepth2> img2,
Image<TColor, TDepth3> img3,
Func<TDepth, TDepth2, TDepth3, TDepth4> converter
)
where TDepth2 : new()
where TDepth3 : new()
where TDepth4 : new()
Public Function Convert(Of TDepth2 As New, TDepth3 As New, TDepth4 As New) (
img2 As Image(Of TColor, TDepth2),
img3 As Image(Of TColor, TDepth3),
converter As Func(Of TDepth, TDepth2, TDepth3, TDepth4)
) As Image(Of TColor, TDepth4)
public:
generic<typename TDepth2, typename TDepth3, typename TDepth4>
where TDepth2 : gcnew()
where TDepth3 : gcnew()
where TDepth4 : gcnew()
Image<TColor, TDepth4>^ Convert(
Image<TColor, TDepth2>^ img2,
Image<TColor, TDepth3>^ img3,
Func<TDepth, TDepth2, TDepth3, TDepth4>^ converter
)
member Convert :
img2 : Image<'TColor, 'TDepth2> *
img3 : Image<'TColor, 'TDepth3> *
converter : Func<'TDepth, 'TDepth2, 'TDepth3, 'TDepth4> -> Image<'TColor, 'TDepth4> when 'TDepth2 : new() when 'TDepth3 : new() when 'TDepth4 : new()
Parameters
- img2
- Type: Emgu.CVImageTColor, TDepth2
The second image - img3
- Type: Emgu.CVImageTColor, TDepth3
The third image - converter
- Type: SystemFuncTDepth, TDepth2, TDepth3, TDepth4
The function to be applied to the image pixels
Type Parameters
- TDepth2
- The depth type of img2
- TDepth3
- The depth type of img3
- TDepth4
- The depth type of the result image
Return Value
Type:
ImageTColor,
TDepth4The result image
See Also