Research Article

Research on the Segmentation of Biomarker for Chronic Central Serous Chorioretinopathy Based on Multimodal Fundus Image

Pseudocode 1

The pseudocode.
Input:SP, K, K1, K2, Ia, T;
  Ford =1:K
   Calculate the coordinate of seed point (, ) by Eq. (8);
   Set the initial value of =0;
   Set the initial value of pixelnumber Pn =1;
   Set the number of neighborhoods Nd =4;
   Set the initial average gray value of the segmented region Ra = Ia (, );
   WhilePnK1 × K2.
    1: Calculate the value of each pixel in the neighborhood of the current seed point (, ) by if ,add these pixels into RPd;
    2: Calculate the average gray value Ra of the current segmentation region RPd;
    3: Pn = Pn++; Update the seed point (, );
   End.
End.
 Calculate FS by Eq. (10).
OutputFS;