Reproduce “DeepLens: Shallow Depth Of Field From A Single Image” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Lijun Wang, Xiaohui Shen, Jianming Zhang, Oliver Wang, Zhe Lin, Chih-Yao Hsieh, Sarah Kong, Huchuan Lu
DeepLens generates high-quality shallow depth-of-field effects from a single all-in-focus image, offering interactive control over focal distance and aperture size. The system delivers perceptually superior results, achieving a PSNR of 28.235 and SSIM of 0.908 on a custom iPhone test set, and is rated by users as comparable to specialized hardware-based solutions like iPhone Portrait Mode.
Key insights
- Multi-task learning for depth prediction, incorporating an auxiliary foreground segmentation task, significantly improves depth accuracy at crucial object boundaries.
- Training the lens blur and guided upsampling modules with corrupted/predicted depth maps, rather than perfect ground truth, enhances their robustness to real-world depth estimation inaccuracies.
- Operating the blur in a learned compressed feature space, combined with a novel normalized loss function that prioritizes 'hard examples,' allows for efficient, high-quality DoF rendering with reduced artifacts.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.