How to take blocks in bit plane encoding ?
Show older comments
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
Walter Roberson
on 16 Aug 2013
Are you trying to figure out how to break up your image into 4096 blocks? Is each block to be a fixed size?
Pooja
on 16 Aug 2013
Walter Roberson
on 16 Aug 2013
Okay, so what is the step you feel you are missing?
Pooja
on 16 Aug 2013
Answers (1)
Walter Roberson
on 16 Aug 2013
0 votes
If you are looking to convert a numeric image into binary, then there are arithmetic methods, or you can use dec2bin()
4 Comments
Walter Roberson
on 16 Aug 2013
You can use dec2bin() to decompose into bit planes. Or you can use bitget(TheArray, K) where K is 1 to 8.
Pooja
on 16 Aug 2013
Walter Roberson
on 16 Aug 2013
blockbits{BlockNumber} = {BitPlane1, BitPlane2, BitPlane3, BitPlane4, BitPlane5, BitPlane6, BitPlane7, BitPlane8};
Pooja
on 16 Aug 2013
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!