Getting DCT Coefficients from JPEG File using Java ?

J

Jackson

I'm currently doing some development in Java and I need to be able to
extract the DCT Coefficients from a JPG file.

I've done some research and found that Java does include a JPEG Decoder
(com.sun.image.codec.jpeg.*), but I'm not sure how I could leverage
this to grab the DCT Coefficients.

It is my understanding that I would have to first, for each 8x8 block,
decode the huffman values, decode the RLE values, decode the DPCM
values, and undo zig-zag coding. I'm just not sure how I could get
this concept into my Java program.

Thanks!
-Jackson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,439
Members
44,829
Latest member
PIXThurman

Latest Threads

Top