DifuzCam: Replacing Camera Lens with a Mask and a Diffusion Model

Erez Yosef, Raja Giryes
8/14/2024
4 citations
cs.CVcs.AIeess.IV
diffusion-flow

No official code found. Best implementation: ErezYosef/Difuzcam-AI (2 stars, Python, Apache-2.0, last commit 2025-12-16).

Abstract

The flat lensless camera design reduces the camera size and weight significantly. In this design, the camera lens is replaced by another optical element that interferes with the incoming light.

Show full abstract

The image is recovered from the raw sensor measurements using a reconstruction algorithm. Yet, the quality of the reconstructed images is not satisfactory. To mitigate this, we propose utilizing a pre-trained diffusion model with a control network and a learned separable transformation for reconstruction. This allows us to build a prototype flat camera with high-quality imaging, presenting state-of-the-art results in both terms of quality and perceptuality. We demonstrate its ability to leverage also textual descriptions of the captured scene to further enhance reconstruction. Our reconstruction method which leverages the strong capabilities of a pre-trained diffusion model can be used in other imaging systems for improved reconstruction results.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official code for the paper "DifuzCam: replacing camera lens with a mask and a diffusion model for generative AI based flat camera design", by Erez Yosef and Raja Giryes

20PythonDec 12, 202511 months agoApache-2.0

Similar Papers

Cite this paper

@article{yosef2024difuzcam,
  title  = {DifuzCam: Replacing Camera Lens with a Mask and a Diffusion Model},
  author = {Erez Yosef and Raja Giryes},
  year   = {2024},
  eprint = {2408.07541},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.07541v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.07541.svg)](https://codeofpaper.com/paper/2408.07541)

Discussion