<< Chapter < Page | Chapter >> Page > |
Using the griddata and surf functions in Matlab, we are able to interpolate the z data of each feature in 3D space, to see what the rest of the regions in between features is doing. Then by laying an original picture over this data we can see visually how deep regions of our photographs are in space.
As was mentioned earlier, the least squares method is more unstable and is visably so with the extremes in the front of the photo and in the back left corner. However the rest of the photo makes intuitive sense. All the reported Z values are off by a scale factor due to the explained ambiguity.
Porportionally this graph makes sense because the wall was in fact about 3 times as far as the bear was to the camera, and the depth of the hallway was obviously extreme compared to the wall because we could not see the end of it in the photo, it seemed to go to infinity.
Therefore these results and the corresponding depth map of the two steoro images fits our expectations.
This method is much more stable and demesntrates better quick changes in depth than the previous method. This algorithm understand that there is a huge drop from the depth of the bear to the hallway to the right of it.
Data for this section is not important because all values do not take into consideration 3D space, simply the disparities of the features and the camera positions.
To further test our alogorithm on a large depth, we shot two stero images of the Duncan wall way and used the Disparity method as shown above to get an idea of the relative depths.
Once again we see that this algorithm is very powerful in transforming two stero images into a depth map, that is also very accurate in its proportional depth from camera.
Notification Switch
Would you like to follow the 'Stereo depth map construction' conversation and receive update notifications?