In this post, I would like to compare the quality of depth maps generated by Depth Map Automatic Generator 6 (DMAG6) (the contender) and Depth Map Automatic Generator 5 (DMAG5) (the champion) for three stereo pairs taken by a Fuji W3.
For DMAG6, I used these parameters for all stereo pairs:
alpha = 0.9
truncation value (color) = 30
truncation value (gradient) = 10
truncation value (discontinuity) = 10000.
iteration number = 5
level number = 5
weight for data cost = 0.5
disparity tolerance = 0
For DMAG5, I used these parameters for all stereo pairs:
window radius = 32
alpha = 0.9
truncation value (color) = 30.0
truncation value (gradient) = 10.0
epsilon = 4
disparity tolerance = 0
window radius (occlusion smoothing) = 9
sigma space (occlusion smoothing) = 9.0
sigma color (occlusion smoothing) = 25.5
downsampling ratio = 1
Stereo pair 1 (min disparity = -26 and max disparity = 19):
Stereo pair 2 (min disparity = -62 and max disparity = 13):
Stereo pair 3 (min disparity = -18 and max disparity = 31):
Conclusion:
Looks like DMAG6 can be about as good as DMAG5 (if not better) as long as the data cost weight parameter is properly chosen. The larger the data cost weight parameter is set to, the less smooth the depth map is gonna be. There is a sweet spot to hit that gives the best possible depth map.
Automatic depth map generation, stereo matching, multi-view stereo, Structure from Motion (SfM), photogrammetry, 2d to 3d conversion, etc. Check the "3D Software" tab for my free 3d software. Turn photos into paintings like impasto oil paintings, cel shaded cartoons, or watercolors. Check the "Painting Software" tab for my image-based painting software. Problems running my software? Send me your input data and I will do it for you.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment