Imagine processing, elimination of oscillations
1 回表示 (過去 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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/158744/image.jpeg)
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!