コード例 #1
0
    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()
コード例 #2
0
 def __init__(self, dataMgr):
     BaseModuleMgr.__init__(self, dataMgr)
     self.dataMgr = dataMgr
コード例 #3
0
    def __init__(self, dataMgr):
        BaseModuleMgr.__init__(self, dataMgr)
        self.dataMgr = dataMgr

        for i, im in enumerate(self.dataMgr):
            self.onNewImage(im)
コード例 #4
0
 def __init__(self, dataMgr):
     BaseModuleMgr.__init__(self, dataMgr)
     self.dataMgr = dataMgr
コード例 #5
0
 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
コード例 #6
0
 def __init__(self, dataMgr):
     BaseModuleMgr.__init__(self, dataMgr)
     self.dataMgr = dataMgr
     
     for i, im in enumerate(self.dataMgr):
         self.onNewImage(im)