Imagine processing, elimination of oscillations
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
I need to follow only the max peacks of the figure shown. I want a figure without oscillations. How can I do?
Regards, Nello
댓글 수: 1
Image Analyst
2014년 3월 17일
What about the dip around 200? Do you want that to go straight across at 0.08, or still dip down?
채택된 답변
Image Analyst
2014년 3월 17일
You can use imdilate() which gives the max value inside a sliding window. Or just scan the data replacing with the max if it ever falls below the prior value.
out = inputSignal % Make copy.
for k = 2 : length(out)
if out(k) < out(k-1)
out(k) = out(k-1);
end
end
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!