Ticket #1195 (closed defect: fixed)
Opened 2012-05-25T15:25:25-05:00
Last modified 2012-07-02T14:48:40-05:00
Push overlay duplication code into Imglib
Reported by: | bdezonia | Owned by: | bdezonia |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | ImgLib2 | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #1143 |
Description
Recently the ability to move and duplicate Overlays was added to IJ2 (and Imglib). This initial pass could be improved. Ideally the overlay duplication code in each Overlay implementation of IJ2 would be pushed into Imglib. Thus the current limitation that there is no way to duplicate a CompositeRegionOfInterest would be fixed by this and lots of repeated code would go away too.
Currently avoiding the above limitations by having a CompositeOverlay and handling all duplication at the IJ2 level. This might be fine. It all depends upon whether we can correctly support the whole contract of Overlay with CompositeOverlay's. Some signatures might be tricky.