| Cv2ConvertMaps Method |
Converts image transformation maps from one representation to another.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void ConvertMaps(
InputArray map1,
InputArray map2,
OutputArray dstmap1,
OutputArray dstmap2,
MatType dstmap1Type,
bool nnInterpolation = false
)
Public Shared Sub ConvertMaps (
map1 As InputArray,
map2 As InputArray,
dstmap1 As OutputArray,
dstmap2 As OutputArray,
dstmap1Type As MatType,
Optional nnInterpolation As Boolean = false
)
public:
static void ConvertMaps(
InputArray^ map1,
InputArray^ map2,
OutputArray^ dstmap1,
OutputArray^ dstmap2,
MatType dstmap1Type,
bool nnInterpolation = false
)
static member ConvertMaps :
map1 : InputArray *
map2 : InputArray *
dstmap1 : OutputArray *
dstmap2 : OutputArray *
dstmap1Type : MatType *
?nnInterpolation : bool
(* Defaults:
let _nnInterpolation = defaultArg nnInterpolation false
*)
-> unit
Parameters
- map1
- Type: OpenCvSharpInputArray
The first input map of type CV_16SC2 , CV_32FC1 , or CV_32FC2 . - map2
- Type: OpenCvSharpInputArray
The second input map of type CV_16UC1 , CV_32FC1 , or none (empty matrix), respectively. - dstmap1
- Type: OpenCvSharpOutputArray
The first output map that has the type dstmap1type and the same size as src. - dstmap2
- Type: OpenCvSharpOutputArray
The second output map. - dstmap1Type
- Type: OpenCvSharpMatType
Type of the first output map that should be CV_16SC2 , CV_32FC1 , or CV_32FC2 . - nnInterpolation (Optional)
- Type: SystemBoolean
Flag indicating whether the fixed-point maps are used for the nearest-neighbor or for a more complex interpolation.
See Also