Disparity image creation with naive and dynamic programming approaches and 3D pointcloud generation from the disparity image