View my account

Auto exposure solves flickering lights issue

Comments

8 comments

  • MartyG

    Hi Oscar, the physical shutter speed on RealSense cameras is fixed, and so shutter speed is controlled indirectly with the exposure time value.  There is a direct relationship between exposure and FPS.  The mathematics of the relationship when using auto-exposure and manual exposure are discussed at the link below.

    https://github.com/IntelRealSense/librealsense/issues/1957

    1
    Comment actions Permalink
  • MartyG

    On camera models with a slower rolling shutter like D415 and the D435 types (D435, D435i, D435f, D435if), the RGB image can lag or blur when capturing motion faster than a waving hand compared to the faster global shutter on the depth sensors.  Depth and RGB performance can be equalised by having auto-exposure enabled and running depth at 30 FPS and RGB at 60 FPS.

    1
    Comment actions Permalink
  • MartyG

    The D455-type models (D455, D455f, D456, D457) have a fast global shutter on both the RGB and depth sensors and so do not require workarounds for RGB to perform well during capture of high speed motion.

    1
    Comment actions Permalink
  • MartyG

    1
    Comment actions Permalink
  • MartyG

    Whilst the exposure and FPS values can be used to compensate for interference caused by fluorescent lights such as overhead ceiling strip-lights, it is easier to negate that interference by configuring an RGB option called Power Line Frequency to 30, 50 or 60 depending on the operating frequency of the lights in the camera's location.

     

    Fluorescent lights in particular cause interference because they contain heated gases that flicker at frequencies difficult to see with the human eye.  Other types of lighting such as LED should cause less interference.

    1
    Comment actions Permalink
  • MartyG

    Finally, sincere apologies for the multiple comments.  This forum site's spam filter was blocking some parts of my reply from being posted, so I had to split it into parts.

    1
    Comment actions Permalink
  • Oscar

    Thank you for your response!

    I did not find any initial improvements setting the power line frequency to 50 Hz, but I most likely did not have an appropriate choice of parameters otherwise.

    Do you have any idea how they go about mitigating noise of that frequency? 

     

    0
    Comment actions Permalink
  • MartyG

    The frequency of the lights (and hence the Power Line Frequency that should be matched with it) typically depends on the country that the lights are in.  North American regions use 60 Hz and European regions use 50 Hz.  There is no harm though in trying 30, 50 and 60 for the Power Line Frequency to see which setting provides the best interference negation (if any).

    If your lights' frequency is 50 Hz then that makes it impractical to attempt to use the FPS speed to reduce interference, since 50 is not a supported FPS speed for RealSense cameras and so a close match with the operating frequency of 50 Hz lights cannot be achieved.

    You could test whether the High Speed Mode can negate the noise by selecting the resolution of your D435i camera to 848x100 and setting the FPs to 300.  At 300 FPS the camera performs as though it is only set at 90 FPS because the 848x100 resolution limits the vertical height of the depth image to a 100 pixel high strip at the center of the screen and so there is less of a processing burden on the computer's CPU.

     

     

    If you need a full-size depth image then another option that you could explore is using a Temporal post-processing filter and setting its 'Filter Smooth Alpha' setting to '0.1' instead of the default '0.4'.  This can stabilize fluctuating depth values by updating the depth value less frequently.

    0
    Comment actions Permalink

Please sign in to leave a comment.