6099f4105f3a27a92438013e3563dd1e9cb1fe90,cellprofiler/modules/overlayoutlines.py,OverlayOutlines,run_bw,#OverlayOutlines#Any#,301
Before Change
def run_bw(self, workspace):
image_set = workspace.image_set
if self.blank_image.value:
outline_image = image_set.get_image(
self.outlines[0].outline_name.value,
must_be_binary = True)
mask = outline_image.pixel_data
pixel_data = np.zeros((mask.shape))
maximum = 1
else:
image = image_set.get_image(self.image_name.value,
After Change
def run_bw(self, workspace):
image_set = workspace.image_set
if self.blank_image.value:
shape = self.get_outline(workspace, self.outlines[0]).shape[:2]
pixel_data = np.zeros(shape)
maximum = 1
else:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: CellProfiler/CellProfiler
Commit Name: 6099f4105f3a27a92438013e3563dd1e9cb1fe90
Time: 2014-09-16
Author: leek@broadinstitute.org
File Name: cellprofiler/modules/overlayoutlines.py
Class Name: OverlayOutlines
Method Name: run_bw
Project Name: CellProfiler/CellProfiler
Commit Name: fa4220692311ed7b7f6309fc68faa36c74a08c7e
Time: 2014-09-09
Author: leek@broadinstitute.org
File Name: cellprofiler/modules/overlayoutlines.py
Class Name: OverlayOutlines
Method Name: run_bw
Project Name: CellProfiler/CellProfiler
Commit Name: a3d4a121957e137ec03a4ef06d7adc307cdd26d7
Time: 2010-01-15
Author: leek@1fc53939-2000-0410-845c-e8453a809027
File Name: pyCellProfiler/cellprofiler/modules/overlay_outlines.py
Class Name: OverlayOutlines
Method Name: run_color