mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-12 14:30:19 +08:00
Tango: update to 0.11.14
This commit is contained in:
@@ -1186,7 +1186,9 @@ cv::Mat decimate(const cv::Mat & image, int decimation)
|
||||
{
|
||||
if((image.type() == CV_32FC1 || image.type()==CV_16UC1))
|
||||
{
|
||||
UASSERT_MSG(image.rows % decimation == 0 && image.cols % decimation == 0, "Decimation of depth images should be exact!");
|
||||
UASSERT_MSG(image.rows % decimation == 0 && image.cols % decimation == 0,
|
||||
uFormat("Decimation of depth images should be exact! (decimation=%d, size=%dx%d)",
|
||||
decimation, image.cols, image.rows).c_str());
|
||||
|
||||
out = cv::Mat(image.rows/decimation, image.cols/decimation, image.type());
|
||||
if(image.type() == CV_32FC1)
|
||||
|
||||
Reference in New Issue
Block a user