1 / 30

A Stained Glass Image Filter

A Stained Glass Image Filter . David Mould University of Saskatchewan. Stained Glass Filter. Goal: transform any image into stained-glass image. ?. “Cartoon” – planned tile layout Leading emphasizes image edges Tiles have simple shapes Few colors used. Stained Glass. Voronoi regions.

sheehanc
Télécharger la présentation

A Stained Glass Image Filter

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A Stained Glass Image Filter David Mould University of Saskatchewan

  2. Stained Glass Filter • Goal: transform any image into stained-glass image ?

  3. “Cartoon” – planned tile layout Leading emphasizes image edges Tiles have simple shapes Few colors used Stained Glass

  4. Voronoi regions • Mosaics; Photoshop filter

  5. Stained Glass Tiles • Tile boundaries match image edges • No large tiles • No small tiles • No “weird” tiles

  6. Stained Glass Tiles (2) • Tiles should be “approximately convex” – no bottlenecks • No “island” tiles

  7. Segmentation

  8. Morphological Operators • Erosion • Dilation

  9. Region Smoothing

  10. Region Smoothing

  11. Tile Repair • Bottlenecks detected by progressive erosion. • Disconnected components are relabeled and simultaneously dilated into the parent region. • Similar approach used to subdivide big tiles.

  12. Completed Cartoon

  13. Completed Cartoon Large regions split Bottlenecks split

  14. Backgrounds

  15. Backgrounds

  16. Choosing Colors • Medieval palette highly restricted • Want colors near the image colors, but – • bright • high contrast • from limited palette

  17. Heraldic Tinctures • Medieval colorset • Corresponds closely to colors available in glass • Designed to be vivid and high-contrast

  18. Heraldic Tinctures

  19. Stained Glass Filter • Segmentation • Region smoothing • Removal of small tiles • Subdivision of strange-shaped tiles • Subdivision of large tiles • Tile coloring • Rendering

  20. Color Selection • Choose heraldic color nearest the original color • Map sable to off-white (clear glass)

  21. Rendered Images

  22. Future Work • painting glass • glass defects – scarring, chipping – as additional channel to match initial image • later technology: flashing, etching

  23. Questions?

More Related