80 likes | 218 Views
Digital ink. CMPT 381. Outline. Drawing on the screen Turning ink into strokes Turning strokes into gestures. Drawing on the screen. Natural mode of operation for the user We are expert at using ink We also have expectations: Latency From input device through to display device
E N D
Digital ink CMPT 381
Outline • Drawing on the screen • Turning ink into strokes • Turning strokes into gestures
Drawing on the screen • Natural mode of operation for the user • We are expert at using ink • We also have expectations: • Latency • From input device through to display device • Location of the mark • Parallax • Direct-touch or cursor
Ink • Sequence of x,y locations from an input source • Mouse, touch panel, etc. • Start and end location • E.g., mouse down to mouse up, touch down to touch up • Possible processing on raw input: • Retrieve super-sampling data (Android) • Interpolate / smooth • Cleaning up noise • Threshold of dx, dy, to neighbouring points
From Ink to Stroke • Convert a set of points to a mathematical object • E.g., spline • Smooths the line • Can transform for storage • Shape model • Normalization
From Stroke to Gesture • Can recognize strokes as being commands in a gesture vocabulary • Gesture recognizer • Starts with training data about each gesture • Takes points or shape as input • Decides which is the closest match (or none) • Command output “Delete” “Circle”
$1 Gesture Recognizer • http://depts.washington.edu/aimgroup/proj/dollar/