PIXEL2BRICK: Constructing Brick Sculptures from Pixel Art

Similar documents
P IXEL 2B RICK: Constructing Brick Sculptures from Pixel Art

Automatic Generation of LEGO Models. Kang Juan B.S. (Huazhong University of Science and Technology) 2012

Survey on Automated LEGO Assembly Construction

Use of Shape Deformation to Seamlessly Stitch Historical Document Images

Guidelines for proper use of Plate elements

The organization of the human cerebral cortex estimated by intrinsic functional connectivity

To build shapes from scratch, use the tools are the far right of the top tool bar. These

Voronoi Diagram. Xiao-Ming Fu

Designing Mini Block Artwork from Colored Mesh

Parallel Computation of Spherical Parameterizations for Mesh Analysis. Th. Athanasiadis and I. Fudos University of Ioannina, Greece

CSE 554 Lecture 7: Deformation II

Chapter 3 Image Registration. Chapter 3 Image Registration

technique: seam carving Image and Video Processing Chapter 9

Development of a Rapid Prototyping System for Custom. Contoured Foam Cushion Using the Pressure Mapping Method

Algorithm User Guide:

AN IMPROVISED LOSSLESS DATA-HIDING MECHANISM FOR IMAGE AUTHENTICATION BASED HISTOGRAM MODIFICATION

Sensor Tasking and Control

Routing. Robust Channel Router. Figures taken from S. Gerez, Algorithms for VLSI Design Automation, Wiley, 1998

MS WORD INSERTING PICTURES AND SHAPES

How to measure the relevance of a retargeting approach?

You will elect to be part of one of the following groups for this short assignment only. (Everyone will switch groups later for part 2).

10701 Machine Learning. Clustering

Cellular Automata. Cellular Automata contains three modes: 1. One Dimensional, 2. Two Dimensional, and 3. Life

Fingerprint Mosaicking by Rolling with Sliding

Application of fuzzy set theory in image analysis. Nataša Sladoje Centre for Image Analysis

3D model-based human face modeling

CSE 252B: Computer Vision II

Recent Research and Emerging Challenges in Physical Design for Manufacturability/Reliability

Steps to Print (without supports) This will take you from Meshmixer to the PSU PrintDepot

Solid and shell elements

From Play-Doh to Roombots

1 of 8 11/25/ :42 PM

Preclass Warmup. ESE535: Electronic Design Automation. Motivation (1) Today. Bisection Width. Motivation (2)

Double Patterning-Aware Detailed Routing with Mask Usage Balancing

COSC 6397 Big Data Analytics. Fuzzy Clustering. Some slides based on a lecture by Prof. Shishir Shah. Edgar Gabriel Spring 2015.

Rectangling Panoramic Images via Warping

Full Field Displacement and Strain Measurement. On a Charpy Specimen. Using Digital Image Correlation.

The correspondence problem. A classic problem. A classic problem. Deformation-Drive Shape Correspondence. Fundamental to geometry processing

calibrated coordinates Linear transformation pixel coordinates

Object Recognition with Invariant Features

PLAXIS 2D - SUBMERGED CONSTRUCTION OF AN EXCAVATION

Graphic Triangles. Graphic Triangles By Nannette Dalton

UV Mapping to avoid texture flaws and enable proper shading

Multipatched B-Spline Surfaces and Automatic Rough Cut Path Generation

A Real-time Algorithm for Atmospheric Turbulence Correction

Primal Dual Schema Approach to the Labeling Problem with Applications to TSP

CoE4TN4 Image Processing

CHAPTER 6 COUNTER PROPAGATION NEURAL NETWORK FOR IMAGE RESTORATION

Discrete geometry. Lecture 2. Alexander & Michael Bronstein tosca.cs.technion.ac.il/book

Mesh Simplification. Mesh Simplification. Mesh Simplification Goals. Mesh Simplification Motivation. Vertex Clustering. Mesh Simplification Overview

Lecture 13: k-means and mean-shift clustering

Surface Registration. Gianpaolo Palma

1 Proximity via Graph Spanners

82 REGISTRATION OF RETINOGRAPHIES

Accelerating String Matching Using Multi-threaded Algorithm

Hierarchical Clustering

Module: 2 Finite Element Formulation Techniques Lecture 3: Finite Element Method: Displacement Approach

A Hillclimbing Approach to Image Mosaics

Alignment and Other Challenges in Reconstructing Cryotomograms with IMOD

Calligraphic Packing. Craig S. Kaplan. Computer Graphics Lab David R. Cheriton School of Computer Science University of Waterloo. GI'07 May 28, 2007

Clustering: Classic Methods and Modern Views

Accelerated Raytracing

Structured light 3D reconstruction

coding of various parts showing different features, the possibility of rotation or of hiding covering parts of the object's surface to gain an insight

Case-Based Reasoning. CS 188: Artificial Intelligence Fall Nearest-Neighbor Classification. Parametric / Non-parametric.

CS 188: Artificial Intelligence Fall 2008

Introduction to Medical Imaging (5XSA0) Module 5

Translation Symmetry Detection: A Repetitive Pattern Analysis Approach

SUBMERGED CONSTRUCTION OF AN EXCAVATION

Fractals: a way to represent natural objects

Scalable Clustering of Signed Networks Using Balance Normalized Cut

Applications. Oversampled 3D scan data. ~150k triangles ~80k triangles

Supplementary Materials

First Order Analysis for Automotive Body Structure Design Using Excel

Midterm Examination CS540-2: Introduction to Artificial Intelligence

Exact Algorithms for NP-hard problems

Laser Curve Tracing for Robotic Arms

Best Installation Practices. AcquiSuite A ModHopper R9120-3

Texture Plugins provided by Avariant for Kerkythea.

Articulated Pose Estimation with Flexible Mixtures-of-Parts

Ptex: Per-face Texture Mapping for Production Rendering

v Mesh Generation SMS Tutorials Prerequisites Requirements Time Objectives

Interpreting three-dimensional structural topology optimization results

Texture April 17 th, 2018

Barycentric Coordinates and Parameterization

UNIT 9C Randomness in Computation: Cellular Automata Principles of Computing, Carnegie Mellon University

Adobe Illustrator CC Advanced

[7.3, EA], [9.1, CMB]

Robust Steganography Using Texture Synthesis

Nonlinear Kinematics and Compliance Simulation of Automobiles

Actualtests.9A QA

Conway s Game of Life Wang An Aloysius & Koh Shang Hui

Abaqus/CAE (ver. 6.11) Nonlinear Buckling Tutorial

Textures and UV Mapping in Blender

Lecture 6: Overlay Networks. CS 598: Advanced Internetworking Matthew Caesar February 15, 2011

A New Approach to Automatic Generation of Tile Mosaic Images for Data Hiding Applications

Motion Estimation and Optical Flow Tracking

Gene Clustering & Classification

Feature-Guided K-Means Algorithm for Optimal Image Vector Quantizer Design

CGAL. Mesh Simplification. (Slides from Tom Funkhouser, Adam Finkelstein)

Transcription:

PIXEL2BRICK: Constructing Brick Sculptures from Pixel Art Ming-Hsun Kuo 1 You-En Lin 1 Hung-Kuo Chu 1 Ruen-Rone Lee 1 Yong-Liang Yang 2 1 National Tsing-Hua University, Taiwan 2 University of Bath

LEGO A brick-based toy construction system introduced in 1940s. A cheapest and convenient tool for 3D fabrication.

Related Work Lego: Automated model construction [Gower et al. 1998] Six heuristics Automated brick layout [Winkler 2005] Cellular automata with cell clustering [van Zijl and Smal 2008]

Related Work Automatic generation of constructable brick sculptures [Testuz et al. 2013] Legolization: Optimizing LEGO Designs [Sheng-Jie et al. 2015]

LEGO Made from Pixel Art

Pixel Art Video Post-it war Game Painting Tile Art

Challenge Build a LEGO Sculpture from Pixel Art is not easy

Challenge The sculpture may be unbalanced

Challenge A simple solution is to add bricks in the back.

Introduction Pixel2Brick : Convert Pixel Art image to LEGO model Pixel Art LEGO Model Balance Appearance Stability

Balance Make LEGO stand stably for better exhibition.

Appearance LEGO bricks only have 26 basic colors. The intrinsic color distribution of pixel art images should be well approximated in the brick sculptures.

Stability LEGO can be built with different patterns. A poor design may cause a weak stability or even crashed.

System Overview Input Image Balanced Pixel Art Color Transform Stable Brick Sculpture

Generating Balanced Pixel Art Input Image Balanced Pixel Art Color Transform Stable Brick Sculpture

Balance Test Whether centroid can be projected onto the supporting line. Centroid Supporting line

Expanding The Supporting Line Deform the original shape to elongate the supporting line.

Expanding The Supporting Line Deform the original shape to elongate the supporting line. 1. Identify candidates at local minima. 2. Incrementally move candidates to align with supporting line. As-rigid-as-possible shape deformation 3. Evaluate using E supp = L supp /E distort

Adjusting The Centroid Shift the centroid to project onto the expanded supporting line. 1. Move anchor mesh 2. Evaluate using E centroid = centroid /E distort

Adjusting The Centroid Shift the centroid to project onto the expanded supporting line. 1. Move anchor mesh 2. Evaluate using E centroid = centroid /E distort

Adding A Supporting Strut Fail in above two steps.

Mapping Colors from Pixels to Bricks Input Image Balanced Pixel Art Color Transform Stable Brick Sculpture

Color Transform Color Similarity The assigned LEGO color should as similar as possible to the original color. X O Original Color LEGO Color Original Color LEGO Color

Color Transform Color Smoothness The two similar adjacent colors should also keep similar after transformed. X O Original Color LEGO Color Original Color LEGO Color

Mapping Colors from Pixels to Bricks Flood-filling Segmentation

Mapping Colors from Pixels to Bricks Multi-Label Graph Cut Color Similarity Color Smoothness C = arg min c i C [E data C + E smooth (C )] n E data = r i c i c i E smooth = i=1 i,j w ij c i c j

Constructing Stable Brick Sculpture Input Image Balanced Pixel Art Color Transform Stable Brick Sculpture

Constructing Stable Brick Sculpture Fallen

Resolving Dangling Parts 1. Identify dangling parts. 2. Use a 2 x 2 window. 3. Traverse and classify all the patterns.

Resolving Dangling Parts Pixel-Level operations Add Brick Replace Color(s)

Resolving Dangling Parts Select the one that minimize: E dangling = w c E pixel + w p E pattern + w s E singularity Pixels Added Pattern similarity Prevent new nonstandard brick

Resolving Dangling Parts

Resolving Dangling Parts

Resolving Dangling Parts

Optimizing Brick Layout How to convert to LEGO bricks Even a simple shape can be built in many ways.

Quality of Seam Lego: Automated model construction [Gower et al. 1998] Seam The middle of the brick is better to be aligned to the seam.

Quality of Seam L l L r E coverage = L l L r /(L l + L r ) E coverage = 1 E seam = w o E coverage + w d E dangling Prevent new dangling bricks occur.

Optimizing Brick Layout Randomly select 2 layers and optimize.

Optimizing Brick Layout Propagate to other layers.

Optimizing Brick Layout

Results

Original Image

Color Transformed

LEGO Sculpture

Original Image

Color Transformed

LEGO Sculpture

Original Image

Color Transformed

LEGO Sculpture

Original Image

Color Transformed

LEGO Sculpture

Original Image

Color Transformed

LEGO Sculpture

Evaluation

Comparison with previous work 3D model-based LEGO designs Beam Search [Winkler 2005] Cellular Automata [van Zijl and Smal 2008] Graph-based method [Testuz et al. 2013] Evaluation Metric Quality of vertical seams Number of bricks with different sizes

3D Model-Based LEGO Designs Pixel Art Image

3D Model-Based LEGO Designs Beam Search [Win05] Pixel2Brick(Ours)

3D Model-Based LEGO Designs Cellular Automata [vzs08] Pixel2Brick(Ours)

3D Model-Based LEGO Designs Graph-based [TSP13] Pixel2Brick(Ours)

3D Model-Based LEGO Designs Beam Search [Win05] Cellular Automata [vzs08] Graph-based [TSP13] Pixel2Brick(Ours)

Quality of Vertical Seams Count Beam Search [Win05] Cellular Automata [vzs08] Coverage Error Graph-based [TSP13] Pixel2Brick(Ours)

Number of Bricks Count Beam Search [Win05] Cellular Automata [vzs08] Brick Size Graph-based [TSP13] Pixel2Brick(Ours)

Comparison With Previous Work Image-based mosaic design. PicToBrick A tool which converts squared images to 2D brick-like mosaic. Evaluation Metric Quality of vertical seams Number of bricks with different sizes Number of dangling parts

Image-Based Mosaic Design PicToBrick Pixel2Brick(Ours)

Image-Based Mosaic Design PicToBrick Pixel2Brick(Ours)

Conclusion Automatically generate brick sculptures from pixel art images. Present guidelines and algorithm concerning the appearance, stability, and balance. Experiments also demonstrate we can efficiently generate brick sculptures that are appealing, stable and constructable.

Limitation The aspect ratio of a unit LEGO brick is not equal to one. 9.6mm 8.0mm In some rare cases, thin parts could still make the structure vulnerable. Pixel Art LEGO

Q&A