ProcUnit::GetPrevUnitNo

Gets the previous processing unit number

int GetPrevUnitNo(
    int kind
)

Parameters
kind
1: Gets the number of processing unit that generate the previous measure image related to the image input and image transformation
2: Gets the number of processing unit which is the previous image input by the camera related to the image input

Return Value
Returns 0 when the previous processing unit number is successfully obtained.
Returns -1 when the previous processing unit number is none.
Otherwise returns a non-zero value.

Description
Gets the previous processing unit number.

Example
    ProcUnit *GetPreUnit(ProcUnit *ptrProcUnit)
    {

        // Gets the previous processing unit number

        int preUnitNo = ptrProcUnit->GetPrevUnitNo(1);

    }