+ All Categories
Home > Documents > SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese...

SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese...

Date post: 17-Dec-2015
Category:
Upload: annabelle-short
View: 215 times
Download: 2 times
Share this document with a friend
38
Transcript
Page 1: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.
Page 2: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

SIGGRAPH 2010

Structure-based ASCII Art

Xuemiao Xu, Linling Zhang, Tien-Tsin Wong

The Chinese University of Hong Kong

Page 3: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Since the 1860s, text art emerged…

Since the 1860s, text art emerged…

Page 4: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

From the 1970s, ASCII art has been widely used…

From the 1970s, ASCII art has been widely used…

Page 5: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Today, ASCII art remains popular…

Page 6: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

ASCII Art Classification

• Structure-based• Tone-based– Halftone approaches

Regarded as dithering

– O’Grady and Rickard [2008]

Dithering essentially

Page 7: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

• Structure-based– Manual

Tedious

ASCII Art Classification

Automatic generation of structure-based ASCII art

• Tone-based– Halftone approaches

Regarded as dithering

– O’Grady and Rickard [2008]

Dithering essentially

Page 8: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

• Arbitrary image content

Main Challenge

Page 9: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

• Arbitrary image content

• Extremely limited character shapes• Restrictive placement of characters

Main Challenge

Page 10: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

__)

Matching Strategies

• Character matching – Misalignment tolerance– Transformation awareness

Page 11: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Matching Strategies

• Character matching – Misalignment tolerance– Transformation awareness

• Image deformation – Increase the chance of matching – Avoid over-deformation

__)

Page 12: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

• Character matching – Misalignment tolerance– Transformation awareness

• Image deformation – increase the chance of matching – Avoid over-deformation

Alignment-insensitive shape similarity metric

Constrained deformation

Matching Strategies

Page 13: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Vectorized polylines

Framework

InputRasterized imageCurrent best matched characters

Matching error map

Page 14: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

^)

Current best matched characters

Framework

Matching error map

Good matching

Poor matching

_

;r ;

Page 15: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Current best matched characters

Framework

Matching error map

(')(_)

Page 16: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

(_)

Current best matched characters

Framework

Matching error mapDeformation cost map Combined cost map

Page 17: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Combined cost mapCurrent best matched characters

Framework

Deformed image Optimal ASCII art

Page 18: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

• Deformation cost of the vectorized images

Objective Function

E = DAISS . Ddeform

• Shape dissimilarity between ASCII and deformed images

Page 19: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Main Contribution

• Shape MatchingAlignment-Insensitive Shape Similarity (AISS) Metric

• Constrained Deformation Deformation Metric

Page 20: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

• Matching requirements • Misalignment tolerance• Transformation awareness

• Scope • Pattern recognition and image analysis, e.g. OCR

AISSOCR

O O 6 9

Page 21: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

• Misalignment tolerance

Log-polar diagram (5x12)

Design of AISS

log-polar diagram

Log-polar histogram

Page 22: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

• Transformation awareness

Design of AISS

h

New sampling layout

Page 23: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Query Shape Context Our metric

Translation and scale invariant

Metrics Comparison (1)

• Transformation-invariant metrics

Page 24: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Over-emphasize overlapping

Metrics Comparison (2)

SSIMQuery Our metric RMSEafter blurring

• Alignment-sensitive metrics

Page 25: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Main Contribution

• Shape MatchingAlignment-Insensitive Shape Similarity (AISS) Metric

• Constrained Deformation Deformation Metric

Page 26: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Constrained Deformation

• Local deformation constraint

• Accessibility constraint

Page 27: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

AA

BB

r’r’

rr

Local Deformation Constraint

B’B’

A’A’

Page 28: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Accessibility Constraint

Page 29: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Optimization

Corresponding ASCII art Input Vectorized image

Page 30: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Resolution=30X20 Resolution=20X15

Comparison

Input O’Grady & Rickard Our method

Page 31: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Test set 3:Test set 2:

Input By Artist Our Method O’Grady & Rickard Input By Artist Our Method O’Grady & Rickard

Test set 1:

Clarity

Artists 7.18

Our method 7.09

O’Grady & Rickard 4.15

User Study

Similarity

Artists 6.86

Our method 7.36

O’Grady & Rickard 4.42

Input By Artist Our Method O’Grady &

Rickard

Page 32: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

More Results

Page 33: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Other Results

Page 34: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Other Results

Page 35: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.
Page 36: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Conclusion

• Mimic ASCII artists’ work by an optimization process

• Propose a novel alignment-insensitive shape similarity metric

- also benefits pattern recognition

• Propose a new deformation metric to control over-deformation

Page 37: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

• Do not consider the stylish variation of line thickness within a font

• Do not handle proportional placement of characters

• Affected by the quality of the vectorization

Limitation

A A

Page 38: SIGGRAPH 2010 Structure-based ASCII Art Xuemiao Xu, Linling Zhang, Tien-Tsin Wong The Chinese University of Hong Kong.

Q&A


Recommended