(self, imgSeqs=None, localCache=True)
Constructor
        :param localCache: keeps image stacks locally for faster access, but might require more memory
Constructor
        :param localCache: keeps image stacks locally for faster access, but might require more memory
Constructor : param localCache : keeps image stacks locally for faster access but might require more memory
def __init__(self, imgSeqs=None, localCache=True):
        """
        Constructor
        :param localCache: keeps image stacks locally for faster access, but might require more memory
        """
        self.localCache = localCache
        if imgSeqs is None:
            self._imgSeqs = []
        else:
            self._imgSeqs = imgSeqs
        self._imgStacks = {}
        self._labelStacks = {}
def __init__ ( self , imgSeqs = None , localCache = True ) : self . localCache = localCache if imgSeqs is None : self . _imgSeqs = [ ] else : self . _imgSeqs = imgSeqs self . _imgStacks = { } self . _labelStacks = { }