Smoothing with gaussian kernel

7 Ansichten (letzte 30 Tage)
Omim
Omim am 30 Mai 2016
Beantwortet: Image Analyst am 30 Mai 2016
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!

Antworten (1)

Image Analyst
Image Analyst am 30 Mai 2016
Try imgaussfilt()
n = imgaussfilt(n, sigma); % Smooth counts array.

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by