TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Intuitive guide to convolution

63 点作者 abhi9u超过 1 年前

7 条评论

Severian超过 1 年前
IMO 3blue1brown presents this in a very easy to understand way: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=KuXjwB4LzSA" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=KuXjwB4LzSA</a>
评论 #38524373 未加载
lxe超过 1 年前
Reminds me of Setosa&#x27;s interactive explanation of image kernels:<p><a href="https:&#x2F;&#x2F;setosa.io&#x2F;ev&#x2F;image-kernels&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;setosa.io&#x2F;ev&#x2F;image-kernels&#x2F;</a>
评论 #38524249 未加载
ndriscoll超过 1 年前
The flip and slide thing that electrical engineers do has always struck me as unintuitive; it makes more sense to think of it as a blurring operation.<p>Consider a function f: R^2 -&gt; R (or Z^2 -&gt; Z if you like) that represents a grayscale image. So f(0,0) is the pixel at the origin, f(1,0) is the pixel at (1,0), etc. Think of g: R^2 -&gt; R as a blurring function, e.g. a gaussian.<p>What convolution does is it turns every pixel of f into a copy of the blur g, weighted by and centered on each pixel being blurred. So f(0,0) gets turned into a blurred image h(x,y) = f(0,0)g(x,y). f(1,0) gets turned into a blurred image h(x,y) = f(1,0)g(x-1,0). Note that the subtraction is just recentering g so the blur applies in the right position. In general, each pixel gets blurred into the function h(x,y) = f(a,b)g(x-a,y-b).<p>Now sum up all the blurred pixels, so you get the final image (f*g)(x,y) = integral_(a,b) f(a,b)g(x-a,y-b).<p>Same thing can be done in the time domain instead of a spatial domain, or you can write it in vector form, so (f*g)(x) = integral_(r) f(r)g(x-r).<p>Note that you can also write it in a more symmetric way as (f*g)(c) = integral_(a+b=c) f(a)g(b), which makes it clear that you can do this for any semigroup (you get the normal definition when you have a group by noting that b=c-a), makes commutativity obvious, and makes it clear why polynomial multiplication is convolution of coefficients: x^n comes from summing over all the x^i*x^j with i+j=n, so the coefficient for x^n is the sum over all coefficients indexed by i,j with i+j=n, which is the symmetric way to write convolution.
评论 #38523597 未加载
ur-whale超过 1 年前
Convolution, or the art of given hard names to easy things.<p>Convolution is something you learn when you&#x27;re 7.<p>It&#x27;s called weighted average.
评论 #38524268 未加载
onos超过 1 年前
It just smears out a signal.
esafak超过 1 年前
Convolution: The time domain operation that corresponds to multiplication in the frequency domain.
评论 #38523919 未加载
CyberDildonics超过 1 年前
Any explanation should start by saying a convolution is just a weighted average.
评论 #38524307 未加载
评论 #38524278 未加载