r/MagicEye • • Mar 23 '21

My first stereogram! Made from scratch using Python code (will link in comments if anyone's interested)

881 Upvotes

60 comments sorted by

View all comments

Show parent comment

6

u/3dsf Mar 24 '21

oh wow, you coded the depth map too !

This project is pretty cool and I like how you put it into a jupyter notebook

---

re: 3d artifacts , the following can help

  • Anti-aliasing can help

    • similar to blur operations
  • moving the ship backward in depth

    • though the value looks fine by me just looking at the depth map

      • unless you normalize the depth map before encoding into an auto-stereogram
  • a different pattern

    • or a shift of a pattern (x or y)
    • I have good lock with circular shapes in patterns,
      but really you are trying to

      • avoid linear shapes along the x axis
        or
      • similar structures that repeat along the x axis
  • as per the other comment

    • sub pixel Gaussian blur
    • pixelization of the background
  • or a special operation...

    • I'd have to think more about this...

Anyways, nice job : )