Disparity map noise

S.L.P. image questions, stereoscopic video livestream and recording, stereoscopic photo capture etc.
Post Reply
Sencis
Posts: 4
Joined: Fri Dec 10, 2021 10:09 am

Disparity map noise

Post by Sencis »

I tried to adjust various map parameters but I get a lot of noise:

SBM:
Безымянный5.png
Безымянный5.png (507.7 KiB) Viewed 6341 times
SGBM:
Снимок.PNG
Снимок.PNG (920.4 KiB) Viewed 6341 times
Current Settings:
config.png
config.png (152.28 KiB) Viewed 6341 times
Could this be related to the 300mm base between cameras or camera calibration?

User avatar
Realizator
Site Admin
Posts: 900
Joined: Tue Apr 16, 2019 9:23 am
Contact:

Re: Disparity map noise

Post by Realizator »

Hey Sencis,

1. According to your first image, youer left and right images are swapped, or you are using the inverses colorizing pattern. With the defaul settings red color means nearby objects, and the dark blue means far objects. Please check this.

2. You can find that the building borders, as well as the tree borders on the right, are sharp. To get the detailed depth map of the branches with the snow, you should decrease the blocksize and reduce the pre-filter cap value. To sau briefly, it it better to do smoothing after getting the map, but not brfore. Pre-filter is equivalent go gauss noice.

3. 300mm base is good for the objects which are far from the camera, and is bad for the objects nearby (like a few meters). If yo'll set the disparity map parameters to see both far and near objects with 300mm base (i.e. mindisparity and disparity range), you'll get a noicy image (and a lot of overcalculations).
Eugene a.k.a. Realizator

Post Reply