One of the main STV methods used in processing recorded images of tested surfaces is a threshold processing. The result of such processing is usually an image with two grades of intensity, such as white indicating patterns against a black background. This processing means that the entire image is divided into two
sets of points: an object (indicating patterns) and background. In this specific case, the background points
should be divided into two groups: those of the background proper, which are always present in images