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,616 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,560 Views)