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

8 views (last 30 days)
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?

Accepted Answer

Walter Roberson
Walter Roberson on 27 May 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.

More Answers (0)

Categories

Find more on Discrete Multiresolution Analysis in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!