Figure 2.
The wound healing image analysis algorithm. First, the image is loaded (1) and cropped (2). An entropy filter is then applied to generate a texture image (3). The texture image is thresholded to give a binary image (4), which is then inverted (5). Small objects are then removed by morphologically opening the binary image (6). Objects touching the edge of the image are removed (7). The holes are then filled to create the wound mask (8). The wound area is calculated and then an outline of the wound is superimposed on the cropped image for quality control and analysis (9).