Changes

Jump to navigation Jump to search
Line 535: Line 535:  
Both ME and AE are easy to understand.
 
Both ME and AE are easy to understand.
   −
AE once: Execute one automatic exposure in the set range, then stop the adjustment.
+
AE once: Execute automatic exposure in the set range once, then stop the adjustment.
    
===== metime =====
 
===== metime =====
Line 542: Line 542:  
<code>./mv_mipi_i2c.sh -r -f metime</code>
 
<code>./mv_mipi_i2c.sh -r -f metime</code>
   −
 
+
Range (0,1000000/fps].Because of <u>Note1</u> and range limitation, please read back to confirm the real metime take effect.
read back to confirm the real metime take effect
      
===== gainmode =====
 
===== gainmode =====
Line 564: Line 563:  
Both MG and AG are easy to understand.
 
Both MG and AG are easy to understand.
   −
AG once: Execute one automatic gain in the set range, then stop the adjustment.
+
AG once: Execute automatic gain in the set range once, then stop the adjustment.
 +
 
 +
===== mgain =====
 +
<code>./mv_mipi_i2c.sh -w -f mgain -p1 [gain]</code>
 +
 
 +
<code>./mv_mipi_i2c.sh -r -f mgain</code>
 +
 
 +
Range [0,MAX_Gain],MAX_Gain varies from sensor to sensor, for example, IMX178 is 48dB.
    +
Read back to confirm the real mgain take effect.
    +
===== aatarget =====
 +
<code>./mv_mipi_i2c.sh -r -f aatarget</code>
   −
<nowiki>#</nowiki> read back to confirm the real mgain take effect
+
<code>./mv_mipi_i2c.sh -w -f aatarget -p1 [1,255]</code>
   −
./mv_mipi_i2c.sh -w -f mgain -p1 2.3
+
The target brightness of AE and AG algorithm.
   −
./mv_mipi_i2c.sh -r -f mgain
+
Within the set range, the algorithm will prioritize the increase in exposure time,
   −
./mv_mipi_i2c.sh -r -f aatarget
+
and increase the gain if the exposure time reaches the maximum and still cannot reach the set target brightness value.
   −
./mv_mipi_i2c.sh -w -f aatarget -p1 [1,255]
+
===== aemaxtime =====
 +
<code>./mv_mipi_i2c.sh -r -f aemaxtime</code>
   −
./mv_mipi_i2c.sh -r -f aemaxtime
+
<code>./mv_mipi_i2c.sh -w -f aemaxtime -p1 [16,1000000/fps]</code>
   −
./mv_mipi_i2c.sh -w -f aemaxtime -p1 []
+
Maximum exposure time in AE mode.Range[16,1000000]. <u>Note1.</u>
   −
./mv_mipi_i2c.sh -r -f exptime
+
Please read back to confirm the real metime take effect.
   −
./mv_mipi_i2c.sh -r -f curgain
+
===== agmaxgain =====
 +
<code>./mv_mipi_i2c.sh -r -f agmaxgain</code>
   −
./mv_mipi_i2c.sh -r -f agmaxgain
+
<code>./mv_mipi_i2c.sh -w -f agmaxgain -p1 [0,maxgain]</code>
   −
./mv_mipi_i2c.sh -w -f agmaxgain -p1 []
+
Maximum value of auto gain. The range and step vary according to the model.
   −
./mv_mipi_i2c.sh -w -f aaroi -p1 [x] -p2 [y] -p3 [width] -p4 [height]
+
Most sensors have a gain step of 0.1dB, some are 0.3dB.
   −
./mv_mipi_i2c.sh -r -f aaroi
+
===== exptime =====
 +
<code>./mv_mipi_i2c.sh -r -f exptime</code>
   −
./mv_mipi_i2c.sh -w -f aaroienable -p1 [0,1]
+
Get the current exposure time. This command is valid in any exposure mode.
   −
./mv_mipi_i2c.sh -r -f aaroienable
+
===== curgain =====
 +
<code>./mv_mipi_i2c.sh -r -f curgain</code>
   −
<nowiki>#</nowiki>run ae ag once and save as manual value
+
Gets the current gain. This command is valid in any exposure mode.
   −
./mv_mipi_i2c.sh -w -f aeag_run_once_save<br />
+
===== aaroienable =====
 +
<code>./mv_mipi_i2c.sh -w -f aaroienable -p1 [0,1]</code>
 +
 
 +
<code>./mv_mipi_i2c.sh -r -f aaroienable</code>
 +
 
 +
Whether to enable AAROI statistics function, not enable means full ROI statistics.
 +
 
 +
===== aaroi =====
 +
<code>./mv_mipi_i2c.sh -w -f aaroi -p1 [x] -p2 [y] -p3 [width] -p4 [height]</code>
 +
 
 +
<code>./mv_mipi_i2c.sh -r -f aaroi</code>
 +
 
 +
The AAROI coordinates are relative coordinates within the ROI area. So the area must be smaller than the image ROI.
 +
 
 +
===== aeag_run_once_save =====
 +
<code>./mv_mipi_i2c.sh -w -f aeag_run_once_save</code><br />
    
==== Notes: ====
 
==== Notes: ====
 
Note1: All parameters of exposure time are in microseconds. However, due to the properties of the sensor, the actual exposure time unit of the sensor is 1 line, can not be accurate to 1us.
 
Note1: All parameters of exposure time are in microseconds. However, due to the properties of the sensor, the actual exposure time unit of the sensor is 1 line, can not be accurate to 1us.
   −
Note2:For all gain-related parameters, the register value is 10 times the number of dB. For example, if the register is 101, it means 10.1dB. The range and step vary according to the model.
+
Note2: AE: Auto exposure; AG: Auto Gain; AA: AE and AG.
 
  −
Note3: AE: Auto exposure; AG: Auto Gain; AA: AE and AG.
     −
Note4: The AAROI coordinates are relative coordinates within the roi range.<br />
+
Note3: The AAROI coordinates are relative coordinates within the ROI area.<br />

Navigation menu