image processing

1 view (last 30 days)
ganesh s
ganesh s on 26 Nov 2011
hi i want to know if the input image consist of 0-255 gray level then how to quantize this input image in to 64 level. thanking you

Accepted Answer

Image Analyst
Image Analyst on 26 Nov 2011
You could use intlut() if you want to control the input and output ranges (e.g. 0-3 go to 0, 4-7 go to 1, 8 - 11 go to 2, etc. up to 255, like a posterized appearance), or you can simply divide by 4 if you want your output values to go from 0-63 (a quarter of what they were before).
  1 Comment
ganesh s
ganesh s on 26 Nov 2011
thank you very much sir

Sign in to comment.

More Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!