alejocb / dpptam

DPPTAM: Dense Piecewise Planar Tracking and Mapping from a Monocular Sequence
GNU General Public License v3.0
219 stars 82 forks source link

Median Regularization #30

Open sunghoon031 opened 8 years ago

sunghoon031 commented 8 years ago

Correct me if I'm wrong, but I think you made a mistake in line 769 SemiDenseMapping.cpp

if (cont_depths2reg > 0 )

I think this should be bigger than 1 not zero. Because cont_depths2reg will never be 0 since it's always counting itself.

I fixed this issue in my pull-request #28