c++ - OpenCV 3.0 which parameters in DepthCleaner function? -


i working on enhancing kinect's depth image using depthcleaner function of opencv 3.0. using following codes use function.

char filename[64]; mat depth_image = mat(480, 640, cv_16uc1); mat output = mat(480, 640, cv_16u);  snprintf(filename, sizeof(filename), "depth_image/img1.png"); depth_image = imread(filename, -1);  depthcleaner* depthc = new depthcleaner(cv_16u, 3, depthcleaner::depth_cleaner_nil);  depthc->operator ()(depth_image,output); 

my question is: operator()() method of depthcleaner needs points of depth image input. please inform how points input depth image? using c++ in eclipse ide.


Comments