LabVIEW Multicore Analysis and Sparse Matrix Toolkit API Reference

DCT VI

  • Updated2023-02-21
  • 5 minute(s) read

DCT VI

Owning Palette: Transforms VIs

Requires: Multicore Analysis and Sparse Matrix Toolkit

Computes the Discrete Cosine Transform (DCT) of the input sequence X.

Wire data to the X input to determine the polymorphic instance to use or manually select the instance.

Details  

1D DCT (DBL)

X specifies the input sequence.
DCT size specifies the length of DCT you want to perform. If DCT size is greater than the number of elements in X, this VI adds zeros to the end of X to match the size of DCT size. If DCT size is less than the number of elements in X, this VI uses only the first n elements in X to perform the DCT, where n is DCT size. If DCT size is less than or equal to 0, this VI uses the length of X as the DCT size.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
DCT {X} returns the DCT of X.
error out contains error information. This output provides standard error out functionality.

1D DCT (SGL)

X specifies the input sequence.
DCT size specifies the length of DCT you want to perform. If DCT size is greater than the number of elements in X, this VI adds zeros to the end of X to match the size of DCT size. If DCT size is less than the number of elements in X, this VI uses only the first n elements in X to perform the DCT, where n is DCT size. If DCT size is less than or equal to 0, this VI uses the length of X as the DCT size.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
DCT {X} returns the DCT of X.
error out contains error information. This output provides standard error out functionality.

2D DCT (DBL)

X specifies the input sequence.
DCT rows specifies the number of rows of the 2D DCT. This VI truncates or zero pads X to an m-by-n array before performing the DCT, where m is DCT rows and n is DCT columns.
DCT columns specifies the number of columns of the 2D DCT. This VI truncates or zero pads X to an m-by-n array before performing the DCT, where m is DCT rows and n is DCT columns.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
DCT {X} returns the DCT of X.
error out contains error information. This output provides standard error out functionality.

2D DCT (SGL)

X specifies the input sequence.
DCT rows specifies the number of rows of the 2D DCT. This VI truncates or zero pads X to an m-by-n array before performing the DCT, where m is DCT rows and n is DCT columns.
DCT columns specifies the number of columns of the 2D DCT. This VI truncates or zero pads X to an m-by-n array before performing the DCT, where m is DCT rows and n is DCT columns.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
DCT {X} returns the DCT of X.
error out contains error information. This output provides standard error out functionality.

DCT Details

The following table lists the support characteristics of this VI.

Supported on RT targets Yes
Suitable for bounded execution times on RT Yes

Refer to the Details section in the DCT VI for more details about this VI.