Updated on 2022-03-13 GMT+08:00

SetDtcPixelMean

Syntax

AIStatus SetDtcPixelMean(int16_t dtcPixelMeanChn0 = 0,

int16_t dtcPixelMeanChn1 = 0,

int16_t dtcPixelMeanChn2 = 0,

int16_t dtcPixelMeanChn3 = 0,

uint32_t batch_index = 0);

Function Description

Sets the parameters for the mean values of DTC channels.

Parameter Description

Parameter

Input/Output

Type

Description

dtcPixelMeanChn0

Input

int16_t

Mean value of channel 0

dtcPixelMeanChn1

Input

int16_t

Mean value of channel 1

dtcPixelMeanChn2

Input

int16_t

Mean value of channel 2

dtcPixelMeanChn3

Input

int16_t

Mean value of channel 3

batchIndex

Input

uint32_t

Sequence number of the batch for which the mean value of a DTC channel is set. The default value is 0. The value range is [0, batchNum).

Return Value

Parameter

Type

Description

-

AIStatus

If the parameter is set successfully, 0 is returned. If the input is invalid, other values are returned.

The AIStatus type is defined as follows:

AIStatus = uint32_t

Exception Handling

None

Restriction

None