With Mem/RotateImagesUpsideUp=true, do not clear features if none of the cameras are rotated. DBViewer: show local transform of all cameras in tooltip

This commit is contained in:
matlabbe
2024-08-12 14:27:08 -07:00
parent cc5da376ec
commit 4911dbe9bb
4 changed files with 11 additions and 5 deletions

View File

@@ -180,8 +180,9 @@ std::vector<int> RTABMAP_CORE_EXPORT SSC(
* @param model a valid camera model
* @param rgb a rgb/grayscale image (set cv::Mat() if not used)
* @param depth a depth image (set cv::Mat() if not used)
* @return true if the model/images have been rotated, false otherwise
*/
void RTABMAP_CORE_EXPORT rotateImagesUpsideUpIfNecessary(
bool RTABMAP_CORE_EXPORT rotateImagesUpsideUpIfNecessary(
CameraModel & model,
cv::Mat & rgb,
cv::Mat & depth);