Skip to main content
. 2022 Jun 28;12(7):973. doi: 10.3390/life12070973

Figure 4.

Figure 4

There is a noticeable overlap in the histograms of the foreground and the background in the blue channel. Histograms are slightly overlapped in the green channel. In the red channel, histograms are not overlapped and easily separable. Therefore, by setting 0 to the pixels lower than the threshold value, θ and setting 255 to the pixels higher than the θ, we can easily generate the background mask from the red channeled image. Source of fundus photograph: STARE data set and image file: im0139.ppm.