A production detection method and device for adhesion slide
By acquiring and analyzing process demand information, combined with the depth sensitivity of high-resolution imaging sensors, multi-level calibration focus position settings and image feature analysis are performed to solve the problems of detection accuracy and complexity in adhered slide detection and achieve Efficient and accurate quality control.
Patent Information
- Application Number
- CN202410751875.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-12
AI Technical Summary
In the existing technology, in the production and testing of adhesive slides, the complex detection process is time-consuming and laborious, but the simple detection process cannot guarantee the quality accuracy, and there is a lack of methods that can not only ensure the detection accuracy but also take into account the complexity of the detection.
By obtaining the process requirement information of the adhesive slide, analyze and establish the calibration depth range, read the depth sensitivity of the high-resolution imaging sensor, divide the multi-level calibration focus position, perform image acquisition and multi-dimensional image feature analysis, and establish regional characteristics and Depth features, perform depth anomaly detection and roughness detection, and generate detection marks for production management.
It improves the accuracy and efficiency of inspection, enhances the adaptability and flexibility of the imaging system, can more accurately capture small defects and irregularities, and significantly improves the level of product quality control.
Smart Images

Figure CN118329908B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field related to production detection, and in particular to a production detection method and device for an adhered glass slide. Background Art
[0002] Attached slides are slides with specially treated surfaces that allow cells or other biological samples to adhere. They are widely used in production, biology, and medicine, especially in microscopic observation of cell culture or tissue sections.
[0003] At present, adhesive glass slides are widely used, and higher requirements are placed on the quality of glass slides. Then, in the production inspection process of adhesive glass slides using existing technologies, complex inspection processes can ensure quality, but are time-consuming and labor-intensive, and are not suitable for production. Although simple inspection processes save time and effort, they cannot accurately complete the production quality inspection of adhesive glass slides. Therefore, how to provide a detection method that can both ensure detection accuracy and take into account detection complexity has become an urgent problem to be solved. Summary of the invention
[0004] Based on this, it is necessary to provide a production detection method and device for an adhered glass slide that can achieve the technical effect in response to the above-mentioned technical problems.
[0005] In a first aspect, a production inspection method for an adhered glass slide is provided, the method comprising: obtaining process requirement information of the adhered glass slide, parsing the process requirement information, establishing a calibrated depth range, reading the depth sensitivity of a high-resolution imaging sensor, dividing the range interval based on the depth sensitivity and the calibrated depth range, and establishing a multi-level calibrated focus position; when performing any production inspection of an adhered glass slide and the adhered glass slide is fixedly placed in a target inspection area, activating the high-resolution imaging sensor, performing image acquisition based on a preset focus, and establishing a preprocessed image, wherein the preset focus is a middle distance focus of the calibrated depth range; performing multi-dimensional image feature analysis on the preprocessed image, establishing regional features and depth features, and based on The regional features and the depth features establish a regional sensitive identifier, and reconstruct the multi-level calibrated focus position to establish an acquisition focus; activate the high-resolution imaging sensor, perform image acquisition based on the acquisition focus, establish a depth image set, perform image fusion of the depth image set, establish a fused image, and perform depth anomaly detection on the fused image through the regional sensitive identifier to generate a first anomaly detection result; perform depth analysis on the fused image, establish a roughness detection result of the adhered glass slide based on the depth analysis result, and use the roughness detection result as a second anomaly detection result; generate a detection identifier based on the first anomaly detection result and the second anomaly detection result, and perform production management of the adhered glass slide through the detection identifier.
[0006] In a second aspect, a production inspection device for an adhered glass slide is provided, the device comprising: a division module, used to obtain process requirement information of the adhered glass slide, parse the process requirement information, establish a calibrated depth range, read the depth sensitivity of the high-resolution imaging sensor, divide the range interval based on the depth sensitivity and the calibrated depth range, and establish a multi-level calibrated focus position; a pre-acquisition module, used to activate the high-resolution imaging sensor when any production inspection of the adhered glass slide is performed and the adhered glass slide is fixedly placed in the target inspection area, perform image acquisition based on a preset focus, and establish a pre-processed image, wherein the preset focus is a middle distance focus of the calibrated depth range; a focus reconstruction module, used to perform multi-dimensional image feature analysis on the pre-processed image, establish regional features and depth features, and based on the The regional features and the depth features establish a regional sensitive identifier, and reconstruct the multi-level calibrated focus position to establish an acquisition focus; a sensitive detection module is used to activate the high-resolution imaging sensor, perform image acquisition based on the acquisition focus, establish a depth image set, perform image fusion of the depth image set, establish a fused image, and perform depth anomaly detection on the fused image through the regional sensitive identifier to generate a first anomaly detection result; a roughness detection module is used to perform depth analysis on the fused image, establish a roughness detection result of the adhered glass slide based on the depth analysis result, and use the roughness detection result as the second anomaly detection result; a production management module is used to generate a detection identifier based on the first anomaly detection result and the second anomaly detection result, and perform production management of the adhered glass slide through the detection identifier.
[0007] The above-mentioned production detection method and device for adhesive glass slides, by acquiring the process requirement information of the adhesive glass slides and parsing the information, enables the detection system to understand and adapt to the specific production requirements, and then establishes a suitable calibration depth range for different types of glass slides, providing a clear direction and basis for subsequent detection work, so that the detection process can be more accurately adjusted to specific process requirements, thereby improving the relevance and accuracy of the detection. By reading the depth sensitivity of the high-resolution imaging sensor and dividing the range interval based on this sensitivity and the calibration depth range, the focus setting of the imaging sensor can be optimized. The establishment of multi-level calibration focus positions allows the system to quickly adjust to different depth changes during the detection process, greatly enhancing the adaptability and flexibility of the imaging system, so that it can more accurately capture the tiny defects and irregularities on the glass slide. When the adhesive glass slide is fixed in the target detection area and the high-resolution imaging sensor is activated to perform image acquisition based on the preset focus, the pre-processed image established in this process provides high-quality preliminary data for subsequent image analysis. The preset focus is the middle distance focus of the calibration depth range, which is optimized and selected to ensure the basis of image quality and analysis effect, so that the preliminary image can more comprehensively reflect the actual situation of the glass slide. Overall, it not only improves the efficiency and accuracy of production inspection of adhered slides, but also achieves the effect of high-precision inspection with low computing power by preprocessing image acquisition and adjusting the focal length according to the preprocessing results, thereby significantly improving the level of product quality control.
[0008] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 A schematic diagram of a production and detection method for an adhered glass slide in one embodiment;
[0010] Figure 2 The present invention is a structural block diagram of a production detection device for an adhered glass slide in one embodiment.
[0011] Explanation of the accompanying drawings: division module 01, pre-collection module 02, focus reconstruction module 03, sensitivity detection module 04, roughness detection module 05, production management module 06. DETAILED DESCRIPTION
[0012] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0013] like Figure 1 As shown, the present application provides a production detection method for an adhered glass slide, the method comprising:
[0014] The process requirement information of the adhered glass slide is obtained, the process requirement information is parsed, a calibration depth range is established, the depth sensitivity of the high-resolution imaging sensor is read, range intervals are divided based on the depth sensitivity and the calibration depth range, and a multi-level calibration focus position is established.
[0015] When any adhered glass slide production inspection is performed and the adhered glass slide is fixedly placed in the target inspection area, the high-resolution imaging sensor is activated, image acquisition based on a preset focus is performed, and a preprocessed image is established, wherein the preset focus is the middle distance focus of the calibrated depth range.
[0016] Before executing production inspection, in order to better combine the actual production data, digital communication with the production database or production management system of the adhesive glass slide is generally established first. Based on this digital communication, the process requirement information of the adhesive glass slide is obtained. The process requirement information generally includes the size, thickness, and intended use of the glass slide. For this application, the process requirement information specifically refers to the intended use conditions, quality standards, and specific application requirements of the adhesive glass slide. During the manufacturing process, high-precision applications may require that the surface of the glass slide cannot have any tiny scratches or unevenness, which puts high standards on the accuracy and sensitivity of the detection system. After parsing this information, the system determines the defect types (such as scratches, bubbles, or other discontinuities) and roughness indicators (such as specific numerical requirements for surface smoothness) that need to be focused on according to different application requirements and preset quality standards. By obtaining the process requirement information for data analysis, data support is provided for subsequent accurate multi-level calibration focus position setting.
[0017] Furthermore, according to the analyzed process requirement information, a calibration depth range is established. The calibration depth range refers to the limit depth distance constructed based on the roughness index obtained by analysis. By establishing the calibration depth range, pixel points at different depths can be collected through different focal lengths, which can effectively improve the collection accuracy, thereby laying a solid foundation for subsequent accurate roughness analysis. High-resolution imaging sensors are sensing devices for performing production quality inspections, and usually require imaging sensors with extremely high detail capture capabilities, including CMOS imaging sensors, CCD imaging sensors, scientific-grade CMOS (sCMOS) imaging sensors, and linear array cameras. Depth sensitivity refers to the sensor's ability to respond to different depth levels of the subject, which usually involves the sensor's clarity and ability to capture details in areas outside the focus. It is generally set by depth of field, aperture size, and focus adjustment. In this solution, in order to identify the adhered slide more quickly and accurately, the range interval is divided by depth sensitivity parameters and calibration depth range, and a multi-level calibration focus position is established. The multi-level calibration focus position is a preset focus position for subsequent acquisition, and the focus can be fine-tuned according to the subsequent specific acquisition data. The multi-level calibration focus can be set according to the detection accuracy of big data and requirements. The more and denser the multi-level calibration focus is set, the better the acquisition effect. At the same time, a certain amount of computing power will be wasted. The sparser the multi-level calibration focus is set, the worse the acquisition effect is and the smaller the computing occupancy is. The specific setting density can depend on the experience in big data, combined with the requirements and depth sensitivity parameters and calibration depth range settings. By setting the multi-level calibration focus position, the foundation is laid for subsequent accurate image acquisition, and technical support is provided for obtaining accurate image data.
[0018] During the production inspection process, after the glass slide is fixed and placed in the target inspection area (i.e., the area specifically used for imaging detection and identification), the system will activate the imaging sensor to perform pre-processed image acquisition. The pre-processed image is an image acquired at a preset focus. It is pre-collected data for subsequent accurate focus adjustment and construction of accurate image data. In the present application, the acquisition focus of the pre-processed image is the middle distance focus of the calibrated depth range, that is, the middle depth distance is used as the focus of this acquisition. Taking this as the focus can better take into account the roughness fluctuations in the upper and lower ranges, thereby obtaining relatively accurate roughness data, which lays a solid foundation for subsequent more accurate acquisition focus setting.
[0019] Furthermore, in order to ensure the acquisition quality of the pre-processed image, before the adhesive slide is placed in the target detection area, it must be fixed by an appropriate fixing tool, and attention should be paid to providing a suitable background color to facilitate subsequent image acquisition, feature recognition and feature analysis. The activation setting of the high-resolution imaging sensor ensures that the high-resolution imaging sensor is idle when there is no adhesive slide, reduces the number of invalid acquisitions, and ensures the acquisition quality. By acquiring the pre-processed image after it is fixed in the target detection area, based on the set preset focus and fixing method, the acquisition effect of the pre-processed image is better, thereby providing accurate data support for the subsequent accurate fine-tuning of the focus and the establishment of regional sensitive identification.
[0020] Perform multi-dimensional image feature analysis on the pre-processed image to establish regional features and depth features, establish regional sensitive identification based on the regional features and the depth features, reconstruct the multi-level calibrated focus position, and establish a collection focus.
[0021] The high-resolution imaging sensor is activated, image acquisition is performed based on the acquisition focus, a depth image set is established, image fusion of the depth image set is performed, a fused image is established, and depth anomaly detection of the fused image is performed through a regional sensitive identifier to generate a first anomaly detection result.
[0022] Multidimensional image feature analysis is the core part of advanced image processing technology. In this solution, multidimensional image feature analysis mainly includes two parts. The first part is the regional feature recognition part, and the second part is the depth feature recognition part. Regional feature recognition refers to the process of abnormal recognition through edge detection algorithm, texture analysis, shape recognition, image fusion and multi-scale analysis. Through the image processing algorithm, the defect features in the collected pre-processed image can be identified, and the regional features can be established according to the location of the defect features. Based on the setting of the regional features, data support is provided for the subsequent better identification of defects and the marking of defect locations and sizes. Deep feature recognition refers to the recognition process of detecting the height difference between the lowest pixel and the highest pixel of the adhered glass slide. The constructed depth feature reflects the actual lowest pixel and the highest pixel status of the currently detected adhered glass slide. The regional sensitive identification is established with the regional features. The regional sensitive identification includes similar defect feature identification and position interval identification. When the regional sensitive identification is established at any position, the subsequent defect identification is mainly performed on the corresponding area. By establishing similar defect feature identification, the defect can be selected more quickly to complete the defect identification, which reduces the computing power used for detection and achieves the technical effect of improving the subsequent defect detection speed. The process of reconstructing the multi-level calibration focus position is to fine-tune the focus according to the actual state of the adhered glass slide. By the relationship between the depth feature and the calibration depth range, the number of focuses is selected to be added or reduced, and the existing multi-level calibration focus position is fine-tuned according to the result of the addition or reduction. On the basis of giving priority to ensuring the smaller adjustment of the multi-level calibration focus position, the acquisition focus is re-set according to the construction standard of the multi-level calibration focus. Through the reconstruction setting of the acquisition focus, the acquisition parameters of the high-resolution imaging sensor are more adapted to the current adhered glass slide, thereby laying a solid foundation for the subsequent construction of a more accurate acquisition image.
[0023] Reactivate the high-resolution imaging sensor, perform image acquisition once at each acquisition focus through the set acquisition focus, construct the depth image set by the image acquisition results corresponding to all acquisition focuses, perform image fusion after coordinate alignment of the depth image set, and create a fused image. The fused image is an image created by fusing the focus pixels of each image in the depth image set, and the image integrates image information of different focal depths to perform comprehensive depth anomaly detection.
[0024] Perform perspective positioning of the image, that is, perspective the above-set regional sensitive identifier to the fused image, and segment the fused image according to the regional sensitive identifier to establish segmented areas corresponding to different defect features, that is, each segmented area corresponds to one or more defect features (multiple defect features may be similar to the defect features. Since no detailed judgment is made, there may be multiple defect features here). Through the corresponding defect features, call the corresponding convolution kernel and recognition strategy to perform deep anomaly detection to generate a first anomaly detection result. The first anomaly detection result is the defect recognition and detection result, including the location, shape, size, type characteristics, etc. of the defect. Through the recognition of the first anomaly detection result, the defect judgment of the adhered glass slide can be more accurate, thereby providing accurate data support for accurate production management of adhered glass slides.
[0025] A depth analysis is performed on the fused image, a roughness detection result of the adhered glass slide is established based on the depth analysis result, and the roughness detection result is used as the second abnormality detection result.
[0026] A detection mark is generated based on the first abnormality detection result and the second abnormality detection result, and production management of the adhered glass slide is performed through the detection mark.
[0027] After the first abnormality detection result is constructed, the entire fused image is partitioned to establish a roughness measurement area. The roughness measurement area refers to an area where no abnormality recognition exists. In order to make a more accurate defect determination for the adhered glass slide, after performing defect detection and recognition, the roughness recognition of the roughness measurement area where no defects exist is continued. The arithmetic roughness and root mean square roughness in the roughness measurement area are calculated and used as the roughness detection result to construct the second abnormality detection result. The second abnormality detection result can provide detailed information about the surface quality of the glass slide, such as the smoothness and uniformity of the surface, thereby further ensuring that the quality of the product meets strict standards.
[0028] The first anomaly detection result and the second anomaly detection result are fused to construct the final detection mark, which is used to guide production management decisions, such as whether production parameters need to be adjusted or a batch of products needs to be re-inspected. Through precise focus calibration and depth sensitivity utilization, not only the ability to capture details is enhanced, the waste of computing power caused by blind multiple rounds of acquisition is reduced, but also the ability to analyze different depth levels is improved. Multi-dimensional image feature analysis and image fusion technology further enhance the amount of information in the image, making deep anomaly and surface roughness detection more accurate, which can effectively assist production management and quality control, thereby improving overall production efficiency and product quality.
[0029] Furthermore, deep anomaly detection of the fused image is performed through region sensitive identifiers to generate a first anomaly detection result, which also includes: parsing the region sensitive identifiers and synchronously establishing associated region sensitive identifiers; dividing the fused image according to the region sensitive identifiers and the associated region sensitive identifiers, wherein each image division result corresponds to a dynamic resolution detection strategy; calling a multi-resolution channel through the dynamic resolution detection strategy to perform dynamic resolution deep anomaly detection on the corresponding image division result; and outputting a first anomaly detection result according to the deep anomaly detection result.
[0030] Parsing the region sensitive identifier and simultaneously establishing associated region sensitive identifiers refers to parsing the region sensitive identifiers obtained from the preprocessed image to understand the corresponding image features, such as edges, textures, colors or shapes, etc. The associated region sensitive identifiers represent other region identifiers that may be associated with the region sensitive identifiers. If an area is identified as an area where cracks may exist, the associated area may be an extension of the cracks or an area where adjacent areas may be affected. By expanding and dividing the region sensitive identifiers, associated region sensitive identifiers are established, thereby increasing the scope of the search and avoiding missing defects.
[0031] After parsing and establishing the regional sensitive identification and the associated regional sensitive identification, the fused image is divided by identification partitions to establish N image division results, where N is an integer greater than 1, which means that each region is divided into sub-regions according to the defect characteristics that may exist therein, and different resolutions and defect features are called for matching and identification according to the different characteristics of the corresponding image division results. Further, the corresponding dynamic resolution detection strategy is pre-constructed according to different resolutions and defect features. The dynamic resolution detection strategy is constructed to ensure the detection effect and includes at least two detection strategy detection schemes, and the dynamic detection strategy corresponds to a multi-resolution channel. Generally speaking, the corresponding multi-resolution channel is called according to the dynamic detection strategy corresponding to each image division result, and the abnormality identification of the corresponding image division result is performed, and the first abnormality detection result is output according to the abnormality identification result. These results will describe in detail whether there is an abnormality in each region, the type of abnormality, and the further processing or inspection measures that may be required. By establishing the associated regional sensitive identification and the dynamic resolution detection strategy, a more detailed and targeted abnormality detection of the adhered slide material is achieved. The use of regional sensitive identification and the associated regional identification enhances the accuracy of detection, while the dynamic resolution detection strategy ensures the optimal use of resources and improves the accuracy and efficiency of detection.
[0032] The method calls a multi-resolution channel through the dynamic resolution detection strategy to perform dynamic resolution deep anomaly detection of the corresponding image segmentation result, and also includes: parsing the regional sensitive identification to establish associated abnormal features; constructing a multi-resolution channel, wherein the multi-resolution channel is constructed by convolution kernels of different resolutions; performing multi-resolution channel matching based on the dynamic resolution detection strategy to establish a first matching result and a second matching result; calling the convolution kernel through the first matching result, the second matching result and the associated abnormal features to construct a dedicated dynamic resolution channel; and performing dynamic resolution deep anomaly detection of the corresponding image segmentation result through the dedicated dynamic resolution channel.
[0033] A convolutional neural network (CNN) is used to construct a multi-resolution channel containing convolution kernels of multiple resolutions. The construction process generally uses big data or existing defect data as training data. After the defects are marked, convolution kernels containing multiple resolutions are trained and established to build a multi-resolution channel containing multi-resolution convolution kernels.
[0034] The region sensitive identifier is parsed to obtain associated abnormal features, which are features of possible defects, such as bubbles and cracks, and the associated abnormal features are marked with associated value identifiers. The associated values reflect the similarity of each defect feature. The calling order of the multi-resolution channels can be determined according to the size of the associated value, in the hope of completing defect identification more quickly and accurately.
[0035] Based on the dynamic resolution detection strategy, the system performs multi-resolution channel matching to determine the most appropriate convolution kernel configuration for each image area. Generally speaking, the evaluation here is to call the most suitable convolution kernel that can best capture defect features based on the characteristics of each area, such as size and complexity. In this way, the matching of multi-resolution channels is completed. The number of best matches in this application is 2, that is, the first matching result and the second matching result are established. If there is only one matching result, there may be a problem of inaccurate recognition. If there are more matching results, it may be because too many resolutions are called, resulting in excessive calculation. The first matching result is the matching result with the most suitable resolution, and the second matching result is the matching result with the second-best resolution.
[0036] The resolution is determined by the first matching result and the second matching result, the defect feature convolution kernel is determined by associating the abnormal features, and the matching order is determined, so as to call the adapted convolution kernel, build a dedicated dynamic resolution channel, and perform dynamic resolution deep anomaly detection of the corresponding image segmentation results with the dedicated dynamic resolution channel. Through the comprehensive application of multi-resolution processing and convolutional neural networks, the flexibility of image processing and detection accuracy are greatly improved, which is suitable for industrial applications with high quality control requirements. It can ensure that while maintaining high processing speed, every detail in the image can be analyzed in detail, thereby achieving efficient and accurate defect detection.
[0037] The method further comprises: performing a depth analysis on the fused image, and establishing a roughness detection result of the adhered glass slide based on the depth analysis result, and further comprising: establishing a protection area based on the first abnormality detection result, segmenting the fused image with the protection area, and establishing a roughness measurement area; configuring a roughness calculation formula, and performing roughness calculation: in, Characterizes the arithmetic roughness, is the number of pixels in the roughness measurement area, Characterization The height of the measuring point, Characterize the height of all measurement points The arithmetic mean of Characterize the RMS roughness; perform depth analysis based on the roughness calculation results.
[0038] In order to perform more accurate identification and evaluation and detect the defects of the currently adhered glass slide, in addition to defect detection, the roughness of the adhered glass slide must be calculated. The roughness calculation is based on the fused image. In order to avoid the influence of defects on the roughness, the fused image is segmented by establishing a protection area.
[0039] Furthermore, a protection area is established based on the first abnormality detection result, that is, the area that has been identified as a defect abnormality is protected by constructing a protection area, and the area that has not been identified as an abnormality is used as a roughness measurement area. The roughness is calculated by the arithmetic average roughness (Ra) and the root mean square roughness (Rq). The arithmetic average roughness (Ra) calculates the arithmetic average between the surface height deviation and the average line. The root mean square roughness (Rq) provides the root mean square value of the square of the surface height deviation, which is usually more sensitive to the peaks and valleys of the surface. The formula is: in, Characterizes the arithmetic roughness, is the number of pixels in the roughness measurement area, Characterization The height of the measuring point, Characterize the height of all measurement points The arithmetic mean of Characterize the root mean square roughness and complete the depth analysis according to the final roughness calculation result. By performing regional segmentation, the influence of defect abnormal areas on roughness measurement is reduced, so that the roughness calculation result can better reflect the overall roughness state. The two roughness characteristics of arithmetic mean roughness (Ra) and root mean square roughness (Rq) are used to make the depth analysis more accurate and comprehensive.
[0040] Furthermore, a processing sensitivity evaluation is performed on the preprocessed image to generate a processing sensitivity evaluation result; if the sensitivity evaluation result cannot meet the preset sensitivity threshold, the roughness measurement area is grayscale converted to construct a central area value; the fused image after grayscale conversion of the central area value is traversed to generate a traversal recognition result; the regional sensitive identification is reconstructed based on the traversal recognition result, and anomaly detection is completed according to the reconstructed regional sensitive identification.
[0041] The fused image after grayscale conversion is traversed through the central area value to generate a traversal recognition result, and also includes: performing segmentation of the fused image after grayscale conversion in a preset area, and constructing a calibration comparison value based on the grayscale of the central area pixels of the segmentation result and the central area value; performing a corresponding preset area comparison through the calibration comparison value to generate a traversal recognition result of all preset areas.
[0042] During the execution of the steps of this application, the recognition accuracy of the pre-processed image has a great impact on the entire subsequent abnormality recognition and roughness detection. If the processing sensitivity of the pre-processed image is low, that is, the defect characteristics cannot be effectively distinguished, it may lead to under-judgment of defects and affect the results of roughness recognition. Therefore, this solution adds a process of processing sensitivity evaluation of the pre-processed image. If the processing sensitivity evaluation result cannot meet the preset sensitivity threshold, further defect identification is required in the roughness measurement area.
[0043] If the defect recognition of the roughness measurement area is directly performed, it will inevitably lead to a waste of computing power. Therefore, defect recognition can be performed through local binary patterns. The normal state of the adhered slide is a carrier with uniform roughness. Based on this characteristic, after the grayscale conversion of the roughness measurement area, the central area value (the central area value is the grayscale value with the most occurrences) is established according to the overall image grayscale value distribution. The central area value includes a fluctuation range, which is used to construct and identify constraints for subsequent local binary values.
[0044] Before starting the recognition, the fused image is grayscale converted, and the roughness measurement area is called, and the image segmentation is performed with a local window (preset area), and M areas are established. The preset area is the recognition area of the local window size, which is generally set to a 3×3 local pixel window. After completing the segmentation of the M areas, the central area pixel grayscale of the M central areas is obtained, and it is determined whether the central area pixel grayscale is within the central area value range. If it is, the central area value is used as the calibration comparison value. If not, according to the direction and distance of the deviation, the central area value is fine-tuned through the fluctuation range as the calibration comparison value, and the corresponding preset area is compared with the calibration comparison value. When all the preset areas are compared, the traversal recognition results of all the preset areas are constructed, and the regional sensitive identification is reconstructed based on the traversal recognition results, that is, the abnormal area is re-identified by regional sensitivity, and the abnormal detection is completed according to the reconstructed regional sensitive identification. By comprehensively utilizing the LBP algorithm and grayscale conversion technology, especially when the texture and grayscale change significantly, the abnormal area in the image can be more accurately identified and located, ensuring the accuracy of defect recognition and roughness detection.
[0045] Establishing sensitive features, wherein the sensitive features are constructed by analyzing the detection mark;
[0046] A sensitive constraint layer is constructed through the sensitive features, deep anomaly detection is constrained through the sensitive constraint layer, and subsequent batch detection management is performed according to the constraint results.
[0047] First, the system needs to analyze and extract key information from the anomaly detection that has been performed. This information is called detection signature. The detection signature may include information such as the type, location, size, and frequency of the anomaly identified in the image. Based on these detection signatures, the system will analyze the image data to construct sensitive features. Sensitive features are a further abstraction and synthesis of detection signatures, aiming to capture key variables that may affect the detection effect. For example, if a specific type of defect often appears in a similar background texture, the sensitive feature will include this texture pattern as a constraint to optimize the detection process. With the guidance of the sensitive constraint layer, the system can perform effective deep anomaly detection on the entire batch of products, including continuous monitoring and detection of products produced continuously or in batches on the production line, thereby achieving real-time quality control. Guided by the sensitive constraint layer, the system can automatically adjust the detection parameters and strategies to adapt to possible changes in the production process. By establishing sensitive features and sensitive constraint layers, not only the accuracy and efficiency of anomaly detection are improved, but also changes in the production process can be adapted to ensure the consistency of product quality, reduce the error rate and missed detection rate in the detection process, and improve the overall production efficiency and product quality.
[0048] Technical effects:
[0049] By acquiring and analyzing process requirement information and establishing a calibration depth range and multi-level calibration focus position, the detection targeting and accuracy are improved, allowing the imaging system to be adjusted according to specific product characteristics, thereby improving the efficiency and quality of product detection.
[0050] By parsing region-sensitive identifiers, establishing associated region-sensitive identifiers simultaneously, and performing image segmentation and dynamic resolution detection based on these identifiers, image detection can respond to various defects more precisely, especially in complex or uneven image areas, thereby enhancing the comprehensiveness and depth of detection.
[0051] By constructing multi-resolution channels and matching appropriate channels through dynamic resolution detection strategies, image processing can be optimized according to the characteristics of different areas, thereby improving the flexibility and accuracy of image analysis, especially when dealing with complex images or variable quality features, achieving the effect of showing efficient detection performance.
[0052] Through the precise division of the roughness measurement area and the specific calculation of the roughness, the surface quality of the adhered glass slide can be evaluated in detail, providing precise data support for quality control in the manufacturing process, thereby helping to optimize the production process and improve the quality of the final product.
[0053] Through sensitivity evaluation and grayscale conversion processing, the detection strategy can be automatically adjusted according to the quality of the preprocessed image. By recalibrating the sensitive area, the high sensitivity and accuracy of the detection are ensured, which effectively improves the efficiency and accuracy of defect detection.
[0054] By establishing sensitive features and sensitive constraint layers, adaptive adjustments can be made throughout the entire detection process, optimizing the accuracy of deep anomaly detection. This helps adjust detection parameters in real time to respond to changes in the production process and ensure continuous product quality control and management.
[0055] In one embodiment, Figure 2As shown, a production inspection device for an adhered glass slide is provided, the device comprising: a division module 01, used to obtain process requirement information of the adhered glass slide, parse the process requirement information, establish a calibrated depth range, read the depth sensitivity of the high-resolution imaging sensor, divide the range interval based on the depth sensitivity and the calibrated depth range, and establish a multi-level calibrated focus position; a pre-acquisition module 02, used to activate the high-resolution imaging sensor when any production inspection of the adhered glass slide is performed and the adhered glass slide is fixedly placed in the target inspection area, perform image acquisition based on a preset focus, and establish a pre-processed image, wherein the preset focus is a middle distance focus of the calibrated depth range; a focus reconstruction module 03, used to perform multi-dimensional image feature analysis on the pre-processed image, establish regional features and depth features, and based on the The regional features and the depth features establish a regional sensitive identifier, and reconstruct the multi-level calibrated focus position to establish an acquisition focus; a sensitive detection module 04 is used to activate the high-resolution imaging sensor, perform image acquisition based on the acquisition focus, establish a depth image set, perform image fusion of the depth image set, establish a fused image, and perform depth anomaly detection on the fused image through the regional sensitive identifier to generate a first anomaly detection result; a roughness detection module 05 is used to perform depth analysis on the fused image, establish a roughness detection result of the adhered glass slide based on the depth analysis result, and use the roughness detection result as the second anomaly detection result; a production management module 06 is used to generate a detection identifier based on the first anomaly detection result and the second anomaly detection result, and perform production management of the adhered glass slide through the detection identifier.
[0056] Furthermore, the sensitive detection module 04 is also used to: parse the regional sensitive identifier and simultaneously establish an associated regional sensitive identifier; divide the fused image according to the regional sensitive identifier and the associated regional sensitive identifier, wherein each image division result corresponds to a dynamic resolution detection strategy; call the multi-resolution channel through the dynamic resolution detection strategy to perform dynamic resolution deep anomaly detection on the corresponding image division result; and output a first anomaly detection result according to the deep anomaly detection result.
[0057] Furthermore, the sensitive detection module 04 is also used to: parse the regional sensitive identification and establish associated abnormal features; construct a multi-resolution channel, wherein the multi-resolution channel is constructed by convolution kernels of different resolutions; perform multi-resolution channel matching based on the dynamic resolution detection strategy to establish a first matching result and a second matching result; call the convolution kernel through the first matching result, the second matching result and the associated abnormal features to construct a dedicated dynamic resolution channel; and perform dynamic resolution deep anomaly detection on the corresponding image segmentation result through the dedicated dynamic resolution channel.
[0058] Furthermore, the roughness detection module 05 is further used to: establish a protection area based on the first abnormality detection result, segment the fused image with the protection area, and establish a roughness measurement area; configure a roughness calculation formula, and perform roughness calculation: in, Characterizes the arithmetic roughness, is the number of pixels in the roughness measurement area, Characterization The height of the measuring point, Characterize the height of all measurement points The arithmetic mean of Characterize the RMS roughness; perform depth analysis based on the roughness calculation results.
[0059] Furthermore, the roughness detection module 05 is also used to: perform processing sensitivity evaluation on the pre-processed image to generate a processing sensitivity evaluation result; if the sensitivity evaluation result cannot meet the preset sensitivity threshold, perform grayscale conversion on the roughness measurement area to construct a central area value; traverse the fused image after grayscale conversion of the central area value to generate a traversal recognition result; reconstruct the regional sensitive identification based on the traversal recognition result, and complete anomaly detection according to the reconstructed regional sensitive identification.
[0060] Furthermore, the roughness detection module 05 is also used to: perform segmentation of the fused image after grayscale conversion in the preset area, and construct a calibration comparison value based on the grayscale of the pixels in the central area of the segmentation result and the central area value; perform a corresponding preset area comparison through the calibration comparison value to generate a traversal recognition result of all preset areas.
[0061] Furthermore, the system also includes: establishing sensitive features, which are constructed by analyzing detection identifiers; constructing a sensitive constraint layer through the sensitive features, constraining deep anomaly detection through the sensitive constraint layer, and performing subsequent batch detection management based on the constraint results.
[0062] For the specific embodiment of a production detection device for an adhered glass slide, please refer to the embodiment of a production detection method for an adhered glass slide mentioned above, which will not be repeated here. Each module in the above-mentioned production detection device for an adhered glass slide can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0063] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0064] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A production detection method for an adhered glass slide, characterized in that: The method comprises: Acquire process requirement information for adhering a glass slide, parse the process requirement information, establish a calibration depth range, read the depth sensitivity of a high-resolution imaging sensor, divide the range interval based on the depth sensitivity and the calibration depth range, and establish a multi-level calibration focus position; When any adhered glass slide production inspection is performed and the adhered glass slide is fixedly placed in the target inspection area, the high-resolution imaging sensor is activated to perform image acquisition based on a preset focus to establish a pre-processed image, wherein the preset focus is a mid-distance focus of the calibrated depth range; Performing multi-dimensional image feature analysis on the pre-processed image to establish regional features and depth features, establishing regional sensitive identification based on the regional features and the depth features, and reconstructing the multi-level calibration focus position to establish an acquisition focus; activating the high-resolution imaging sensor, performing image acquisition based on the acquisition focus, establishing a depth image set, performing image fusion of the depth image set, establishing a fused image, and performing depth anomaly detection on the fused image through a region-sensitive identifier to generate a first anomaly detection result; Performing a depth analysis on the fused image, establishing a roughness detection result of the adhered glass slide based on the depth analysis result, and using the roughness detection result as a second abnormality detection result; generating a detection mark based on the first abnormality detection result and the second abnormality detection result, and performing production management of the adhered glass slides by using the detection mark; Performing deep anomaly detection on the fused image by using the region sensitive identifier to generate a first anomaly detection result also includes: Parsing the region sensitive identifier and simultaneously establishing an associated region sensitive identifier; Dividing the fused image according to the region sensitive identifier and the associated region sensitive identifier, wherein each image division result corresponds to a dynamic resolution detection strategy; Calling the multi-resolution channel through the dynamic resolution detection strategy to perform dynamic resolution deep anomaly detection corresponding to the image segmentation result; Outputting a first anomaly detection result according to the deep anomaly detection result; The dynamic resolution detection strategy is used to call the multi-resolution channel to perform dynamic resolution depth anomaly detection corresponding to the image segmentation result, and further includes: Analyze the regional sensitive identification and establish associated abnormal features; Constructing a multi-resolution channel, wherein the multi-resolution channel is constructed by convolution kernels of different resolutions; Perform multi-resolution channel matching based on the dynamic resolution detection strategy to establish a first matching result and a second matching result; Calling a convolution kernel through the first matching result, the second matching result and the associated abnormal feature to construct a dedicated dynamic resolution channel; Dynamic resolution depth anomaly detection corresponding to the image segmentation result is performed through the dedicated dynamic resolution channel.
2. The method according to claim 1, characterized in that The performing depth analysis on the fused image and establishing a roughness detection result of the adhered glass slide based on the depth analysis result further includes: Establishing a protection area based on the first abnormality detection result, segmenting the fused image with the protection area, and establishing a roughness measurement area; Configure the roughness calculation formula and perform roughness calculation: in, Characterizes the arithmetic roughness, is the number of pixels in the roughness measurement area, Characterization The height of the measuring point, Characterize the height of all measurement points The arithmetic mean of Characterizes the root mean square roughness; Depth analysis is done based on the roughness calculation results.
3. The method according to claim 2, characterized in that The method further comprises: Performing a processing sensitivity evaluation on the preprocessed image to generate a processing sensitivity evaluation result; If the sensitivity evaluation result cannot meet the preset sensitivity threshold, grayscale conversion is performed on the roughness measurement area to construct a central area value; Traversing the fused image after grayscale conversion through the central area value to generate a traversal recognition result; The region sensitive identifier is reconstructed based on the traversal identification result, and anomaly detection is performed according to the reconstructed region sensitive identifier.
4. The method according to claim 3, characterized in that The traversal of the fused image after grayscale conversion of the central area value to generate a traversal recognition result also includes: Execute segmentation of the fused image after grayscale conversion in a preset area, and construct a calibration comparison value based on the grayscale of pixels in the central area of the segmentation result and the central area value; The calibration comparison value is used to compare the corresponding preset areas to generate traversal recognition results of all preset areas.
5. The method according to claim 1, characterized in that The method further comprises: Establishing sensitive features, wherein the sensitive features are constructed by analyzing the detection mark; A sensitive constraint layer is constructed through the sensitive features, deep anomaly detection is constrained through the sensitive constraint layer, and subsequent batch detection management is performed according to the constraint results.
6. A production detection device for an adhesive slide, characterized in that: The device comprises: A division module, used to obtain process requirement information for adhering a glass slide, parse the process requirement information, establish a calibration depth range, read the depth sensitivity of a high-resolution imaging sensor, divide the range interval based on the depth sensitivity and the calibration depth range, and establish a multi-level calibration focus position; A pre-capture module, used for activating the high-resolution imaging sensor when any adhered glass slide is produced and fixedly placed in a target detection area, performing image capture based on a preset focus, and establishing a pre-processed image, wherein the preset focus is a mid-distance focus of a calibrated depth range; A focus reconstruction module, used to perform multi-dimensional image feature analysis on the pre-processed image, establish regional features and depth features, establish regional sensitive identification based on the regional features and the depth features, and reconstruct the multi-level calibrated focus position to establish an acquisition focus; a sensitive detection module, configured to activate the high-resolution imaging sensor, perform image acquisition based on the acquisition focus, establish a depth image set, perform image fusion of the depth image set, establish a fused image, and perform depth anomaly detection on the fused image through a regional sensitive identifier to generate a first anomaly detection result; a roughness detection module, configured to perform a depth analysis on the fused image, establish a roughness detection result of the adhered glass slide based on the depth analysis result, and use the roughness detection result as a second abnormality detection result; a production management module, configured to generate a detection mark based on the first abnormality detection result and the second abnormality detection result, and perform production management of the adhered glass slides through the detection mark; The sensitive detection module is also used to: Parsing the region sensitive identifier and simultaneously establishing an associated region sensitive identifier; Dividing the fused image according to the region sensitive identifier and the associated region sensitive identifier, wherein each image division result corresponds to a dynamic resolution detection strategy; Calling the multi-resolution channel through the dynamic resolution detection strategy to perform dynamic resolution deep anomaly detection corresponding to the image segmentation result; Outputting a first anomaly detection result according to the deep anomaly detection result; Analyze the regional sensitive identification and establish associated abnormal features; Constructing a multi-resolution channel, wherein the multi-resolution channel is constructed by convolution kernels of different resolutions; Perform multi-resolution channel matching based on the dynamic resolution detection strategy to establish a first matching result and a second matching result; Calling a convolution kernel through the first matching result, the second matching result and the associated abnormal feature to construct a dedicated dynamic resolution channel; Dynamic resolution depth anomaly detection corresponding to the image segmentation result is performed through the dedicated dynamic resolution channel.
