필터 지우기
필터 지우기

how to find the local maxima and minima of histogram for color image

조회 수: 3 (최근 30일)
please help me i need it immedaitely
  댓글 수: 2
John D'Errico
John D'Errico 2016년 1월 18일
Don't post the same question multiple times every time you want to add some information. Posting multiple times will not get you a faster or better answer.

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

채택된 답변

Image Analyst
Image Analyst 2016년 1월 18일
Like we said in your duplicate question from last month, use findpeaks() in the Signal Processing Toolbox
[peakValues, peakIndexes] = findpeaks(counts);
[~, valleyIndexes] = findpeaks(-counts);
valleyValues = counts(valleyIndexes);
just do that for each histogram from each color channel.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by