NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #505 (closed defect: fixed)

Opened 2011-05-09T14:46:03-05:00

Last modified 2011-08-29T10:15:53-05:00

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:


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 2011-05-31T14:27:34-05:00 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 2011-05-31T14:28:15-05:00 by bdezonia

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

comment:3 Changed 2011-07-25T15:36:57-05:00 by bdezonia

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

comment:4 Changed 2011-07-29T13:05:43-05:00 by bdezonia

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

comment:5 Changed 2011-08-01T08:24:27-05:00 by gharris

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

comment:6 Changed 2011-08-15T10:55:25-05:00 by bdezonia

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

I believe Curtis committed a fix for this.

comment:7 Changed 2011-08-29T10:15:53-05:00 by bdezonia

  • Milestone changed from imagej-2.0-beta1 to imagej-2.0-alpha5