hi, i have reduced an gray image to 32 gray levels. now I want bit pattern of each level of 32 levels. I dont know how it will be. should I take a histogram of 32 gray level image ? but after taking histogram how can I take bit pattern of each level?
2 views (last 30 days)
Show older comments
I have used this statement for taking 32 gray levels of image. y32 = uint8(floor(double(im)/8));
2 Comments
KALYAN ACHARJYA
on 30 Aug 2018
Edited: KALYAN ACHARJYA
on 30 Aug 2018
What exactly you want, each pixel required minimum 5 bits to represents each pixel, you are asking bit planes?
Answers (0)
See Also
Categories
Find more on Modify Image Colors 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!