This PR adds a more dynamic approach to depthmap resolution calculation based on pc-quality. When images are very small the scale factor is doubled, when images are very large the scale factor is halved (the behavior remains unchanged for most consumer cameras that fall somewhere in between).
This strikes a better balance of memory usage vs. quality. When images are very large, the depthmap computation becomes prohibitively expensive for dubious gains in output quality.
Users can of course specify their own desired depthmap resolution via --depthmap-resolution (which we shall keep, and not deprecate as we originally planned) to override any calculations / optimizations by the software.
This PR adds a more dynamic approach to depthmap resolution calculation based on
pc-quality
. When images are very small the scale factor is doubled, when images are very large the scale factor is halved (the behavior remains unchanged for most consumer cameras that fall somewhere in between).This strikes a better balance of memory usage vs. quality. When images are very large, the depthmap computation becomes prohibitively expensive for dubious gains in output quality.
Users can of course specify their own desired depthmap resolution via
--depthmap-resolution
(which we shall keep, and not deprecate as we originally planned) to override any calculations / optimizations by the software.