Skip to content

This repository hosts the official implementation of VAEEDOF, a novel Multi-Focus Image Fusion (MFIF) method that addresses depth-of-field (DOF) constraints in photography.

Notifications You must be signed in to change notification settings

MalumaDev/VAEEDOF

Repository files navigation

🧠 VAEDOF: Extended Depth of Field with Variational Autoencoders

This repository contains code for training and evaluating VAEEDOF, a Variational Autoencoder-based model for generating extended depth of field (EDOF) images.

🚀 Running the Experiment (VAEEDOF)

To launch the experiment using multiple GPUs:

accelerate launch \
  --config_file accelerate_configs/2_gpus.config \
  --gpu_ids 1,2 \
  main.py --config configs/VAEEDOF.yaml

✅ You can modify any parameters — including model architecture, training settings, or dataset paths — directly in the YAML config file.


📦 Dependencies

Install the required Python packages:

pip install -r requirements.txt

🤗 Pretrained Model on Hugging Face

You can download our model and models used for comparison at:

🔗 https://huggingface.co/your-username/vaedof


📄 Citation

If you use VAEEDOF in your research, please cite the following paper:

@article{piano2025addressing,
  title={Addressing the Depth-of-Field Constraint: A New Paradigm for High Resolution Multi-Focus Image Fusion},
  author={Piano, Luca and Huanwen, Peng and Bilcu, Radu Ciprian},
  journal={arXiv preprint arXiv:2510.19581},
  year={2025}
}

📬 Contact

For questions or contributions, feel free to open an issue or a pull request.

About

This repository hosts the official implementation of VAEEDOF, a novel Multi-Focus Image Fusion (MFIF) method that addresses depth-of-field (DOF) constraints in photography.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published