diva.sketch.toolbox
Class AveragingStrokeFilter
java.lang.Object
diva.sketch.toolbox.StrokeFilter
diva.sketch.toolbox.AveragingStrokeFilter
public class AveragingStrokeFilter
- extends StrokeFilter
Smooth a stroke by averaging a point with its neighboring points.
- Version:
- $Revision: 1.2 $
- Author:
- Heloise Hse (hwawen@eecs.berkeley.edu)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AveragingStrokeFilter
public AveragingStrokeFilter()
apply
public TimedStroke apply(TimedStroke s)
- Smooth the given stroke by averaging each point with its
neighboring points.
- Specified by:
apply
in class StrokeFilter
averaging
public static TimedStroke averaging(TimedStroke s)
- Smooth the given stroke by averaging each point with its
neighboring points.
main
public static void main(String[] argv)
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.