This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM385/388- AR0331 builtin ALTM(adaptive local tone mapping) configuration

Other Parts Discussed in Thread: DM388

Hello,

I want to use APTINA AR0331 sensor builtin ALTM functinality in HDR mode with DM388 IPNC_RDK_3.8.0. 

As per the given details in sensor developer guide, Sensor registers are configured. The output image is very dark and can not be controlled by Exposure and Gain settings.

Gamma is bypassed and RGB to RGB matrix set to unity matrix.

What other changes I have to do in RDK mcfw?

Will TI 2A auto exposure and white balance algorithm work with ALTM enabled mode?

 

  • I will notify IPNC RDK team for help.

    BR
    Pavel
  • Hi,

    When you enable ALTM in the AR0331 sensor then you have to make sure to set compile flag 'WDR_ON := NO' in the Rules.make and rebuild the code (make all) so that the WDR algorithm on the RDK is disabled.

    And there are constraints on the min and max exposure timings for the HDR mode for AR0331 sensor:

    The min exposure time should be half of (T1/T2) lines and max exposure time should be 70 * (T1/T2) lines,so accordingly you should configure the 'gTi2aControlParams.minExposure' and 'gTi2aControlParams.maxExposure' in the '..\ti_tools\iss_03_80_00_00\packages\ti\psp\iss\drivers\alg\2A\src\issdrv_algTIaewb.c' file so that the AE algorithm computes the sensor exposure time within the valid range.

    Note that these settings are in micro seconds so you need to convert the no of lines into micro seconds by multiplying with the 'ROW_TIME'.

    Since the ALTM mode provides the linear data the default ISP settings and AEWB algorithm should work fine.

    Pl. note that we have NOT tested the ALTM mode for AR0331 on our side.

    regards,

    Anand