Open NiuKeke opened 5 years ago
I think it should be processed in the pyramid firstly,so it will have a base disparity for each pixel.Then,it will be correct when it comes to the big images.
@NiuKeke Thank you for letting us know this issue!
Indeed the default libSGM can handle 64 or 128 as MAX_DISPARITY
.
If we want to handle 128 or higher disparities, input image size should be reduced just as you said like https://github.com/fixstars/libSGM/issues/24#issuecomment-455118014.
We can also increase MAX_DISPARITY
to 256 by referring the following issue: https://github.com/fixstars/libSGM/issues/11
Sincerely,
@NiuKeke Thank you for letting us know this issue!
Indeed the default libSGM can handle 64 or 128 as
MAX_DISPARITY
. If we want to handle 128 or higher disparities, input image size should be reduced just as you said like #24 (comment). We can also increaseMAX_DISPARITY
to 256 by referring the following issue: #11Sincerely,
I got it ,thank you very much.
I do not understand what if the min disparity of my input data is higher than 128.According to the code , it won't get correct disparity image.