IMAGES CONVERTER OF GEOLOGIC- LITHOLOGICAL PROFILES
The article is devoted to the program "Converter", which allows you to translate the geologic-lithological profile of a mineral field into a digital format in the form of a two-dimensional array. The object-oriented programming language Python was used to write the program. The NumPy, OpenCV, and MatPlotlib libraries are actively used. The implementation of this program is based on image segmentation and finding the prevailing colors in the OpenCV library. Image segmentation is a preliminary step in image processing. The obtained values allow you to find out the density distribution in the area under consideration. The program "Converter" has a good graphical representation of the results obtained using the MatPlotlib library. The program writes the final converted result as a two-dimensional array to a text file along the desired path. Thus, the matrix is easy to read for further use in conjunction with other programs. The purpose of this work was to create a program that converts the geologic-lithological profile of the field into a digital format in the form of a two-dimensional array, for further use of this matrix as the distribution density of the oil field. The "Converter" program converts any geologic-lithological profile into a two-dimensional array in a matter of minutes.