waqas2505
Newbie level 4
Hi,
I am Waqas and doing my Bachelors. I need some help regarding my project.
I am working on image processing and have some strict deadlines. Of the things that I have to do, the first is to write a code in MATLAB for Jpeg compression of an image file. I have till 23rd of November to do this (have to show it on 24th). I don't have much knowledge about coding in MATLAB but am willing to put in big shifts to learn it and complete my work before my deadline. The approach that I have decided is as under:
1. Conversion from RGB to YCbCr
2. 8*8 blocking
3. 2 dimensional dct
4. Quantization
5. Zig zag
6. Run Length Encoding.
7. Huffman encoding.
9. Making the header (which contains the huffman table and stuff)
8. Writing the file ( or saving it with the extension of 'jpeg' or 'jpg' )
The only thing that I have been able to do so far is the colour conversion ( because its very simple ), now I need guidelines regarding the following things,
1. Is my approach correct or do I need to add or delete a step?
2. I have about 6 to 7 days. So could you please suggest me, in a sequence, what and how I should be doing things next, like what should I be learning to create 8*8 blocks and stuff.
Any kind of help would be great, thanking in anticipation.
I am Waqas and doing my Bachelors. I need some help regarding my project.
I am working on image processing and have some strict deadlines. Of the things that I have to do, the first is to write a code in MATLAB for Jpeg compression of an image file. I have till 23rd of November to do this (have to show it on 24th). I don't have much knowledge about coding in MATLAB but am willing to put in big shifts to learn it and complete my work before my deadline. The approach that I have decided is as under:
1. Conversion from RGB to YCbCr
2. 8*8 blocking
3. 2 dimensional dct
4. Quantization
5. Zig zag
6. Run Length Encoding.
7. Huffman encoding.
9. Making the header (which contains the huffman table and stuff)
8. Writing the file ( or saving it with the extension of 'jpeg' or 'jpg' )
The only thing that I have been able to do so far is the colour conversion ( because its very simple ), now I need guidelines regarding the following things,
1. Is my approach correct or do I need to add or delete a step?
2. I have about 6 to 7 days. So could you please suggest me, in a sequence, what and how I should be doing things next, like what should I be learning to create 8*8 blocks and stuff.
Any kind of help would be great, thanking in anticipation.