MatrixTDepthConvertTOtherDepth Method |
http://www.emgu.com
Convert this matrix to different depth
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic Matrix<TOtherDepth> Convert<TOtherDepth>(
double scale = 1,
double shift = 0
)
where TOtherDepth : new()
Public Function Convert(Of TOtherDepth As New) (
Optional scale As Double = 1,
Optional shift As Double = 0
) As Matrix(Of TOtherDepth)
public:
generic<typename TOtherDepth>
where TOtherDepth : gcnew()
Matrix<TOtherDepth>^ Convert(
double scale = 1,
double shift = 0
)
member Convert :
?scale : float *
?shift : float
(* Defaults:
let _scale = defaultArg scale 1
let _shift = defaultArg shift 0
*)
-> Matrix<'TOtherDepth> when 'TOtherDepth : new()
Parameters
- scale (Optional)
- Type: SystemDouble
the scaling factor to apply during conversion (defaults to 1.0 -- no scaling) - shift (Optional)
- Type: SystemDouble
the shift factor to apply during conversion (defaults to 0.0 -- no shifting)
Type Parameters
- TOtherDepth
- The depth type to convert to
Return Value
Type:
MatrixTOtherDepthMatrix of different depth
See Also