def getSegmentedImage(self, whiteFG=True):
        retVal = None
        if( whiteFG ):
            retVal = self.mDiffImg.binarize(thresh=self.mThreshold)
        else:
            retVal = self.mDiffImg.binarize(thresh=self.mThreshold).invert()
        return retVal
Return the segmented image with white representing the foreground
dataset/ETHPy150Open sightmachine/SimpleCV/SimpleCV/Segmentation/DiffSegmentation.py/DiffSegmentation.getSegmentedImage