Line 292: |
Line 292: |
| | | |
| 1: 手动曝光 | | 1: 手动曝光 |
| + | |
| + | =====aetarget===== |
| + | <code>./cs_mipi_i2c.sh -r -f aetarget</code> |
| + | |
| + | <code>./cs_mipi_i2c.sh -w -f aetarget -p1 0x40</code> |
| + | |
| + | 自动曝光模式下目标亮度,需'''aemode'''为自动模式下生效。默认值不同型号会略有不同。 |
| + | |
| + | range:[0,255] |
| + | |
| + | =====aetime===== |
| + | <code>./cs_mipi_i2c.sh -r -f aetime</code> |
| + | |
| + | <code>./cs_mipi_i2c.sh -w -f aetime -p1 0x400000</code> |
| + | |
| + | AE最长曝光时间,单位us。需'''aemode'''为自动模式下生效。 |
| + | |
| + | range:(0,1/framerate],如帧率为30,则范围是(0,33333]. |
| + | |
| + | 特殊值:0xFFFFFFFF=1/framerate,自动根据camera工作模式调整。 |
| + | |
| + | =====aeagc===== |
| + | <code>./cs_mipi_i2c.sh -w -f aeagc-p1 X -p2 Y</code> |
| + | |
| + | <code>./cs_mipi_i2c.sh -r -f aeagc</code> |
| + | |
| + | 自动曝光模式下,最大系统总增益,单位dB,需'''aemode'''为自动模式下生效。 |
| + | |
| + | agc组成部分为Again+Dgain+ISPGain。 |
| + | |
| + | X is the integer part and Y is the decimal part, for example X is 2 and Y is 3 means 2.3dB. |
| + | |
| + | X range: depending on sensor. |
| + | |
| + | Y range: [0-9]. |
| + | |
| + | IMX307,again range is[0,135]dB, step 0.3dB. |
| | | |
| =====metime===== | | =====metime===== |
Line 315: |
Line 352: |
| Y range: [0-9]. | | Y range: [0-9]. |
| | | |
− | IMX307,again range is[0,27]dB, step 0.3dB. | + | IMX307,agc range is[0,27]dB, step 0.3dB. |
| | | |
| =====medgain===== | | =====medgain===== |
Line 369: |
Line 406: |
| readonly, get the current white balance state. rgain, bgain and color tempture. | | readonly, get the current white balance state. rgain, bgain and color tempture. |
| | | |
− | ===== '''imagedir''' ===== | + | ====='''imagedir'''===== |
| <code>./cs_mipi_i2c.sh -w -f imagedir -p1 0</code> | | <code>./cs_mipi_i2c.sh -w -f imagedir -p1 0</code> |
| | | |