CellProfiler/CellProfiler — Issue #134: JIRA [IMG-1098] Adjust modules to accommodate cropping
Author: thouis
Created: 2011-11-23 20:50:19+00:00
State: open
Labels: current

After an image has been cropped using the Crop module, a CropMask is created that remains associated with the cropped image. Any downstream modules that alter the size or shape of the cropped image should, in parallel, alter the size and shape of the CropMask. Otherwise, errors occur in downstream modules that try to access the cropped image and the CropMask and discover that their dimensions do not match. Lee fixed Align already. We need to go through all other modules and ponder whether they need to alter the CropMask (Resize is one, for sure). Not sure about ColorToGray/GrayToColor (the X,Y dimensions do not change but the color dimension does).

Original reporter: anne
Jira link: https://jira.broadinstitute.org/browse/IMG-1098
Fix version: Current
Assignee: leek

**Comment from anne on Tue, 10 Aug 2010 17:43:52 -0400:**
The fix Lee previously made for Align isIMG-1094.IMG-1013might also be related.