250 likes | 408 Views
ShadowDraw Real-Time User Guidance for Freehand Drawing. Larry Zitnick, Michael Cohen Microsoft Research. Yong Jae Lee U. o f Texas at Austin. Drawing. Subject 1. Subject 2. We need help. Tracing. Difficult to find photos Limits creativity. Drawing a face. Learn a set of rules
E N D
ShadowDrawReal-Time User Guidance for Freehand Drawing Larry Zitnick, Michael Cohen Microsoft Research Yong Jae Lee U. of Texas at Austin
Drawing Subject 1 Subject 2 We need help..
Tracing • Difficult to find photos • Limits creativity
Drawing a face • Learn a set of rules • Requires significant training
Our Idea: ShadowDraw ShadowDraw
Creating shadows Collection of images… • Shadow gives gist of many images simultaneously + = Shadow
Creating shadows What if the only input is the user’s drawing? Shadow Drawing • Requires partial matching and dynamic updates
Speed Real-time updating of shadows is critical • 0.1 seconds – “feels right” • 0.5 seconds – “useful” • 2 seconds – “useless”
Overview Database (offline) Sketch, Img_ID, x, y Sketch, Img_ID, x, y Sketch, Img_ID, x, y Sketch, Img_ID, x, y …. For each sub-window Min Hash Edges Database Image Verify Top 100 Query time (online) For each sub-window Histogram (IDxdx x dy) User Drawing Fine Alignment Shadow Spatial Scoring
Database Database (offline) Sketch, Img_ID, x, y Sketch, Img_ID, x, y Sketch, Img_ID, x, y Sketch, Img_ID, x, y …. For each sub-window Min Hash Edges Database Image Edge descriptor: Inverted file structure: Position Orientation Linear length Efficient (sub-linear) retrieval Stores image index and offset [Zitnick, ECCV 2010]
Matching Query time (online) Verify Top 100 For each sub-window Histogram (IDxdx x dy) User Drawing Fine Alignment Shadow Spatial Scoring First stage: Use inverted file structure to find candidate set Second stage: Refine alignment and compute blending weights
Fine alignment Verify Fine Alignment Shadow Spatial Scoring Top 100 For each sub-window Histogram (IDxdx x dy) User Drawing Break into three 1D problems: Hough transform (3D) ΔX ΔY ΔY ΔS ΔS (scale) ΔX
Blending weights * = + Pen Strokes * Shadows are the composite of many images Top matches Weights
Blending weights * = + Pen Strokes * Shadows are the composite of many images Top matches Weights
Rendering + = Pen Strokes * + Output Pen Position Shadow • Higher contrast near pen position • Main focus is user’s drawing
Related work • Interactive drawing interfaces • Teddy [Igarashi et al., 1999] • Fluid Sketches [Arvoand Novins, 2000] • 3D drawing system [Igarashi and Hughes, 2000] • iCanDraw[Dixon et al., 2010] • Drawing studies • Where do people draw lines? [Cole et al., 2008]
User studies • 30,000 images, 20 categories • 16 drawers (8 men, 8 women), 8 evaluators • 5 objects (shoe, face, bicycle, butterfly, rabbit)
User studies With ShadowDraw Without ShadowDraw Good drawers
User studies With ShadowDraw Without ShadowDraw Bad drawers
User studies With ShadowDraw Without ShadowDraw Average drawers
User studies • Significant improvement for “Average” group
User studies After training all users improved: Poor skill Good skill • Subject’s personal style is maintained!
Future work • Matching against drawings and not photographs • Temporal strokes • Color, shading, etc. • Drawing “priors” • Not future work: • Changing people’s strokes