OpenLvVision_OpenCv.lvlib:PCACompute.vi

Performs PCA of the supplied dataset.

wrap PCA::operator()

For detailed information, please refer to the OpenCV documentation

OpenLvVision_OpenCv.lvlib:PCACompute.vi

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.

c2ddbl

Data

The training data matrix where each row represents a sample (e.g., an image or measurement set) and each column represents a feature/dimension.

    cdbl

    Numeric

ci32

maxComponents

maximum number of components that PCA should retain; by default, all the components are retained.

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.

i2ddbl

Mean

the mean is computed from the data.

    idbl

    Numeric

i2ddbl

EigenVectors

The principal components (basis vectors) calculated from the data. The rows are sorted by importance (highest variance first).

    idbl

    Numeric

i1ddbl

EigenValues

A list of values representing the variance

    idbl

    Numeric