Ticket #1196 (new defect)

Opened 8 years ago

Last modified 8 years ago

Clip overlays when necessary

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b9-rois
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #285


There are a couple plugins (crop and duplicate) that work with selected regions. If overlays exist and they are wholly contained in the selected region they are duplicated and located in the new window with different coordinates.

Note that it would be nice to further improve this by taking any overlay that crosses the window boundary and clipping it into a new overlay (maybe via CompositeOverlay and logical operations). That new overlay could be present in the new window.

This kind of overlay clipping will likely need to exist for the overlay creation tools to handle the ALT key mode like IJ1.

Change History

comment:1 Changed 8 years ago by bdezonia

  • Blocking 1143 added

comment:2 Changed 8 years ago by bdezonia

  • Blocking 285 added

comment:3 Changed 8 years ago by bdezonia

  • Blocking 1143 removed

comment:4 Changed 8 years ago by bdezonia

  • Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta4

comment:5 Changed 8 years ago by curtis

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta6

ROIs will be the focus of beta6.

Note: See TracTickets for help on using tickets.