Skip to main content
. 2024 Sep 12;24(18):5928. doi: 10.3390/s24185928
Algorithm 1 Suppression of the batwing effect in microstructure measurement
  • (i)

    Generate the standard deviation image from the original measurement data;

  • (ii)

    Select an appropriate batwing range based on the standard deviation image;

  • (iii)

    Automatically determine the window size of the filtration: when the center data are not within the batwing range, use the default size, 3; when the center data are within the batwing range, the size will change with the alteration of the center data position;

  • (iv)

    Set a threshold; when the center data are greater than (less than) this threshold, set the matrix values smaller than (larger than) this threshold to zero;

  • (v)

    Sort and take the median of the non-zero data in the filtering matrix;

  • (vi)

    Iterate through all data points to obtain the filtered data

end