Skip to main content
. 2019 Apr 19;21(4):417. doi: 10.3390/e21040417
Algorithm 1: Preprocessing
1 Irem = brightBorderArtifactRemoval(Iorig);
2 Iext = backgroundExtension(Irem);
3 IextHSI = Iext → HSI color space;
4 IeqI = IextI + μIextIhm1;
5 IeqH = IextH + μ1Hμ2H;
6 IeqS = IextS + μ1Sμ2S;
7 Ieq = (IeqI, IeqH, IeqS) → RGB color space;
8 Iden = meanFilter(Ieq);
9 Iprep = CLAHE(Iden);