Research Article

A Generative Image Inpainting Model Based on Edge and Feature Self-Arrangement Constraints

Table 1

The network parameters of the edge generator.

LayerInputs (H × W × C)Kernel sizeStridePaddingDilationActivation functionOutputs (H × W × C)

ReflectionPad256 × 256 × 33262 × 262 × 3
Conv262 × 262 × 37 × 7101ReLU256 × 256 × 64
Conv256 × 256 × 644 × 4211ReLU128 × 128 × 128
Conv128 × 128 × 1284 × 4211ReLU64 × 64 × 256

Residual Blocks × 8
 ReflectionPad64 × 64 × 256268 × 68 × 256
 Res-conv68 × 68 × 2563 × 3102ReLU64 × 64 × 256
 ReflectionPad64 × 64 × 256166 × 66 × 256
 Res-conv66 × 66 × 2563 × 310164 × 64 × 256
ConvTranspose64 × 64 × 2564 × 4211ReLU128 × 128 × 128
ConvTranspose128 × 128 × 1284 × 4211ReLU256 × 256 × 64
ReflectionPad256 × 256 × 643ReLU262 × 262 × 64
Conv262 × 262 × 647 × 7101256 × 256 × 1