Changes

Jump to navigation Jump to search
8 bytes added ,  11:39, 19 June 2020
no edit summary
Line 59: Line 59:  
support functions: devid,hdver,camcap,firmwarever,productmodel,videofmtcap,videofmt,ispcap,i2caddr,streammode,powerhz,
 
support functions: devid,hdver,camcap,firmwarever,productmodel,videofmtcap,videofmt,ispcap,i2caddr,streammode,powerhz,
   −
daynightmode ,hue ,contrast , satu , expostate , wbstate ,aemode , aetarget, aetime,aeagc,metime ,meagain , medgain , awbmode , mwbcolortemp , mwbgain,imagedir,sreg,striggerone,triggeredge,autotgcnt,tgdebncr,tgdly,pickmode,discardfrm,pickone,mipistatus,sysreboot,sysreset,paramsave
+
daynightmode ,hue ,contrast , satu , expostate , wbstate ,expmode , aetarget, aetime,aeagc,metime ,meagain , medgain , awbmode , mwbcolortemp , mwbgain,imagedir,sreg,striggerone,triggeredge,autotgcnt,tgdebncr,tgdly,pickmode,discardfrm,pickone,mipistatus,sysreboot,sysreset,paramsave
    
对于树莓派Pi3B / Pi3B+ / 3A / 4B(1G/2G/4G),使用i2c0,  '''对于Compute Module/ CM3,使用i2c1,请添加-b1 选项。'''
 
对于树莓派Pi3B / Pi3B+ / 3A / 4B(1G/2G/4G),使用i2c0,  '''对于Compute Module/ CM3,使用i2c1,请添加-b1 选项。'''
Line 338: Line 338:  
saturation,range [0,100].
 
saturation,range [0,100].
   −
=====aemode=====
+
=====expmode=====
<code>./cs_mipi_i2c.sh -r -f aemode</code>
+
<code>./cs_mipi_i2c.sh -r -f expmode</code>
   −
<code>./cs_mipi_i2c.sh -w -f aemode -p1 0</code>
+
<code>./cs_mipi_i2c.sh -w -f expmode -p1 0</code>
    
0 : 自动曝光
 
0 : 自动曝光
Line 352: Line 352:  
<code>./cs_mipi_i2c.sh -w -f aetarget -p1 0x40</code>
 
<code>./cs_mipi_i2c.sh -w -f aetarget -p1 0x40</code>
   −
自动曝光模式下目标亮度,需'''aemode'''为自动模式下生效。默认值不同型号会略有不同。
+
自动曝光模式下目标亮度,需'''expmode'''为自动模式下生效。默认值不同型号会略有不同。
    
range:[0,255]
 
range:[0,255]
Line 361: Line 361:  
<code>./cs_mipi_i2c.sh -w -f aetime -p1 0x400000</code>
 
<code>./cs_mipi_i2c.sh -w -f aetime -p1 0x400000</code>
   −
AE最长曝光时间,单位us。需'''aemode'''为自动模式下生效。
+
AE最长曝光时间,单位us。需'''expmode'''为自动模式下生效。
    
range:(100,1/framerate],如帧率为30,则范围是(100,33333].
 
range:(100,1/framerate],如帧率为30,则范围是(100,33333].
Line 372: Line 372:  
<code>./cs_mipi_i2c.sh -r -f aeagc</code>
 
<code>./cs_mipi_i2c.sh -r -f aeagc</code>
   −
自动曝光模式下,最大系统总增益,单位dB,需'''aemode'''为自动模式下生效。  
+
自动曝光模式下,最大系统总增益,单位dB,需'''expmode'''为自动模式下生效。  
    
agc组成部分为Again+Dgain+ISPGain。  
 
agc组成部分为Again+Dgain+ISPGain。  
Line 389: Line 389:  
<code>./cs_mipi_i2c.sh -w -f metime -p1 10000</code>
 
<code>./cs_mipi_i2c.sh -w -f metime -p1 10000</code>
   −
手动曝光时间,需'''aemode'''为手动模式下生效, us.  
+
手动曝光时间,需'''expmode'''为手动模式下生效, us.  
    
range:[0-1000000/framerate]
 
range:[0-1000000/framerate]
Line 398: Line 398:  
<code>./cs_mipi_i2c.sh -r -f meagain</code>
 
<code>./cs_mipi_i2c.sh -r -f meagain</code>
   −
手动模拟增益,单位dB,需'''aemode'''为手动模式下生效。  
+
手动模拟增益,单位dB,需'''expmode'''为手动模式下生效。  
    
X is the integer part and Y is the decimal part, for example X is 2 and Y is 3 means 2.3dB.
 
X is the integer part and Y is the decimal part, for example X is 2 and Y is 3 means 2.3dB.
Line 413: Line 413:  
<code>./cs_mipi_i2c.sh -r -f medgain</code>  
 
<code>./cs_mipi_i2c.sh -r -f medgain</code>  
   −
手动数字增益,单位dB,需'''aemode'''为手动模式下生效。  
+
手动数字增益,单位dB,需'''expmode'''为手动模式下生效。  
    
X is the integer part and Y is the decimal part, for example X is 2 and Y is 3 means 2.3dB.
 
X is the integer part and Y is the decimal part, for example X is 2 and Y is 3 means 2.3dB.
Line 564: Line 564:  
|}
 
|}
   −
===== ledstrobe =====
+
=====ledstrobe=====
 
<code>./cs_mipi_i2c.sh -w -f ledstrobe -p1 enable</code>
 
<code>./cs_mipi_i2c.sh -w -f ledstrobe -p1 enable</code>
  

Navigation menu