Interactive Image Processing for Robust Geometric Primitives Recognition
Alfiya A. Diyazitdinova · Proceedings of Telecommunication Universities · 2025
Relevance. Recognition of geometric primitives is used in image processing to solve problems related to the development of machine learning algorithms, reducing the analysis area and reducing computational complexity. One of the problems of primitives recognition is the resulting dependence from such external factors as: a wide range of changes in brightness, contrast and the interference caused by uneven lighting, foreign objects or pollution. A separate task is the geometric position estimation of the primitive in the image, which is defined by offsets, rotation and scale or parameters of a more complex mathematical transformation model. A wide class of tasks is not limited by the requirement of automatic processing in real time. Therefore, these problems can be solved by an interactive parameters setting. The interactive processing method ensures robustness to spatial-luminance distortions and various interferences. The article purpose is to improve the quality of recognition of geometric primitives (using the example of a circle) in images through interactive (visually controlled by the operator) processing. The proposed solution essence is two processing stages: the stage of pre-processing in interactive mode and the stage of estimating the geometric parameters of the primitive with automatic removal of impulse noise. At the first stage, a threshold is selected for detecting the contour of a primitive and limiting the analysis area (selecting a fragment) in the image. These parameters are determined by a graphical interface in interactive mode (for example, changing the detection threshold almost instantly displays recognized contours in the image). At the second stage, in accordance with the shape of the primitive, an area of interest is selected, which removes impulse noise (contour points that do not belong to the primitive), and the parameters of the primitive are estimated based on the point of the area of interest using the least squares method. The developed algorithm has an implementation as a program with a graphical interface. Experiments to test the developed algorithm showed satisfactory recognition of the geometric primitive “circle” on various types of images containing a road sign, a polymer gel particle, and an ferrule end face. The scientific novelty of the solution lies in the possibility of recognizing primitives, which is robust to spatial-brightness transformations (scale, displacements, brightness unevenness, etc.) and other noise. The theoretical significance lies in expanding the capabilities of recognition methods (in particular, primitives such as “circles”) through interactive selection of parameters at the preprocessing stage. The practical significance lies in the simplicity of image processing algorithms that are used to solve applied problems (preparing machine learning data, processing by optical micrometry methods) that do not require real-time recognition.