- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
we need to do some image processing in both depth stream and color stream.for it has optical parallax between two kinds of stream, I'd like to know how to get the offset value and how to match depth and color stream.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
All of that is nicely covered in the documentation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
samontab wrote:
All of that is nicely covered in the documentation.
I want to convert the 16-bit depth data to millimeter.what is the formula? Is that " *0.0001"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have been looking in the documentation at https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?doc_devguide_whats_new_in_sdk.html quite a lot and have not found anything about this offset.
i measured it manually to be between 30 - 60 px in horizontal positive way.
have you found anything about the offset? if so, can you give me a link or a hint where to find it in the documentation?
i think i get direct mm values from my R200 in 16 bit depth. i convert it into opencv format to show it and there a value of 1000 roughly makes 1 m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You don't (can't?) get offset values, you use methods in the PXCMProjection interface to map between the images.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
James B. wrote:
You don't (can't?) get offset values, you use methods in the PXCMProjection interface to map between the images.
That is exactly what I was looking for!
It seems like I was looking at the wrong place in the documentation or didnt see the link of it to my issue.
Anyway : Thank you very much James!
Edit:
some code snippet for fellow visitors of this post
PXCSenseManager *sm = PXCSenseManager::CreateInstance(); sm->Init(); PXCCaptureManager *cmanager = sm->QueryCaptureManager(); PXCCapture::Device *device = cmanager->QueryDevice(); PXCProjection *projection = device->CreateProjection(); PXCCapture::Sample *sample; while (sm->AcquireFrame(true) >= PXC_STATUS_NO_ERROR) { sample = sm->QuerySample(); if (sample->depth) { PXCImage *depthPXCImage = projection->CreateDepthImageMappedToColor(sample->depth,sample->color); //image is now aligned } }
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page