Research data and code for LayerRoleEdit: Preserving Foreground Occlusions in Reference Image Editing

Published: 17 September 2026| Version 1 | DOI: 10.17632/n99wb3cs9f.1
Contributors:
conghui jin,

Description

This repository contains the implementation and supporting research materials for the paper “LayerRoleEdit: Preserving Foreground Occlusions in Reference Image Editing via Explainable Depth-Aware Layer-Role Modeling.” The package includes the source code, configuration files, and evaluation-related materials used in the experiments.

Files

Steps to reproduce

1. Download and extract the LayerRoleEdit code package. 2. Install the required Python dependencies according to the README and requirements file. 3. Download the required pretrained models and public datasets from their original sources. 4. Configure the dataset paths and model paths in the provided configuration files. 5. Run the training scripts to train LayerRoleEdit, or use the provided inference scripts with the released model configuration. 6. Run the evaluation scripts on AnyInsertion and DreamBooth to reproduce the reported SSIM, LPIPS, and FID results. 7. The ablation and inference-efficiency experiments can be reproduced using the corresponding configuration options provided in the code package. Detailed commands, environment settings, and model dependencies are provided in the README file included in the repository.

Institutions

Categories

Computer Science, Artificial Intelligence, Computer Vision, Image Processing

Licence