필터 지우기
필터 지우기

Do you know any histogram modification methods?

조회 수: 1 (최근 30일)
Jakub Mis
Jakub Mis 2022년 6월 25일
댓글: Jakub Mis 2022년 6월 25일
I'm looking for any histogram modification methods besides Equalization and Stretching the histogram. Code for them would be very helpful too.

답변 (1개)

Image Analyst
Image Analyst 2022년 6월 25일
편집: Image Analyst 2022년 6월 25일
In the Image Processing Toolbox there are
  1. histeq, which gives lousy images,
  2. adapthisteq which gives good images.
  3. imadjust which expands the dynamic range. Usually not needed but can be if you want to save a contrastier image with imwrite
  4. Morphological functions like imclose and friends
  5. Denoising functions like medfilt2
There are many, many others. Almost anything you do to an image will change the image, even something as simple as adding a number to it or multiplying it by an intensity scaling factor, or even denoising. Your question can't be answered comprehensively because there are just a bazillion answers.
  댓글 수: 5
Image Analyst
Image Analyst 2022년 6월 25일
You can get the probability with the 'Normalization' option in histogram. Then you can plug that P into your equations to get a new gray level for the graylevel at P(z). You can transform the whole image in one equation like they show.
Jakub Mis
Jakub Mis 2022년 6월 25일
I meanged to get the propablity using P=histogram(X,'Normalization','probability');
,at least I think I did, but can't extract any data from that what shoud I do next?

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

Community Treasure Hunt

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

Start Hunting!

Translated by