OpenLvVision_OpenCv.lvlib:BatchDistance.vim

Naive nearest neighbor finder

For detailed information, please refer to the OpenCV documentation

OpenLvVision_OpenCv.lvlib:BatchDistance.vim

cerrcodeclst

error in

error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    cbool

    status

    status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ci32

    code

    cstr

    source

    source describes the origin of the error or warning.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

cOpenLvVision__OpenCv_lvlib_Anythinglvclass

Src1

The matrix of query vectors (rows) for which you want to find matches.

cOpenLvVision__OpenCv_lvlib_Anythinglvclass

Src2

The matrix of target or training vectors (rows) that serves as the reference database. Same col count as Src1

cOpenLvVision__OpenCv_lvlib_Anythinglvclass

Mask

An optional matrix where a value of 0 prevents the distance calculation for that specific query-target pair.

ci32

NormType

ci32

K

The number of nearest neighbors to find; set to 0 to calculate the full distance matrix

ci32

Update

An internal flag for sliding-window updates; typically set to 0.

cbool

Crosscheck

If true, ensures mutual matching (matches are only valid if A is the closest to B and B is the closest to A).

ierrcodeclst

error out

error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ibool

    status

    status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

    ii32

    code

    istr

    source

    source describes the origin of the error or warning.

    Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

i2dsgl

Dist

The output matrix containing the calculated distances

    isgl

i2di32

Nidx

The output matrix containing the row indices of the found neighbors in src2

    ii32