ImageTColor, TDepthConvertTOtherDepth Method (FuncTDepth, TOtherDepth) |
http://www.emgu.com Compute the element of the new image based on element of this 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, TOtherDepth> converter
)
where TOtherDepth : new()
Public Function Convert(Of TOtherDepth As New) (
converter As Func(Of TDepth, TOtherDepth)
) As Image(Of TColor, TOtherDepth)
public:
generic<typename TOtherDepth>
where TOtherDepth : gcnew()
Image<TColor, TOtherDepth>^ Convert(
Func<TDepth, TOtherDepth>^ converter
)
member Convert :
converter : Func<'TDepth, 'TOtherDepth> -> Image<'TColor, 'TOtherDepth> when 'TOtherDepth : new()
Parameters
- converter
- Type: SystemFuncTDepth, TOtherDepth
The function to be applied to the image pixels
Type Parameters
- TOtherDepth
- The depth type of the result image
Return Value
Type:
ImageTColor,
TOtherDepthThe result image
See Also