Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D415 Depth Origin Location Consistancy #7855

Closed
dexter-chen opened this issue Nov 25, 2020 · 12 comments
Closed

D415 Depth Origin Location Consistancy #7855

dexter-chen opened this issue Nov 25, 2020 · 12 comments

Comments

@dexter-chen
Copy link

Issue Description

<
Anyone met similar issue as me?

According to realsense datasheet, the depth origin of D415 shall be the center of left imager, but during our test not all the device meets this SPEC. Some of their origin locates in the center of right imager, some locates in the center of RGB imager, some them are even out side the camera.

Our test method is to mount the D415 vertically on a wall with guiding of a laser level-meter. The right imager is on the top, then the left imager and then the RGB imager is at the bottom. Then we project a horizontal laser line with this level-meter and make the laser line to be at the same height of left imager of D415. Then we read the laser line pixel location. It shall be same as the principle X,Y. But actually, some times they are, some times they are not.

Anyone knows how to make the origin of D415 depth locate in the center of left imager as the datasheet described? Any calibration method?

Thank you.

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Nov 25, 2020

Hi @dexter-chen The origin should consistently be at the center of the left imager, yes.

It sounds as though you are rotating the camera on its side so that the RGB imager is at the bottom. Can you confirm this, please?

Given your description of the vertical arragement of the sensors from bottom to top, it seems that you are also aware of the left imager being on the right side of the D415 camera when observing the camera from a frontal viewpoint, with the RGB sensor on the furthest right.

#3662

As a starting point in this case, may I ask whether your system expects that when the camera is rotated on its side, the camera parameters update as well. On the 400 Series cameras, all calibration data and other parameters would need to be updated when rotating the camera on its side, according to @dorodnic the RealSense SDK Manager.

#6023 (comment)

@dexter-chen
Copy link
Author

@MartyGt, Thanks for your quick Reply.

Yes. We rotate the camera as you described.

For our system, we will rotate the camera (90 degree CW when observing the camera from frontal view point) and mount it on the wall, while we install the system. After that we will keep the camera orientation. We also rotate both RGB and Depth images to keep up/down direction consistent with the physical world. For our case, we directly apply default principle X value as our new principle Y value. We also apply Intel SDK to make the RGB and Depth Image alignment. Then we read the laser line position from the aligned RGB image in image coordinates and assume it shall also be the same position of depth image.

Is there anything incorrect and cause this issue?

Thank you.

@MartyG-RealSense
Copy link
Collaborator

I'm not certain that rotating the image will correctly update the SDK's XY coordinate system due to how it works, using a system of plus and minus horizontal and vertical values with zero as the center of the left imager. The subject is discussed in detail in the link below.

#7279

@MartyG-RealSense
Copy link
Collaborator

Hi @dexter-chen Do you require further assistance with this case, please? Thanks!

@dexter-chen
Copy link
Author

@MartyG-RealSense Yes. I'm testing more samples. And I may go back to you later next week.

@MartyG-RealSense
Copy link
Collaborator

Okay, thanks very much @dexter-chen for the update - I look forward to hearing from you later!

@MartyG-RealSense
Copy link
Collaborator

Adding a note to keep this case open for a further time period.

1 similar comment
@MartyG-RealSense
Copy link
Collaborator

Adding a note to keep this case open for a further time period.

@MartyG-RealSense
Copy link
Collaborator

Hi @dexter-chen Do you have an update that you can provide, please? Thanks!

@MartyG-RealSense
Copy link
Collaborator

Case closed due to no further comments received.

@koalaaaaaaaaa
Copy link

koalaaaaaaaaa commented Mar 26, 2022

@MartyG-RealSense
Hi Marty, what about D455 camera, the origin of that is still left imager?
image

@MartyG-RealSense
Copy link
Collaborator

Hi @koalaaaaaaaaa Yes, the center-line of the left imager is still the depth origin on D455.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants