Simulating Decorative Mosaics Based on SIGGRAPH ‘01 paper by Alejo Hausner Final Project
Agenda Background + Objective Technique Results
Background + Objective Based on SIGGRAPH '01 paper on "Simulating Decorative Mosaics" by Alejo Hausner. "Simulating Decorative Mosaics" by Alejo Hausner To simulate decorative tile mosaics in an aesthetically-pleasing way.
Technique – About Tiled Mosaics Random but uniform distribution of tiles – Gap between tiles uniform Tile color should represent image Tiles should be oriented according to edges Image from
Technique: Voronoi Diagram Hausner: use of graphics hardware z-buffer in order to approximate the voronoi diagram... Not possible in Matlab! Matlab: voronoin Euclidean distance instead of Manhatthan distance
Technique: Lloyd’s Algorithm Centroidal Voronoi Diagram Lloyd’s Algorithm: – Compute Voronoi diagram of points – Re-compute centroid of each cell – Move point to new centroid. Matlab limitation: “point-at-infinity problem”
Initial Prototype
Tile Orientation Use bwdist Calculate gradient to closest point on edge
Edge Avoidance/Discrimination Detect overlap, re-calculate centroid x x
Edge Avoidance/Discrimination BeforeAfter
Edge Artifacts User-drawn edge might be better Source:
pad_border() Added fake edge border
Clustering Problem Solution: Remove tiles with more than 10 px overlap Story Sunlight by Edward Hopper
Color Point color (noise/lossy?) Average of sample Hausner: "point samples work best for images with uniformly-coloured regions, while area samples suit continuous-tone images".
Color: Average vs Point A Wheat Field with Cypresses by Vincent van Gogh.
Future Work Vary tile size? – Smaller tiles for region of higher detail? Vary tile shape: triangle, circle?
Results
Results Suprematist Composition by Kazimir Malevich
Results A Wheat Field with Cypresses by Vincent van Gogh.
Results Vase with Fifteen Sunflowers by Vincent van Gogh
Results Too much detail? Bal du moulin de la Galette by Pierre-Auguste Renoir
Results Portrait of Joseph Roulin by Vincent van Gogh
Results (Photos) HP Garage (Personal Archive)
Results (Photos) SCS Wean Hall (Personal Archive)
Thank You Questions?