Skip to main content
. 2019 Dec 20;13(1):38. doi: 10.3390/ma13010038
Algorithm 1 Searching particle Algorithm 1.
1: Definition of min and max value for subimages
2: Image reading
3: for each defined value in size of image do
4:  Obtain grey code of subimage
5:  Compute histogram of subimage
6:  Define threshold value
7:  Obtain black and white of subimage
8:  Search the particle
9: while (detecting particle = 1) do
10:    Measure particle size
11:    Find location
12:    Label particle
13: end while
14: end for