2D stereo image to 3D model generation
- Take multi-view stereo image of an object from multiple angles.
- Increasing the resolution of these stereo images (using OpenCV set() method with defined CAP_PROP_FRAME_WIDTH and CAP_PROP_FRAME_HEIGHT values).
- Calibrating all the cameras individually
- Calculating a depth map - load the claiberations and undistort the images (Computes the ideal point coordinates from the observed point coordinates).
- From depth map, generate point cloud
When we take an image using pin-hole camera, we lose an important information, ie depth of the image. Or how far is each point in the image from the camera because it is a 3D-to-2D conversion. So it is an important question whether we can find the depth information using these cameras. And the answer is to use more than one camera. Our eyes works in similar way where we use two cameras (two eyes) which is called stereo vision.
Photogrammetry is the science of making measurements from photographs. The input to photogrammetry is photographs, and the output is typically a map, a drawing, a measurement, or a 3D model of some real-world object or scene.
RealityCapture is a software solution which can be used to edit 3D models generated from point cloud.
A point cloud is a set of data points in space. Point clouds are generally large number of points on the external surfaces of objects around them.
Independently implementation examples are provided for your reference.
Image-source:https://carla.readthedocs.io