Commit 1abd38ea authored by Chris Evenhuis's avatar Chris Evenhuis
Browse files

Minor formatting

parent d329544f
...@@ -181,8 +181,8 @@ if( True): ...@@ -181,8 +181,8 @@ if( True):
measure_int = Measurements.CENTROID +Measurements.ELLIPSE + Measurements.AREA+Measurements.SHAPE_DESCRIPTORS measure_int = Measurements.CENTROID +Measurements.ELLIPSE + Measurements.AREA+Measurements.SHAPE_DESCRIPTORS
rt = ResultsTable() rt = ResultsTable()
photoclass=['unsufficent','sub-optimal','optimal','inhibited','critical'] photoclass=[ 'unsufficent','sub-optimal','optimal','inhibited','critical']
Iarr = [0.,I1,I2,I3,I4,Imax] Iarr =[0., I1, I2, I3, I4, Imax]
for i in range(len(photoclass)): for i in range(len(photoclass)):
rt.setValue("class",i,photoclass[i]) rt.setValue("class",i,photoclass[i])
...@@ -195,8 +195,7 @@ if( True): ...@@ -195,8 +195,7 @@ if( True):
stats = ImageStatistics.getStatistics(ip,measure_int,imp.getCalibration()) stats = ImageStatistics.getStatistics(ip,measure_int,imp.getCalibration())
rt.setValue("Area", i,stats.area) rt.setValue("Area", i,stats.area)
rt.setValue("Mean I",i,stats.mean) rt.setValue("Mean I",i,stats.mean)
rt.show("Areas") rt.show("Areas")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment