def _computeBGDiff(self):
        imgGray = self._imageBuffer.getLast().asMatrix2D()
        imgBG = self._getMedianVals()
        return (imgGray - imgBG)
dataset/ETHPy150Open bolme/pyvision/src/pyvision/surveillance/BackgroundSubtraction.py/MedianFilter._computeBGDiff/original