Ticket #505 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Fix Crop plugin when region selection code in place

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej-2.0-alpha5
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

The Crop plugin currently asks for the extents of the region to crop. When there is code in place to make a selection then change the plugin to use that selection rectangle and remove the bogus parameters that are in there now. It should also do nothing if nothing is selected.

Change History

comment:1 Changed 8 years ago by bdezonia

  • Summary changed from Fix Crop plugin when selection code in place to Fix Crop plugin when region selection code in place

comment:2 Changed 8 years ago by bdezonia

Curtis mentioned the idea of making UnaryTransform use the iterable interval of the ROI when possible.

comment:3 Changed 8 years ago by bdezonia

The code on the IJ2 side required to support this is not yet in place.

comment:4 Changed 8 years ago by bdezonia

Curtis, this might now be yours. Assign back if not.

comment:5 Changed 8 years ago by gharris

I committed CropToRoi, which may or may not do this in a sensible mannner... it only used rectangular rois.

comment:6 Changed 8 years ago by bdezonia

  • Status changed from new to closed
  • Resolution set to fixed

I believe Curtis committed a fix for this.

comment:7 Changed 8 years ago by bdezonia

  • Milestone changed from imagej-2.0-beta1 to imagej-2.0-alpha5
Note: See TracTickets for help on using tickets.