Ticket #1927 (new defect)

Opened 6 years ago

Last modified 6 years ago

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 6 years ago by bdezonia

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

comment:2 Changed 6 years ago 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.

Note: See TracTickets for help on using tickets.