              mask = self._erode(mask)
          logger.trace("mask shape: %s, raw_mask shape: %s", mask.shape, raw_mask.shape)
          return mask, raw_mask
  
      def _get_mask(self, detected_face, predicted_mask, sub_crop_offset):
          """ Return the requested mask with any requested blurring applied.
  
          Parameters
          ----------
          detected_face: :class:`lib.align.DetectedFace`
 
</s> remove         mask = self._get_mask(detected_face, predicted_mask, sub_crop_offset)
 </s> add         mask = self._get_mask(detected_face, predicted_mask, centering, sub_crop_offset) </s> remove                 predicted_mask=None,):
 </s> add                 centering, predicted_mask=None,): </s> remove         if self._centering == "legacy":
            crop_offset = reference_face.pose.offset["face"] * -1
 </s> add         mask_centering = detected_face.mask[self._args.mask_type].stored_centering
        if self._centering != mask_centering:
            crop_offset = reference_face.pose.offset[mask_centering] * -1 </s> remove         logger.trace("name: '%s', mask shape: %s, affine_matrix: %s, interpolator: %s)",
                     name, mask.shape, affine_matrix, interpolator)
        fsmask = Mask(storage_size=storage_size)
 </s> add         logger.trace("name: '%s', mask shape: %s, affine_matrix: %s, interpolator: %s, "
                     "storage_size: %s, storage_centering: %s)", name, mask.shape, affine_matrix,
                     interpolator, storage_size, storage_centering)
        fsmask = Mask(storage_size=storage_size, storage_centering=storage_centering)
    def _get_mask(self, detected_face, predicted_mask, centering, sub_crop_offset):
              mask = self._erode(mask)
          logger.trace("mask shape: %s, raw_mask shape: %s", mask.shape, raw_mask.shape)
          return mask, raw_mask
  
    def _get_mask(self, detected_face, predicted_mask, centering, sub_crop_offset):
          """ Return the requested mask with any requested blurring applied.
  
          Parameters
          ----------
          detected_face: :class:`lib.align.DetectedFace`
keep keep keep keep replace keep keep keep keep keep
 Add support for different mask centering types 
plugins/convert/mask/mask_blend.py