Image Inpainting for Irregular Holes Using Partial Convolutions理解与电镜图像应用

Image Inpainting for Irregular Holes Using Partial Convolutions

Partial Convolutional Layer

在这里插入图片描述
只对non-hole的部分做卷积运算
在这里插入图片描述
可以理解为对mask做卷积运算,卷积核的权值都为1,相当于对slide window对应的mask小区域求和,也就是公式中的sum(M),如果结果大于0,该小区域卷积之后的结果为1,otherwise为0。这就做到了mask的更新只要网络深度足够大,mask最终都为1。

Network Architecture

在这里插入图片描述## Loss Functions

在这里插入图片描述
在这里插入图片描述
These are the L 1 losses on the network output for the hole and the non-hole pixels respectively.
在这里插入图片描述
The perceptual loss computes the L 1 distances between both I out and I comp and the ground truth, but after projecting these images into higher level feature spaces using an ImageNet-pretrained VGG-16. Ψ p I ∗ is the activation map of the pth selected layer given original input I ∗ . We use layers pool1, pool2 and pool3 for our loss.
在这里插入图片描述
We further include the style-loss term, which is similar to the perceptual loss, but we first perform an autocorrelation (Gram matrix) on each feature map before applying the L 1 .
在这里插入图片描述
Our final loss term is the total variation (TV) loss L tv : which is the smoothing penalty on R, where R is the region of 1-pixel dilation of the hole region.

Experiments

Cremi数据集中存在几张带黑线的图像,这些黑线是由于切片时,不小心将部分细胞划破导致的,如果不将黑线去除,会影响到细胞分割的效果。

Trainset

在这里插入图片描述

Results

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

代码

https://github.com/MathiasGruber/PConv-Keras

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值