3D image generation and analysis system for coal accumulation and tail rope at the bottom of the main shaft of a coal mine

Through multi-view image acquisition and morphological gradient algorithm, combined with high-order Sobel operator and watershed transformation, the problem of insufficient accuracy and efficiency in generating 3D images of coal deposits and tail ropes in coal mines is solved, achieving efficient and accurate monitoring and Analysis has improved the economic benefits of coal mine operation, maintenance and management.

CN118570397BInactive Publication Date: 2024-09-27SHANDONG JIKUANG LUNENG COAL POWER CO LTD YANGCHENG COAL MINE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411034981.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-09-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology has insufficient accuracy and efficiency in generating 3D images of coal deposits and tail ropes at the bottom of coal mines, and has no advantages in environmental adaptability and cost, which affects the effectiveness of coal mine operation, maintenance and management.

Method used

Using multi-view image acquisition and morphological gradient algorithm, images are collected through multi-view infrared cameras, combined with high-order Sobel operator and watershed transform for image segmentation, tail rope areas are randomly screened for edge detection, and feature matching algorithms are used for data fusion and 3D Reconstruct, calculate coal accumulation volume and analyze growth.

Benefits of technology

It improves the accuracy and efficiency of 3D image generation, enhances the system's environmental adaptability and scalability, reduces costs, provides more reliable coal mine operation, maintenance and management support, and ensures the accuracy and accuracy of coal accumulation and tail rope monitoring. real-time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570397B
    Figure CN118570397B
Patent Text Reader

Abstract

The present invention relates to the field of image generation technology, and further to a 3D image generation and analysis system for coal accumulation and tail rope at the bottom of a main shaft of a coal mine. The system comprises: a multi-view image acquisition part, which is used to acquire images of the bottom of the main shaft of a coal mine at multiple view angles, and to divide a coal accumulation area and a tail rope area in each image to form a coal accumulation area set and a tail rope area set; a 3D image generation part, which is used to construct a 3D image of the coal accumulation area according to the coal accumulation area set, and to construct a 3D image of the tail rope area according to the tail rope area set. The present invention greatly improves the accuracy and efficiency of 3D image generation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of image generation, and in particular relates to a 3D image generation and analysis system for coal deposits at the bottom of a main shaft of a coal mine and a tail rope. Background Art

[0002] 3D image generation and analysis technology plays a key role in monitoring the coal accumulation and tail rope at the bottom of the main shaft of a coal mine. With the advancement of science and technology, 3D image generation technology has been widely used in various fields, including medical imaging, industrial inspection, virtual reality, etc. The coal mining field is no exception. By generating 3D images of the coal accumulation and tail rope at the bottom of the shaft, important data support can be provided for the operation, maintenance and management of coal mines. However, the existing technology still has many deficiencies in the accuracy and efficiency of 3D image generation, which affects the actual application effect.

[0003] At present, the generation of 3D images of coal deposits and tail ropes at the bottom of coal mines mainly relies on the following methods:

[0004] Single-view imaging method: Single-view imaging method usually uses a fixed camera to capture images of coal deposits or tail ropes at the bottom of the well, and then generates 3D images through image generation algorithms. Since the single-view imaging method can only capture a single-view information of an object, the generated 3D image has blind spots and cannot fully reflect the actual status of coal deposits or tail ropes at the bottom of the well. At the same time, the single-view imaging method is sensitive to factors such as ambient lighting and camera position, and is easily interfered with.

[0005] Stereoscopic vision method: The stereoscopic vision method uses two or more cameras to shoot the same object from different perspectives and generates a 3D image through parallax calculation. This method reconstructs the 3D structure of the object by matching feature points under different perspectives. The stereoscopic vision method has a large computational complexity in feature point matching and is easily affected by changes in lighting and the surface texture of the object, resulting in inaccurate feature point matching, which affects the accuracy of 3D image generation. In addition, the stereoscopic vision method has high requirements for camera calibration, and any slight deviation will lead to inaccurate reconstruction results.

[0006] Structured light scanning method: The structured light scanning method generates a 3D image of the object by projecting a specific grating pattern on the surface of the object, capturing the deformed grating pattern with a camera, and calculating the degree of deformation of the grating pattern. The structured light scanning method has high requirements for the synchronization of grating projection and image capture, and any slight inconsistency will affect the accuracy of the 3D image. At the same time, when dealing with objects with complex shapes and multi-surface reflections, this method is prone to the problem of the grating pattern not being able to be accurately captured, resulting in poor 3D image generation. Summary of the invention

[0007] The main purpose of the present invention is to provide a 3D image generation and analysis system for the coal accumulation at the bottom of the main shaft of a coal mine and the tail rope. The present invention greatly improves the accuracy and efficiency of 3D image generation, while enhancing the environmental adaptability and scalability of the system, reducing costs, improving economic benefits, and providing reliable technical support for the operation, maintenance and management of coal mines.

[0008] In order to solve the above problems, the technical solution of the present invention is achieved as follows:

[0009] A 3D image generation and analysis system for coal accumulation and tail rope at the bottom of a main shaft of a coal mine, the system comprising: a multi-view image acquisition part, used to acquire images of the bottom of a main shaft of a coal mine at multiple viewpoints, and to divide a coal accumulation area and a tail rope area in each image to form a coal accumulation area set and a tail rope area set; a 3D image generation part, used to construct a 3D image of the coal accumulation area according to the coal accumulation area set, and to construct a 3D image of the tail rope area according to the tail rope area set; using a morphological gradient algorithm, randomly selecting a tail rope area from the tail rope area set for edge detection, and obtaining an edge detection result, and judging whether the tail rope is worn or broken based on the 3D image of the tail rope area according to the edge detection result; constructing a 3D image of the coal accumulation area according to the coal accumulation area set, and the process of constructing a 3D image of the tail rope area according to the tail rope area set includes: performing data fusion and 3D reconstruction based on the coal accumulation area set or the tail rope area set to obtain a 3D reconstruction result; calculating the coal accumulation volume based on the 3D reconstruction result, and calculating the growth amount based on the historical coal accumulation volume data;

[0010] The multi-view image acquisition part includes: an image acquisition unit and an image segmentation unit; the image acquisition unit is a plurality of infrared cameras at different viewing angles, which are used to acquire a plurality of original infrared images of the bottom of the main shaft of the coal mine; the image segmentation unit is used to divide the coal accumulation area and the tail rope area in the original infrared image, specifically including: denoising each original infrared image to obtain a preprocessed image; using a high-order Sobel operator to calculate the gradient of the preprocessed image to obtain a gradient result; marking the foreground area and the background area of ​​the preprocessed image by morphological operation to obtain a marking result; combining the gradient result and the marking result to perform a watershed transformation to obtain a watershed label image; combining the watershed label image with the original infrared image to divide the coal accumulation area and the tail rope area;

[0011] The 3D image generation part performs feature extraction on the coal accumulation areas at different perspectives in the coal accumulation area set or the tail rope areas at different perspectives in the tail rope area set, extracts feature points, uses a feature matching algorithm to match the feature points, and determines the corresponding relationship between the same coal accumulation area or tail rope area in different perspectives; uses the matched feature points, adopts structured light, stereo vision or multi-perspective stereo reconstruction algorithm to perform data fusion, constructs a 3D point cloud of the coal accumulation area, and completes the generation of the 3D image of the coal accumulation area or the generation of the 3D image of the tail rope area.

[0012] Furthermore, the image segmentation unit uses the following formula to denoise each original infrared image:

[0013] ;

[0014] in, The denoised image is at position The pixel value of is the original infrared image at position The pixel value of is the standard deviation of the Gaussian filter, which controls the width of the filter; is the radius of the convolution kernel, which determines the size of the filter; and They are the offsets of the convolution kernel in the X-axis and Y-axis directions respectively.

[0015] Furthermore, the image segmentation unit uses the high-order Sobel operator to calculate the gradient of the preprocessed image through the following formula to obtain the gradient result:

[0016] ;

[0017] in, is the adjustment coefficient, ranging from 0.3 to 0.6; is the vertical gradient image at position The value of is calculated using the following formula:

[0018] ;

[0019] in, is the weight of the vertical Sobel kernel; is the horizontal gradient image at position The value of is calculated using the following formula:

[0020] ;

[0021] in, is the weight of the horizontal Sobel kernel.

[0022] Furthermore, the image segmentation unit marks the foreground area and the background area of ​​the preprocessed image by morphological operation, which specifically includes: performing morphological opening operation on the preprocessed image using the following formula:

[0023] ;

[0024] in, The image after morphological opening operation is at position The value of For corrosion operations; For expansion operation; is the structural element; the distance transformation is performed using the following formula:

[0025] ;

[0026] in, The image after distance transformation is at position The value of for distance; and are the offsets of the distance transform in the X-axis direction and the Y-axis direction respectively; the foreground area of ​​the preprocessed image is marked by the following formula:

[0027] ;

[0028] in, Mark the image for the foreground at position The value of is the standard deviation of Gaussian filtering; is the Heaviside function; The threshold for foreground labeling; is a ternary operator, which means that if the condition is true, it returns 255, otherwise it returns 0; the background area of ​​the preprocessed image is marked by the following formula:

[0029] ;

[0030] in, Mark the image for the background at position The value of; use the following formula to calculate the marking result:

[0031] ;

[0032] in, To mark the result at position The value of .

[0033] Furthermore, the image segmentation unit uses the following formula to combine the gradient result and the labeling result to perform a watershed transform to obtain a watershed label image:

[0034] ;

[0035] in, For the watershed label image at position The value of is the image boundary; is the path integral; is the integration variable; is the path from a point in the labeling result to the image boundary; is the watershed threshold, which is used to determine the threshold of path integration; if In the preset coal accumulation area threshold range, Divided into coal accumulation area; if In the preset tail rope area threshold range, Divided into the tail rope area.

[0036] Furthermore, in the 3D image generation part, a morphological gradient algorithm is used to randomly select a tail rope area from the tail rope area set, and the Canny edge detection algorithm is used to perform edge detection to obtain the edge detection result. Based on the edge detection result, the maximum edge curvature, edge strength and edge density are calculated; first, the absolute value of the difference between the maximum edge curvature and the surface maximum curvature of the 3D image of the tail rope area is calculated as the confidence numerator; then the following process is performed: if the edge strength and the edge density are respectively greater than the set edge strength threshold and edge density threshold, it is judged that the tail rope is worn, and the probability is 1 minus the inverse of the confidence numerator; if the edge strength and the edge density are respectively less than the set edge strength threshold and edge density threshold, it is judged that the tail rope is broken, and the probability is 1 minus the inverse of the confidence numerator.

[0037] Furthermore, in the 3D image generation part, the 3D point cloud is reconstructed into a 3D mesh using Delaunay triangulation or Alpha shape algorithm to obtain a triangular mesh, and then the volume of the coal accumulation is calculated.

[0038] Further, the following formula is used to calculate the volume of coal accumulation: :

[0039] ;

[0040] in, , and Respectively The three vertex vectors of a triangle mesh.

[0041] The 3D image generation and analysis system of coal accumulation and tail rope at the bottom of the main shaft of a coal mine of the present invention has the following beneficial effects: the system uses multiple infrared cameras to collect images of the bottom of the main shaft of a coal mine from different perspectives, and obtains more comprehensive and accurate 3D information through the fusion of multi-perspective images. This multi-perspective image acquisition method avoids the blind spot problem of the single-perspective imaging method and ensures the integrity and accuracy of the 3D image. The system extracts and matches feature points in images of different perspectives and uses these feature points for data fusion and 3D reconstruction. The feature point matching algorithm ensures the correct correspondence between the same area under different perspectives, reduces matching errors, and improves the accuracy of 3D reconstruction. This method overcomes the influence of illumination changes and surface texture on feature point matching in traditional stereo vision methods. Parallel processing and data fusion of multi-perspective images improve the efficiency of 3D image generation. Through parallel processing, the images collected by each camera can be denoised, segmented and feature extracted at the same time, reducing processing time. Data fusion combines information from different perspectives to quickly generate high-precision 3D point clouds, shortening the cycle of 3D image generation. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A schematic diagram of the system structure of a 3D image generation and analysis system for coal deposits at the bottom of a main shaft of a coal mine and a tail rope provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0044] Example 1: Reference Figure 1 , a 3D image generation and analysis system for coal accumulation and tail rope at the bottom of a main shaft of a coal mine, the system comprising: a multi-view image acquisition part, used to acquire images of the bottom of the main shaft of a coal mine at multiple viewpoints, and divide the coal accumulation area and the tail rope area in the image; a 3D image generation part, used to use a morphological gradient algorithm to randomly select a tail rope area from a set of tail rope areas for edge detection, obtain edge detection results, and judge whether the tail rope is worn or broken based on the edge detection results; the 3D image generation part is used to perform data fusion and 3D reconstruction based on the coal accumulation area of ​​multiple viewpoints to obtain a 3D reconstruction result; based on the results of the 3D reconstruction, the volume of the coal accumulation is calculated, and the growth amount is calculated based on the historical coal accumulation volume data.

[0045] Specifically, the multi-view image acquisition part is the key basic link. Its main task is to obtain comprehensive image information of the bottom environment through multi-view image acquisition technology, and accurately separate the coal accumulation area and tail rope area in the image through efficient image segmentation algorithm. First of all, the multi-view image acquisition technology is based on multiple high-definition cameras arranged at different angles to monitor the bottom of the main shaft of the coal mine in all directions. By reasonably arranging the cameras, the monitoring blind spots under a single perspective can be avoided to ensure the comprehensiveness and accuracy of the monitoring screen. The multi-view setting can not only cover a wider monitoring range, but also provide richer image information, laying a solid foundation for subsequent 3D reconstruction and data fusion. During the image acquisition process, the images captured by the high-definition camera need to be preprocessed to improve the image quality and the efficiency of subsequent processing. Image preprocessing includes steps such as denoising, contrast enhancement and image correction. Denoising can effectively reduce the noise generated by the camera when collecting images in low-light environments, contrast enhancement helps to highlight the details of coal accumulation and tail ropes in the image, and image correction is used to correct the image distortion caused by the camera installation angle or other factors. The preprocessed image has higher quality and clearer details, providing a high-quality data source for subsequent image segmentation. Image segmentation is a key step to accurately distinguish the coal accumulation area and tail rope area in the image. In order to achieve high-precision image segmentation, the system adopts semantic segmentation algorithms based on deep learning, such as U-Net or SegNet. These deep learning models can accurately identify and segment different areas in the image through large-scale data training. In practical applications, it is necessary to first collect a large amount of coal mine bottom image data and annotate these data, that is, manually mark the coal accumulation area and tail rope area, and then use the annotated data to train the deep learning model. The trained model can automatically identify and segment the newly collected images with high accuracy and fast processing speed. In the specific image segmentation process, the image input to the deep learning model first passes through the feature extraction layer. The model extracts important features such as edges and textures in the image through convolution operations, and then reduces the size of the feature map through a series of pooling operations, retaining important information while reducing the amount of calculation. Next, the size of the feature map is gradually restored through the deconvolution layer, and a segmentation map with the same size as the input image is generated, in which each pixel is assigned a category label, indicating that the pixel belongs to the coal accumulation area, tail rope area or background area. Through such processing, the coal accumulation area and tail rope area can be accurately separated from the background. The result of image segmentation not only directly affects the accuracy of subsequent tail rope wear and breakage detection, coal accumulation increment detection and other steps, but also affects the reliability and stability of the entire monitoring system. In order to further improve the accuracy of image segmentation, the system can also combine traditional image generation methods such as morphological processing and edge detection to optimize the segmentation results.Morphological processing can repair small fractures or holes in the segmentation results, and edge detection can further accurately locate the edge position of the tail rope to ensure the accuracy of the detection results. Through multi-view image acquisition and efficient image segmentation algorithm, this system can monitor the coal accumulation and tail rope conditions at the bottom of the main shaft of the coal mine in real time and comprehensively. Compared with the traditional single-view monitoring method, the multi-view setting and deep learning segmentation technology of this system significantly improve the coverage and accuracy of monitoring, and reduce the monitoring blind area and false alarm rate. In addition, the automated image generation process greatly reduces the need for manual intervention, improves work efficiency and the intelligence level of the monitoring system, and provides a strong guarantee for coal mine safety production. In short, the multi-view image acquisition part plays a vital role in the 3D image generation and analysis system of coal accumulation and tail rope at the bottom of the main shaft of the coal mine. Through advanced technical means, efficient and accurate coal accumulation and tail rope monitoring are achieved, which greatly improves the overall performance and application value of the system.

[0046] After the image preprocessing is completed, the system uses the morphological gradient algorithm to perform preliminary processing on the tail rope area. The morphological gradient algorithm highlights the edge features of the tail rope by calculating the grayscale gradient in the image, laying the foundation for subsequent edge detection. Specifically, the algorithm calculates the gradient map of the image through the expansion and erosion operations of the image. The gradient map can clearly show the edge of the tail rope, so that the tail rope can be more clearly separated from the background. The processed image is then refined and accurately located by edge detection algorithms, such as the Canny edge detection algorithm. The Canny edge detection algorithm is a multi-level edge detection method that tracks and connects the edges in the image by calculating the gradient strength and direction of the image, and finally generates a clear and continuous edge image. After obtaining the edge image, the system determines whether the tail rope is worn or broken by analyzing the continuity and integrity of the tail rope edge. Under normal circumstances, the edge of the tail rope should be continuous and complete, but if it is worn or broken, its edge will appear discontinuous or missing. In order to further improve the accuracy of detection, the system can introduce machine learning algorithms, combined with a large amount of training data, and automatically identify the specific location and degree of wear and breakage by learning the edge features of normal and abnormal tail ropes. In this way, the system can not only detect obvious breaks, but also identify early and slight wear, provide earlier warnings, and avoid the occurrence of safety accidents. In addition, the system can also compare historical data and trend analysis of the detected tail rope wear and breakage, and predict the service life and future failure probability of the tail rope by establishing a historical record and change trend model of the tail rope health status. Such predictive analysis can not only help coal mine managers formulate more scientific maintenance and replacement plans, but also further improve the safety and efficiency of coal mine operations. By comparing historical data and current detection results, the system can determine the increasing trend of tail rope wear and breakage, and automatically generate alarm information according to the preset threshold to remind relevant personnel to perform maintenance or replacement in time. In the entire detection process, the system has a very high degree of automation. From image acquisition, preprocessing, edge detection to wear and breakage judgment, all are automatically completed by computers, which greatly reduces the need for manual intervention and improves the efficiency and accuracy of detection. Compared with traditional manual detection methods, the automated detection system can not only greatly improve work efficiency, but also provide more objective and accurate detection results, avoiding errors and omissions caused by human factors. In addition, the real-time nature of the system is also a major advantage. Through real-time monitoring and analysis, abnormal conditions of the tail rope can be discovered in the first place to avoid accidents.

[0047] The 3D image generation part is the key link to achieve real-time monitoring and dynamic evaluation of the coal accumulation at the bottom of the mine. Its core lies in accurately calculating the volume of coal accumulation through multi-view data fusion and 3D reconstruction technology, and analyzing its growth based on historical data, so as to provide a scientific basis for coal mine safety management. The system first captures multi-view images of the coal accumulation area at the bottom of the mine through multiple high-definition cameras arranged at different angles. These images are preprocessed, including denoising, contrast enhancement, and geometric correction, to ensure that the images are clear and distortion-free, providing high-quality data for subsequent processing. After obtaining high-quality images, the system uses multi-view stereo vision (MVS) technology to fuse these images. MVS technology analyzes the images of the same object from different perspectives, extracts the feature points of each perspective, matches and fuses these feature points, and generates dense point cloud data of the object. In coal accumulation monitoring, the system uses this technology to reconstruct the images of the coal accumulation area at the bottom of the mine collected by multiple cameras in 3D to generate a 3D model of the coal accumulation area. This process can not only provide 3D structural information of the coal accumulation area, but also eliminate the occlusion and blind spot problems caused by a single perspective, ensuring the integrity and accuracy of the 3D model. After obtaining the 3D model of the coal accumulation area, the system uses a 3D calculation method to calculate the volume of the model. 3D volume calculation is to accumulate each volume unit in the 3D space through an integral method to obtain the total volume of the coal accumulation area. This process involves complex mathematical operations and geometric processing, but through advanced calculation algorithms and efficient computer hardware, the system can complete the volume calculation in a short time and provide accurate coal accumulation volume data. Real-time monitoring of coal accumulation volume is only part of the incremental detection of coal accumulation. The system also needs to compare the current coal accumulation volume with historical data to calculate the growth of coal accumulation. To achieve this, the system has established a database of historical coal accumulation data and recorded the coal accumulation volume data of each monitoring. By comparing the current volume data with the previous monitoring data, the system can calculate the growth of coal accumulation and identify the growth rate and trend of coal accumulation. The calculation of coal accumulation increment can not only provide current coal accumulation status information, but also predict future coal accumulation trends, providing early warning and decision support for coal mine managers. In actual applications, the workflow of the 3D image generation part includes steps such as multi-view image acquisition, data fusion, 3D reconstruction, volume calculation and historical data comparison. These steps realize comprehensive monitoring and dynamic evaluation of the coal accumulation at the bottom of the well through automated processing and efficient calculation. Compared with the traditional manual measurement method, the automated coal accumulation increment detection system not only improves work efficiency, but also provides more accurate and reliable monitoring data, avoiding errors and safety hazards caused by manual operation. In addition, the system can also combine advanced machine learning algorithms to conduct in-depth analysis and trend prediction of coal accumulation growth data. By learning the changing laws of historical data and coal accumulation increments, the system can establish a prediction model for coal accumulation growth and predict future coal accumulation trends.This predictive analysis can not only help coal mine managers take measures in advance to prevent safety problems caused by excessive coal accumulation, but also optimize coal mine production scheduling and improve resource utilization efficiency.

[0048] Embodiment 2: The multi-view image acquisition part comprises: an image acquisition unit and an image segmentation unit; the image acquisition unit is a plurality of infrared cameras at different viewing angles, which are used to acquire a plurality of original infrared images of the bottom of the main shaft of a coal mine; the image segmentation unit is used to divide the original infrared image into a coal accumulation area and a tail rope area, specifically comprising: denoising each original infrared image to obtain a preprocessed image; using a high-order Sobel operator to calculate the gradient of the preprocessed image to obtain a gradient result; marking the foreground area and the background area of ​​the preprocessed image through morphological operations to obtain a marking result; combining the gradient result and the marking result to perform a watershed transform to obtain a watershed label image; combining the watershed label image with the original infrared image to divide the coal accumulation area and the tail rope area.

[0049] Specifically, the infrared camera captures multiple original infrared images of the well bottom from different angles, and these images are transmitted to the image segmentation unit via a wireless or wired network. The image segmentation unit first preprocesses each original infrared image, including steps such as denoising, contrast enhancement, and geometric correction to ensure that the image is clear and distortion-free, providing high-quality data for subsequent processing. Denoising processing usually uses filtering algorithms such as median filtering and Gaussian filtering, which can effectively smooth the image, retain important edge and detail information, and remove noise to obtain a higher quality preprocessed image. After obtaining the preprocessed image, the system uses a high-order Sobel operator to calculate the gradient of the preprocessed image. The Sobel operator is an edge detection operator that can highlight the edge features in the image by calculating the gradient change of the grayscale value in the image. The high-order Sobel operator obtains the gradient results of the image by performing a convolution operation on the image. These gradient results represent the areas where the pixel values ​​in the image change most significantly, that is, the possible edge locations. By calculating the gradient, the edges in the image can be effectively identified, providing important information for subsequent image segmentation. Next, the system performs morphological operations on the preprocessed image to further clarify the foreground and background areas in the image. Morphological operations include dilation, erosion, opening and closing operations, etc. These operations can effectively deal with the connectivity problem in the image and mark the foreground and background areas of the image. For example, through the morphological dilation operation, the boundary of the foreground area can be expanded to mark the foreground area more clearly; through the morphological erosion operation, the background area can be reduced to make the background area clearer. The marking results are used to distinguish the foreground (i.e., the coal accumulation area and the tail rope area) and the background (i.e., the non-coal accumulation area and the tail rope area) in the image. Combining the gradient results and the marking results obtained by the morphological operation, the system performs a watershed transformation. The watershed transformation is an image segmentation algorithm based on topological morphology. By treating the image as a terrain surface, the area with high gradient values ​​is regarded as a ridge, and the area with low gradient values ​​is regarded as a valley. By simulating the process of water flowing from the valley to the top of the mountain, the low gradient area in the image is gradually submerged, and finally a watershed line is formed. These watershed lines divide the image into several non-overlapping areas. The watershed transform can effectively separate adjacent objects in an image and plays an important role in the segmentation of coal accumulation areas and tail rope areas. In this way, the system can not only identify and segment the coal accumulation areas and tail rope areas, but also maintain the integrity and coherence of objects in the image, avoiding the problem of over-segmentation or under-segmentation. Based on the watershed label image generated by the watershed transform, the system maps these labels to the actual image pixel values, thereby accurately dividing the coal accumulation area and tail rope area. By combining the original infrared image, the system can accurately identify the specific location and boundaries of these areas, providing a reliable data basis for subsequent detection and analysis. It is worth noting that this multi-view infrared image acquisition and segmentation method has significant advantages over the traditional single-view visible light image monitoring method.First, the multi-view setting avoids the monitoring blind spots under a single view, ensuring the comprehensiveness and accuracy of the monitoring picture. Secondly, the infrared camera can work under low light conditions, adapt to the low-light environment of the coal mine, and provide clear image data. In addition, through advanced image generation algorithms such as high-order Sobel operator and watershed transform, the system can achieve high-precision image segmentation, effectively identify and divide the coal accumulation area and tail rope area. This process not only improves the accuracy and real-time performance of monitoring, but also provides high-quality data support for subsequent tail rope wear and break detection, coal accumulation increment detection and other links, ensuring the efficient operation of the entire system and the safety of coal mine operations. Through this automated image generation and segmentation technology, the system can monitor the status of coal accumulation and tail rope in real time in a complex underground environment, promptly detect potential safety hazards, and provide early warning information.

[0050] Embodiment 3: The image segmentation unit uses the following formula to denoise each original infrared image:

[0051] ;

[0052] in, The denoised image is at position The pixel value of is the original infrared image at position The pixel value of is the standard deviation of the Gaussian filter, which controls the width of the filter; is the radius of the convolution kernel, which determines the size of the filter; and They are the offsets of the convolution kernel in the X-axis and Y-axis directions respectively.

[0053] Specifically, the Gaussian filter is a common and effective image denoising tool, and its working principle is based on the Gaussian function. The Gaussian function is smooth and continuous, and can effectively smooth random noise in the image without blurring the edges and details of the image too much. In the image generation process, the Gaussian filter achieves denoising by calculating the weighted average of each pixel, where the weight is determined by the Gaussian function. Specifically, the filtering process takes into account each pixel. and the pixels in its neighborhood , and based on their distance from the central pixel and the preset standard deviation , calculate the corresponding weight. In the formula In the denoised image, the pixel value is obtained by weighted summation of the neighboring pixel values. This weighting process is done by the Gaussian function The shape of the Gaussian function determines the distribution of weights. The weight at the center is the largest, and the weight gradually decreases as the distance from the center increases. This means that the neighboring pixels closer to the center pixel contribute more to the denoising result, while the neighboring pixels far away from the center pixel have less impact on the denoising result. Controls the smoothness of the Gaussian filter. A value of 0 will make the filter focus more on preserving image details, but the denoising effect will be weaker; a larger A value of 0 will make the filter more focused on smoothing noise, but may cause blurring of image details. Therefore, choosing an appropriate The value is the key to ensure a balance between denoising effect and image detail preservation. The radius of the convolution kernel Determines the size of the filter. A larger convolution kernel can consider more neighboring pixels, thereby achieving a more comprehensive smoothing effect, but it also increases the computational complexity. In the 3D image generation and analysis system of coal accumulation and tail rope at the bottom of the main shaft of a coal mine, denoising is crucial to improving the overall performance of the system. Due to the complex underground environment and the high noise, infrared images are susceptible to various interferences. Through the denoising of the Gaussian filter, the random noise in the image can be effectively reduced, the clarity and contrast of the image can be enhanced, and a higher quality data foundation can be provided for subsequent image segmentation, coal accumulation detection, and tail rope status monitoring. Specifically, the image denoised by the Gaussian filter has a higher signal-to-noise ratio, which makes the important features and edge information in the image more prominent, which has an important impact on the accuracy of subsequent steps such as high-order Sobel operator calculation of gradients, morphological operations, and watershed transformation. For example, the high-order Sobel operator detects edges by calculating image gradients, and its effect depends on the clarity and noise level of the image. Denoising can significantly reduce noise interference, make gradient calculation more accurate, and thus improve the effect of edge detection. Morphological operations also benefit from denoising. The denoised image makes the distinction between foreground and background areas more obvious. Morphological dilation and erosion operations can more accurately mark the foreground and background areas, improving the segmentation effect of the watershed transform. The watershed transform is an image segmentation algorithm based on topological morphology. It divides the image into several non-overlapping areas by simulating the flooding process of water flow. High-quality denoised images enable the watershed transform to more accurately identify and segment the coal accumulation area and the tail rope area, avoiding the problem of over-segmentation or under-segmentation.

[0054] Embodiment 4: The image segmentation unit uses the high-order Sobel operator to calculate the preprocessed image gradient through the following formula to obtain the gradient result:

[0055] ;

[0056] in, is the adjustment coefficient, ranging from 0.3 to 0.6; is the vertical gradient image at position The value of is calculated using the following formula:

[0057] ;

[0058] in, is the weight of the vertical Sobel kernel; is the horizontal gradient image at position The value of is calculated using the following formula:

[0059] ;

[0060] in, is the weight of the horizontal Sobel kernel.

[0061] Specifically, the image segmentation unit needs to process the denoised image, that is, , these images have been filtered through a Gaussian filter to remove noise, improving the quality and clarity of the image. The calculation of the high-order Sobel operator relies on the gradient in the horizontal and vertical directions. The gradient of an image reflects the rate of change of the pixel value. The larger the gradient amplitude, the more drastic the image change at that position, which means there may be an edge. The key to gradient calculation lies in the adjustment coefficient introduced by the high-order Sobel operator. , this coefficient is used to adjust the sensitivity of the gradient calculation. Adjustment coefficient The value range is from 0.3 to 0.6. The value of can effectively suppress the influence of noise on gradient calculation and improve the accuracy of edge detection. Specifically, the gradient amplitude The calculation combines the horizontal gradient and vertical gradient and through Adjustments are made to ensure the accuracy and robustness of the calculation results. Vertical Gradient The calculation of involves a weighted sum of the pixel values ​​of the denoised image. This process uses the weights of the vertical Sobel kernel In the specific formula, the accuracy and robustness of the gradient calculation are ensured by combining the quadratic difference of the weights. Similarly, the horizontal gradient The calculation is also done by weighted summing the image pixel values ​​and combining the weights of the horizontal Sobel kernel . This calculation method can not only capture subtle changes in the image, but also suppress the influence of noise, thereby improving the accuracy of edge detection. The high-order Sobel operator calculates the gradient amplitude of each pixel to obtain the gradient amplitude map of the entire image. This gradient amplitude map can highlight the edge features in the image, making the subsequent image segmentation more accurate and reliable. In the monitoring of coal accumulation and tail rope at the bottom of the main shaft of a coal mine, accurate edge detection is particularly important because it can effectively distinguish between the coal accumulation area and the tail rope area, thereby improving the accuracy of image segmentation. Through this calculation method of the high-order Sobel operator, the system can more accurately detect the edge features in the image. This is crucial for the monitoring of coal accumulation and tail rope at the bottom of the main shaft of a coal mine, because accurate edge detection can effectively distinguish between the coal accumulation area and the tail rope area, thereby improving the accuracy of image segmentation. The superiority of the high-order Sobel operator in edge detection lies in its ability to effectively suppress noise while retaining image details, thereby achieving high-precision image generation in a complex underground environment.

[0062] In practical applications, the system calculates the gradient amplitude map of the entire image by performing a high-order Sobel operator calculation on each pixel. This gradient amplitude map can highlight the edge features in the image, making subsequent image segmentation more accurate and reliable. In this way, the system can accurately identify the boundaries of the coal accumulation area and the tail rope area, thereby providing high-quality data support for subsequent monitoring and analysis. The first step in image generation is to denoise the image using a Gaussian filter to remove random noise in the image and enhance the contrast and clarity of the image. Image after denoising This provides a good foundation for the high-order Sobel operator to calculate the gradient more efficiently. The calculation formula of the high-order Sobel operator combines the horizontal gradient and vertical gradient , and by adjusting the coefficient Make adjustments. and They represent the gradients of the image in the horizontal and vertical directions respectively. The horizontal and vertical gradients of each pixel are calculated by taking a weighted sum of the image pixel values. and are the weights of the horizontal and vertical Sobel kernels, respectively. The choice of weights has an important impact on the accuracy and robustness of the gradient calculation. Vertical gradient The calculation formula of ensures the accuracy and robustness of gradient calculation by incorporating the quadratic difference of weights. Similarly, the horizontal gradient The calculation is also done by weighted summing the image pixel values ​​and combining the weights of the horizontal Sobel kernel . This calculation method can not only capture subtle changes in the image, but also suppress the influence of noise, thereby improving the accuracy of edge detection. By using the high-order Sobel operator, the system can more accurately detect edge features in the image. This is crucial for the monitoring of coal accumulation and tail rope at the bottom of the main shaft of a coal mine, because accurate edge detection can effectively distinguish between the coal accumulation area and the tail rope area, thereby improving the accuracy of image segmentation. The superiority of the high-order Sobel operator in edge detection lies in its ability to effectively suppress noise while retaining image details, thereby achieving high-precision image generation in a complex underground environment. The calculation result of the high-order Sobel operator, namely the gradient amplitude map, can highlight the edge features in the image, making subsequent image segmentation more accurate and reliable. Based on the gradient amplitude map, the system can use various image segmentation algorithms, such as watershed transform, morphological operations, etc., to accurately segment the coal accumulation area and the tail rope area in the image. In this way, the system can accurately identify the boundaries of the coal accumulation area and the tail rope area, thereby providing high-quality data support for subsequent monitoring and analysis. This high-precision image segmentation method can significantly improve the overall performance of the system, making the monitoring of coal accumulation and tail rope at the bottom of the main shaft of a coal mine more accurate and reliable.

[0063] Embodiment 5: The process of marking the foreground area and the background area of ​​the pre-processed image by the image segmentation unit through morphological operation specifically includes: performing a morphological opening operation on the pre-processed image using the following formula:

[0064] ;

[0065] in, The image after morphological opening operation is at position The value of For corrosion operations; For expansion operation; is the structural element; the distance transformation is performed using the following formula:

[0066] ;

[0067] in, The image after distance transformation is at position The value of for distance; and are the offsets of the distance transform in the X-axis direction and the Y-axis direction respectively; the foreground area of ​​the preprocessed image is marked by the following formula:

[0068] ;

[0069] in, Mark the image for the foreground at position The value of is the standard deviation of Gaussian filtering; is the Heaviside function; The threshold for foreground labeling; is a ternary operator, which means that if the condition is true, it returns 255, otherwise it returns 0; the background area of ​​the preprocessed image is marked by the following formula:

[0070] ;

[0071] in, Mark the image for the background at position The value of; use the following formula to calculate the marking result:

[0072] ;

[0073] in, To mark the result at position The value of .

[0074] Specifically, the preprocessed image has been denoised by a Gaussian filter to obtain a clearer image. The purpose of this step is to use morphological opening to process the preprocessed image. Morphological opening is an image generation technique that combines erosion and dilation operations, which is mainly used to remove small noise in the image while retaining the main structural features. The erosion operation effectively eliminates isolated noise by reducing the bright area in the image. The dilation operation restores the overall shape of the image by increasing the area of ​​the bright area. The result of the morphological opening operation is a cleaner and smoother image, which provides a good foundation for subsequent processing. In specific implementation, the morphological opening operation relies on a small rectangle or other shape called a structural element. By performing an erosion operation on the preprocessed image and the structural element, small noise in the image is removed. Then a dilation operation is performed to restore the image to a smoother state. In this way, through the morphological opening operation, a morphologically processed image is obtained, marked as This step ensures that the noise of the image is effectively removed while the main structure is preserved. Next, the image after the morphological opening operation is subjected to distance transformation. The purpose of distance transformation is to calculate the distance from each pixel in the image to its nearest foreground pixel, thereby establishing an information image about the distance in the image. By traversing all the pixels in the image and calculating the distance from the nearest foreground pixel, a new image can be generated, called the distance transformed image. In the distance transformation process, the system calculates the minimum distance from each pixel to its nearest foreground pixel using the image after morphological opening operation. This process reveals the spatial relationship between different areas in the image.

[0075] After obtaining the distance transform image, the system marks the foreground area. The marking of the foreground area is based on the pixel values ​​in the distance transform image. By analyzing the distance transform image, it is possible to determine which pixels belong to the foreground area. This process uses a Gaussian filter function to perform a weighted summation of the distance transform image and compares it with a threshold to determine the foreground area. When the pixel value in the distance transform image exceeds a certain threshold, the pixel is marked as foreground. This method ensures that the foreground area in the image can be accurately identified and marked. Foreground Marked Image The foreground pixels in the image are assigned specific values ​​to distinguish them from the background pixels. Similarly, the marking of the background area is achieved by analyzing the image after the morphological opening operation. The marking formula for the background area also uses the Gaussian filter function to perform weighted summation on the image and compares it with a threshold to determine the background area. When the image pixel value after the morphological opening operation meets a certain condition, the pixel is marked as background. In this way, the background marking image The background pixels in the image are assigned specific values ​​to distinguish them from the foreground pixels. Through these operations, the system can generate a foreground labeled image and a background labeled image. Finally, the system combines the foreground and background labeled images to calculate the complete labeled result image. . This process achieves comprehensive labeling of all areas in the image by adding the foreground labeled image and the background labeled image. This step ensures that all foreground and background areas in the image are accurately labeled, providing a reliable basis for subsequent image segmentation and analysis. In the 3D image generation and analysis system of coal accumulation and tail rope at the bottom of the main shaft of the coal mine, these morphological operations are crucial to ensure the high accuracy of image segmentation. The morphological opening operation can effectively remove noise in the image and retain key edge information. The distance transformation step enhances the ability to distinguish different areas in the image, so that the foreground and background areas can be accurately labeled. By combining the foreground and background labeled images, the system generates a complete labeled result image, which provides high-quality data support for subsequent image segmentation and analysis. The morphological opening operation is the basis of the entire process. The image is corroded and expanded by the structural element, so that the noise in the image is effectively removed while retaining the main structural features. The distance transformation establishes the spatial relationship information in the image by calculating the distance from each pixel to the nearest foreground pixel. The distance transformation image generated by this step plays a key role in the foreground and background labeling process. The foreground and background marking is achieved by analyzing the distance transformation image and the image after the morphological opening operation, using the Gaussian filter function and threshold comparison to accurately mark the foreground and background areas. The generation of the foreground marking image and the background marking image provides a basis for the final marking result image. By adding the two, the system achieves comprehensive marking of all areas in the image. This process ensures that all foreground and background areas in the image are accurately identified and marked, providing a solid foundation for subsequent image segmentation. In general, Example 5 achieves high-precision image segmentation through morphological operations, distance transformation, and foreground and background marking. These operations ensure that the system can accurately monitor the coal accumulation area and tail rope status in a complex underground coal mine environment, thereby improving the reliability and effectiveness of the overall monitoring system.

[0076] Embodiment 6: The image segmentation unit uses the following formula to combine the gradient result and the labeling result to perform a watershed transformation to obtain a watershed label image:

[0077] ;

[0078] in, For the watershed label image at position The value of is the image boundary; is the path integral; is the integration variable; is the path from a point in the labeling result to the image boundary; is the watershed threshold, which is used to determine the threshold of path integration; if In the preset coal accumulation area threshold range, Divided into coal accumulation area; if In the preset tail rope area threshold range, Divided into the tail rope area.

[0079] Specifically, the system combines the gradient result and the labeling result to start the calculation of the watershed transform. It provides information about the rate at which pixel values ​​in an image change, and the labeling results The initial foreground and background markers are provided. The combination of the two provides the initial conditions for the watershed transform. The core idea of ​​the watershed transform is to simulate the flow of water from low-gradient areas to high-gradient areas by analyzing the gradient information of the image, and finally form a watershed line in the image to divide the image into multiple areas. Specifically, the watershed transform is implemented by the path integral method. The purpose of the path integral is to calculate the minimum gradient value on the path from a certain point in the image to the image boundary. This process can be achieved by finding the path from the marked point to the image boundary and calculating the minimum gradient on the path. The minimum gradient value on the path determines whether the water can pass through this path. If the minimum gradient value on the path meets certain conditions, then this path can be considered as a valid watershed path. In order to determine the watershed area more accurately, the system uses Gaussian filter function and Heaviside function to smooth and threshold the gradient results. The Gaussian filter function is used to smooth the gradient value and reduce the influence of noise, while the Heaviside function is used to threshold the gradient value to determine which pixels can be used as candidate points for the watershed. In this way, the system can determine the watershed line more stably and reduce the influence of noise and error. In the specific implementation of path integral, the system needs to traverse all pixels in the image and calculate the minimum gradient value on the path from each pixel to the image boundary. This process combines the Gaussian filter function and the Heaviside function to perform weighted summation on each pixel to obtain the result of path integral. The formula of path integral is expressed as:

[0080] ,

[0081] The Gaussian filter function is used to smooth the gradient value, and the Heaviside function is used to threshold the gradient value. This process ensures that the result of the path integral can accurately reflect the gradient changes on the path, thereby helping to determine the effective watershed path. The result of the watershed transformation is a new image, called the watershed label image. . This image reflects the segmentation results of different areas in the image, and the value of each pixel indicates the area to which the pixel belongs. In the watershed label image, the system determines the area to which it belongs by analyzing the value of each pixel. If the value of the pixel is within the preset threshold range of the coal accumulation area, the pixel is divided into the coal accumulation area; if the value of the pixel is within the preset threshold range of the tail rope area, the pixel is divided into the tail rope area. In this way, the system can accurately identify and divide the coal accumulation area and the tail rope area in the image. The watershed transform uses the gradient information and initial labeling of the image to generate accurate segmentation lines by simulating the process of water flow. These segmentation lines divide the image into multiple non-overlapping areas, each of which represents a different object or background. The final segmentation result provides high-quality data support for subsequent image analysis, ensuring that the system can still maintain efficient and accurate monitoring capabilities in a complex coal mine environment.

[0082] In practical applications, the advantage of watershed transformation lies in its high sensitivity to image details and good noise suppression ability. By combining gradient results and marking results, the system can more accurately determine the boundaries and regions in the image. This is crucial for the monitoring of coal accumulation and tail rope at the bottom of the main shaft of a coal mine, because the precise positioning and identification of coal accumulation and tail rope are the key to ensuring safe production in coal mines. The watershed transformation in Example 6 achieves high-precision image segmentation through complex mathematical calculations and precise image generation. By combining gradient information and marking results, the system uses path integrals and Gaussian filter functions to simulate the flow process of water flow, and finally forms a watershed line to divide the image into multiple regions. Each region represents a different object or background, and the precise division of these regions provides a solid foundation for subsequent image analysis. In the process of watershed transformation, path integral plays a key role. The path integral method determines the effective watershed path by calculating the minimum gradient value on the path from a point in the image to the image boundary. The introduction of the Gaussian filter function smoothes the gradient value and reduces the impact of noise, while the Heaviside function thresholds the gradient value to ensure that only paths that meet certain conditions can be used as watershed paths. This process combines the Gaussian filter and the Heaviside function to perform a weighted summation on each pixel point to obtain the result of the path integral, thereby determining the effective watershed path. Finally, the system obtains the watershed label image through the watershed transform. , and by analyzing the value of the watershed label image, the pixel points are divided into the coal accumulation area or the tail rope area. This process ensures that all foreground and background areas in the image are accurately identified and marked, providing high-quality data support for subsequent image segmentation and analysis. In general, Example 6 achieves high-precision image segmentation through watershed transformation, enhances the monitoring capability of the system in a complex coal mine environment, and improves the reliability and effectiveness of the overall system. In this system, the application of watershed transformation is crucial. First, the calculation of the gradient result depends on the rate of change in the image, and the gradient of these change rates can provide valuable information about the edge of the image. The gradient result and the labeling result are combined to form an initial condition, which provides a good starting point for the watershed transformation. In the path integration process, the watershed transformation evaluates the minimum gradient value on the path by gradually analyzing the path from a certain point in the image to the image boundary. If the minimum gradient value on the path meets specific conditions, then this path can be regarded as a valid watershed path. The Gaussian filter function plays a role in smoothing the gradient value in this process, ensuring the stability and accuracy of the calculation results. The Heaviside function thresholds the gradient value to ensure that only paths that meet certain conditions can be accepted as watershed paths. Watershed label image The generation of is the core result of this process. This image accurately divides the different areas in the image, and the value of each pixel represents the specific area to which it belongs. By analyzing these values, the system can accurately identify the coal accumulation area and the tail rope area. This is of great significance for the monitoring of the bottom of the main shaft of the coal mine, because accurate area identification can help managers better understand the actual situation underground in the coal mine and make more scientific decisions. In addition, the watershed transform has high robustness and noise resistance. This enables the system to maintain a high segmentation accuracy when dealing with noise and complex backgrounds in practical applications. In this way, the system can accurately identify and monitor the coal accumulation area and the tail rope area in various complex environments, improving the reliability and effectiveness of the overall monitoring system.

[0083] Embodiment 7: In the 3D image generation part, a morphological gradient algorithm is used to randomly select a tail rope area from the tail rope area set, and the Canny edge detection algorithm is used to perform edge detection to obtain edge detection results. Based on the edge detection results, the maximum edge curvature, edge strength and edge density are calculated; first, the absolute value of the difference between the maximum edge curvature and the surface maximum curvature of the 3D image of the tail rope area is calculated as the confidence numerator; then the following process is performed: if the edge strength and the edge density are respectively greater than the set edge strength threshold and edge density threshold, it is judged that the tail rope is worn, and the probability is 1 minus the inverse of the confidence numerator; if the edge strength and the edge density are respectively less than the set edge strength threshold and edge density threshold, it is judged that the tail rope is broken, and the probability is 1 minus the inverse of the confidence numerator.

[0084] Specifically, the system randomly selects a tail rope area from the set of tail rope areas for analysis. The morphological gradient algorithm is used to preliminarily process the image. This algorithm highlights the edge features of the tail rope by calculating the gradient of the grayscale value in the image. The morphological gradient is obtained through dilation and erosion operations. The specific process is: first dilate the image, then erode it, and finally calculate the difference between the dilated image and the eroded image. The morphological gradient can effectively enhance the edges in the image, so that the edge detection algorithm can more accurately capture the edge information of the tail rope. Next, the system uses the Canny edge detection algorithm to perform edge detection on the selected tail rope area. The Canny edge detection algorithm is a classic edge detection method that extracts the edges in the image through multi-level processing. The steps of the algorithm include: first, Gaussian filtering the image to remove noise, then calculating the gradient amplitude and direction of the image, then applying non-maximum suppression to refine the edge, and finally obtaining the final edge detection result through double threshold processing and edge connection. The Canny edge detection algorithm is known for its high detection accuracy and noise resistance, and is very suitable for edge detection in complex environments. After obtaining the edge detection result, the system calculates the intensity and density of the edge. Edge strength refers to the grayscale value of edge pixels, indicating the edge's obviousness; edge density refers to the number of edge pixels per unit area, indicating the density of the edge. The purpose of calculating edge strength and density is to evaluate the condition of the tail rope to determine whether it is worn or broken.

[0085] Specifically, the edge strength is calculated by accumulating the grayscale values ​​of edge pixels and taking the average value. If a pixel in the edge detection result is determined to be an edge, the grayscale value of the pixel is included in the calculation of edge strength. The edge density is calculated by counting the number of edge pixels in the edge detection result and dividing it by the area of ​​the tail rope area. In this way, the edge strength and edge density reflect the significance and density of the edge respectively. Once the edge strength and edge density are calculated, the system compares these values ​​with the preset thresholds. If both the edge strength and edge density are greater than the set threshold, it can be determined that the tail rope is worn. This is because a worn tail rope usually produces more fine cracks and wear marks, making the edge appear more obvious and dense. On the contrary, if both the edge strength and edge density are less than the set threshold, it can be determined that the tail rope is broken. A broken tail rope usually shows obvious broken edges, but these edges are not too dense in the local area, so the edge strength and density are low. In this way, the system can accurately identify the wear and breakage of the tail rope and issue an alarm in time. In this way, coal mine managers can take timely measures to avoid potential safety hazards and improve the safety and efficiency of coal mine production. The system uses image generation technology to realize automatic monitoring of the tail rope status by combining the morphological gradient algorithm and the Canny edge detection algorithm, greatly reducing the workload and error of manual detection. The morphological gradient algorithm enhances the edges in the image through expansion and corrosion operations, so that the edge detection algorithm can more accurately capture the edge information of the tail rope. The expansion operation makes the edge more obvious by expanding the bright area in the image; while the corrosion operation removes small noise points by shrinking the bright area. Through the combination of these two operations, the morphological gradient can highlight the main edge features in the image, providing a good foundation for subsequent Canny edge detection. The Canny edge detection algorithm ensures the accuracy and stability of edge detection through multi-level processing steps. First, the noise in the image is removed by Gaussian filtering to prevent the noise from interfering with the edge detection results. Then, the gradient amplitude and direction of the image are calculated to determine the candidate points of the edge. Then, the edge is refined by non-maximum suppression and non-edge points are removed. Finally, the final edge detection result is obtained through double threshold processing and edge connection. This processing flow ensures the accuracy of edge detection and works effectively even in complex environments.

[0086] Embodiment 8: In the 3D image generation part, feature extraction is performed on the coal accumulation area at different viewing angles, feature points are extracted, and feature matching algorithm is used to match the feature points to determine the corresponding relationship of the same coal accumulation area in different viewing angles; using the matched feature points, structured light, stereo vision or multi-view stereo reconstruction algorithm are used for data fusion to construct a 3D point cloud of the coal accumulation area; Delaunay triangulation or Alpha shape algorithm is used to reconstruct the 3D point cloud into a 3D mesh to obtain a triangular mesh, and then the volume of the coal accumulation is calculated.

[0087] Specifically, feature extraction is performed on coal accumulation areas from different perspectives. Feature extraction is performed by analyzing key points or feature points in the image. These feature points have high uniqueness and repeatability and can be accurately identified in images from different perspectives. Common feature extraction algorithms include SIFT (Scale Invariant Feature Transform), SURF (Speeded Up Robust Features), and ORB (Orbital Robust Features). These algorithms detect key points in the image and generate a descriptor for each key point for matching between different images. After extracting the feature points, the system uses a feature matching algorithm to match these feature points to determine the correspondence between the same coal accumulation area in different perspectives. The feature matching algorithm finds the feature point pairs that match in different images by comparing the similarity between feature descriptors. Common feature matching algorithms include KNN (k nearest neighbor), BF (brute force matching), and FLANN (fast library nearest neighbor matching). Through these algorithms, the system can accurately find the corresponding feature points of the same coal accumulation area in images from different perspectives. After determining the matching feature points, the system uses these feature points for data fusion and constructs a 3D point cloud of the coal accumulation area using structured light, stereo vision or multi-view stereo reconstruction algorithms. Structured light technology reconstructs the 3D shape by projecting a specific grating pattern onto the coal accumulation area and photographing the deformation of the pattern from different perspectives. Stereo vision technology calculates the depth information of each point in the scene by analyzing the parallax between images from different perspectives. The multi-view stereo reconstruction algorithm combines images from multiple perspectives to comprehensively calculate the 3D structure of the coal accumulation area. Regardless of which technology is used, an accurate 3D point cloud can be generated in the end to represent the spatial distribution of the coal accumulation area. After obtaining the 3D point cloud, the system uses Delaunay triangulation or Alpha shape algorithm to reconstruct the 3D mesh of the 3D point cloud. Delaunay triangulation forms a complete 3D mesh by connecting the points in the point cloud into non-overlapping triangles. The Alpha shape algorithm constructs the outline of the point cloud by adjusting the shape parameters to generate a 3D mesh that is more in line with the actual shape. Both algorithms can convert 3D point clouds into triangular meshes, thus providing a basis for volume calculation. After the triangular mesh reconstruction is completed, the system determines the volume of the coal accumulation area by calculating the volume of the triangular mesh. The specific volume calculation method is to integrate all triangles and accumulate the volume corresponding to each triangle. This process uses the basic principles of 3D geometry to accurately calculate the total volume of the coal accumulation area. In this way, the system can achieve accurate volume measurement and incremental monitoring of the coal accumulation area. Feature extraction and matching from different perspectives ensure the accuracy of data fusion. 3D point cloud and triangular mesh reconstruction provide accurate 3D models, while volume calculation gives the specific amount of coal accumulation. This series of processes combines advanced image generation and 3D reconstruction technology, enabling the system to accurately monitor changes in coal accumulation areas in complex coal mine environments.

[0088] The core of the 3D image generation part lies in the fusion of multi-view data and 3D reconstruction. By acquiring images from different perspectives, the system can overcome the occlusion problem under a single perspective and obtain more comprehensive and accurate information on the coal accumulation area. Feature extraction and matching technology ensures the accuracy of data fusion, while 3D reconstruction technology provides an accurate 3D model. The combination of these technologies enables the system to monitor the changes in the coal accumulation area in real time in a complex environment and provide accurate volume measurement data. In practical applications, the workflow of the 3D image generation part includes multi-view image acquisition, feature extraction, feature matching, data fusion, 3D point cloud construction, triangular mesh reconstruction and volume calculation. These steps achieve comprehensive monitoring and dynamic evaluation of the coal accumulation situation at the bottom of the well through automated processing and efficient calculation. Compared with traditional manual measurement methods, the automated coal accumulation incremental detection system not only improves work efficiency, but also provides more accurate and reliable monitoring data, avoiding errors and safety hazards caused by manual operation. Multi-view image acquisition is the basis of coal accumulation incremental detection. By arranging cameras at different angles, the system can obtain image data of the coal accumulation area from multiple perspectives. These image data are used to determine the corresponding feature points in images of different viewpoints through feature extraction and matching algorithms, thus providing a basis for data fusion and 3D reconstruction. Feature extraction algorithms such as SIFT, SURF and ORB ensure the identifiability of feature points in images of different viewpoints by detecting key points in the image and generating descriptors. Feature matching algorithms such as KNN, BF and FLANN ensure the accuracy of data fusion by comparing the similarity between feature descriptors and finding matching feature point pairs. Data fusion and 3D reconstruction are the core of incremental coal accumulation detection. Through structured light, stereo vision or multi-view stereo reconstruction technology, the system can generate 3D point clouds of coal accumulation areas. These technologies obtain depth information and 3D structures through different methods, ensuring the accuracy and reliability of 3D reconstruction. Based on the 3D point cloud, the system reconstructs the 3D mesh through Delaunay triangulation or Alpha shape algorithm. These algorithms convert 3D point clouds into triangular meshes and provide accurate 3D models. Finally, by calculating the volume of the triangular mesh, the system can give the specific volume data of the coal accumulation area.

[0089] Example 9: Use the following formula to calculate the volume of coal accumulation: :

[0090] ;

[0091] in, , and Respectively The three vertex vectors of a triangle mesh.

[0092] Specifically, for a triangle mesh, there are three vertex vectors , and constitute, represents the cross product of these two vectors, and the result is a vector perpendicular to the two vectors whose length is equal to the area of ​​the parallelogram formed by the two vectors. Then, Doing a dot product with this perpendicular vector, we can get the triangle perpendicular to The first half of the formula is represents the volume contribution of the triangle. The reason for dividing by 6 is that the volume of the triangle needs to be properly normalized in 3D space. In practical applications, this formula is used to calculate the volume of all triangular meshes. The system obtains its volume contribution by performing the above calculations on each triangle, and accumulates all contributions to obtain the total volume of the entire coal accumulation area. This method can accurately calculate the volume of coal accumulation of complex shapes because it utilizes the detailed information of 3D point clouds and triangular meshes. In this way, the system can not only measure the current volume of coal accumulation, but also monitor the increment of coal accumulation by measuring and comparing the volume changes at different time points multiple times. This is of great significance to coal mine management, because the accumulation speed and amount of coal accumulation are important factors affecting coal mine safety and production efficiency. By accurately monitoring the volume and increment of coal accumulation, coal mine managers can take timely measures to prevent safety problems caused by excessive coal accumulation, optimize production processes, and improve the safety and efficiency of coal mine operations.

[0093] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A 3D image generation and analysis system for coal deposits and tail ropes at the bottom of a coal mine main shaft, characterized in that: The system comprises: a multi-view image acquisition part, which is used to acquire images of the bottom of the main shaft of the coal mine at multiple view angles, and divide the coal accumulation area and the tail rope area in each image to form a coal accumulation area set and a tail rope area set; a 3D image generation part, which is used to construct a 3D image of the coal accumulation area according to the coal accumulation area set, and to construct a 3D image of the tail rope area according to the tail rope area set; a morphological gradient algorithm is used to randomly select a tail rope area from the tail rope area set for edge detection to obtain an edge detection result, and based on the edge detection result of the tail rope area 3D image, it is judged whether the tail rope is worn or broken; the 3D image of the coal accumulation area is constructed according to the coal accumulation area set, and the process of constructing the 3D image of the tail rope area according to the tail rope area set includes: based on the coal accumulation area set or the tail rope area set, data fusion and 3D reconstruction are performed to obtain a 3D reconstruction result; based on the result of the 3D reconstruction, the coal accumulation volume is calculated, and the growth amount is calculated based on the historical coal accumulation volume data; The multi-view image acquisition part includes: an image acquisition unit and an image segmentation unit; the image acquisition unit is a plurality of infrared cameras at different viewing angles, which are used to acquire a plurality of original infrared images of the bottom of the main shaft of the coal mine; the image segmentation unit is used to divide the coal accumulation area and the tail rope area in the original infrared image, specifically including: denoising each original infrared image to obtain a preprocessed image; using a high-order Sobel operator to calculate the gradient of the preprocessed image to obtain a gradient result; marking the foreground area and the background area of ​​the preprocessed image by morphological operation to obtain a marking result; combining the gradient result and the marking result to perform a watershed transformation to obtain a watershed label image; combining the watershed label image with the original infrared image to divide the coal accumulation area and the tail rope area; The 3D image generation part performs feature extraction on the coal accumulation areas at different perspectives in the coal accumulation area set or the tail rope areas at different perspectives in the tail rope area set, extracts feature points, uses a feature matching algorithm to match the feature points, and determines the corresponding relationship between the same coal accumulation area or tail rope area in different perspectives; uses the matched feature points, adopts structured light, stereo vision or multi-perspective stereo reconstruction algorithm to perform data fusion, constructs a 3D point cloud of the coal accumulation area, and completes the generation of the 3D image of the coal accumulation area or the generation of the 3D image of the tail rope area.

2. The 3D image generation and analysis system for coal deposits and tail ropes at the bottom of a main shaft of a coal mine as claimed in claim 1, characterized in that: The image segmentation unit uses the following formula to denoise each original infrared image: ; in, The denoised image is at position The pixel value of is the original infrared image at position The pixel value of is the standard deviation of the Gaussian filter, which controls the width of the filter; is the radius of the convolution kernel, which determines the size of the filter; and They are the offsets of the convolution kernel in the X-axis and Y-axis directions respectively.

3. The 3D image generation and analysis system for coal deposits and tail ropes at the bottom of a main shaft of a coal mine as claimed in claim 2, characterized in that: The image segmentation unit uses the high-order Sobel operator to calculate the gradient of the preprocessed image through the following formula to obtain the gradient result: ; in, is the adjustment coefficient, ranging from 0.3 to 0.6; is the vertical gradient image at position The value of is calculated using the following formula: ; in, is the weight of the vertical Sobel kernel; is the horizontal gradient image at position The value of is calculated using the following formula: ; in, is the weight of the horizontal Sobel kernel.

4. The 3D image generation and analysis system for coal deposits and tail ropes at the bottom of a main shaft of a coal mine as claimed in claim 3, characterized in that: The image segmentation unit, the process of marking the foreground area and the background area of ​​the preprocessed image by morphological operation specifically includes: using the following formula to perform morphological opening operation on the preprocessed image: ; in, The image after morphological opening operation is at position The value of For corrosion operations; For expansion operation; is the structural element; the distance transformation is performed using the following formula: ; in, The image after distance transformation is at position The value of for distance; and are the offsets of the distance transform in the X-axis direction and the Y-axis direction respectively; the foreground area of ​​the preprocessed image is marked by the following formula: ; in, Mark the image for the foreground at position The value of is the standard deviation of Gaussian filtering; is the Heaviside function; The threshold for foreground labeling; is a ternary operator, which means that if the condition is true, it returns 255, otherwise it returns 0; the background area of ​​the preprocessed image is marked by the following formula: ; in, Mark the image for the background at position The value of; use the following formula to calculate the marking result: ; in, To mark the result at position The value of .

5. The 3D image generation and analysis system for coal deposits and tail ropes at the bottom of a main shaft of a coal mine as claimed in claim 4, characterized in that: The image segmentation unit uses the following formula to combine the gradient result and the labeling result to perform a watershed transform and obtain a watershed label image: ; in, For the watershed label image at position The value of is the image boundary; is the path integral; is the integration variable; is the path from a point in the labeling result to the image boundary; is the watershed threshold, which is used to determine the threshold of path integration; if In the preset coal accumulation area threshold range, Divided into coal accumulation area; if In the preset tail rope area threshold range, Divided into the tail rope area.

6. The 3D image generation and analysis system for coal deposits and tail ropes at the bottom of a main shaft of a coal mine as claimed in claim 5, characterized in that: In the 3D image generation part, a tail rope area is randomly selected from the tail rope area set using the morphological gradient algorithm, and the Canny edge detection algorithm is used to perform edge detection to obtain edge detection results. Based on the edge detection results, the maximum edge curvature, edge strength and edge density are calculated. First, the absolute value of the difference between the maximum edge curvature and the maximum surface curvature of the 3D image of the tail rope area is calculated as the confidence numerator. Then execute the following process: if the edge strength and edge density are respectively greater than the set edge strength threshold and edge density threshold, the tail rope is judged to be worn, with a probability of 1 minus the inverse of the confidence numerator; if the edge strength and edge density are respectively less than the set edge strength threshold and edge density threshold, the tail rope is judged to be broken, with a probability of 1 minus the inverse of the confidence numerator.

7. The 3D image generation and analysis system for coal deposits and tail ropes at the bottom of a main shaft of a coal mine as claimed in claim 6, characterized in that: In the 3D image generation part, Delaunay triangulation or Alpha shape algorithm is used to reconstruct the 3D point cloud into a 3D mesh to obtain a triangular mesh, and then the coal accumulation volume is calculated.

8. The 3D image generation and analysis system for coal deposits and tail ropes at the bottom of a main shaft of a coal mine as claimed in claim 7, characterized in that: Use the following formula to calculate the volume of coal accumulation: : ; in, , and Respectively The three vertex vectors of a triangle mesh.