self.wasManuallyEdited=False#useful tag for extracting data that can now be considered reliable and obviously was classfiied wrong before by the algorithms
# convert to gray image and do histrogram normalization
gray=self.convert2Gray(img)
...
...
@@ -463,6 +452,7 @@ class Segmentation(object):
ifself.cancelcomputation:
returnNone,None,None
fromanalysis.particleCharacterizationimportgetParticleStatsWithPixelScale#TODO: AH, this should be imported at beginning of the file, but there it always chrashes..