How can I make a non uniform quantization of an image?

5 visualizaciones (últimos 30 días)
So, I just want to make one or two non uniform quantization of image as an example.
I found some commands, but Im not sure which are for uniform and which are non uniform quantization..
Can someone help me with examples or with finding right commands?

Respuesta aceptada

Walter Roberson
Walter Roberson el 27 de Mayo de 2020
If you have the Communications toolbox you can use quantiz() https://www.mathworks.com/help/comm/ref/quantiz.html
You can also use histcounts and look at the third output; https://www.mathworks.com/help/matlab/ref/histcounts.html
You can also use the older histc and look at the second output; https://www.mathworks.com/help/matlab/ref/histc.html
When you are using any of these functions, pay attention to values that are exactly on each boundary, and pay attention to what happens to values that are exactly the upper boundary, and pay attention to what happens to values that are below the first or above the upper boundary: these three functions all handle those situations slightly differently.

Más respuestas (0)

Categorías

Más información sobre Discrete Multiresolution Analysis en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by