Create a 2D Gaussian Distribution along a line?

10 ビュー (過去 30 日間)
Ronald
Ronald 2013 年 6 月 12 日
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