ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

OpenCV, drawing depth map

asked 2011-10-31 20:05:28 -0500

CaptainTrunky gravatar image

updated 2014-01-28 17:10:40 -0500

ngrennan gravatar image

Hi! I have a little project on C++.

In this project, I I try to find sample image on depth map, received from Kinect. I check results by drawing both images (sample and current scene) in 1 window. Keypoints linked with lines after it. But I can't see current scene in window. Where can be problem? Something wrong in src/Classifier.cpp, method void Detector::findObject(cv::Mat scene). And one more question - what method should I use to copy data from one cv::Mat to other? I use cvtColor for this. I think, that class method copyTo() should do same work, but it doesn't. Thanks for help!

Here project - http://dl.dropbox.com/u/16807894/robot-vision.zip

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2011-11-25 16:20:06 -0500

CaptainTrunky gravatar image

I think, that found answer. OpenCV can't deal with different types images. When it tries to draw them in 1 window, only one image will be really shown (tested only with images from Kinect).

edit flag offensive delete link more
1

answered 2014-02-14 09:05:59 -0500

amislaouiandal gravatar image

Do you still have your project available to download, i am working on the same too

edit flag offensive delete link more
0

answered 2012-05-03 09:39:39 -0500

DavidLavy gravatar image

Do you still have your project available to download, I'm working on the same and I would appreciate some sort of guide. Thanks

David

edit flag offensive delete link more

Comments

Hi! I will share it a bit later for you, may be in 12-24 hours.

CaptainTrunky gravatar image CaptainTrunky  ( 2012-05-03 19:54:47 -0500 )edit

Thank you, I'll be waiting (:

DavidLavy gravatar image DavidLavy  ( 2012-05-04 07:28:22 -0500 )edit

http://db.tt/mMgefma6 - here it is.

CaptainTrunky gravatar image CaptainTrunky  ( 2012-05-04 23:02:07 -0500 )edit

Thank you very much!! I'll take a look at it (:

DavidLavy gravatar image DavidLavy  ( 2012-05-06 09:28:21 -0500 )edit

Question Tools

Stats

Asked: 2011-10-31 20:05:28 -0500

Seen: 1,904 times

Last updated: Feb 14 '14