image processing
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Image Analyst
2011-11-26
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).
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!