Click or drag to resize

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
)

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