ImageTColor, TDepthConvertTOtherDepth Method (FuncTDepth, Int32, Int32, TOtherDepth) |
http://www.emgu.com
Compute the element of a new image based on the value as well as the x and y positions of each pixel on the 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, TOtherDepth> Convert<TOtherDepth>(
Func<TDepth, int, int, TOtherDepth> converter
)
where TOtherDepth : new()
Public Function Convert(Of TOtherDepth As New) (
converter As Func(Of TDepth, Integer, Integer, TOtherDepth)
) As Image(Of TColor, TOtherDepth)
public:
generic<typename TOtherDepth>
where TOtherDepth : gcnew()
Image<TColor, TOtherDepth>^ Convert(
Func<TDepth, int, int, TOtherDepth>^ converter
)
member Convert :
converter : Func<'TDepth, int, int, 'TOtherDepth> -> Image<'TColor, 'TOtherDepth> when 'TOtherDepth : new()
Parameters
- converter
- Type: SystemFuncTDepth, Int32, Int32, TOtherDepth
The function to be applied to the image pixels
Type Parameters
- TOtherDepth
[Missing <typeparam name="TOtherDepth"/> documentation for "M:Emgu.CV.Image`2.Convert``1(System.Func{`1,System.Int32,System.Int32,``0})"]
Return Value
Type:
ImageTColor,
TOtherDepthThe result image
See Also