Image Processing
- deepskin.imgproc.get_perilesion_mask(mask: ndarray, ksize: tuple = (20, 20)) ndarray[source]
Extract the peri-lesion mask from the wound mask
- Parameters:
mask (np.ndarray) – Input wound mask in GRAYSCALE
ksize (tuple) – Kernel dimension for the mask processing
- Returns:
periwound_mask – Peri-lesion mask of the wound
- Return type:
np.ndarray