raulmur / ORB_SLAM2

Real-Time SLAM for Monocular, Stereo and RGB-D Cameras, with Loop Detection and Relocalization Capabilities
Other
9.17k stars 4.69k forks source link

Fix division by zero when image height is larger than width #1029

Open zinsmatt opened 2 years ago

zinsmatt commented 2 years ago

This correctly computes the number of initial nodes in DistributeOctTree when the image height is larger than its width and ensures at least one node.