44992c89c37343cbaeb5bc28e723f564926356b0,pyCellProfiler/cellprofiler/modules/measureimageintensity.py,MeasureImageIntensity,measure,#MeasureImageIntensity#Any#Any#,185
Before Change
pixel_min = np.min(pixels)
pixel_max = np.max(pixels)
m = workspace.measurements
m.add_image_measurement(im.name(TOTAL_INTENSITY), pixel_sum)
m.add_image_measurement(im.name(MEAN_INTENSITY), pixel_mean)
m.add_image_measurement(im.name(MAX_INTENSITY), pixel_max)
m.add_image_measurement(im.name(MIN_INTENSITY), pixel_min)
m.add_image_measurement(im.name(TOTAL_AREA), pixel_count)
After Change
m = workspace.measurements
m.add_image_measurement(F_TOTAL_INTENSITY%(im.image_name.value), pixel_sum)
m.add_image_measurement(F_MEAN_INTENSITY%(im.image_name.value), pixel_mean)
m.add_image_measurement(F_MAX_INTENSITY%(im.image_name.value), pixel_max)
m.add_image_measurement(F_MIN_INTENSITY%(im.image_name.value), pixel_min)
m.add_image_measurement(F_TOTAL_AREA%(im.image_name.value), pixel_count)
return [[im.image_name.value,
im.object_name.value if im.wants_objects.value else "",
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: CellProfiler/CellProfiler
Commit Name: 44992c89c37343cbaeb5bc28e723f564926356b0
Time: 2009-10-23
Author: klmadden@1fc53939-2000-0410-845c-e8453a809027
File Name: pyCellProfiler/cellprofiler/modules/measureimageintensity.py
Class Name: MeasureImageIntensity
Method Name: measure
Project Name: CellProfiler/CellProfiler
Commit Name: 83b1986ffa5d040b1b220445c6bb93b4d18d2301
Time: 2009-10-29
Author: klmadden@1fc53939-2000-0410-845c-e8453a809027
File Name: pyCellProfiler/cellprofiler/modules/measureimagegranularity.py
Class Name: MeasureImageGranularity
Method Name: run_on_image_setting
Project Name: CellProfiler/CellProfiler
Commit Name: 944c595aeed36f70c74d39dd5aab8d77661957e7
Time: 2009-10-23
Author: thouis@1fc53939-2000-0410-845c-e8453a809027
File Name: pyCellProfiler/cellprofiler/modules/measureimageintensity.py
Class Name: MeasureImageIntensity
Method Name: measure