rosbag conversion
I want to convert a image Mat type CV_32FC1 containing a depth map back into a Mat CV_16UC1 from which it originally came. Does the code below do this? Do I have normailze it? ( 1/255.0)? I hope this question is acceptable here if not I will l post else where.
cv::Mat inputData = cv::Mat(cv::Size(640, 480), CV_16UC1);
inputData.convertTo(cv_ptrD->image, CV_16UC1);
will post under a different topic
Why? Please just edit your question in the future if you want to update it. Please don't post new questions unnecessarily.
I've merged your new question into this one.