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

조회 수: 8 (최근 30일)
Bridgit Schneider
Bridgit Schneider 2020년 5월 27일
답변: Walter Roberson 2020년 5월 27일
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?

채택된 답변

Walter Roberson
Walter Roberson 2020년 5월 27일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Discrete Multiresolution Analysis에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by