def _applyFilter(self, imageType):
    if (imageType == 'original'):
        (self._current_image, self._current_mask) = imageoperations.cropToTumorMask(self._image, self._mask, self._bb)
    else:
        raise NotImplementedError()
    self._imageType = imageType
def _applyFilter(self, imageType):
    if (imageType == 'original'):
        (self._current_image, self._current_mask) = imageoperations.cropToTumorMask(self._image, self._mask, self._bb)
    else:
        raise NotImplementedError()
    self._imageType = imageType