ShadowDraw
Real-Time User Guidance for Freehand Drawing
Harshal Priyadarshi
ShadowDraw Real-Time User Guidance for Freehand Drawing Harshal - - PowerPoint PPT Presentation
ShadowDraw Real-Time User Guidance for Freehand Drawing Harshal Priyadarshi Demo Components of Shadow-Draw Inverted File Structure for indexing Database of images Corresponding Edge maps Query method Dynamically retrieves
Harshal Priyadarshi
Problems Handled:
edges you might want to draw
pixel using steerable filters
Input Output
edges with strong magnitude)
Input Output
Input Output
Credits - Kristen Grauman (both images)
discriminability
strengths are not important.
Presence / absence of Edge is preserved across matching patches, There magnitude might not.
Normalized Gradient (g_cap) Original Gradient (g)
Orientation aligned binning Robustness to orientation changes Initial Binning w.r.t. just position and orientation.
Calculate Edge Length Discretization into 2 bins by weight based normalized gradient splitting Alpha, beta à Tunable thresholding params With gaussian Blur along x,y, theta dimension
WHY ??
Preserves Maximum Jaccard Similarity
Index Vector A Vector B 1 1 2 1 3 1 4 5 1 6 H(Index) 4 6 1 5 3 2 Index Vector A Vector B 1 1 2 1 3 1 4 5 1 6 Index Vector A Vector B 1 5 3 What are these vectors ?
Index Vector A Vector B 1 5 3 2 2 1 3 1 1 4 4 6 5 3 2 6 1 6
K hash functions
Index Vector A Vector B 1 5 3 2 2 1 3 1 1 4 4 6 5 3 2 6 1 6 Index Vector A Vector B 1 5 3 2 2 1 3 1 1 4 4 6 5 3 2 6 1 6 Index Vector A Vector B 1 5 3 2 2 1 3 1 1 4 4 6 5 3 2 6 1 6 Index Vector A Vector B 1 5 3 2 2 1 3 1 1 4 4 6 5 3 2 6 1 6 Index Vector A Vector B 1 5 3 2 2 1 3 1 1 4 4 6 5 3 2 6 1 6
N sets of K hash functions
Vote count for patch for each candidate image
Edge Image of Sketch BiCE sketch descriptor for each patch Top 100 images and corresponding offset for the highly voted
Note: Not 100 best patches X offset of the candidate patch from the user sketch patch
Resultant Candidate Format (Image Id , patch offset-x direction, patch offset-y direction)
Weight Image
Shadow Image Edge Candidate Image Blending Weight Image Global matching term Spatially varying match term
Normalization Term
3 variables:
Visibility Enhancer
User Sketch (8 orientations) Candidate Image (8 orientations) Positive Correlation Negative Correlation
Image not oriented, the edges it captures are oriented
Average of 5 highest hi from the candidate set Gaussian Blur on the positive correlation image
WHY ?? WHY ??
Otherwise might confuse the user.
shadow retrieved, and thus lead to confusion initially, if the user is not very certain of each detail.
f