MATLAB Answers

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

조회 수: 16(최근 30일)
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?

  댓글 수: 0

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 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.

  댓글 수: 0

댓글을 달려면 로그인하십시오.

추가 답변(0개)

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by