44. Proc Debugging Information Description

44.1. Function Overview

The debugging information uses the proc file system, which can reflect the set parameters, 3A statistics, 3A operation results and other information in the ISP module in real time according to the proc param and proc level set by the upper layer for developers to locate and analyze problems.

44.2. Usage Method

[File directory]

/proc/cvitek/isp

[Opening Method]

After calling CVI_ISP_After MemInit, call CVI_ISP_SetCtrlParam to set the ISP control parameter u32ProcParam=n, where n cannot be zero.

n is the frequency at which ISP information is collected. ISP information is collected every n frames. The default value is 30

Call CVI_ISP_SetCtrlParam to set the ISP control parameter u32ProcLevel=m, where m ranges from [0, 3]

  • m=0 means proc function is off,

  • m=1 means level1 level information is printed,

  • m=2 means level2 level information is printed,

  • m=3 means level3 level information is printed, the higher level3 level information is printed, and the higher level print content must contain lower level print content, default value is 0

  • When using ISP_TOOL_DAEMON to turn on proc , you can Export PROC_LEVEL=n (n 1-3, n=0 does not open) before running ISP_TOOL_DAEMON

[ View Information Methods]

After ISP module is running properly

By calling cat/proc/cvitek/isp in the console, the associated logs are then printed to the console cp/proc/cvitek/isp view to pc

44.3. ISP

44.3.1. LEVEL1 Debugging Information Analysis

Printing of ISP Module parameters

[parameters Description]

Parameter

Description

MODULE/CTRLPARAM

ProcParam

Indicates the collection frequency of collecting ISP information

ProcLevel

Indicates the level level of ISP proc

AEStatIntvl

Indicates the update frequency of ISP AE statistics

AWBStatIntvl

Indicates the update frequency of ISP AWB statistics

AFStatIntvl

Indicates the update frequency of ISP AF statistics

UpdatePos

Indicates whether the interrupt update position is interrupted at the start of the frame or at the end of the frame, 0 is the start of the frame

IntTimeOut

Indicates the maximum time to get the ISP interrupt timeout

PwmNumber

Indicates pwm usage

PortIntDelay

Indicates the Port interrupt delay time

FSWDR

Enable

WDR module enable

MotionCompEnable

WDR motion detect enable switch

CombineSNRAwareEn

The wide dynamic fusion mode with SNR perception is enabled, which can adaptively determine the fusion ratio of long and short frames according to the noise of short frames

CombineSNRAwareLowThr

Short frame noise SNR adaptive low threshold. When the estimated noise of the short frame is lower than the low threshold value, general long and short frame fusion is performed, and the noise is between the low threshold value and the high threshold value, and the SNR adaptive fusion is performed in proportion.

CombineSNRAwareHighThr

When the short frame estimation noise is higher than the high threshold value according to The SN RAwareToleranceLevel intensity performs SNR adaptive fusion, and the noise is between the low critical value and the high critical value, and the SNR adaptive fusion is performed in proportion.

CombineSNRAwareSmLevel

The smoothness of time domain changes in short frame noise SNR adaptation

ExposureRatio

Exposure ratio of WDR long and short exposure

ShortMaxVal

The maximum value of WDR wide dynamic range

isManualMode

manual mode or automatic mode

CombineLongThr

Long exposure threshold, image data below this threshold will only select long exposure data to synthesize WDR images

CombineShortThr

Short exposure critical value, image data exceeding this critical value will only select short exposure data to synthesize WDR image

CombineMinWeight

The minimum weight value for long and short exposure image data fusion. The larger the weight value, the more the proportion of long exposure in the fusion time, and vice versa, the more the proportion of short exposure

CombineMaxWeight

Long and short exposure image data are fused with the highest weight value. The larger the weight value, the more the proportion of long exposure in the fusion time, and vice versa, the more the proportion of short exposure

MergeMode

WDR motion detect mode

0: Motion detect information takes the maximum value of long and short frame motion information

1: Motion detect information is an equal proportion fusion of long and short frame motion information, and the ratio is defined by MergeModeAlpha

MergeModeAlpha

MergeMode mode is 1 mobile information fusion ratio

C ombineSNRAwareTolLevel

Noise Tolerance Strength of Short Frame Noise SNR Adaptation

Shading

MeshEnable

MeshLSC function enable

MeshisManualMode

manual mode or automatic mode

MeshStr

LSC compensation strength

MeshLscGainLut Size

Color temperature adaptive LSC compensation gain table quantity

M eshLscGainLutColorTemp

The color temperature corresponding to the color temperature adaptive LSC compensation gain table

RadialEnable

RadialLSC function enable

RadialCenterX

X-direction coordinates of image sensor mirror center

RadialCenterY

Y-direction coordinates of image sensor mirror center

RadialStr

LSC compensation strength

Low-RadialGainLut

LSC Radius Form Compensation Gain Table

High-RadialGainLut

LSC Radius Form Compensation Gain Table

DCI

Enable

DCI module enable

Speed

Smooth strength, the higher the value, the slower the change

DciStrength

Used to control the strength of DCI, the larger the value, the greater the contrast.

isManualMode

manual mode or automatic mode

ContrastGain

Keep the lowest slope of each BIN, the larger the value, the smaller the slope

BlcThr

The threshold value used to determine the range of the dark zone. The larger the value, the larger the range of dark areas included.

WhtThr

The threshold used to determine the range of bright areas. The smaller the value, the larger the range of bright areas included.

BlcCtrl

Used to determine the contrast of dark areas. When the value is 256, the contrast of dark areas remains unchanged. When it is larger than 256, the larger the value, the greater the contrast of the dark area; otherwise, the smaller the value, the smaller the contrast of the dark area.

WhtCtrl

Used to determine the contrast of bright areas. When the value is 256, the contrast of the bright area remains unchanged. When the value is greater than 256, the larger the value, the greater the contrast of the bright area; on the contrary, the smaller the value, the smaller the contrast of the bright area.

Dehaze

Enable

Enable the Dehaze function

isManualMode

manual mode or automatic mode

Strength

Used to control the intensity of Dehaze. The larger the value, the stronger the defogging strength

BlackLevel

Enable

The BLC module enable

isManualMode

manual mode or automatic mode

PreOffsetR

BLC R pixel dark current value

PreOffsetGr

BLC GR pixel dark current value

PreOffsetGb

BLC Gb pixel dark current value

PreOffsetB

BLC B pixel dark current value

PreGainR

BLC R pixel dark current compensation gain

PreGainGr

BLC Gr pixel dark current compensation gain

PreGainGb

BLC Gb pixel dark current compensation gain

PreGainB

BLC B pixel dark current compensation gain

PostOffsetR

BLC R pixel dark current value

PostOffsetGr

BLC Gr pixel dark current value

PostOffsetGb

BLC Gb pixel dark current value

PostOffsetB

BLC B pixel dark current value

PostGainR

BLC R pixel dark current compensation gain

PostGainGr

BLC Gr pixel dark current compensation gain

PostGainGb

BLC Gb pixel dark current compensation gain

PostGainB

BLC B pixel dark current compensation gain

DPC

Enable

The DPC module enable

isManualMode

manual mode or automatic mode

ClusterSize

The upper limit of the clustered dead pixels area, the higher the value, the better the clustered dead pixels can be corrected, but it may cause the attenuation of the high-frequency area resolution

BrightDefToNorPixRatio

The magnification of visible bright and bad pixel value and surrounding pixels

DarkDefToNorPixRatio

The magnification of visible dark pixel value and surrounding pixels

FlatThreR

The critical value of the R channel to determine the flat area, the smaller the value, the better the edge information can be preserved

FlatThreG

The critical value of the B channel to determine the flat area, the smaller the value, the better the edge information can be preserved

FlatThreB

The critical value of the B channel to determine the flat area, the smaller the value, the better the edge information can be preserved

FlatThreMinG

The minimum critical value of the G channel to distinguish the flat area

FlatThreMinRB

The minimum critical value of the RB channel to determine the flat area

TNR

Enable

TNR module enable

DeflickerMode

Anti-flicker mode

D eflickerToleranceLevel

Anti-flicker mode mode4 anti-flicker tolerance value, the larger the value, the better the anti-flicker, but the moving afterimage in the bright area will also increase.

LowMtPrtEn

Airspace noise reduction micro motion protection enabled

isManualMode

manual mode or automatic mode

TnrStrength0

Long Exposure TNR Intensity Gain

MapThdLow0

Long Exposure TNR Intensity Upper Limit

MapThdHigh0

Long exposure TNR intensity lower limit

BrightnessNoiseLevelLE

Long Exposure Luminance Noise Tolerance Value

BrightnessNoiseLevelSE

Short exposure luminance noise tolerance value

RNoiseLevel0

Long exposure red channel noise tolerance value

RNoiseHiLevel0

Long exposure red channel highlight noise tolerance value

GNoiseLevel0

Long exposure green channel noise tolerance value

GNoiseHiLevel0

Long exposure green channel highlight noise tolerance value

BNoiseLevel0

Long exposure blue channel noise tolerance value

BNoiseHiLevel0

Long exposure blue channel highlight noise tolerance value

RNoiseLevel1

Short exposure red channel noise tolerance value

RNoiseHiLevel1

Short exposure red channel highlight noise tolerance value

GNoiseLevel1

Short exposure green channel noise tolerance value

GNoiseHiLevel1

Short exposure green channel highlight noise tolerance value

BNoiseLevel1

Short exposure blue channel noise tolerance value

BNoiseHiLevel1

Short exposure blue channel highlight noise tolerance value

LowMtPrtLevel

protection limit

L2mIn0

Long-exposure TNR brightness versus intensity gain characteristics table. An array of four sets of values. Define the gray level, the larger the value, the higher the gray level.

L2mOut0

Long-exposure TNR brightness versus intensity gain characteristics table. An array of four sets of values. Defines the intensity gain, the larger the value, the stronger the intensity.

L2mIn1

Short exposure TNR luminance vs. intensity gain characteristics table. An array of four sets of values. Define the gray level, the larger the value, the higher the gray level.

L2mOut1

Short exposure TNR luminance vs. intensity gain characteristics table. An array of four sets of values. Defines the intensity gain, the larger the value, the stronger the intensity.

PrtctIn0

Long-exposure TNR momentum vs. smear removal degree characteristic table, an array consisting of four sets of values. Define the motion level to eliminate the tailing of moving objects, the larger the value, the stronger the motion range.

PrtctOut0

Long-exposure TNR momentum vs. smear removal degree characteristic table, an array consisting of four sets of values. Define the motion level to remove the tailing of moving objects, the smaller the value, the stronger the tailing removal.

PrtctIn1

Short-exposure TNR momentum vs. smear removal characteristic table, an array consisting of four groups of values. Define the motion level to eliminate the tailing of moving objects, the larger the value, the stronger the motion range.

PrtctOut1

Short-exposure TNR momentum vs. smear removal characteristic table, an array consisting of four groups of values. Define the motion level to remove the tailing of moving objects, the smaller the value, the stronger the tailing removal.

LowMtPrtIn

Define exercise class

LowMtPrtOut

The larger the value, the less obvious the smear and the more obvious the noise

CAC

Enable

CAC module enable

VarThr

Threshold for edge detect. The smaller the value, the more regions are judged as edges.

PurpleDetRange

Threshold for purple fringing detect. The larger the value, the more areas are judged as purple fringing.

PurpleCb

The coordinates of purple in the Cb domain.

PurpleCr

The coordinates of purple in the Cr domain.

GreenCb

The coordinates of green in Cb domain.

GreenCr

The coordinates of green in Cr domain.

isManualMode

manual mode or automatic mode

DePurpleStr

Threshold for purple fringing detect. The larger the value, the more areas are judged as purple fringing.

CNR

Enable

The CNR module is enabled.

isManualMode

manual mode or automatic mode

CnrStr

Color noise denoising strength. The larger the value, the stronger the color noise denoising.

NoiseSuppressStr

Color noise suppression strength. The larger the value, the stronger the color noise removal.

NoiseSuppressGain

Color noise suppression strength gain. The smaller the value, the stronger the color noise denoising.

FilterType

Color noise denoising filter strength. The larger the value, the stronger the color noise removal.

MotionNrStr

Adjust the color noise denoising strength of the moving object area. Larger values result in less color noise in motion areas.

DetailSmoothMode

Denoise detail smoothing function enabled

Sharpen

Enable

Y Sharpen module enable

EdgeGain

Edge Enhancement parameters

The larger the value, the stronger the edge sharpening

TextureGain

Enhancement parameters for detail | textures

The larger the value, the greater the detail texture sharpening intensity

EdgeThr

The boundary threshold between edge and noise, greater than this value is considered as edge, and less than this value is considered as noise

The larger the value, the fewer edges are enhanced; the smaller the value, the more edges are enhanced. When the exposure gain is larger, the value is recommended to be set larger

TextureThr

The demarcation threshold between detail texture and noise, greater than this value is regarded as detail texture, and less than this value is regarded as noise

LumaAdpCoringEn

Automatic Luminance Noise Rejection Threshold Switch

LumaAdpGainEn

Brightness sharpening weights enabled

DeltaAdpGainEn

sharpen weights enabled

W drCoringCompensationEn

Luminance sharpening noise value compensation is enabled in wdr mode.

Wdr CoringCompensationMode

Compensation mode for luminance sharpening noise value in wdr mode.

0: Compensate luminance sharpening noise according to WdrCoringHighThrd and WdrCoringLowthd.

1: Automatically compensate luminance sharpening noise according to DRC tone mapping curve.

W drCoringToleranceLevel

Tolerance value for luma sharpening noise compensation in wdr mode. The smaller the value, the more obvious the effect of sharpening, but the easier it is to sharpen the noise. The larger the value is, the less likely it is to sharpen the noise, but the sharpening effect is less obvious.

WdrCoringHighThr

High threshold for luma sharpening noise wdr mode compensation. Noise compensation is not performed for brightness below this threshold. If the brightness is higher than this critical value, noise compensation will be performed according to the value of WdrC oringToleranceLevel.

WdrCoringLowThr

Brightness between WdrCoringLowThrd and WdrCoringHighThrd is compensated proportionally.

Low threshold for luma sharpening noise wdr mode compensation. Noise compensation is not performed for brightness below this threshold. If the brightness is higher than this critical value, noise compensation will be performed according to the value of WdrC oringToleranceLevel. Brightness between WdrCoringLowThrd and WdrCoringHighThrd is compensated proportionally.

isManualMode

manual mode or automatic mode

EdgeFreq

Image Directional Edge Band Control

TextureFreq

Image non-directional detail texture band control

GlobalGain

Global sharpening weight

OverShootThr

White edge sharpening upper limit

UnderShootThr

Lower limit of black edge sharpening

YNoiseLevel

Luminance sharpening noise value magnification, one time is 64. The larger the value is, the more the brightness sharpening noise is amplified, and vice versa.

DeltaAdpGain

sharpening weight

LumaAdpCoring

Luminance sharpening noise values, detail texture or edge enhancement will exclude the enhancement contributed by this tolerance value. The smaller the value, the more obvious the effect of sharpening, but the easier it is to sharpen the noise. The larger the value is, the less likely it is to sharpen the noise, but the sharpening effect is less obvious.

LumaAdpGain

Brightness Sharpening Weight

Saturation

isManualMode

manual mode or automatic mode

Saturation

saturation

Gamma

Enable

Gamma function enable

enCurveType

Gamma Curve Type

isManualMode

manual mode or automatic mode

HSV

Enable

Saturation Tuning enabled

isManualMode

manual mode or automatic mode

SatCoringLinearTh

coring value for saturation

SatCoringLinearLmt

Maximum output saturation

CCM

Enable

CCM module enable

isManualMode

manual mode or automatic mode

ISOActEnable

Enable CCM Bypass function under low illumination

TempActEnable

The CCM Bypass function is enabled under high and low color temperatures.

CCMTabNum

The number of currently configured CCM matrices

CCM

Color Correction Matrix

CCMTab

CCM matrix coefficients at different color temperatures

YNR

Enable

YNR module enable

CoringParamEnable

Control whether to use manual coring

isManualMode

manual mode or automatic mode

WindowType

Denoising filtering locality degree. The smaller the value, the more localized the effect

DetailSmoothMode

Denoise detail smoothing function enabled

NoiseSuppressStr

Noise suppression strength. The larger the value, the greater the intensity of bright noise removal

FilterType

Denoising filter strength. The larger the value, the greater the intensity of bright noise removal

MotionThr

Object movement threshold. The smaller the value, the larger the range of the frame detected as motion.

MotionNrPosGain

Adjusts the strength of denoising in areas greater than the motion threshold. The larger the value, the less noise is preserved.

MotionNrNegGain

Adjusts the strength of denoising in areas less than the motion threshold. Smaller values preserve less noise.

VarThr

Threshold for detecting edges. The larger the value, the fewer the number of edges judged.

CoringWgtLF

Adjusts the intensity of random noise in the low frequency region. The larger the value, the more noise is preserved in the low frequency region.

CoringWgtHF

Adjusts the intensity of random noise in the high frequency region. The larger the value, the more noise is preserved in the high-frequency region.

NonDirFiltStr

Adjusts the strength of denoising in areas less than the motion threshold. Smaller values preserve less noise.

VhDirFiltStr

Threshold for detect edges. The larger the value, the fewer the number of edges judged.

AaDirFiltStr

Adjusts the intensity of random noise in the low frequency region. The larger the value, the more noise is preserved in the low frequency region.

NoiseCoringBaseLuma

The brightness value of the motion zone.

NoiseCoringBaseOffset

The brightness noise tolerance value of the motion area, the judgment of the motion area is linked with the detecting the TNR motion area. The larger the value, the greater the denoising strength of the motion area.

NoiseCoringAdvLuma

Quiet area brightness value

NoiseCoringAdvOffset

Luminance noise tolerance value in the static area, the judgment of the static area is linked with the detecting the TNR motion area. The larger the value, the stronger the noise removal in the static area.

WDRExposureAttr

ExpRatioType

Quiet area brightness value

Luminance noise tolerance value in the static area, the judgment of the static area is linked with the detect of the TNR motion area. The larger the value, the stronger the noise removal in the static area.

ExpRatio

Only valid in multi-frame synthesis WDR mode.

When enExpRatioType is OP_TYPE_AUTO, au32ExpRatio is invalid.

When enExpRatioType is OP_TYPE_MANUAL, au32ExpRatio is

Rewritable, indicating the expected value of the exposure ratio of two adjacent frames of multi-frame synthesis WDR.

Value range: [0x40, 0xFFF]

ExpRatioMax

Only valid in multi-frame synthesis WDR mode. When enExpRatioType is OP_TYPE_AUTO, u32ExpRatioMax indicates the maximum value of the ratio of the exposure time of the longest frame to the shortest frame. u32ExpRatioMax is invalid when enExpRatioType is OP_TYPE_MANUAL. 6bit decimal precision, 0x40 means the exposure ratio is 1 times.

ExpRatioMin

Only valid in multi-frame synthesis WDR mode.

When enExpRatioType is OP_TYPE_AUTO, u32ExpRatioMin indicates the minimum value of the ratio of long frame exposure time to short frame exposure time.

When enExpRatioType is OP_TYPE_MANUAL, u32ExpRatioMin is invalid.

The format is unsigned 6.6bit fixed point, 0x40 means that the ratio of long frame exposure time to short frame exposure time is 1 times. The default value is 0x40.

Value range: [0x40, u32ExpRatioMax]

Tolerance

Exposure ratio tolerance value, only valid in two-frame synthesis WDR mode.

When enExpRatioType is OP_TYPE_AUTO, the larger the value, it means that the exposure ratio remains unchanged when the dynamic range of the scene changes within a certain range. The default value is 0xC.

Value range: [0x0, 0xFF]

Speed

The automatic exposure ratio adjustment speed is only valid in the two-frame composite WDR mode.

When enExpRatioType is OP_TYPE_AUTO, the larger the value, the faster the automatic exposure ratio adjustment. The default value is 0x20.

Value range: [0x0, 0xFF]

RatioBias

The exposure ratio deviation value is only valid in multi-frame synthesis WDR mode.

When enExpRatioType is OP_TYPE_AUTO, the larger the value, the larger the automatic exposure ratio. The default value is 0x400, which means that the calculation result of the automatic exposure ratio algorithm will not be adjusted. The exposure ratio adjusted by this value will be limited by the maximum/minimum value of the exposure ratio.

Value range: [0x0, 0xFFFF]

SECompensation

Adjust the target brightness value of the short frame picture

Value range: [0x0, 0xFF]

SEHisThr

Calculate the exposure ratio threshold when the short frame exceeds the long frame (1x = 64)

SE His255CntTargetDownThr

If the number of short frame histogram bin 255 is greater than this threshold, the target brightness of the short frame will be lowered

SEHis255CntTargetUpThr

If the number of short frame histogram bin 255 is less than this threshold, the target brightness of the downgraded short frame will be restored to the original target brightness

L EHisCntTargetDownRatio

If the number of long frame histogram bin 255 is greater than this threshold, the target brightness of the long frame will be lowered

LEHisCntTargetUpRatio

If the number of long frame histogram bin 255 is less than this threshold, the target brightness of the downgraded long frame will be restored to the original target brightness

LEAdjustTargetMin

Long frame Target min of each LV

40,40, 40, 40, 40, 40, 45, 50, 60, 60, 60, 60, 60, 60, 60, 60

LEAdjustTargetMax

Long frame Target max of each LV

50,50, 50, 50, 50, 50, 60, 70, 85, 100, 110, 110, 120, 120, 120, 120

SEAdjustTargetMin

Short frame target min for each LV

20,20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20

SEAdjustTargetMax

Short frame target max for each LV 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60

DiffPixelNum

The pixel number threshold of long frame histogram bin 255, if this value is exceeded, the target brightness of long exposure will be reduced

LELowBinThr

Only windows whose long-frame brightness is greater than this threshold can be added to AE long-frame photometry

LEHighBinThr

Only windows whose long-frame brightness is less than this threshold can be added to AE long-frame metering

SELowBinThr

Only windows whose short frame brightness is greater than this threshold can be added to AE short frame metering

SEHighBinTh

Only windows whose short-frame brightness is less than this threshold can be added to AE short-frame metering

ExposureAttr

ByPass

AE module bypass function enable, the default is CVI_FALSE

In FSWDR mode, it indicates the exposure time of the current shortest frame (VS).

OpType

Automatic exposure or manual exposure switch, the default is OP_TYPE_AUTO.

AERunInterval

The interval at which the AE algorithm runs, and the value range is [1, 255].

When the value is 1, it means that the AE algorithm is run every frame;

When the value is 2, it means to run the AE algorithm every 2 frames, and so on.

It is recommended not to set this value greater than 2, otherwise the AE adjustment speed will be affected. In WDR mode, it is recommended to set this value to 1, so that AE convergence will be smoother. This value defaults to 1.

Linear mode does not care about this value.

ExpTimeOpType

Manual exposure time enable, the default value is OP_TYPE_AUTO

AGainOpType

Manual sensor analog gain enable, the default value is OP_TYPE_AUTO

DGainOpType

Manual sensor digital gain enable, the default value is OP_TYPE_AUTO

ISPDGainOpType

Manual ISP digital gain, 10bit decimal precision, the default value is 0x400.

ExpTime

Manual exposure time, in microseconds (us), the default value is 0x4000

AGain

Manual sensor analog gain, 10bit decimal precision, the default value is 0x400.

DGain

Manual sensor digital gain, 10bit decimal precision, the default value is 0x400.

ISPDGain

Manual ISP digital gain, 10bit decimal precision, the default value is 0x400.

ISONumOpType

ISO num manual/automatic mode switching

UseISONum

In manual mode, use the ISO num type to control the gain

ISONum

In manual mode, the set ISO num

ExpTimeRangeMax

Exposure time range, set the maximum value in microseconds (us).

ExpTimeRangeMin

Exposure time range, set the minimum value in microseconds (us).

AGainRangeMax

Sensor analog gain range, set the maximum value, 10bit decimal precision.

AGainRangeMin

Sensor analog gain range, set the minimum value, 10bit decimal precision.

DGainRangeMax

Sensor digital gain range, set the maximum value, 10bit decimal precision.

DGainRangeMin

Sensor digital gain range, set the minimum value, 10bit decimal precision.

ISPDGainRangeMax

ISP digital gain range, set the maximum value, 10bit decimal precision.

ISPDGainRangeMin

ISP digital gain range, set minimum value, 10bit decimal precision.

SysGainRangeMin

System gain range, setting minimum value, 10bit decimal precision

SysGainRangeMax

System gain range, maximum setting, 10bit decimal precision

Speed

The speed at which auto exposure is adjusted.

BlackSpeedBias

Screen from dark to bright AE adjusts the deviation of the speed, the larger the value, the faster the screen from dark to bright.

Tolerance

Tolerance deviation of screen brightness during automatic exposure adjustment.

Compensation

Target brightness during automatic exposure adjustment.

EVBias

Exposure deviation value during automatic exposure adjustment, 10bit decimal precision

AEStrategyMode

Automatic exposure strategy, highlight priority or low light priority.

AntiflickerEnable

Anti-flash property settings. Anti-flash is disabled by default.

AntiflickerFrequency

Anti-flicker frequency value

DebugMode

AE’s debug mode parameter

IRCutOnLv

Environment Lv value without IR Cut, precision is 100

IRCutOffLv

Use the ambient Lv value of IR Cut with an accuracy of 100

HistRatioSlope

The blending weight of the brightness of the current frame and the brightness of the highlight area

MaxHistOffset

After mixing the brightness of the current frame with the brightness of the highlight area, the increased brightness range

ISONumRangeMin

The minimum value of the ISO num range

ISONumRangeMax

Maximum value of the ISO num range

AdjustTargetMax

target max for each LV

50,50, 50, 50, 50, 50, 55, 60, 60, 60, 60, 60, 60, 65, 70, 70

AdjustTargetMin

target min for each LV

40,40, 40, 40, 40, 40, 45, 50, 50, 50, 50, 50, 50, 55, 60, 60

ExposureInfo

ExposureTime

The current exposure time, in microseconds (us).

In FSWDR mode, it indicates the exposure time of the current shortest frame (VS).

ShortExpTime

In FSWDR mode, it indicates the exposure time of the current short frame (S), in microseconds (us).

Linear mode does not care about this value.

LongExpTime

In FSWDR mode, it indicates the current long frame (L) exposure time in microseconds (us).

Linear mode does not care about this value.

AGain

Current sensor analog gain, 10bit decimal precision.

DGain

Current sensor digital gain, 10bit decimal precision.

ISPDGain

Current ISP digital gain, 10bit decimal precision

AveLum

Average brightness information.

ISO

Current sensor analog gain*sensor digital gain*ISP digital gain*100, where the accuracy of the gain is 10bit.

WDRShortAveLuma

WDR Short frame average brightness information.

WDRExpRatio

WDR long, short frame exposure ratio

LEFrameAvgLuma

Average brightness of WDR long frame picture

SEFrameAvgLuma

Average brightness of WDR short frame picture

LightValue

Estimated ambient brightness value

AE Route

TotalNum

The number of exposure distribution route nodes, currently the maximum is 16

AERouteNodex. IntTime

The node exposure time of the node attribute of the exposure distribution route, in microseconds (us)

AERouteNodex. SysGain

The node gain of the node attribute of the exposure distribution route, including sensor analog gain, sensor digital gain and ISP digital gain, with 10bit precision.

AERouteNodex. IrisFNO

The number of exposure distribution route nodes, currently the maximum is 16

The node exposure time of the node attribute of the exposure distribution route, in microseconds (us)

AERouteNodex. IrisFNOLin

The node gain of the node attribute of the exposure distribution route, including sensor analog gain, sensor digital gain and ISP digital gain, with 10bit precision.

WBAttr

ByPass

White balance module Bypass enable, default value CVI_FALSE

AWBRunInterval

White balance module working frequency

OpType

Automatic white balance and manual white balance switching

AlgType

ALG_AWB

ALG_AWB_SPEC

DebugMode

Debug mode

Rgain

Manual White Balance Red Channel Gain

Grgain

Manual white balance Gr channel gain

Gbgain

Manual white balance Gb channel gain

Bgain

Manual white balance Gb channel gain

Enable

Auto white balance enabled

RefColorTemp

The ambient color temperature calibrated by the static white balance coefficient, in Kelvin. It is recommended to obtain 24 color card Raw data for calibration in Macbeth D50 standard light source environment or outdoor sunny environment

RGStrength

Auto white balance R channel calibration strength

BGStrength

Auto white balance B channel calibration strength

Speed

Automatic white balance algorithm convergence speed

ZoneSel

When the parameter is | 0 or 255, the white balance algorithm similar to the gray world is used, and other values are used for classification and screening to improve accuracy

HighColorTemp

Color temperature upper limit of automatic white balance algorithm

LowColorTemp

Color temperature upper limit of automatic white balance algorithm

ShiftLimitEn

AWB beyond the white point range of the gain map back to the switch of the white point range

GainNormEn

Limiting the RGB channel gain can improve the signal-to-noise ratio of low color temperature and low illumination scenes

NaturalCastEn

AWB style preference switch at low color temperature

AWBZoneWtEn

Screen partition weight switch, the default is off

stCTLimit.bEnable

Defines the Gain Range Limit property for self-balancing

stCTLimit.enOpType

0:AutoMode

stCTLimit.HighRgLimit

Maximum R gain at high color temperature in manual mode

stCTLimit.HighBgLimit

Minimum B gain at high color temperature in manual mode

stCTLimit.LowRgLimit

Minimum R gain at low color temperature in manual mode

stCTLimit.LowBgLimit

Maximum B gain at low color temperature in manual mode

stLumaHist.bEnable

AWB brightness and weight parameter switch

stLumaHist.enOpType

Auto Mode

stCbCrTrack.bEnable

Linkage parameters of | AWB statistical range and ISO

Tolerance

The deviation range of automatic white balance adjustment, when the detection error is within the threshold range, AWB will not act

ZoneRadius

The range of distances used to classify pixels in auto white balance statistics. The smaller the value, the higher the AWB accuracy, but it will reduce the stability of the AWB algorithm

CurveLLimit

The left limit of the automatic white balance color temperature curve

CurveRLimit

The right limit of the automatic white balance color temperature curve

ExtraLightEn

Whether to consider independent light source points outside the color temperature curve when calculating automatic white balance, up to four independent points

WhiteBgain

B channel gain of special light source point

ExpQuant

Judging by the external brightness.

ExpQuant is the limit value of the brightness that is turned on. For example

ExpQuant = 6, which means that the WB light source point is turned on below LV6 (the general night scene is below LV6)

ExpQuant =106 means LV6 and above open

ExpQuant =112 means it is enabled above LV12 (LV12 is generally outdoor)

LightStatus

Types of special light source points,

0: no action

1: Add light source point

2: Delete the calculation near the light source point

Radius

The area size of the special light source point,

OutdoorStatus

Indoor or outdoor mode (in manual mode)

OutThresh

The threshold for judging indoor and outdoor, when the brightness is less than, it is judged as indoor, outdoor LV mostly exceeds 15

LowStart

Lower the weight of high color temperature, the starting point of high color temperature area is recommended to be 6500K

LowStop

Lower the weight of the low color temperature, the end point of the low color temperature area is recommended to be 4500K

HighStart

Lower the weight of high color temperature, the starting point of high color temperature area is recommended to be 6500K

HighStop

Lower the weight of high color temperature, the end point of high color temperature area is recommended to be 8000K

GreenEnhanceEn

In the green plant scene, the switch for the green channel is added

OutShiftLimit

When it is judged as an outdoor scene, the white point range limit of the AWB algorithm

MultiLightSourceEn

AWB detects whether the current scene is a mixed light source to adjust saturation or CCM

MultiLSType

Adjust Saturation or CCM

MultiLSScaler

Adjust saturation or CCM strength when mixing light sources

FineTunEn

AWB special color detection switch, such as skin color

FineTunStrength

Intensity of special color detection such as skin color and blue

ShiftLimit

When it is judged as an outdoor scene, the white point range limit of the AWB algorithm

CurvePara

CurvePara[0-2] Planck curve coefficient, given by AWB calibration tool. Planck

Lines depict the color performance of a white patch under standard light sources of different color temperatures.

CurvePara[3-5] Color temperature curve coefficient, given by AWB calibration tool. color temperature curve

The corresponding relationship between the color performance of the painted white block and the color temperature.

StaticWB

Static white balance coefficient, given by AWB calibration tool.

AttrZoneWt

32x32 picture weight

stLumaHist.HistThresh

Threshold for brightness classification (valid in manual mode)

stLumaHist.HistWt

The weight of brightness classification (valid in manual mode)

stCbCrTrack.CrMax

The maximum value of R/G under different ISO

stCbCrTrack.CrMin

The minimum value of R/G under different ISO

stCbCrTrack.CbMax

The maximum value of B/G under different ISO

stCbCrTrack.CbMin

The minimum value of B/G under different ISO

MultiCTBin

Color temperature segmentation parameters

MultiCTWt

Color Temperature Segment Weight

WBInfo

Rgain

Current R channel gain value

Ggain

Current G channel gain value

Bgain

Current B channel gain value

Saturation

current saturation value

ColorTemp

Current color temperature value

InOutStatus

Indoor and outdoor test results

Bv

Current environment bv value

CCM

Current color correction matrix value, 8bit decimal precision. Bit 15 is a sign bit, 0 means a positive number, 1 means a negative number, for example, 0x8010 means -16.

BNR

Enable

BNR module enable

isManualMode

manual mode or automatic mode

WindowType

Denoising filtering locality degree. The smaller the value, the more localized the effect.

DetailSmoothMode

The denoising detail smoothing function is enabled.

NoiseSuppressStr

Noise suppression strength. The larger the value, the stronger the bright noise removal.

FilterType

Denoising filter strength. The larger the value, the stronger the bright noise removal.

NrLscRatio

Adjust the denoising strength with reference to the LSC gain. The larger the value, the more proportional the reference LSC gain is.

VarThr

Threshold for detecting edges. The larger the value, the fewer the number of edges judged.

CoringWgtLF

Adjusts the intensity of random noise in the low frequency region. The larger the value, the more noise is preserved in the low frequency region.

CoringWgtHF

Adjusts the intensity of random noise in the high frequency region. The larger the value, the more noise is preserved in the high-frequency region.

NonDirFiltStr

Adjusts the strength of noise reduction in the low frequency region. The larger the value, the more noise is removed in the low frequency area.

VhDirFiltStr

Adjusts the strength of denoising in the horizontal and vertical areas. Larger values remove more noise on horizontal and vertical edges.

AaDirFiltStr

Adjusts the strength of denoising on diagonal edges. The larger the value, the more noise is removed on the diagonal edges.

Crosstalk

Enable

GE module enable

isManualMode

manual mode or automatic mode

Strength

G channel balance global intensity

FlatThre

Flat area detection node 1-4 threshold

GrGbDiffThreSec

G channel balance node 1-4 threshold

Demosaic

Enable

Demosaic module enable

LumaTunedCoringEn

(OpType, CoringEn) (x,0): by noise profile (1,1): by ISO table (0,1): by manual

isManualMode

manual mode or automatic mode

CoarseEdgeThr

Coarse edge detection threshold. The smaller the value, the greater the number detected as edges. It is recommended to debug with the parameter CoarseStr.

CoarseStr

Edge roughness intensity value. The smaller the value, the more directional the processing. Conversely, the more non-directional processing.

FineEdgeThr

Edge fine-tuning detection threshold. The smaller the value, the greater the number detected as edges. It is recommended to debug with the parameter FineStr.

FineStr

Edge refinement strength value. The smaller the value, the more directional the processing. Conversely, the more non-directional processing.

DetailSmoothEnable

Detail smoothing enabled

DetailSmoothStr

Detail smoothing intensity. The larger the value, the stronger the smoothing strength and the stronger the suppression of false details.

DetailWgtThr

Detail preservation range threshold. The smaller the value, the greater the range of detail preservation.

DetailWgtSlope

Details retain intensity. The larger the value, the more detail is preserved.

DetailWgtMin

Edge detail smoothing preserves the minimum gain allowed.

DetailWgtMax

Maximum gain allowed for edge detail smoothing preservation.

LumaWgtThr

Luminance detail smoothing range threshold. The smaller the value, the greater the range of detail smoothing.

LumaWgtSlope

Brightness Details Smooth Edges Preserve Strength. The larger the value, the stronger the detail smoothing.

LumaWgtMin

Minimum gain allowed for luminance detail smoothing strength.

LumaWgtMax

Maximum gain allowed for luminance detail smoothing strength.

EdgeEnhanceEnable

Edge hardening enabled

OverShtGain

Adjust the degree of overshoot. The larger the value, the greater the edge enhancement. When OverShtGain is doubled, its value is 256.

UnderShtGain

Adjust the degree of undershoot. The larger the value, the greater the edge enhancement. When UnderShtGain is doubled, its value is 256.

NoiseSuppressStr

Noise suppression strength. The larger the value, the more noise can be suppressed from being strengthened.

GainTable

Non-directional midrange texture boosts intensity. The higher the value, the sharper the non-directional mid-frequency texture. This parameter is an array | of 33, represented as a continuous 33-segment intensity curve. When the value is 128, the gain is doubled.

LumaTunedCoring

Noise suppression strength. The larger the value, the more noise can be suppressed from being strengthened.

AE config

W i n W e i g h t

AE metering weight

44.3.2. LEVEL2 Debugging Information Analysis

On the basis of level1, we add some additional information about meshLscGainLut, exposureInfo, and GammaTable

[parameter Description]

Parameter

Description

Module/GammaEx

GammaTable

Node value of Gamma curve

ShadingEx

MeshLscGainLut

LSC grid form red channel compensation gain table, including R, G, B three channels

ExposureInfoEx

Exposure

Current exposure. It is equal to the product of exposure time and exposure gain, where the unit of exposure time is the number of exposure lines, and the exposure gain is 6bit decimal precision.

ExposureIsMax

0: ISP does not reach the maximum exposure level;

1: ISP reaches the maximum exposure level.

HistError

Statistical information, the difference between the target brightness value and the actual value of AE. A positive value indicates that the current expected brightness information is greater than the actual brightness information, and a negative value indicates that the expected brightness information is less than the actual brightness information.

PirisFno

The equivalent gain corresponding to the current F value of P-Iris aperture.

Fps

Actual image frame rate * 100。

RefExpRatio

The reference exposure ratio which is used to estimate the dynamic range of the current scene.

It will be affected by the equivalence of Tolerance and Speed in ISP_WDR_EXPOSURE_ATTR_S.

AE_RouteTotalNum

Number of exposure assignment route nodes. The current maximum is 16

AERouteNodeX.IntTime

Node exposure time of exposure assignment route node attribute, unit: microseconds (us)

AERouteNodeX.SysGain

The node gain of exposure distribution route node attribute includes sensor analog gain, sensor digital gain and ISP digital gain, and the precision is 10bit.

AERouteNodeX.IrisFNO

The node aperture F value of exposure assignment route node attribute only supports P-Iris, not DC-Iris

A ERouteNodeX.IrisFNOLin

The node aperture F value equivalent gain of exposure assignment route node attribute only supports P-Iris, not DC-Iris

AE_Hist256Value

Global 256 segment histogram statistics

44.3.3. LEVEL3 debugging information analysis

Based on Level 2, the statistical value of 3a is added.

[Parameters Description]

Parameter

Description

AE statistics

LEGlobalAvgR

Statistical average of R component in global statistics of long exposure frames

LEGlobalAvgGr

Statistical mean of GR components in global statistics of long exposure frames

LEGlobalAvgGb

Statistical average of GB components in global statistics of long exposure frames

LEGlobalAvgB

Statistical mean value of B component in global statistics of long exposure frame

SEGlobalAvgR

Statistical average of R component in global statistics of short exposure frames

SEGlobalAvgGr

Statistical mean of GR components in global statistics of short exposure frames

SEGlobalAvgGb

Statistical average of GB components in global statistics of short exposure frames

SEGlobalAvgB

Statistical mean value of B component in global statistics of short exposure frame

LEHistogramMem

Pixel histogram statistics of global statistics for long exposure frames

SEHistogramMem

Pixel histogram statistics of global statistics for short exposure frames

LEZoneRAvg

Statistical average of R-channel components in long exposure frame

LEZoneGrAvg

Statistical average of Gr channel components in long exposure frame

LEZoneGbAvg

Statistical average of Gb channel components in long exposure frame

LEZoneBAvg

Statistical average of B-channel components in long exposure frame

SEZoneRAvg

Statistical average of R-channel components in short exposure frame

SEZoneGrAvg

Statistical average of Gr channel components in short exposure frame

SEZoneGbAvg

Statistical average of Gb channel components in short exposure frame

SEZoneBAvg

Statistical average of B-channel components in short exposure frame

AWB statistics

LEGlobalR

R-component statistical mean of global statistics for long exposure frames

LEGlobalG

G-component statistical mean of global statistics for long exposure frames

LEGlobalB

B-component statistical mean of global statistics for long exposure frames

LECountAll

Pixel statistical average of global statistics for long exposure frames

SEGlobalR

R-component statistical mean of global statistics for short exposure frames

SEGlobalG

G-component statistical mean of global statistics for short exposure frames

SEGlobalB

B-component statistical mean of global statistics for short exposure frames

SECountAll

Pixel statistical average of global statistics for short exposure frames

LEZoneAvgR

The statistical average of R component in long exposure frame

LEZoneAvgG

The statistical average of G component in long exposure frame

LEZoneAvgB

The statistical average of B component in long exposure frame

LEZoneCountAll

Pixel statistics of long exposure frame

SEZoneAvgR

The statistical average of R component in short exposure frame

SEZoneAvgG

The statistical average of G component in short exposure frame

SEZoneAvgB

The statistical average of B component in short exposure frame

SEZoneCountAll

Pixel statistics of short exposure frame