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 537 - TrakEM2 randomly fails to render large(?) images at >50% zoom
TrakEM2 randomly fails to render large(?) images at >50% zoom
Status: NEW
Product: Fiji
Classification: Unclassified
Component: TrakEM2
unspecified
PC Linux
: P5 enhancement
Assigned To: Albert Cardona
Depends on:
Blocks:
 
Reported: 2012-12-08 15:45 CST by Stephan Saalfeld
Modified: 2012-12-08 16:37 CST
0 users

See Also:


Attachments
zoom 50% ok (372.94 KB, image/jpeg)
2012-12-08 15:57 CST, Stephan Saalfeld
zoom 75% seems ok, but I am not sure whether the region is correct (371.13 KB, image/jpeg)
2012-12-08 15:58 CST, Stephan Saalfeld
zoom 75% obviously not ok (488.00 KB, image/jpeg)
2012-12-08 15:59 CST, Stephan Saalfeld
zoom 75% obviously not ok (wrong zoom!) (476.76 KB, image/jpeg)
2012-12-08 15:59 CST, Stephan Saalfeld
zoom 75% obviously not ok (419.48 KB, image/jpeg)
2012-12-08 16:00 CST, Stephan Saalfeld

Description Stephan Saalfeld 2012-12-08 15:45:19 CST
The project contains patches of relatively large sizes 16k^2 to 32k^2 px.  These sizes being far smaller than the known upper limit of ~45^2 px for a single ImageJ ImageProcessor, all internal rendering operations function perfectly.  The images can be deformed and mipmaps can be generated---that is they can be rendered at 100% scale by ImageJ and the mpicbg library.  When I now try to view these images at a zoom factor >50% (e.g. 75% or 100%), it happens that the result is completely scrambled.  Scrambling includes that an arbitrary region of the image at much lower zoom appears or that weird stripy patterns are painted.  Sometimes, the correct region is rendered correctly.  This does not depend on the region, by switching between slices, different incarnations of the effect can be observed.  No error is printed, the computer has sufficient amount of memory and disc space.

The effect is the same when I try to export a region at 100% resolution which makes it impossible to export that project for CATMAID or for other visualizations.

Mipmaps were saved as rag---can that be an issue?  Does rag have an upper limit of bytes for compression?  Is it an AWT problem with larger images?  I observed the problem already with the smaller images of 16k^2 px.
Comment 1 Stephan Saalfeld 2012-12-08 15:57:30 CST
Created attachment 84
zoom 50% ok
Comment 2 Stephan Saalfeld 2012-12-08 15:58:34 CST
Created attachment 85
zoom 75% seems ok, but I am not sure whether the region is correct
Comment 3 Stephan Saalfeld 2012-12-08 15:59:13 CST
Created attachment 86
zoom 75% obviously not ok
Comment 4 Stephan Saalfeld 2012-12-08 15:59:47 CST
Created attachment 87
zoom 75% obviously not ok (wrong zoom!)
Comment 5 Stephan Saalfeld 2012-12-08 16:00:10 CST
Created attachment 88
zoom 75% obviously not ok
Comment 6 Stephan Saalfeld 2012-12-08 16:37:14 CST
I can provide an 8GB `minimal' test project on request.