NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 131 - Painting area_lists slow and inaccurate
Painting area_lists slow and inaccurate
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: TrakEM2
unspecified
PC Linux
: P2 normal
Assigned To: Albert Cardona
Depends on:
Blocks:
 
Reported: 2010-01-19 20:58 CST by Stephan Saalfeld
Modified: 2010-01-20 08:53 CST
0 users

See Also:


Attachments
TrakEM2 paints area_lists slowly and inaccurately (93.91 KB, image/png)
2010-01-19 21:03 CST, Stephan Saalfeld

Description Stephan Saalfeld 2010-01-19 20:58:08 CST
I create a new project, add an area_list as a child to anything, drag this into the Project and start painting.  That paints few dots where, I guess, TrakEM2 catches the mouse.  Releasing the mouse button then freezes TrakEM2 for several minutes(!!!!) and then paints a mostly very inaccurate curve approximating the dots that still remain.  See the attached screenshot.
While painting, some dots vanish at random areas on the screen.
Happened with master 90287f0250542be256f67ade4e29a618bf6e688f
and can be easily reproduced.
Comment 1 Stephan Saalfeld 2010-01-19 21:03:16 CST
Created attachment 11
TrakEM2 paints area_lists slowly and inaccurately
Comment 2 Albert Cardona 2010-01-20 08:53:21 CST
Pushed fix in 'new-treeline' branch.

The spline interpolator now works in chunks, getting them done in parallel with the painting. As far as I can tell, at least in a 2-core machine works great. Now one can do very long brush strokes without incurring into severe lags on mouse release.