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

SetDtcPixelMin

Syntax

AIStatus SetDtcPixelMin(float dtcPixelMinChn0 = 0,

float dtcPixelMinChn1 = 0,

float dtcPixelMinChn2 = 0,

float dtcPixelMinChn3 = 0,

uint32_t batch_index = 0);

Function Description

Sets the parameters for the minimum values of DTC channels.

Parameter Description

Parameter

Input/Output

Type

Description

dtcPixelMinChn0

Input

float

Minimum value of DTC channel 0

dtcPixelMinChn1

Input

float

Minimum value of DTC channel 1

dtcPixelMinChn2

Input

float

Minimum value of DTC channel 2

dtcPixelMinChn3

Input

float

Minimum value of DTC channel 3

batchIndex

Input

uint32_t

Sequence number of the batch for which the minimum 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