Real Time Fitting of Hand-Sketched Pressure Brushstrokes
Abstract
A method is described for fitting the outline of hand-sketched pressure brushstrokes with Bezier curves. It combines the brush-trajectory model, in which a stroke is generated by dragging a brush along a given trajectory, with a fast curve fitting algorithm.The method has been implemented for a vector-based drawing program in which the user draws with a cordless pressure-sensitive stylus on a digitizing tablet. From the trajectory followed by the stylus, its associated pressure data, and a specified brush, a stroke of variable width is computed and displayed in real time.First, the digitized trajectory is fitted, thus removing noise. Then, from polygonal approximations of the fitted trajectory and the brush outline, a polygonal approximation of the stroke outline is computed. Working with polygonal approximations reduces computations to simple geometric operations and greatly simplifies the treatment of dynamic, pressure-controlled brushes. Last, the polygonal approximation of the stroke outline is fitted. The result is a closed piecewise Bezier curve approximating the brushstroke outline to within an arbitrary error tolerance.Several examples of hand-sketched drawings realized with this method are presented.
BibTeX
@article {10.1111:1467-8659.1330205,
journal = {Computer Graphics Forum},
title = {{Real Time Fitting of Hand-Sketched Pressure Brushstrokes}},
author = {Pudet, Thierry},
year = {1994},
publisher = {Blackwell Science Ltd and the Eurographics Association},
ISSN = {1467-8659},
DOI = {10.1111/1467-8659.1330205}
}
journal = {Computer Graphics Forum},
title = {{Real Time Fitting of Hand-Sketched Pressure Brushstrokes}},
author = {Pudet, Thierry},
year = {1994},
publisher = {Blackwell Science Ltd and the Eurographics Association},
ISSN = {1467-8659},
DOI = {10.1111/1467-8659.1330205}
}