librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

Remove IR pattern preset does not work in D435 with latest firmware

Open dheera opened this issue 8 years ago • 12 comments

screenshot from 2018-06-04 17-40-34

Running firmware 05.09.11.00, tested on Ubuntu 16.04 and 18.04

dheera avatar Jun 04 '18 17:06 dheera

Hi @dheera This hardware feature is currently only supported by the D415 cameras.

dorodnic avatar Jun 04 '18 19:06 dorodnic

@dorodnic I see. Any plans to support it on D435s soon? Thanks!

dheera avatar Jun 04 '18 19:06 dheera

Unfortunately the IR removal is not possible for D435 as the technique requires that the stereo sensors are color and not monochrome.

agrunnet avatar Jun 05 '18 02:06 agrunnet

Out of curiosity, may I ask what the "Remove IR Pattern" should do ? Is it supposed to remove the IR pattern in the output stream ? I tried it with the latest versions of the D415 firmware and Intel RealSense Viewer, but It doesn't seem to do anything at first sight (unless I missed something ?).

I didn't find much explanation on this preset, excepted maybe this page https://github.com/IntelRealSense/librealsense/wiki/D400-Series-Visual-Presets (which contain a "broken ?" link to the "D415_RemoveIR.json"). You actually can access the file by typing https://raw.githubusercontent.com/wiki/IntelRealSense/librealsense/d400_presets/D415_RemoveIR.json, but the preset seems to be a bit empty compared to the one provided when saving the "Remove IR Pattern" preset from the RealSense Viewer. I saw that only the "aux-param-colorcorrectionX" parameters are modified.

I also assume that the removal of the IR pattern is not exclusively controlled by a ".json" file, so how does the preset behave exactly ?

AntoineWefit avatar Jun 06 '18 08:06 AntoineWefit

[Realsense Customer Engineering Team Comment] hi @AntoineWefit,

do you mean when you load remove IR pattern preset the D415 output is the same? due to the IR projector is not too strong, so maybe you need to target to a near object like 30cm distance. if so please provide your screenshot so we can take a look. and remove IR.json provide parameters modified so much less parameters compared to file you saved from Realsense Viewer, it will save almost all parameters

@RealSense-Customer-Engineering

do you mean when you load remove IR pattern preset the D415 output is the same?

Yes, it seems so. (please don't pay attention to the actual acquisition, the camera position is random atm)

With the "Remove Ir Pattern" Preset image

With the "Default" Preset image

Look pretty identical to me :/

Could you specify what is the expected output with the "Remove Ir Pattern" Preset ?

AntoineWefit avatar Jun 13 '18 09:06 AntoineWefit

[Realsense Customer Engineering Team Comment] hi @AntoineWefit,

sorry, i am wrong, you should use D415 with FWv5.9.11, in Realsense viewer set available streams: Infrared1 forma to RGB8, then you will see the "Remove IR Pattern" Preset works when you load it.

Thank you @RealSense-Customer-Engineering ! It's working great !

One last question though, is it possible to disable the pattern itself with some parameters (software side) or is it an intrinsic part (hardware side) of the IR projector (I guess some kind of "lens") ? It's not that much of a big deal, but I'm curious.

AntoineWefit avatar Jun 25 '18 08:06 AntoineWefit

We would love to have a cheap projector that can switch between a pattern and a uniform illumination, but that does not currently exist. So the one we have is a fixed pattern. You can only turn it on and off and change the power.

agrunnet avatar Jun 25 '18 13:06 agrunnet

Ok good to know, thank you for your answer.

AntoineWefit avatar Jun 25 '18 14:06 AntoineWefit

[Realsense Customer Engineering Team Comment] hi @AntoineWefit,

seems all your questions are answered, can we close this ticket now?

@RealSense-Customer-Engineering Yes indeed ! But this is not my thread, I can't close it.

AntoineWefit avatar Jul 02 '18 06:07 AntoineWefit