I am in close to the finish line of integrating the Orbbec Astra into my app. Using the SDK is pretty straight forward, so good job on that note.
I am now stuck with a problem I am not able to solve. I need a depth frame that is mapped to the color frame. I may be wrong here, but I assume that the call to "depthStream.enable_registration(true);" should give me just that. Yet the resulting depth frame has an horizontal offset of about 19px.
I also checked the sample "SimpleStreamViewer-SFML". I enable the registration using the "R" key and captured the screen. I tried aligning the frames with Photoshop which also results in the same offset.
I have the camera Model: ASTRA F, using the win64 SDK 0.4.0, in VS2013.
Additionally I would need access to some camera parameters. I may not yet have found the right methods to do just that:
- focal length of color/depth cam in pixels (x,y)
- principal point color/depth cam
A cosmetic thing I noticed that you might hate me for even mentioning it
astra::ColorFrame::resolutionX(); why are these get methods not const?