noise in image segmentation result

六眼飞鱼酱① 提交于 2019-11-30 16:34:37

These crossing-shape noises are caused by the deconvolutional layer in my network, and it is solved by changing the kernel size in deconvolutional layer.

First we should understand how does the deconvolutonal layer work. A clear illustration can be found here. What we need to bear in mind is that the stride in deconvolution helps to enlarge the size of the feature map.

Back to this example. Let's say we have a feature map of 32x32 and we want to get the feature map with the size of 256x256, so we have to use the deconvolutional layer with a stride of 8x8 to do the deconvolution, thus a lot of zero pixels are added to the feature map, that is why these crossing shape occurs. To deal with this, we have to enlarge our kernel size twice as the stride. In the above example we need choose a 16x16 kernel so that our filter will not fall into those zeros.

The result image can be shown here: result
We can see clearly that the crossing-shape noises are removed compared with the picture attached in the question.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!