Smoothing with gaussian kernel
5 ビュー (過去 30 日間)
古いコメントを表示
Hi. I need some help. I have a histogram realized with next function:
[n xout]= hist (imag(:), -2:0.001:2)
(this is a log-ratio image) I have to smooth this with a gaussian kernel (or something else) until it has 2 or less peaks. how can I do that? Thanks a lot!
0 件のコメント
回答 (1 件)
Image Analyst
2016 年 5 月 30 日
Try imgaussfilt()
n = imgaussfilt(n, sigma); % Smooth counts array.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!