Visual Anagrams: Generating Multi-View Optical Illusions with Diffusion Models

Daniel Geng, Inbum Park, Andrew Owens
11/1/2023
63 citations
diffusion-flow

No official code found. Best implementation: dangeng/visual_anagrams (976 stars, Jupyter Notebook, MIT, last commit 2024-06-22).

Abstract

We address the problem of synthesizing multi-view optical illusions: images that change appearance upon a transformation, such as a flip or rotation. We propose a simple, zero-shot method for obtaining these illusions from off-the-shelf text-to-image diffusion models.

Show full abstract

During the reverse diffusion process, we estimate the noise from different views of a noisy image, and then combine these noise estimates together and denoise the image. A theoretical analysis suggests that this method works precisely for views that can be written as orthogonal transformations, of which permutations are a subset. This leads to the idea of a visual anagram-an image that changes appearance under some rearrangement of pixels. This includes rotations and flips, but also more exotic pixel permutations such as a jigsaw rearrangement. Our approach also naturally extends to illusions with more than two views. We provide both qualitative and quantitative results demonstrating the effectiveness and flexibility of our method. Please see our project webpage for additional visualizations and results: https://dangeng.github.io/visual_anagrams/.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the paper "Visual Anagrams: Generating Multi-View Optical Illusions with Diffusion Models"

976103Jupyter Notebook, PythonNov 29, 20232 years agoMIT

Similar Papers

Cite this paper

@article{geng2023visual,
  title  = {Visual Anagrams: Generating Multi-View Optical Illusions with Diffusion Models},
  author = {Daniel Geng and Inbum Park and Andrew Owens},
  year   = {2023},
  eprint = {2311.17919},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2311.17919},
  journal = {CVPR 2024 2024}
}

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/2311.17919.svg)](https://codeofpaper.com/paper/2311.17919)

Discussion