cv.triangulatePoints - MATLAB File Help |
Reconstructs points by triangulation
points4D = cv.triangulatePoints(projMatr1, projMatr2, projPoints1, projPoints2)
{[x,y], ...}
or two-channel array of
size 1xNx2 or Nx1x2.{[x,y], ...}
or two-channel
array of size 1xNx2 or Nx1x2.[[x;y;z;w], ...]
The function reconstructs 3-dimensional points (in homogeneous coordinates) by using their observations with a stereo camera. Projections matrices can be obtained from cv.stereoRectify.
Keep in mind that all input data should be of float type in order for
this function to work (single
or double
).