Create a 2D Gaussian Distribution along a line?

7 次查看(过去 30 天)
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!

采纳的回答

Image Analyst
Image Analyst 2013-6-12
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().

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by