image with marked areas, within which the minimum values are calculated. The methodology of computing the value of w(2) is clearly visible. Local minimum values are denoted as “1”. The pixel values "1" in the image Lo correspond to the marked focuses in the image Ls (values 1, 2 and 9). Thus the algorithm has found a local minimum and accordingly separated it from the backdrop (the backdrop has the values of 40). In this case, each minimum (the values of 1, 2 and 9) surrounded by the backdrop (by the values of 40) has been correctly separated. The focuses thus designated, marked with the values "1", are the basis for further analysis.