- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there!
I want to:
1)Estimate the inner contour points of a blob (DONE)
2)Render the contour points on color image
However,when I tried doing this,the contour in the color image is not aligned correctly.Of course I get that this happens because depth and color streams are not aligned.
What is the correct way to render the contour I got from depth data on top of the color image correctly?
Any sample code of similar cases?
Should I just add an constant offset until I find the one that fits the best?
Or should I use projections etc?If yes,how exactly?
UPDATE: I used projection->queryUVMap(depthIm, uvmap) and I managed to do part of the task I want to do.
I tried rendering the points and they are correct.However I get some values in the uvmap that are -1,-1 and as a result rendering doesn't act correctly.
What can I do so that my program only renders points+lines of contour that has correct value?
I used an if expression but it seems that this makes the system slow and I get only 6 lines out of 20 let's say rendered correctly.
Link Copied

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page