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
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