def __init__(self, parent = None, labelnum = None, minsize=None, maxsize = None, cc_overlay = None, input_overlay = None):
        self.parent = parent
        self.labelnum = labelnum
        self.minsize = minsize
        self.maxsize = maxsize
        activeImage = self.parent._activeImage
        self.labels = activeImage.overlayMgr["Classification/Labels"]
        self.cc = cc_overlay
        self.thres = input_overlay
        print self.cc.shape
        self.ndim = 3 if cc_overlay.shape[1]>1 else 2
        self.goodsizes = []
dataset/ETHPy150Open ilastik/ilastik-0.5/ilastik/modules/connected_components/core/synapseDetectionFilter.py/SynapseFilterAndSegmentor.__init__/original