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 101 - Masks persist even if the project was not saved
Masks persist even if the project was not saved
Status: RESOLVED WONTFIX
Product: Fiji
Classification: Unclassified
Component: TrakEM2
unspecified
PC Linux
: P2 normal
Assigned To: Albert Cardona
Depends on:
Blocks:
 
Reported: 2009-11-11 10:35 CST by Stephan Saalfeld
Modified: 2011-03-23 15:00 CDT
0 users

See Also:

Description Stephan Saalfeld 2009-11-11 10:35:33 CST
Add a mask to a patch, do not save the project and re-open it.  The mask will be there.  This is a consequence of having masks temporary files without history.
As we discussed recently, masks cannot be generated from meta-data as can mipmaps or features and thus should be saved in a project container.  Then, a not-saved project would also have the old masks.
Comment 1 Albert Cardona 2009-11-11 13:50:59 CST
There isn't any way to store the masks in the XML. To store the masks in a zip file along with the XML is a possibility, but a rather cumbersome one. A proper system would save it all in a database (by all I mean the segmentations and image positions), in particular a java-only database that required no extra installations beyond fiji itself. The creation of a DBLoader is reserved for some tine next year. So for now we just suffer it.

A partial solution is to store the alpha masks in a alpha.masks.temp/ directory, and move its contents to the trakem2.masks/ directory when saving the project.
Comment 2 Johannes Schindelin 2011-03-23 15:00:04 CDT
I am assuming that this issue will not be fixed.