3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【数学】ConvolutionとCross Correlationの違い

Posted at

ConvolutionとCross Correlationの違い

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/482094/90dcac20-156c-1a66-e957-570e6456394f.png) 式から見ると符号が違いますね なるほどFilterがReverseしているのか

image.png
水色がCross Correlation
紫色がConvolution

じゃあなんでConvolutionは逆になってるんだろう?

image.png
fが入力データでgがfilter。
面積を計算しているのか。
図を見るとなんとなく分かると思うが、Cross-correlationの方がfとgの相関性(似ているか)を見ているのに対して、Convolutionの方だとgがfilterの働きをしているように見える。

まあ実際DeepLearningで学習させたら勝手にtuningしてくれるのだけど笑

結論

・Cross Correlationを逆さまにしたものがConvolutionでした。

参考文献

Convolution vs Cross Correlation https://www.youtube.com/watch?v=C3EEy8adxvc A Comprehensive Introduction to Different Types of Convolutions in Deep Learning https://towardsdatascience.com/a-comprehensive-introduction-to-different-types-of-convolutions-in-deep-learning-669281e58215
3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?