mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-10 21:40:19 +08:00
Image Decimation can now be negative, meaning that decimation is done from RGB size instead of depth. If Depth size is smaller than RGB, it may be upsampled depending on the decimation value. Export Dialog: Fixed MLS not done even when checked.
This commit is contained in:
@@ -1224,7 +1224,7 @@ cv::Mat decimate(const cv::Mat & image, int decimation)
|
||||
|
||||
cv::Mat interpolate(const cv::Mat & image, int factor, float depthErrorRatio)
|
||||
{
|
||||
UASSERT(factor >= 1);
|
||||
UASSERT_MSG(factor >= 1, uFormat("factor=%d", factor).c_str());
|
||||
cv::Mat out;
|
||||
if(!image.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user