NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1927 (new defect)

Opened 2013-06-24T12:36:21-05:00

Last modified 2013-06-24T12:43:59-05:00

Finish flip axis plugin

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b8-analysis
Component: Analysis Plugins Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1519

Description

The FlipAxis plugin was created to work around an ImageJ 1.x limitation (where StackReverser was broken for Imglib-based virtual stacks). Wayne informed me that he would fix StackReverser and I see that sometime during 1.47u it was commited to the wayne branch of ImageJA.

Anyhow the FlipAxis plugin was never finished. Right now it does not swap color tables though the architecture is in place to make it happen. We should finish this task with a simple update to findPartner() or by implementing a ColorTableRemapper (existing interface).

Note also that CTR had mentioned that rather than flipping planes of data we could wrap the existing Img in an inverted axis View. Maybe one could reuse the OPS' class ImgView.

Change History

comment:1 Changed 2013-06-24T12:38:11-05:00 by bdezonia

Finaly note we should consider what other metadata to "flip" when that api is in place.

comment:2 Changed 2013-06-24T12:43:59-05:00 by bdezonia

Some further review seems to imply that CTR will associate ColorTables along an Axis when he does the Axes/Calibration code in Imglib2. Once this is done we are supposed to automatically get color table remapping.