Method ConvertMaps
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
ConvertMaps(InputArray, InputArray, OutputArray, OutputArray, MatType, bool)
Converts image transformation maps from one representation to another.
public static void ConvertMaps(InputArray map1, InputArray map2, OutputArray dstmap1, OutputArray dstmap2, MatType dstmap1Type, bool nnInterpolation = false)
Parameters
map1InputArrayThe first input map of type CV_16SC2 , CV_32FC1 , or CV_32FC2 .
map2InputArrayThe second input map of type CV_16UC1 , CV_32FC1 , or none (empty matrix), respectively.
dstmap1OutputArrayThe first output map that has the type dstmap1type and the same size as src.
dstmap2OutputArrayThe second output map.
dstmap1TypeMatTypeType of the first output map that should be CV_16SC2 , CV_32FC1 , or CV_32FC2 .
nnInterpolationboolFlag indicating whether the fixed-point maps are used for the nearest-neighbor or for a more complex interpolation.