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

Can I use official tools to align an infrared camera and an RGB camera under Windows? #13448

Closed
yywjacson opened this issue Oct 21, 2024 · 9 comments
Labels

Comments

@yywjacson
Copy link

Can I use official tools to align an infrared camera and an RGB camera under Windows?

  • Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

  • All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)


Required Info
Camera Model { R200 / F200 / SR300 / ZR300 / D400 }
Firmware Version (Open RealSense Viewer --> Click info)
Operating System & Version {Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS
Kernel Version (Linux Only) (e.g. 4.14.13)
Platform PC/Raspberry Pi/ NVIDIA Jetson / etc..
SDK Version { legacy / 2.. }
Language {C/C#/labview/nodejs/opencv/pcl/python/unity }
Segment {Robot/Smartphone/VR/AR/others }

Issue Description

<Describe your issue / question / feature request / etc..>

@MartyG-RealSense
Copy link
Collaborator

Hi @yywjacson When aligning, one of the two streams must be depth, such as depth-RGB or depth-infrared.

#5093 has an example of a Python script that works around this problem by aligning all three streams.

Another RealSense user did a similar workaround in C++ at #5963 (comment)

@yywjacson
Copy link
Author

yywjacson commented Oct 21, 2024 via email

@yywjacson
Copy link
Author

yywjacson commented Oct 21, 2024 via email

@MartyG-RealSense
Copy link
Collaborator

On the D405 camera model, infrared and RGB originate from the same sensor, which greatly aids alignment of them (D405 does not have a separate RGB sensor and provides RGB from the left infrared sensor instead).

image

If you do not have a D405 camera and are unable to change your camera to that model then You would have to use one of the 'three streams enabled' methods above to align infrared and RGB, or follow an additional suggestion at #1556 (comment)

@yywjacson
Copy link
Author

On the D405 camera model, infrared and RGB originate from the same sensor, which greatly aids alignment of them (D405 does not have a separate RGB sensor and provides RGB from the left infrared sensor instead).

image

If you do not have a D405 camera and are unable to change your camera to that model then You would have to use one of the 'three streams enabled' methods above to align infrared and RGB, or follow an additional suggestion at #1556 (comment)

Thanks for the advice! I refer to the manual of the D405. If it can be aligned, the D405 should be usable! But I still have a question. My tasks may involve infrared and RGB shooting at longer distances. The D405 official document gives the optimal working distance of the depth camera as 7-50cm. If this distance is exceeded, the depth camera will Accuracy will decrease. But if I only use infrared photography and RGB camera to take pictures, I just need to ensure that the two cameras are calibrated and their fields of view are the same, can the working distance be longer?

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Oct 23, 2024

Range related accuracy restrictions only apply to the depth image. RGB and infrared can see much further without problems.

To demonstrate this, I captured an RGB and infrared image of a view down the street outside of my window with a D405. You can see that the viewpoint of the two images matches.

image

@yywjacson
Copy link
Author

Range related accuracy restrictions only apply to the depth image. RGB and infrared can see much further without problems.

To demonstrate this, I captured an RGB and infrared image of a view down the street outside of my window with a D405. You can see that the viewpoint of the two images matches.

image

Thinks!

@MartyG-RealSense
Copy link
Collaborator

Hi @yywjacson Do you require further assistance with this case, please? Thanks!

@MartyG-RealSense
Copy link
Collaborator

Case closed due to no further comments received.

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

No branches or pull requests

2 participants