- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The SDK uses the following two types of coordinate system definitions: Image and Camera. However, there is no explanation how to transform between the two system. If I need to get the projected position of the camera origin on the image plane, how should I do?
Any help is appreciated! Thank you!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
For mapping between the different images and coordinate systems, you need to use the projection interface.
Specifically to map from the camera to the colour image you can use http://https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?projectcameratocolor_pxcprojection.html ProjectCameraToColor after using https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?createprojection_device_pxccapture.html Device.CreateProjection.
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi James,
thanks for your answer.
I understand how to map between different coordinate systems, but I still do not know where is camera origin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Daiby,
Do you still need assistance with this case?
-Sergio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sergio,
yes, I still need the assistance about where camera origin mapping to coordinate systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Daiby,
Let me check if I'm understanding your request correctly. You objective is to set a certain location as the camera origin (0,0,0) and then move your camera to a different coordinate. After this you should see a projection of the change in the camera's location. Is this what you want to achieve? If that's the case I'd suggest you to look at https://software.intel.com/sites/landingpage/realsense/camera-sdk/v2016r3/documentation/html/index.html?doc_essential_coordinate_systems.html https://software.intel.com/sites/landingpage/realsense/camera-sdk/v2016r3/documentation/html/index.html?doc_essential_coordinate_systems.html . Here you'll find the information needed to configure a coordinate system.
Let us know if this is what you were looking for.
-Sergio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sergio,
Is the camera origin (0,0,0) a absolute coordinate, or I need to set a point as the camera origin?
Thank for your suggestion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Daiby,
The camera origin in 3D is at the center of the camera. This means that you need to setup a point as the camera's (0,0,0) point. The coordinate system varies slightly depending if it's a front facing or rear facing camera.
The camera's coordinate system for different cameras can be seen on https://software.intel.com/sites/landingpage/realsense/camera-sdk/v2016r3/documentation/html/index.html?doc_essential_coordinate_systems.html https://software.intel.com/sites/landingpage/realsense/camera-sdk/v2016r3/documentation/html/index.html?doc_essential_coordinate_systems.html.
Take a look at https://software.intel.com/sites/landingpage/realsense/camera-sdk/v2016r3/documentation/html/doc_essential_configuring_coordinate_system.html https://software.intel.com/sites/landingpage/realsense/camera-sdk/v2016r3/documentation/html/doc_essential_configuring_coordinate_system.html for details of configuring the camera coordinate system.
-Sergio
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page