OpenLvVision_OpenCv.lvlib:PCA.lvclass:PCA ComputeMaxComponents.vi

Performs PCA of the supplied dataset. It is safe to reuse the same PCA structure for multiple datasets. That is, if the structure has been previously used with another dataset, the existing internal data is reclaimed and the new eigenvalues, eigenvectors and mean are allocated and computed.

For detailed information, please refer to the OpenCV documentation

OpenLvVision_OpenCv.lvlib:PCA.lvclass:PCA ComputeMaxComponents.vi

cerrcodeclst

error in (no error)

The error in cluster 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.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

    cbool

    status

    The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning.

    The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

    ci32

    code

    The code input identifies the error or warning.

    The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

    cstr

    source

    The source string describes the origin of the error or warning.

    The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

c2ddbl

Data

input samples stored as matrix rows or matrix columns.

    cdbl

    Numeric

ci32

maxComponents

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

c2ddbl

Mean

optional mean value; if the matrix is empty (noArray()), the mean is computed from the data.

    cdbl

    Numeric

cenum

Flags

DATA_AS_ROW =indicates that the input samples are stored as matrix rows

DATA_AS_COL = indicates that the input samples are stored as matrix columns

USE_AVG

cOpenLvVision__OpenCv_lvlib_PCAlvclass

PCA in

ierrcodeclst

error out

The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

    ibool

    status

    The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning.

    The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

    ii32

    code

    The code input identifies the error or warning.

    The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

    istr

    source

    The source string describes the origin of the error or warning.

    The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

iOpenLvVision__OpenCv_lvlib_PCAlvclass

PCA out