Abstract
We study a very challenging task, human image completion, which tries to recover the human body part with a reasonable human shape from the corrupted region. Since each human body part is unique, it is infeasible to restore the missing part by borrowing textures from other visible regions. Thus, we propose two types of learned priors to compensate for the damaged region. One is a structure prior, it uses a human parsing map to represent the human body structure. The other is a structure-texture correlation prior. It learns a structure and a texture memory bank, which encodes the common body structures and texture patterns, respectively. With the aid of these memory banks, the model could utilize the visible pattern to query and fetch a similar structure and texture pattern to introduce additional reasonable structures and textures for the corrupted region. Besides, since multiple potential human shapes are underlying the corrupted region, we propose multi-scale structure discriminators to further restore a plausible topological structure. Experiments on various large-scale benchmarks demonstrate the effectiveness of our proposed method.
Introduction
Standard image inpainting techniques typically rely on the repetition of textures within an image. While effective for backgrounds like brick walls or grassy fields, this approach fails for human subjects. Human anatomy is non-rigid and unique; if a limb or head is missing, there is often no corresponding "patch" elsewhere in the image to copy from. Existing methods frequently produce "zombie-like" results—blurry, anatomically impossible shapes that lack realistic skin or clothing textures. This research addresses the challenge of human image completion by leveraging learned "priors" of human structure and appearance.
Methodology
The proposed framework employs a three-stage pipeline designed to move from abstract anatomical structure to fine-grained visual texture.
Prior Encoding via Memory Banks
The core innovation is the use of two distinct memory banks: a Structure Memory Bank and a Texture Memory Bank. These banks function as dictionaries of latent vectors learned from massive datasets of human images. The Structure bank encodes human parsing maps (semantic labels for body parts), while the Texture bank encodes common appearance patterns. This allows the model to "hallucinate" missing parts by querying a vocabulary of realistic human features.
Segmentation and Texture Completion
The model first predicts a human parsing map for the corrupted region, using the Structure Memory Bank to ensure anatomical plausibility. Multi-scale structure discriminators enforce global, group, and part-level consistency. Subsequently, the model queries the Texture Memory Bank to fill in pixels, ensuring the new texture matches the existing clothing style and skin tone of the subject.
Experiments and Results
The model was evaluated on two major benchmarks: LIP (Look Into Person), featuring over 50,000 images with complex poses, and Chictopia10K, focused on fashion and fine-grained segmentation.
The proposed method significantly outperformed state-of-the-art baselines such as DeepFill v2 and EdgeConnect. On the LIP dataset, the model achieved a PSNR of 25.57 and an SSIM of 0.9139, compared to DeepFill v2's 23.06 PSNR and 0.8732 SSIM. Qualitatively, the results show sharp, anatomically correct limbs and consistent clothing textures.
Conclusion
By prioritizing anatomical structure before texture synthesis, this approach overcomes the limitations of traditional patch-based inpainting for human subjects. The use of external memory banks provides the necessary "knowledge" to reconstruct unique body parts. While the system currently relies on initial parsing estimates (e.g., from the CE2P model), it demonstrates a significant step forward in human image completion. Future work may explore extensions to video human completion to ensure temporal consistency across frames.
Summary updated