Filter löschen
Filter löschen

Create a 2D Gaussian Distribution along a line?

7 Ansichten (letzte 30 Tage)
Ronald
Ronald am 12 Jun. 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!

Akzeptierte Antwort

Image Analyst
Image Analyst am 12 Jun. 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().

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by