1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-19 19:44:14 +08:00

fixed warnings

This commit is contained in:
Ilya Lavrenov
2014-06-16 18:38:03 +04:00
parent 079ff5c06d
commit ae5c87eafa
30 changed files with 194 additions and 181 deletions

View File

@@ -40,7 +40,6 @@
#include <opencv2/calib3d.hpp>
#include <opencv2/imgproc.hpp>
#include <dirent.h>
#include <iostream>
#include <fstream>
@@ -187,7 +186,7 @@ int main(int argc, char** argv)
// scale depth
Mat depth_flt;
depth.convertTo(depth_flt, CV_32FC1, 1.f/5000.f);
#if not BILATERAL_FILTER
#if !BILATERAL_FILTER
depth_flt.setTo(std::numeric_limits<float>::quiet_NaN(), depth == 0);
depth = depth_flt;
#else