Effacer les filtres
Effacer les filtres

Create a 2D Gaussian Distribution along a line?

7 vues (au cours des 30 derniers jours)
Ronald
Ronald le 12 Juin 2013
I am trying to create something like a 2D gaussian distribution, but along a line or a curve instead of from a single point. Is there a name for such a thing?
Ideally the result would look something like this:
Thanks for any help!

Réponse acceptée

Image Analyst
Image Analyst le 12 Juin 2013
You can use fspecial() to create a Gaussian kernel, then use conv2() to blur the line/curve/path in a Gaussian shape using your kernel. I'd call that process convolution. You can also use imfilter().

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by