Skip to main content
. 2022 Feb 24;17(2):e0264140. doi: 10.1371/journal.pone.0264140

Fig 2. Multiple pre-processing stages for a radiographic image.

Fig 2

Stage 1: Binarization process giving a full pixel value to every non-zero pixel. Stage 2: Erosion and dilation process to remove artifacts in the image. Stage 3: Calculation of the center coordinate (red line) to divide and flip the image. Stage 4: Division and flipping process of femurs to be aligned with the same (i.e., left) side.