Hi,
As of Version 8.0, LabVIEW actually ships with VIs (DCT.vi & Inverse DCT.vi) that will compute the Direct Cosine Transform (DCT) and it's inverse. They can be found in the Functions pallet under
Signal Processing>>Transforms. They are not, however, included in the Base LabVIEW development package.
Assuming that you are using these functions for image processing and have the Vision Development Module for LabVIEW, you could use the
IMAQ ImagetoArray VI to convert an image to a 2D array that you could then input to the
DCT or
Inverse DCT VIs.
If the above information does not adequately answer your question, please let me know what exactly it is you are trying to do with the DCT/iDCT we can go from there.
Cheers!
_____________
Nate
Applications Engineer