def __resize_to_orig(self, igc_seeds): # @TODO remove old code in except part self.segmentation = misc.resize_to_shape( self.segmentation, self.data3d.shape, self.zoom ) self.seeds = misc.resize_to_shape( igc_seeds, self.data3d.shape, self.zoom )
def resize_to_shape(segmentation, shape): import misc return misc.resize_to_shape(segmentation, shape)
def resize_to_shape(*pars, **params): import misc return misc.resize_to_shape(*pars, **params)