How is a convolution calculated on an image with three (RGB) channels?

后端 未结 4 460
独厮守ぢ
独厮守ぢ 2020-12-09 09:31

Say we have a single channel image (5x5)

A = [ 1 2 3 4 5
      6 7 8 9 2
      1 4 5 6 3
      4 5 6 7 4
      3 4 5 6 2 ]

And a filter K (

4条回答
  •  [愿得一人]
    2020-12-09 09:49

    For RGB-like inputs, the filter is actually 2*2*3, each filter corresponse to one color channel, resulting three filter response. These three add up to one flowing by bias and activation. finally, this is one pixel in the output map.

提交回复
热议问题