              retval = transform_image(image, self.matrix, self._size, self.padding)
          retval = retval if self._dtype is None else retval.astype(self._dtype)
          return retval
  
      def _convert_centering(self, image):
          """ When the face being loaded is pre-aligned, the loaded image will have 'head' centering
          so it needs to be cropped out to the appropriate centering.
  
          This function temporarily converts this object to a full head aligned face, extracts the
          sub-cropped face to the correct centering, reverse the sub crop and returns the cropped
 
</s> remove         face.
 </s> add         face at the selected coverage ratio. </s> remove         if self._is_aligned and self._centering != "head":  # Crop out the sub face from full head
 </s> add         if self._is_aligned and (self._centering != self._source_centering or
                                 self._coverage_ratio != 1.0):
            # Crop out the sub face from full head </s> remove         logger.trace("invert: %s, Original points: %s, transformed points: %s",
 </s> add         logger.trace("invert: %s, Original points: %s, transformed points: %s",  # type: ignore </s> remove             logger.trace("_extract_face called without a loaded image. Returning empty face.")
 </s> add             logger.trace("_extract_face called without a loaded image. "  # type: ignore
                         "Returning empty face.")
    def _convert_centering(self, image: np.ndarray) -> np.ndarray:
              retval = transform_image(image, self.matrix, self._size, self.padding)
          retval = retval if self._dtype is None else retval.astype(self._dtype)
          return retval
  
    def _convert_centering(self, image: np.ndarray) -> np.ndarray:
          """ When the face being loaded is pre-aligned, the loaded image will have 'head' centering
          so it needs to be cropped out to the appropriate centering.
  
          This function temporarily converts this object to a full head aligned face, extracts the
          sub-cropped face to the correct centering, reverse the sub crop and returns the cropped
keep keep keep keep replace keep keep keep keep keep
 lib.align.aligned_face updates
  - Typing
  - Legacy support for pre-aligned faces
  - Coverage support for pre-aligned faces
  - Standardized retrieval of sub-crops 
lib/align/aligned_face.py