Hi Oleg,
Do you have any advice for how to combat pixel-lock when using asp_mgm to make a DEM?
I have a case where the stereoscopic signal is fairly small (gentle slopes), and on particular aspects I often see a staircase artifact, which I'm pretty sure is pixel-lock associated with the correlator (I used: --stereo-algorithm asp_mgm --corr-kernel 9 9 --cost-mode 3 --subpixel-mode 10 in the screenshot below). It correlates with higher intersection errors in the -IntersectionErr.tif map, so it's definitely a correlation artifact.
If I use EMB, then I mostly get rid of this problem (maybe because the subpixel accuracy is a little better?)... but at the cost of decreased spatial detail, and often other problems (not witchstanding increased run times).
Looking at the stereo_corr and stereo_rfne options, there doesn't look to be too many ways to tune the mgm/sgm options (e.g. playing wiht P1 and P2, or perhaps making them dependent on image intensity gradients, etc)... also, I think(?) prefiltering doesn't work when using sgm, whereas maybe a little bit of smoothing could help?
Anyhow, just thought I would ask in case you had thoughts... (I'll try using the different sub-pixel modes, but from memory I think I found 10 to be the best for minimizing this?).
Cheers! J