How to take blocks in bit plane encoding ?

I am having 4096 blocks ,in which one block is having 64 coefficients ?I need to pass it to a bit plane encoder .My input image is of 8-bit.I dont know how to process this in matlab.Please help me in this regard.

4 Comments

Are you trying to figure out how to break up your image into 4096 blocks? Is each block to be a fixed size?
I have made the image into blocks.ya each block is 64*64.Next procedure is i need to give it to a bit plane encoder.Input image is 8 bit.
Okay, so what is the step you feel you are missing?
I need to decompose the image into bit planes and to do further processing.Its a 8 bit image need to decompose into 8 bit planes,but doesent know how to arrange this blocks in the bit plane structure.

Sign in to comment.

Answers (1)

If you are looking to convert a numeric image into binary, then there are arithmetic methods, or you can use dec2bin()

4 Comments

You can use dec2bin() to decompose into bit planes. Or you can use bitget(TheArray, K) where K is 1 to 8.
my actual doubt is can i fix this blocks in the bit plane structure.is it possible to arrange 4096 blocks in a 8 bit plane structure.One block is of 64 coeficients.i/p size of the image is of 512*512
blockbits{BlockNumber} = {BitPlane1, BitPlane2, BitPlane3, BitPlane4, BitPlane5, BitPlane6, BitPlane7, BitPlane8};
How to implement this in matlab?

Sign in to comment.

Asked:

on 16 Aug 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!