LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

image compression using dct for colored image

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 🙂

0 Kudos
Message 1 of 2
(2,587 Views)

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!

 

 

Rick C.
0 Kudos
Message 2 of 2
(2,531 Views)