CamX 如何查看Sensor设置的曝光时间和增益

在CamX中,如何查看Sensor设置的曝光时间和增益?

请先 登录 后评论

1 个回答

凡乐

首先,设置Setting打开Sensor模块的Info和Verbose Log

logInfoMask=0x2
logVerboseMask=0x2

复现问题后,在log中搜索:搜索ApplyGains和CalculateExposure

logcat |grep -iE "ApplyGains|CalculateExposure"

示例Log:

11-09 11:09:41.331  6792  6822 I CamX    : [ INFO][SENSOR ] camxsensornode.cpp:3156 ExecuteProcessRequest() Sensor[0]: ProcessRequest: ApplyGains: RequestID=1466, ContextTypeID: 0, Gain:ExpTime =41.441280 : 7944333, Middle Gain:ExpTime =0.000000 : 0, Short Gain:ExpTime =0.000000 : 0 LuxIdx = 378.434143, LED Currents = 0 : 0
11-09 11:09:41.331  6792  6822 V CamX    : [ VERB][SENSOR ] camximagesensordata.cpp:1075 CalculateExposure() Long (TG:41.441280 AG:15.500000 DG:1.000000 ISPG:2.673631 LC:3051) Middle (TG:0.000000 AG:0.000000 DG:0.000000 ISPG:0.000000 LC:0) Short (TG:0.000000 AG:0.000000 DG:0.000000 ISPG:0.000000 LC:0)

缩写的全称如下:

  1. TG: Total Gain
  2. AG: Analog Gain
  3. DG: Digital Gain
  4. ISPG: ISP Gain
  5. LC: Line Count

如果想强制设置Sensor的曝光时间和增益,请参阅:CamX 中如何强制设置Sensor曝光时间和增益

请先 登录 后评论