Difference between resizing an image and quantization of an image?
3 次查看(过去 30 天)
显示 更早的评论
Hi there, I would like to check the difference between resizing an image and quantization of an image? From my understanding,the quantization reduces the number of distinct colors in an image while visually preserving the original image. But resizing by nearest-neighbor interpolation method allows me to achieve the same result while reducing the quality of the image(reduced pixel). If my ultimate goal is to reduce the memory consumption and processing time then which method should i consider for a color based image retrieval system ?
0 个评论
回答(1 个)
Elad
2013-7-6
1. If you resize your image you reduce the number of pixels. so, if each pixels has 256 x 256 x 256 options, and you resize to 500 pixels you have : 256 x 256 x 256 x 500
2. If you use quantization the number of pixels remain, but you reduce the number of "colors", so if you started with let say 1000 pixels and reduced to 16 colors, you have 16 x 16 x 16 x 1000
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!