ORB_SLAM icon indicating copy to clipboard operation
ORB_SLAM copied to clipboard

grid in ORBextractor

Open jingpang opened this issue 9 years ago • 1 comments

@raulmur Hi, in ComputeKeyPoints() in ORBextractor.cc, computation of the levelCols/levelRows can be slightly modified (usage of imageRatio).


    const int levelRows = imageRatio*levelCols;

change to

    const int levelRows = levelCols / imageRatio;

This modification makes levelCols/levelRows = imageRatio = image.cols / image.rows . The keypoints may distribute better when cols>>rows, i think.

( https://github.com/raulmur/ORB_SLAM/blob/master/src/ORBextractor.cc#L533 )

jingpang avatar Feb 23 '16 05:02 jingpang

I believe you are right, ORB-SLAM2 no longer uses this method.

AlejandroSilvestri avatar Mar 25 '17 15:03 AlejandroSilvestri