Open ctrueden opened 10 years ago
Possibly an example for this:
#@ OverlayService os
#@ ImageDisplay display
println os.getSelectionBounds(display)
This will always print the dimensions of the entire image, no matter if a selection is present in the legacy UI.
We need to ensure that ROIs and overlays are synced properly between IJ1 and IJ2 data structures, in every relevant case.
At the time this ticket was originally created, the OverlayHarmonizer (was OverlayTranslator) was only referenced in the Harmonizer in the legacy layer, and could/should be used in the various DisplayCreators and ImagePlusCreators in the legacy layer also.
Migrated-From: http://trac.imagej.net/ticket/842