def _runFull(self): a=CLT() a.path_in= self.path_in a.path_out = self.path_out a.blockSize = self.blockSize a.helo = 30 a.sigmaSmooth = self.sigmaSmooth a.thresMembra = self.thresMembra a.sizeFilter = self.sizeF a.verbose = 1 a.run() print a.getScore() self.res=h5py.File(a.path_out[0])[a.path_out[1]+"/axons"][::]
def _runGapClosing(self): x0,x1,y0,y1,z0,z1=self.Range a=CLT() a.path_in= self.path_in a.path_out = self.path_out a.Sub_Volume = [[x0,x1],[y0,y1],[z0,z1]] a.blockSize = self.blockSize a.helo = self.helo a.sigmaSmooth = self.sigmaSmooth a.thresMembra = self.thresMembra a.sizeFilter = self.sizeF a.verbose = 1 a.run() self.res=h5py.File(a.path_out[0])[a.path_out[1]+"/axons"][::]