def __init__(self, dataMgr):
        BaseModuleMgr.__init__(self, dataMgr)
        self.dataMgr = dataMgr
        
        self.featureMgr = featureMgr
        self.classifier = classifiers.classifierRandomForest.ClassifierRandomForest
        if self.dataMgr.module["Classification"] is None:
            self.dataMgr.module["Classification"] = self
        self.classificationMgr = self["classificationMgr"] = ClassificationMgr(self.dataMgr)
        
        if self.dataMgr.module["Classification"]["labelDescriptions"] is None:
            self.dataMgr.module["Classification"]["labelDescriptions"] = VolumeLabelDescriptionMgr()

        for i, im in enumerate(self.dataMgr):
            self.onNewImage(im)
        
        self.labelMgr = labelMgr.LabelMgr(self.dataMgr, self.classificationMgr)      
        self.featureMgr = featureMgr.FeatureMgr(self.dataMgr)

        self.classificationMgr.clearFeaturesAndTraining()
Example #2
0
 def __init__(self, dataMgr):
     BaseModuleMgr.__init__(self, dataMgr)
     self.dataMgr = dataMgr
    def __init__(self, dataMgr):
        BaseModuleMgr.__init__(self, dataMgr)
        self.dataMgr = dataMgr

        for i, im in enumerate(self.dataMgr):
            self.onNewImage(im)
Example #4
0
 def __init__(self, dataMgr):
     BaseModuleMgr.__init__(self, dataMgr)
     self.dataMgr = dataMgr
 def __init__(self, dataMgr):
     BaseModuleMgr.__init__(self, dataMgr)
     self.dataMgr = dataMgr
     self.unsupervisedMethod = algorithms.unsupervisedDecompositionPCA.UnsupervisedDecompositionPCA
     if self.dataMgr.module["Unsupervised_Decomposition"] is None:
         self.dataMgr.module["Unsupervised_Decomposition"] = self
 def __init__(self, dataMgr):
     BaseModuleMgr.__init__(self, dataMgr)
     self.dataMgr = dataMgr
     
     for i, im in enumerate(self.dataMgr):
         self.onNewImage(im)