02-09-2014 10:29 PM
good day 🙂 ahm i just want to ask if the the image compression with DCT .vi is applicable too for color image.. cause when i input a colored image to it, it does not work well.. thankyou for your further reply 🙂
02-11-2014 09:21 AM
The DCT VI expects a 2D array, and for a color image you may be actually using a 3D array (three channels - red, green, and blue). You may want to extract these channels individually and perform compression on the individual 2D layers.
The following example demonstrates the use of the DCT on 2D array images:
http://www.ni.com/example/30769/en/
Hope that clears things up!