A method for processing mineral grade processing data based on improved image processing
By improving the image processing method, including multi-level image processing and timing analysis, the problems of low efficiency and insufficient accuracy of mineral cascade processing data processing in the traditional method are solved, rapid and accurate identification and analysis of data are achieved, and processing efficiency and quality are improved. .
Patent Information
- Application Number
- CN202410906632.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-08
AI Technical Summary
Traditional image processing methods suffer from long processing time, low efficiency, unrobustness to noise and distortion, and limitations when processing mineral cascade processing data, resulting in data processing complexity and insufficient analysis accuracy.
Methods based on improved image processing are adopted, including multi-level image processing, temporal division and composite verification processing, to optimize data identification and classification through image gray value transformation, edge detection, support vector machine model establishment and data feature analysis.
It achieves fast and accurate processing and analysis of mineral cascade processing data, improves efficiency and quality, and solves the complexity and accuracy problems in traditional methods.
Smart Images

Figure CN118447026B
Abstract
Description
Technical Field
[0001] The invention relates to the field of mineral step processing data processing, and in particular to a mineral step processing data processing method based on improved image processing. Background Art
[0002] Mineral cascade processing is an important mineral processing method. This method involves multiple stages of separation processes, including crushing, screening, sorting, flotation, etc. Through the combination of these processes, various minerals can be effectively separated to improve the grade and recovery rate of minerals. Since mineral cascade processing involves multiple stages of process, a large amount of data will be generated in the actual production process, which requires real-time monitoring and analysis of a large amount of data, which places high demands on data processing capabilities.
[0003] However, traditional image processing methods have the problems of long processing time and low processing efficiency when processing large amounts of data. At the same time, some traditional algorithms are often not robust enough to problems such as image noise and distortion, which can easily lead to inaccurate results, and may have limitations when processing specific types of images. Therefore, improving image processing methods can optimize the recognition and processing of data in mineral cascade processing, solve the problem of complexity in traditional data processing, and is of great significance for improving the accuracy and efficiency of ore mineral analysis. Summary of the invention
[0004] To achieve the above object, the present invention provides a mineral step processing data processing method based on improved image processing, comprising:
[0005] S1, using the basic image data of the mineral step processing to obtain the improved image data of the mineral step processing based on the improved image processing;
[0006] S2, performing multi-level image processing according to the improved image data of the mineral step processing to obtain an initial processing result of the mineral step processing image data;
[0007] S3, performing time series division processing on the improved image data of the mineral step processing to obtain a dynamic trend of the image data of the mineral step processing;
[0008] S4. Performing composite verification processing using the initial processing result of the mineral step processing image data and the dynamic trend of the mineral step processing image data to obtain the processing result of the mineral step processing data.
[0009] Further, using the basic image data of the mineral step processing to obtain the improved image data of the mineral step processing based on the improved image processing includes:
[0010] S1-1, collect the step image data corresponding to each stage in the mineral step processing production process;
[0011] S1-2, acquiring corresponding basic image data of mineral step processing according to the step image data;
[0012] S1-3, using the basic image data of the mineral step processing to obtain primary image enhancement data based on improved image processing;
[0013] S1-3-1, using the basic image data of the mineral step processing to obtain image gray value data;
[0014] S1-3-2, using the image gray value data to perform linear transformation processing to obtain image gray value transformation data;
[0015] S1-3-3, performing verification processing on the image grayscale value transformation data to obtain primary image enhancement data;
[0016] S1-3-3-1, determine whether the image pixel movement change corresponding to the image gray value transformation data conforms to the movement rule of linear transformation, if so, execute S1-3-3-2, otherwise, return to S1-3-2 for reprocessing;
[0017] S1-3-3-2, determine whether the inverted image pixel brightness DB corresponding to the image grayscale transformation data and the image pixel brightness DA before inversion satisfy the grayscale inversion transformation rule, if so, output the image grayscale value transformation data as primary image enhancement data, otherwise, return to S1-3-2 for reprocessing;
[0018] S1-4, performing nonlinear transformation processing on the primary image enhancement data to obtain secondary image enhancement data;
[0019] S1-5, performing interference processing using the primary image enhancement data and the secondary image enhancement data to obtain tertiary image enhancement data;
[0020] S1-6, using the primary image enhancement data, the secondary image enhancement data and the tertiary image enhancement data as mineral step processing improved image data;
[0021] Among them, the basic image data includes image grayscale value, pixel brightness and contrast; the linear transformation processing includes grayscale up-shift transformation, down-shift transformation and grayscale inversion transformation; the movement rule is that the up-shifted pixels move to the right along the y-axis, and the down-shifted pixels move to the left along the y-axis; the interference processing includes brightness disturbance and contrast disturbance; the inversion transformation rule is DB=255-DA.
[0022] Furthermore, the initial processing results of the mineral step processing image data obtained by performing multi-level image processing on the mineral step processing improved image data include:
[0023] S2-1, using the mineral step processing improved image data to perform primary image processing to obtain mineral step processing image segmentation processing area data;
[0024] S2-1-1, based on the mineral step processing improved image data, the step mineral processing image brightness area segmentation data is obtained based on the local threshold processing as the first processing area;
[0025] S2-1-2, obtaining grayscale edge segmentation data of the step mineral processing image based on edge detection processing in the first processing area as the second processing area;
[0026] S2-1-3, obtaining pixel segmentation data of the step mineral processing image based on the region growing process according to the second processing region as the third processing region;
[0027] S2-1-4, using the first processing area, the second processing area and the third processing area as mineral step processing image segmentation processing area data;
[0028] S2-2, using the mineral step processing image segmentation processing area data to perform secondary image processing to obtain extraction data of the mineral step processing image data;
[0029] S2-2-1, using the mineral step processing image segmentation processing area data to extract grayscale distribution characteristics and grayscale proportions based on a grayscale histogram as color data of the mineral step processing image data;
[0030] S2-2-2, using the mineral step processing image segmentation processing area data to extract image contours and angle features based on an edge detection algorithm as shape data of the mineral step processing image data;
[0031] S2-2-3, using the mineral step processing image segmentation processing area data to extract texture direction and texture density features based on local binary patterns as texture data of the mineral step processing image data;
[0032] S2-2-4, using the color data of the mineral step processing image data, the shape data of the mineral step processing image data and the texture data of the mineral step processing image data as the extraction data of the mineral step processing image data;
[0033] S2-3, performing three-level image processing according to the extracted data of the mineral step processing image data to obtain an initial processing result of the mineral step processing image data;
[0034] S2-3-1, performing verification processing on the extracted data of the mineral step processing image data to obtain initial data of the mineral step processing image data;
[0035] S2-3-1-1, respectively obtaining corresponding image shape data and image color data according to the extracted data of the mineral step processing image data;
[0036] S2-3-1-2, determine whether the image pixel data obtained according to the image shape data corresponds to the third processing area, if so, execute S2-3-1-3, otherwise, return to S2-2 and re-acquire the extraction data of the mineral step processing image data;
[0037] S2-3-1-3, determine whether the gray value data obtained according to the image color data corresponds to the second processing area, if so, execute S2-3-1-4, otherwise, return to S2-2 and re-acquire the extraction data of the mineral step processing image data;
[0038] S2-3-1-4, determine whether the image brightness data obtained according to the image pixel data and the gray value data corresponds to the first processing area, if so, output the image pixel data, image gray value data and image brightness data as the initial data of the mineral step processing image data, otherwise, return to S2-2, and re-acquire the extracted data of the mineral step processing image data;
[0039] S2-3-2, using the initial data of the mineral step processing image data to establish an initial model based on a support vector machine;
[0040] S2-3-2-1, using the extracted data of the mineral step processing image data as a training set, the initial data of the mineral step processing image data as a verification set, and establishing an initial model based on a support vector machine;
[0041] S2-3-2-2, determine whether the output result of the initial model corresponds to the verification set, if so, execute S2-3-3, otherwise, use the output result as the updated training set and return to S2-3-2-1;
[0042] S2-3-3, using the initial model to obtain the initial processing results of the mineral step processing image data;
[0043] S2-3-3-1. Using the initial model, respectively obtain the image grayscale value and image pixel value output by the model as primary labeling data, and the image brightness value as secondary labeling data;
[0044] S2-3-3-2, establishing an association relationship between the primary tag data and the secondary tag data to obtain size data of corresponding mineral particles as an initial processing result;
[0045] Among them, the association relationship is that images of different mineral particles correspond to different grayscales, pixels and brightness, and there is a one-to-many association relationship between brightness, pixels and grayscale. The size of different mineral particles can be obtained according to the association relationship between brightness, pixels and grayscale values.
[0046] Furthermore, the dynamic trends of the mineral step processing image data obtained by performing time series division processing on the mineral step processing improved image data include:
[0047] S3-1, using the improved image data of mineral step processing to perform time series division processing to establish a mineral step processing image database;
[0048] S3-2. Utilize the mineral step processing image database to obtain the dynamic trend of the mineral step processing image data.
[0049] Further, using the improved image data of mineral step processing to perform time series division processing to establish a mineral step processing image database includes:
[0050] S3-1-1, using the mineral step processing improved image data to perform time series division processing to obtain data features of the mineral step processing image;
[0051] S3-1-2, obtaining the current time t as the processing start time of the mineral step processing improvement image data;
[0052] S3-1-3, obtaining data features of the mineral step processing data corresponding to time t as real-time data features;
[0053] S3-1-4, acquiring the corresponding basic image data of mineral step processing as real-time data according to the real-time data characteristics;
[0054] S3-1-5, respectively obtaining the time data characteristics of the mineral step processing data corresponding to the time t-1 and the time data characteristics of the mineral step processing data corresponding to the time t+1 according to the real-time data characteristics;
[0055] S3-1-6, obtaining the basic image data of the mineral step processing at time t-1 and the basic image data of the mineral step processing at time t+1 respectively according to the time data characteristics of the mineral step processing data at time t-1 and the time data characteristics of the mineral step processing data at time t+1;
[0056] S3-1-7, using the real-time data, the basic image data of the mineral step processing at time t-1 and the basic image data of the mineral step processing at time t+1 as the time data of the mineral step processing data;
[0057] S3-1-8, using the real-time data feature, the time data feature of the mineral step processing data at time t-1 and the time data feature of the mineral step processing data at time t+1 as the time data feature of the mineral step processing data;
[0058] S3-1-9. Establish a mineral step processing image database using the time data of the mineral step processing data and the time data features of the mineral step processing data.
[0059] Furthermore, the dynamic trend of the mineral step processing image data obtained by using the mineral step processing image database includes:
[0060] S3-2-1, using the time data in the mineral step processing image database to establish a data trend of the mineral step processing image;
[0061] S3-2-1-1, using the time data in the mineral step processing image database, respectively obtain a first trend of the time data between time t-2 and time t, a second trend of the time data between time t-1 and time t+1, and a third trend between time t and time t+2;
[0062] S3-2-1-2, using the first trend, the second trend and the third trend as the data trend of the mineral step processing image;
[0063] S3-2-2, using the time data features in the mineral step processing image database to establish a data feature trend of the mineral step processing image;
[0064] S3-2-2-1, using the time data features in the mineral step processing image database, respectively obtain the upper characteristic trend of the real-time data features and the time data features of the mineral step processing data at time t-1, the middle characteristic trend of the real-time data features and the time data features of the mineral step processing data at time t+1, and the lower characteristic trend of the time data features of the mineral step processing data at time t-1 and the time data features of the mineral step processing data at time t+1;
[0065] S3-2-2-2, using the upper layer characteristic trend, the middle layer characteristic trend and the lower layer characteristic trend as the data characteristic trend of the mineral step processing image;
[0066] S3-2-3, verifying and processing the data trend of the mineral step processing image and the data characteristic trend of the mineral step processing image to obtain the dynamic trend of the mineral step processing image data;
[0067] Among them, the data trend of the mineral step processing image is the numerical trend of the data corresponding to the time t-1, t, t+1 and t+2. If the numerical trend is consistent with the time trend, the numerical trend is rising, otherwise it is falling; the data feature trend of the mineral step processing image is the numerical trend of the data features corresponding to the time t, t-1 and t+1. If the numerical change is proportional to the time series change, the numerical trend is rising, otherwise it is falling.
[0068] Furthermore, the dynamic trend of the mineral step processing image data obtained by verification processing according to the data trend of the mineral step processing image and the data characteristic trend of the mineral step processing image includes:
[0069] S3-2-3-1, respectively determine whether the numerical trend of the data trend of the mineral step processing image corresponds to the numerical trend of the data characteristic trend of the mineral step processing image, if so, execute S3-2-3-2, otherwise, return to S3-2-1;
[0070] S3-2-3-2. Determine whether the data trend of the mineral step processing image is consistent with the data characteristic trend of the mineral step processing image. If so, use the data trend of the mineral step processing image and the data characteristic trend of the mineral step processing image as the dynamic trend of the mineral step processing image data. Otherwise, select a moment unrelated to the current moment as the update processing start moment, and return to S3-1-2.
[0071] Furthermore, the processing results of the mineral step processing data obtained by performing composite verification processing using the initial processing results of the mineral step processing image data and the dynamic trend of the mineral step processing image data include:
[0072] S4-1, using the initial processing result of the mineral step processing image data and the dynamic trend of the mineral step processing image data to perform composite processing to obtain an initial analysis result;
[0073] S4-2. Perform verification processing based on the initial analysis results to obtain the processing results of the mineral cascade processing data.
[0074] Further, using the initial processing result of the mineral step processing image data and the dynamic trend of the mineral step processing image data to perform composite processing to obtain the initial analysis result includes:
[0075] S4-1-1, obtaining main marking data of the mineral step processing image data according to the initial processing result of the mineral step processing image data;
[0076] S4-1-2, according to the main marking data, obtain the change trend of the main marking data of the mineral step processing image in different time periods by time division and establish a time data set;
[0077] S4-1-3, using the time data set and the dynamic trend of the mineral step processing image data to perform composite processing to obtain an initial analysis result;
[0078] S4-1-3-1, determine whether there is a corresponding relationship between the dynamic trend of the mineral step processing image data and the time data set, if so, execute S4-1-3-2, otherwise, use the change trend of the main marking data of the mineral step processing image in the time data set as the dynamic trend of the updated mineral step processing image data, and return to S4-1;
[0079] S4-1-3-2, determine whether the dynamic trend of the mineral step processing image data is consistent with the change trend of the main marking data of the mineral step processing image. If so, execute S4-1-3-3; otherwise, obtain the dynamic trend of the mineral step processing image data that is consistent with the change trend of the main marking data of the mineral step processing image, and return to S4-1;
[0080] S4-1-3-3, obtaining the change trend of the secondary marking data of the mineral step processing image corresponding to the change trend of the primary marking data of the mineral step processing image according to the association relationship between the primary marking data and the secondary marking data;
[0081] S4-1-3-4, establishing a first mapping relationship between the dynamic trend of the mineral step processing image data and the change trend of the main marking data of the mineral step processing image;
[0082] S4-1-3-5, obtaining a second mapping relationship between the dynamic trend of the mineral step processing image data and the change trend of the secondary marking data of the mineral step processing image according to the first mapping relationship;
[0083] S4-1-3-6, obtaining a size data variation trend of corresponding mineral particles according to the first mapping relationship and the second mapping relationship;
[0084] S4-1-3-7. Determine whether the size data change trend of the mineral particles corresponds to the initial result. If so, output the size data change trend of the mineral step processing image main mark data, the change trend of the mineral step processing image secondary mark data and the dynamic trend of the mineral step processing image data corresponding to the size data change trend of the mineral particles as the initial analysis result. Otherwise, output the size data change trend of the mineral particles as the initial processing result of the updated mineral step processing image data and return to S4-1.
[0085] Further, the processing results of the mineral cascade processing data obtained by performing verification processing according to the initial analysis results include:
[0086] S4-2-1, determine whether the moment of the mineral step processing data corresponding to the initial analysis result is the current acquisition moment, if so, execute S4-2-2, otherwise, output the mineral step processing data corresponding to the initial analysis result as the updated mineral step processing improved image data, and return to S3-1-1;
[0087] S4-2-2. Determine whether the mineral step processing data corresponding to the initial analysis result is the real-time data corresponding to the current moment. If so, output the initial analysis result as the processing result of the mineral step processing data. Otherwise, output the processing moment of the mineral step processing data corresponding to the initial analysis result as the updated processing start moment, and return to S3-1-2.
[0088] Compared with the closest prior art, the present invention has the following beneficial effects:
[0089] The method for processing mineral step processing data based on improved image processing provided by the present invention can quickly and accurately process and analyze mineral step processing data by improving the algorithm of image data in the step processing process of minerals, quickly identifying and classifying the data images and then processing them, thereby improving the efficiency and quality of mineral step processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0090] Figure 1 The present invention creates a flow chart of a mineral step processing data processing method based on improved image processing. DETAILED DESCRIPTION
[0091] The specific implementation modes of the present invention will be further described in detail below in conjunction with the accompanying drawings.
[0092] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 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 are within the scope of protection of the present invention.
[0093] Embodiment 1: The present invention provides a method for processing mineral grade processing data based on improved image processing, such as Figure 1 As shown, including:
[0094] S1, using the basic image data of the mineral step processing to obtain the improved image data of the mineral step processing based on the improved image processing;
[0095] S2, performing multi-level image processing according to the improved image data of the mineral step processing to obtain an initial processing result of the mineral step processing image data;
[0096] S3, performing time series division processing on the improved image data of the mineral step processing to obtain the dynamic trend of the image data of the mineral step processing;
[0097] S4. Performing composite verification processing using the initial processing result of the mineral step processing image data and the dynamic trend of the mineral step processing image data to obtain the processing result of the mineral step processing data.
[0098] S1 specifically includes:
[0099] S1-1, collect the step image data corresponding to each stage in the mineral step processing production process;
[0100] S1-2, acquiring corresponding basic image data of mineral step processing according to the step image data;
[0101] S1-3, using the basic image data of the mineral step processing to obtain primary image enhancement data based on improved image processing;
[0102] S1-3-1, using the basic image data of the mineral step processing to obtain image gray value data;
[0103] S1-3-2, using the image gray value data to perform linear transformation processing to obtain image gray value transformation data;
[0104] S1-3-3, performing verification processing on the image grayscale value transformation data to obtain primary image enhancement data;
[0105] S1-3-3-1, determine whether the image pixel movement change corresponding to the image gray value transformation data conforms to the movement rule of linear transformation, if so, execute S1-3-3-2, otherwise, return to S1-3-2 for reprocessing;
[0106] S1-3-3-2, determine whether the inverted image pixel brightness DB corresponding to the image grayscale transformation data and the image pixel brightness DA before inversion satisfy the grayscale inversion transformation rule, if so, output the image grayscale value transformation data as primary image enhancement data, otherwise, return to S1-3-2 for reprocessing;
[0107] S1-4, performing nonlinear transformation processing on the primary image enhancement data to obtain secondary image enhancement data;
[0108] S1-5, performing interference processing using the primary image enhancement data and the secondary image enhancement data to obtain tertiary image enhancement data;
[0109] S1-6, using the primary image enhancement data, the secondary image enhancement data and the tertiary image enhancement data as mineral step processing improved image data;
[0110] Among them, the basic image data includes image grayscale value, pixel brightness and contrast; the linear transformation processing includes grayscale up-shift transformation, down-shift transformation and grayscale inversion transformation; the movement rule is that the up-shifted pixels move to the right along the y-axis, and the down-shifted pixels move to the left along the y-axis; the interference processing includes brightness disturbance and contrast disturbance; the inversion transformation rule is DB=255-DA.
[0111] S2 specifically includes:
[0112] S2-1, using the mineral step processing improved image data to perform primary image processing to obtain mineral step processing image segmentation processing area data;
[0113] S2-1-1, based on the mineral step processing improved image data, the step mineral processing image brightness area segmentation data is obtained based on the local threshold processing as the first processing area;
[0114] S2-1-2, obtaining grayscale edge segmentation data of the step mineral processing image based on edge detection processing in the first processing area as the second processing area;
[0115] S2-1-3, obtaining pixel segmentation data of the step mineral processing image based on the region growing process according to the second processing region as the third processing region;
[0116] S2-1-4, using the first processing area, the second processing area and the third processing area as mineral step processing image segmentation processing area data;
[0117] S2-2, using the mineral step processing image segmentation processing area data to perform secondary image processing to obtain extraction data of the mineral step processing image data;
[0118] S2-2-1, using the mineral step processing image segmentation processing area data to extract grayscale distribution characteristics and grayscale proportions based on a grayscale histogram as color data of the mineral step processing image data;
[0119] S2-2-2, using the mineral step processing image segmentation processing area data to extract image contours and angle features based on an edge detection algorithm as shape data of the mineral step processing image data;
[0120] S2-2-3, using the mineral step processing image segmentation processing area data to extract texture direction and texture density features based on local binary patterns as texture data of the mineral step processing image data;
[0121] S2-2-4, using the color data of the mineral step processing image data, the shape data of the mineral step processing image data and the texture data of the mineral step processing image data as the extraction data of the mineral step processing image data;
[0122] S2-3, performing three-level image processing according to the extracted data of the mineral step processing image data to obtain an initial processing result of the mineral step processing image data;
[0123] S2-3-1, performing verification processing on the extracted data of the mineral step processing image data to obtain initial data of the mineral step processing image data;
[0124] S2-3-1-1, respectively obtaining corresponding image shape data and image color data according to the extracted data of the mineral step processing image data;
[0125] S2-3-1-2, determine whether the image pixel data obtained according to the image shape data corresponds to the third processing area, if so, execute S2-3-1-3, otherwise, return to S2-2 and re-acquire the extraction data of the mineral step processing image data;
[0126] S2-3-1-3, determine whether the gray value data obtained according to the image color data corresponds to the second processing area, if so, execute S2-3-1-4, otherwise, return to S2-2 and re-acquire the extraction data of the mineral step processing image data;
[0127] S2-3-1-4, determine whether the image brightness data obtained according to the image pixel data and the gray value data corresponds to the first processing area, if so, output the image pixel data, image gray value data and image brightness data as the initial data of the mineral step processing image data, otherwise, return to S2-2, and re-acquire the extracted data of the mineral step processing image data;
[0128] S2-3-2, using the initial data of the mineral step processing image data to establish an initial model based on a support vector machine;
[0129] S2-3-2-1, using the extracted data of the mineral step processing image data as a training set, the initial data of the mineral step processing image data as a verification set, and establishing an initial model based on a support vector machine;
[0130] S2-3-2-2, determine whether the output result of the initial model corresponds to the verification set, if so, execute S2-3-3, otherwise, use the output result as the updated training set and return to S2-3-2-1;
[0131] S2-3-3, using the initial model to obtain the initial processing results of the mineral step processing image data;
[0132] S2-3-3-1. Using the initial model, respectively obtain the image grayscale value and image pixel value output by the model as primary labeling data, and the image brightness value as secondary labeling data;
[0133] S2-3-3-2, establishing an association relationship between the primary tag data and the secondary tag data to obtain size data of corresponding mineral particles as an initial processing result;
[0134] Among them, the association relationship is that images of different mineral particles correspond to different grayscales, pixels and brightness, and there is a one-to-many association relationship between brightness, pixels and grayscale. The size of different mineral particles can be obtained according to the association relationship between brightness, pixels and grayscale values.
[0135] S3 specifically includes:
[0136] S3-1, using the improved image data of mineral step processing to perform time series division processing to establish a mineral step processing image database;
[0137] S3-2. Utilize the mineral step processing image database to obtain the dynamic trend of the mineral step processing image data.
[0138] S3-1 specifically includes:
[0139] S3-1-1, using the mineral step processing improved image data to perform time series division processing to obtain data features of the mineral step processing image;
[0140] S3-1-2, obtaining the current time t as the processing start time of the mineral step processing improvement image data;
[0141] S3-1-3, obtaining data features of the mineral step processing data corresponding to time t as real-time data features;
[0142] S3-1-4, acquiring the corresponding basic image data of mineral step processing as real-time data according to the real-time data characteristics;
[0143] S3-1-5, respectively obtaining the time data characteristics of the mineral step processing data corresponding to the time t-1 and the time data characteristics of the mineral step processing data corresponding to the time t+1 according to the real-time data characteristics;
[0144] S3-1-6, obtaining the basic image data of the mineral step processing at time t-1 and the basic image data of the mineral step processing at time t+1 respectively according to the time data characteristics of the mineral step processing data at time t-1 and the time data characteristics of the mineral step processing data at time t+1;
[0145] S3-1-7, using the real-time data, the basic image data of the mineral step processing at time t-1 and the basic image data of the mineral step processing at time t+1 as the time data of the mineral step processing data;
[0146] S3-1-8, using the real-time data feature, the time data feature of the mineral step processing data at time t-1 and the time data feature of the mineral step processing data at time t+1 as the time data feature of the mineral step processing data;
[0147] S3-1-9. Establish a mineral step processing image database using the time data of the mineral step processing data and the time data features of the mineral step processing data.
[0148] S3-2 specifically includes:
[0149] S3-2-1, using the time data in the mineral step processing image database to establish a data trend of the mineral step processing image;
[0150] S3-2-1-1, using the time data in the mineral step processing image database, respectively obtain the first trend of the time data between time t-2 and time t, the second trend of the time data between time t-1 and time t+1, and the third trend between time t and time t+2;
[0151] S3-2-1-2, using the first trend, the second trend and the third trend as the data trend of the mineral step processing image;
[0152] S3-2-2, using the time data features in the mineral step processing image database to establish a data feature trend of the mineral step processing image;
[0153] S3-2-2-1, using the time data features in the mineral step processing image database, respectively obtain the upper characteristic trend of the real-time data features and the time data features of the mineral step processing data at time t-1, the middle characteristic trend of the real-time data features and the time data features of the mineral step processing data at time t+1, and the lower characteristic trend of the time data features of the mineral step processing data at time t-1 and the time data features of the mineral step processing data at time t+1;
[0154] S3-2-2-2, using the upper layer characteristic trend, the middle layer characteristic trend and the lower layer characteristic trend as the data characteristic trend of the mineral step processing image;
[0155] S3-2-3, verifying and processing the data trend of the mineral step processing image and the data characteristic trend of the mineral step processing image to obtain the dynamic trend of the mineral step processing image data;
[0156] Among them, the data trend of the mineral step processing image is the numerical trend of the data corresponding to the time t-1, t, t+1 and t+2. If the numerical trend is consistent with the time trend, the numerical trend is rising, otherwise it is falling; the data feature trend of the mineral step processing image is the numerical trend of the data features corresponding to the time t, t-1 and t+1. If the numerical change is proportional to the time series change, the numerical trend is rising, otherwise it is falling.
[0157] S3-2-3 specifically includes:
[0158] S3-2-3-1, respectively determine whether the numerical trend of the data trend of the mineral step processing image corresponds to the numerical trend of the data characteristic trend of the mineral step processing image, if so, execute S3-2-3-2, otherwise, return to S3-2-1;
[0159] S3-2-3-2. Determine whether the data trend of the mineral step processing image is consistent with the data characteristic trend of the mineral step processing image. If so, use the data trend of the mineral step processing image and the data characteristic trend of the mineral step processing image as the dynamic trend of the mineral step processing image data. Otherwise, select a moment unrelated to the current moment as the update processing start moment, and return to S3-1-2.
[0160] S4 includes:
[0161] S4-1, using the initial processing result of the mineral step processing image data and the dynamic trend of the mineral step processing image data to perform composite processing to obtain an initial analysis result;
[0162] S4-2. Perform verification processing based on the initial analysis results to obtain the processing results of the mineral cascade processing data.
[0163] S4-1 specifically includes:
[0164] S4-1-1, obtaining main marking data of the mineral step processing image data according to the initial processing result of the mineral step processing image data;
[0165] S4-1-2, according to the main marking data, obtain the change trend of the main marking data of the mineral step processing image in different time periods by time division and establish a time data set;
[0166] S4-1-3, using the time data set and the dynamic trend of the mineral step processing image data to perform composite processing to obtain an initial analysis result;
[0167] S4-1-3-1, determine whether there is a corresponding relationship between the dynamic trend of the mineral step processing image data and the time data set, if so, execute S4-1-3-2, otherwise, use the change trend of the main marking data of the mineral step processing image in the time data set as the dynamic trend of the updated mineral step processing image data, and return to S4-1;
[0168] S4-1-3-2, determine whether the dynamic trend of the mineral step processing image data is consistent with the change trend of the main marking data of the mineral step processing image, if so, execute S4-1-3-3, otherwise, obtain the dynamic trend of the mineral step processing image data that is consistent with the change trend of the main marking data of the mineral step processing image, and return to S4-1;
[0169] S4-1-3-3, obtaining the change trend of the secondary marking data of the mineral step processing image corresponding to the change trend of the primary marking data of the mineral step processing image according to the association relationship between the primary marking data and the secondary marking data;
[0170] S4-1-3-4, establishing a first mapping relationship between the dynamic trend of the mineral step processing image data and the change trend of the main marking data of the mineral step processing image;
[0171] S4-1-3-5, obtaining a second mapping relationship between the dynamic trend of the mineral step processing image data and the change trend of the secondary marking data of the mineral step processing image according to the first mapping relationship;
[0172] S4-1-3-6, obtaining a size data variation trend of corresponding mineral particles according to the first mapping relationship and the second mapping relationship;
[0173] S4-1-3-7. Determine whether the size data change trend of the mineral particles corresponds to the initial result. If so, output the size data change trend of the mineral step processing image main mark data, the change trend of the mineral step processing image secondary mark data and the dynamic trend of the mineral step processing image data corresponding to the size data change trend of the mineral particles as the initial analysis result. Otherwise, output the size data change trend of the mineral particles as the initial processing result of the updated mineral step processing image data and return to S4-1.
[0174] S4-2 specifically includes:
[0175] S4-2-1, determine whether the moment of the mineral step processing data corresponding to the initial analysis result is the current acquisition moment, if so, execute S4-2-2, otherwise, output the mineral step processing data corresponding to the initial analysis result as the updated mineral step processing improved image data, and return to S3-1-1;
[0176] S4-2-2. Determine whether the mineral step processing data corresponding to the initial analysis result is the real-time data corresponding to the current moment. If so, output the initial analysis result as the processing result of the mineral step processing data. Otherwise, output the processing moment of the mineral step processing data corresponding to the initial analysis result as the updated processing start moment, and return to S3-1-2.
[0177] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0178] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0179] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0180] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0181] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for processing mineral grade processing data based on improved image processing, characterized in that: include: S1, using the basic image data of the mineral step processing to obtain the improved image data of the mineral step processing based on the improved image processing; S1-1, collect the step image data corresponding to each stage in the mineral step processing production process; S1-2, acquiring corresponding basic image data of mineral step processing according to the step image data; S1-3, using the basic image data of the mineral step processing to obtain primary image enhancement data based on improved image processing; S1-3-1, using the basic image data of the mineral step processing to obtain image gray value data; S1-3-2, using the image gray value data to perform linear transformation processing to obtain image gray value transformation data; S1-3-3, performing verification processing on the image grayscale value transformation data to obtain primary image enhancement data; S1-3-3-1, determine whether the image pixel movement change corresponding to the image gray value transformation data conforms to the movement rule of linear transformation, if so, execute S1-3-3-2, otherwise, return to S1-3-2 for reprocessing; S1-3-3-2, determine whether the inverted image pixel brightness DB corresponding to the image grayscale transformation data and the image pixel brightness DA before inversion satisfy the grayscale inversion transformation rule, if so, output the image grayscale value transformation data as primary image enhancement data, otherwise, return to S1-3-2 for reprocessing; S1-4, performing nonlinear transformation processing on the primary image enhancement data to obtain secondary image enhancement data; S1-5, performing interference processing using the primary image enhancement data and the secondary image enhancement data to obtain tertiary image enhancement data; S1-6, using the primary image enhancement data, the secondary image enhancement data and the tertiary image enhancement data as mineral step processing improved image data; S2, performing multi-level image processing according to the improved image data of the mineral step processing to obtain an initial processing result of the mineral step processing image data; S2-1, using the mineral step processing improved image data to perform primary image processing to obtain mineral step processing image segmentation processing area data; S2-1-1, based on the mineral step processing improved image data, the step mineral processing image brightness area segmentation data is obtained based on the local threshold processing as the first processing area; S2-1-2, obtaining grayscale edge segmentation data of the step mineral processing image based on edge detection processing in the first processing area as the second processing area; S2-1-3, obtaining pixel segmentation data of the step mineral processing image based on the region growing process according to the second processing region as the third processing region; S2-1-4, using the first processing area, the second processing area and the third processing area as mineral step processing image segmentation processing area data; S2-2, using the mineral step processing image segmentation processing area data to perform secondary image processing to obtain extraction data of the mineral step processing image data; S2-2-1, using the mineral step processing image segmentation processing area data to extract grayscale distribution characteristics and grayscale proportions based on a grayscale histogram as color data of the mineral step processing image data; S2-2-2, using the mineral step processing image segmentation processing area data to extract image contours and angle features based on an edge detection algorithm as shape data of the mineral step processing image data; S2-2-3, using the mineral step processing image segmentation processing area data to extract texture direction and texture density features based on local binary patterns as texture data of the mineral step processing image data; S2-2-4, using the color data of the mineral step processing image data, the shape data of the mineral step processing image data and the texture data of the mineral step processing image data as the extraction data of the mineral step processing image data; S2-3, performing three-level image processing according to the extracted data of the mineral step processing image data to obtain an initial processing result of the mineral step processing image data; S2-3-1, performing verification processing on the extracted data of the mineral step processing image data to obtain initial data of the mineral step processing image data; S2-3-1-1, respectively obtaining corresponding image shape data and image color data according to the extracted data of the mineral step processing image data; S2-3-1-2, determine whether the image pixel data obtained according to the image shape data corresponds to the third processing area, if so, execute S2-3-1-3, otherwise, return to S2-2 and re-acquire the extraction data of the mineral step processing image data; S2-3-1-3, determine whether the gray value data obtained according to the image color data corresponds to the second processing area, if so, execute S2-3-1-4, otherwise, return to S2-2 and re-acquire the extraction data of the mineral step processing image data; S2-3-1-4, determine whether the image brightness data obtained according to the image pixel data and the gray value data corresponds to the first processing area, if so, output the image pixel data, image gray value data and image brightness data as the initial data of the mineral step processing image data, otherwise, return to S2-2, and re-acquire the extracted data of the mineral step processing image data; S2-3-2, using the initial data of the mineral step processing image data to establish an initial model based on a support vector machine; S2-3-2-1, using the extracted data of the mineral step processing image data as a training set, the initial data of the mineral step processing image data as a verification set, and establishing an initial model based on a support vector machine; S2-3-2-2, determine whether the output result of the initial model corresponds to the verification set, if so, execute S2-3-3, otherwise, use the output result as the updated training set and return to S2-3-2-1; S2-3-3, using the initial model to obtain the initial processing results of the mineral step processing image data; S2-3-3-1. Using the initial model, respectively obtain the image grayscale value and image pixel value output by the model as primary labeling data, and the image brightness value as secondary labeling data; S2-3-3-2, establishing an association relationship between the primary marking data and the secondary marking data to obtain the size data of the corresponding mineral particles as the initial processing result of the mineral step processing image data; S3, performing time series division processing on the improved image data of the mineral step processing to obtain a dynamic trend of the image data of the mineral step processing; S4, using the initial processing result of the mineral step processing image data and the dynamic trend of the mineral step processing image data to perform composite verification processing to obtain the processing result of the mineral step processing data; Among them, the basic image data includes image grayscale value, pixel brightness and contrast; the linear transformation processing includes grayscale up-shift transformation, down-shift transformation and grayscale inversion transformation; the movement rule is that the up-shifted pixels move to the right along the y-axis, and the down-shifted pixels move to the left along the y-axis; the interference processing includes brightness disturbance and contrast disturbance; the inversion transformation rule is DB=255-DA, and the association relationship is that the images of different mineral particles correspond to different grayscales, pixels and brightness, and there is a one-to-many association relationship between brightness, pixels and grayscale. The size of different mineral particles can be obtained according to the association relationship between brightness, pixels and grayscale values.
2. A method for processing mineral grade processing data based on improved image processing as claimed in claim 1, characterized in that: The dynamic trends of the mineral step processing image data obtained by performing time series division processing on the mineral step processing improved image data include: S3-1, using the improved image data of mineral step processing to perform time series division processing to establish a mineral step processing image database; S3-2. Utilize the mineral step processing image database to obtain the dynamic trend of the mineral step processing image data.
3. A method for processing mineral grade processing data based on improved image processing as claimed in claim 2, characterized in that: Using the improved image data of mineral step processing to perform time series division processing to establish a mineral step processing image database includes: S3-1-1, using the mineral step processing improved image data to perform time series division processing to obtain data features of the mineral step processing image; S3-1-2, obtaining the current time t as the processing start time of the mineral step processing improvement image data; S3-1-3, obtaining data features of the mineral step processing data corresponding to time t as real-time data features; S3-1-4, acquiring the corresponding basic image data of mineral step processing as real-time data according to the real-time data characteristics; S3-1-5, respectively obtaining the time data characteristics of the mineral step processing data corresponding to the time t-1 and the time data characteristics of the mineral step processing data corresponding to the time t+1 according to the real-time data characteristics; S3-1-6, obtaining the basic image data of the mineral step processing at time t-1 and the basic image data of the mineral step processing at time t+1 respectively according to the time data characteristics of the mineral step processing data at time t-1 and the time data characteristics of the mineral step processing data at time t+1; S3-1-7, using the real-time data, the basic image data of the mineral step processing at time t-1 and the basic image data of the mineral step processing at time t+1 as the time data of the mineral step processing data; S3-1-8, using the real-time data feature, the time data feature of the mineral step processing data at time t-1 and the time data feature of the mineral step processing data at time t+1 as the time data feature of the mineral step processing data; S3-1-9. Establish a mineral step processing image database using the time data of the mineral step processing data and the time data features of the mineral step processing data.
4. A method for processing mineral cascade processing data based on improved image processing as claimed in claim 3, characterized in that: The dynamic trends of the mineral step processing image data obtained by using the mineral step processing image database include: S3-2-1, using the time data in the mineral step processing image database to establish a data trend of the mineral step processing image; S3-2-1-1, using the time data in the mineral step processing image database, respectively obtain a first trend of the time data between time t-2 and time t, a second trend of the time data between time t-1 and time t+1, and a third trend between time t and time t+2; S3-2-1-2, using the first trend, the second trend and the third trend as data trends of the mineral step processing image; S3-2-2, using the time data features in the mineral step processing image database to establish a data feature trend of the mineral step processing image; S3-2-2-1, using the time data features in the mineral step processing image database, respectively obtain the upper characteristic trend of the real-time data features and the time data features of the mineral step processing data at time t-1, the middle characteristic trend of the real-time data features and the time data features of the mineral step processing data at time t+1, and the lower characteristic trend of the time data features of the mineral step processing data at time t-1 and the time data features of the mineral step processing data at time t+1; S3-2-2-2, using the upper layer characteristic trend, the middle layer characteristic trend and the lower layer characteristic trend as the data characteristic trend of the mineral step processing image; S3-2-3, verifying and processing the data trend of the mineral step processing image and the data characteristic trend of the mineral step processing image to obtain the dynamic trend of the mineral step processing image data; Among them, the data trend of the mineral step processing image is the numerical trend of the data corresponding to the time t-1, t, t+1 and t+2. If the numerical trend is consistent with the time trend, the numerical trend is rising, otherwise it is falling; the data feature trend of the mineral step processing image is the numerical trend of the data features corresponding to the time t, t-1 and t+1. If the numerical change is proportional to the time series change, the numerical trend is rising, otherwise it is falling.
5. A method for processing mineral grade processing data based on improved image processing as claimed in claim 4, characterized in that: The dynamic trend of the mineral step processing image data obtained by verification processing according to the data trend of the mineral step processing image and the data characteristic trend of the mineral step processing image includes: S3-2-3-1, respectively determine whether the numerical trend of the data trend of the mineral step processing image corresponds to the numerical trend of the data characteristic trend of the mineral step processing image, if so, execute S3-2-3-2, otherwise, return to S3-2-1; S3-2-3-2. Determine whether the data trend of the mineral step processing image is consistent with the data characteristic trend of the mineral step processing image. If so, use the data trend of the mineral step processing image and the data characteristic trend of the mineral step processing image as the dynamic trend of the mineral step processing image data. Otherwise, select a moment unrelated to the current moment as the update processing start moment, and return to S3-1-2.
6. A method for processing mineral grade processing data based on improved image processing as claimed in claim 3, characterized in that: The processing results of the mineral step processing data obtained by performing composite verification processing using the initial processing results of the mineral step processing image data and the dynamic trend of the mineral step processing image data include: S4-1, using the initial processing result of the mineral step processing image data and the dynamic trend of the mineral step processing image data to perform composite processing to obtain an initial analysis result; S4-2. Perform verification processing based on the initial analysis results to obtain the processing results of the mineral cascade processing data.
7. A method for processing mineral grade processing data based on improved image processing as claimed in claim 6, characterized in that: Using the initial processing result of the mineral step processing image data and the dynamic trend of the mineral step processing image data to perform composite processing to obtain the initial analysis result includes: S4-1-1, obtaining main marking data of the mineral step processing image data according to the initial processing result of the mineral step processing image data; S4-1-2, according to the main marking data, obtain the change trend of the main marking data of the mineral step processing image in different time periods by time division and establish a time data set; S4-1-3, using the time data set and the dynamic trend of the mineral step processing image data to perform composite processing to obtain an initial analysis result; S4-1-3-1, determine whether there is a corresponding relationship between the dynamic trend of the mineral step processing image data and the time data set, if so, execute S4-1-3-2, otherwise, use the change trend of the main marking data of the mineral step processing image in the time data set as the dynamic trend of the updated mineral step processing image data, and return to S4-1; S4-1-3-2, determine whether the dynamic trend of the mineral step processing image data is consistent with the change trend of the main marking data of the mineral step processing image, if so, execute S4-1-3-3, otherwise, obtain the dynamic trend of the mineral step processing image data that is consistent with the change trend of the main marking data of the mineral step processing image, and return to S4-1; S4-1-3-3, obtaining the change trend of the secondary marking data of the mineral step processing image corresponding to the change trend of the primary marking data of the mineral step processing image according to the association relationship between the primary marking data and the secondary marking data; S4-1-3-4, establishing a first mapping relationship between the dynamic trend of the mineral step processing image data and the change trend of the main marking data of the mineral step processing image; S4-1-3-5, obtaining a second mapping relationship between the dynamic trend of the mineral step processing image data and the change trend of the secondary marking data of the mineral step processing image according to the first mapping relationship; S4-1-3-6, obtaining a size data variation trend of corresponding mineral particles according to the first mapping relationship and the second mapping relationship; S4-1-3-7. Determine whether the size data change trend of the mineral particles corresponds to the initial processing result of the mineral step processing image data. If so, output the size data change trend of the mineral step processing image main mark data change trend, the secondary mark data change trend of the mineral step processing image and the dynamic trend of the mineral step processing image data corresponding to the size data change trend of the mineral particles as the initial analysis result. Otherwise, output the size data change trend of the mineral particles as the updated initial processing result of the mineral step processing image data and return to S4-1.
8. A method for processing mineral grade processing data based on improved image processing as claimed in claim 7, characterized in that: The processing results of the mineral cascade processing data obtained by the verification processing according to the initial analysis results include: S4-2-1, determine whether the moment of the mineral step processing data corresponding to the initial analysis result is the current acquisition moment, if so, execute S4-2-2, otherwise, output the mineral step processing data corresponding to the initial analysis result as the updated mineral step processing improved image data, and return to S3-1-1; S4-2-2. Determine whether the mineral step processing data corresponding to the initial analysis result is the real-time data corresponding to the current moment. If so, output the initial analysis result as the processing result of the mineral step processing data. Otherwise, output the processing moment of the mineral step processing data corresponding to the initial analysis result as the updated processing start moment, and return to S3-1-2.
