fbfa34278159ca7cf76e251617fac6a7bcdacd89,cellprofiler/modules/colortogray.py,ColorToGray,display_combine,#ColorToGray#Any#,169
Before Change
output_image = workspace.display_data.output_image
figure=workspace.create_or_find_figure(title="Color to gray",
subplots=(1,2))
input_axes = figure.subplot(0,0)
input_axes.clear()
input_axes.imshow(input_image)
input_axes.set_title("Original image: %s"%(self.image_name))
output_axes = figure.subplot(0,1)
output_axes.clear()
output_axes.imshow(output_image,matplotlib.cm.Greys_r)
output_axes.set_title("Grayscale image: %s"%(self.grayscale_name))
After Change
input_image = workspace.display_data.input_image
output_image = workspace.display_data.output_image
figure = workspace.create_or_find_figure(title="Color to gray",
subplots=(1,2))
figure.subplot_imshow(0, 0, input_image,
title = "Original image: %s"%(self.image_name))
figure.subplot_imshow(0, 1, output_image,
title = "Grayscale image: %s"%(self.grayscale_name),
colormap = matplotlib.cm.Greys_r)
def run_split(self, workspace, image):
Split image into individual components
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: CellProfiler/CellProfiler
Commit Name: fbfa34278159ca7cf76e251617fac6a7bcdacd89
Time: 2010-03-16
Author: afraser@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/modules/colortogray.py
Class Name: ColorToGray
Method Name: display_combine
Project Name: CellProfiler/CellProfiler
Commit Name: fbfa34278159ca7cf76e251617fac6a7bcdacd89
Time: 2010-03-16
Author: afraser@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/modules/colortogray.py
Class Name: ColorToGray
Method Name: display_combine
Project Name: CellProfiler/CellProfiler
Commit Name: fbfa34278159ca7cf76e251617fac6a7bcdacd89
Time: 2010-03-16
Author: afraser@1fc53939-2000-0410-845c-e8453a809027
File Name: cellprofiler/modules/colortogray.py
Class Name: ColorToGray
Method Name: display_split
Project Name: CellProfiler/CellProfiler
Commit Name: 313eaca23b01fb8dd0a699bf05cdae99a60899b3
Time: 2016-10-11
Author: mcquin@broadinstitute.org
File Name: cellprofiler/modules/convertobjectstoimage.py
Class Name: ConvertObjectsToImage
Method Name: display