Difference between resizing an image and quantization of an image?

2 次查看(过去 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 ?

回答(1 个)

Elad
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

Community Treasure Hunt

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

Start Hunting!

Translated by