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

5 Ansichten (letzte 30 Tage)
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?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 27 Mai 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.

Weitere Antworten (0)

Kategorien

Mehr zu Discrete Multiresolution Analysis finden Sie in Help Center und File Exchange

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by