Items with no label
3338 Discussions

Calibration of D415 with external software

DKoma1
Débutant
3 068 Visites

I want to calibrate D415 camera with an external calibration software (as Matlab calibrator). For these reasons I need to capture raw IR-images. As I read here /message/540365# 540365 https://communities.intel.com/message/540365# 540365 Realsense Viewer saves already rectified ones. To get unrectified images from D435 it was suggested to save in camera following distortion parameters: fx=fy=633.33; pxy=640,400; all 0 for distortion, unit matrix for rotation and no translation. Which parameters should I write in D415 to get the raw IR images?

0 Compliments
1 Solution
MartyG
Contributeur émérite III
1 442 Visites

There is existing calibration software for the 400 Series cameras called the Dynamic Calibration Tool.

https://downloadcenter.intel.com/download/27955/Intel-RealSense-D400-Series-Calibration-Tools-and-API?v=t Download Intel® RealSense™ D400 Series Calibration Tools and API

If you need an unrectified IR format, Y16 format is unrectified. It only supports a couple of resolutions though, as it is intended for camera calibration rather than everyday use in applications.

Voir la solution dans l'envoi d'origine

0 Compliments
8 Réponses
MartyG
Contributeur émérite III
1 443 Visites

There is existing calibration software for the 400 Series cameras called the Dynamic Calibration Tool.

https://downloadcenter.intel.com/download/27955/Intel-RealSense-D400-Series-Calibration-Tools-and-API?v=t Download Intel® RealSense™ D400 Series Calibration Tools and API

If you need an unrectified IR format, Y16 format is unrectified. It only supports a couple of resolutions though, as it is intended for camera calibration rather than everyday use in applications.

0 Compliments
DKoma1
Débutant
1 442 Visites

Thank you for the answer. Do I understand correct: if in Realsense Viewer I choose Y16 format, than the pictures will be unrectified, and if Y8 - then rectified?

I have an aditional question: is it normal that D415 in Y16 mode saves images with kind of square structure (light dots) as on an attached picture? Can I avoid it?

0 Compliments
MartyG
Contributeur émérite III
1 442 Visites

Yes, that is correct. Y16 is unrectified and Y8 is rectified.

Rectification takes place inside the camera, in its Vision Processor D4 component, and then rectified data travels through the USB cable to the computer.

The camera can project a random pattern of dots onto objects that help it to process low-detail surfaces such as doors and windows by adding texture to the scene. You can reduce the visibility of the dots by reducing the Laser Power setting in the RealSense Viewer.

0 Compliments
DKoma1
Débutant
1 442 Visites

The picture which is attached above is taken with an IR- projector turned off. So the square structure is not a projector, but an "modification" of an image. If I switch to Y8, this structure disappears. I take the images with Realsense Viewer with following settings 1920*1080, 15 fps, Y16 or Y8.

0 Compliments
MartyG
Contributeur émérite III
1 442 Visites

My apologies, could you provide further explanation please about what you mean about a "square structure (light dots)". Thanks!

0 Compliments
DKoma1
Débutant
1 442 Visites

This is a zoomed version of the picture which was attached above. You may see that every second pixel in every second raw is much brighter then the neiboring pixels. This I called light dots.

0 Compliments
MartyG
Contributeur émérite III
1 442 Visites

Thank you very much for your patience. I thought that this was what you were referring to but wanted to make sure.

I located a couple of other cases where this pattern has occurred on Y16.

https://github.com/IntelRealSense/librealsense/issues/1519# issue-312951808 Artifacts in 1920x1080 IR image in D415 · Issue # 1519 · IntelRealSense/librealsense · GitHub

0 Compliments
DKoma1
Débutant
1 442 Visites
0 Compliments
Répondre