필터 지우기
필터 지우기

how to Matlab function to calculate probability density function of n image?

조회 수: 6 (최근 30일)
I want to calculate the probability density function of an image. can you tell me what is the matlab function

채택된 답변

Image Analyst
Image Analyst 2014년 6월 27일
Assuming you mean the pdf of gray levels, use imhist().
  댓글 수: 4
Image Analyst
Image Analyst 2018년 9월 18일
pdf is not an image so you don't use imshow(). It's a vector so use plot() or bar():
plot(binLocations, pdf, 'b-', 'LineWidth', 2);
grid on;

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by