Photographic Wound Assessment Tool

deepskin.pwat.evaluate_PWAT_score(img: ndarray, mask: ndarray, ksize: tuple = (20, 20), verbose: bool = False) float[source]

Evaluate the PWAT score as combination of features extracted from the wound and peri-wound areas.

Parameters:
  • img (np.ndarray) – Input image to analyze in RGB fmt

  • mask (np.ndarray) – Semantic mask of the image

  • ksize (tuple) – Kernel dimension for the mask processing

  • verbose (bool (default := False)) – Enable/Disable the logging of the steps

Returns:

pwat – Photographic Wound Assessment Tool score for the image

Return type:

float