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 387 - Cache not properly updated when assigining a preprocessor script to a patch
Cache not properly updated when assigining a preprocessor script to a patch
Status: CLOSED WONTFIX
Product: Fiji
Classification: Unclassified
Component: TrakEM2
unspecified
PC Linux
: P2 normal
Assigned To: Albert Cardona
Depends on:
Blocks:
 
Reported: 2011-12-01 10:26 CST by Stephan Saalfeld
Modified: 2012-04-20 23:09 CDT
0 users

See Also:

Description Stephan Saalfeld 2011-12-01 10:26:56 CST
Observed when working around Bug 384.  A patch that has a preprocessor changing it's LUT is rendered gray when there is not CoordinateTransform.  When that patch is non-linearly transformed, the transformed patch is rendered again using the default gray LUT.  Manually flushing the cache (Project->Flush Image Cache) and regenerating the mipmap finally renders the image using the correct LUT.

That suggests that the non-transformed patch caches something in the cache with the wrong LUT that is later re-used to generate the transformed patch.  May be fixing Bug 384 would fix that too?
Comment 1 Albert Cardona 2011-12-02 11:02:22 CST
I've pushed a fix that sets the ColorModel in the coordinate-transformed ImageProcessor in Patch.createCoordinateTransformedImage.
Comment 2 Johannes Schindelin 2012-04-20 22:41:35 CDT
Adjusting the status to reality.
Comment 3 Albert Cardona 2012-04-20 23:09:30 CDT
this error was fixed long ago.