open_vins
open_vins copied to clipboard
mask bug in TrackKLT.cpp
in 721 line of TrackKLT.cpp, why mask1_updated clone from mask0? I assume it should be mask1?
cv::Mat mask1_updated = mask0.clone();
I think you are right
Also, I found that in KLT, the first observation (on the frame which a feature is first detected) is not added to the database, the first time a KLT feature add to database is the next frame, when it is first tracked from old to new. This is not a bug, but I wonder will the performance be better if we add the feature's first observation.