Intelligent segmentation method and system for electron gun cathode temperature measurement image
Through focus registration verification, channel separation and background segmentation algorithms, the problem of difficult image separation in electron gun cathode temperature measurement is solved, accurate measurement of hot cathode temperature is achieved, and the reliability of the measurement results is improved.
Patent Information
- Application Number
- CN202410994521.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-07-24
AI Technical Summary
In the prior art, the electron gun cathode temperature measurement process relies on simple focusing, which makes it difficult to effectively separate the foreground and background of the image, affecting the accuracy and reliability of the temperature measurement results.
Through focus registration verification, pixel window operator channel separation, filtering processing and background segmentation algorithm, the foreground information of the hot cathode image is extracted to achieve temperature inversion and display.
The accuracy of background segmentation of hot cathode images is improved, background interference is removed, clear foreground images are extracted, and the accuracy and reliability of temperature measurement are enhanced.
Smart Images

Figure CN118552581B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to an intelligent segmentation method and system for electron gun cathode temperature measurement images. Background Art
[0002] The hot cathode is the core component of the electron gun, which generates thermal electron emission by heating. Its emission current density is an important indicator to measure the performance of the hot cathode, and the change of the hot cathode temperature has a significant impact on the emission current. Therefore, it is of great significance to accurately measure the temperature of the hot cathode. At present, the temperature measurement of the hot cathode is mostly achieved by monochrome colorimetry in the process of electron gun cathode temperature measurement. In the actual operation process, there are problems such as reliance on experience judgment, low temperature measurement efficiency and limited temperature measurement accuracy. It is difficult to effectively separate the foreground and background, and it is easily affected by noise and interference, resulting in inaccurate and unreliable temperature measurement results.
[0003] In summary, the prior art has a technical problem that the foreground and background of the image are difficult to effectively separate because the electron gun cathode temperature measurement process mostly relies on simple focusing, which further affects the accuracy and reliability of the temperature measurement results. Summary of the invention
[0004] The purpose of this application is to provide an intelligent segmentation method and system for electron gun cathode temperature measurement images, so as to solve the technical problem in the prior art that the electron gun cathode temperature measurement process mostly relies on simple focusing, which makes it difficult to effectively separate the foreground and background of the image, further affecting the accuracy and reliability of the temperature measurement results.
[0005] In view of the above problems, the present application provides an intelligent segmentation method and system for electron gun cathode temperature measurement images.
[0006] In a first aspect, the present application provides an intelligent segmentation method for electron gun cathode temperature measurement images, which is implemented by an intelligent segmentation system for electron gun cathode temperature measurement images, and includes: based on focus registration constraints, focusing lens of an image acquisition module and a hot cathode of an electron gun are verified for focus registration to obtain a focus registration verification result; when the focus registration verification result is qualified, according to the image acquisition module, image information of the hot cathode in a preset state is collected to obtain a hot cathode image; according to a predetermined pixel window operator, channels of the hot cathode image are separated to obtain a multi-channel hot cathode image; according to a predetermined filter template and a median filter algorithm, the multi-channel hot cathode image is denoised to obtain a denoised hot cathode image; according to a hot cathode image background segmentation algorithm, the denoised hot cathode image is segmented to obtain a hot cathode foreground image; based on the hot cathode foreground image, temperature inversion is performed to obtain the hot cathode temperature, and the hot cathode temperature is displayed.
[0007] In a second aspect, the present application further provides an intelligent segmentation system for electron gun cathode temperature measurement images, which is used to execute the intelligent segmentation method for electron gun cathode temperature measurement images as described in the first aspect, wherein it includes: a focus registration verification result acquisition module, the focus registration verification result acquisition module is used to perform focus registration verification on the focus lens of the image acquisition module and the hot cathode of the electron gun based on the focus registration constraint condition to obtain the focus registration verification result; a hot cathode image acquisition module, the hot cathode image acquisition module is used to collect image information of the hot cathode in a preset state according to the image acquisition module when the focus registration verification result is qualified, and obtain a hot cathode image; a multi-channel hot cathode image acquisition module, the multi-channel The hot cathode image acquisition module is used to perform channel separation on the hot cathode image according to a predetermined pixel window operator to obtain a multi-channel hot cathode image; the denoising hot cathode image acquisition module is used to perform denoising on the multi-channel hot cathode image according to a predetermined filter template and a median filtering algorithm to obtain a denoised hot cathode image; the hot cathode foreground image acquisition module is used to segment the denoised hot cathode image according to a hot cathode image background segmentation algorithm to obtain a hot cathode foreground image; the hot cathode temperature acquisition module is used to perform temperature inversion based on the hot cathode foreground image to obtain the hot cathode temperature and display the hot cathode temperature.
[0008] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0009] Based on the focus registration constraint condition, the focus lens of the image acquisition module and the hot cathode of the electron gun are verified for focus registration to obtain a focus registration verification result; when the focus registration verification result is qualified, the image information of the hot cathode in a preset state is collected according to the image acquisition module to obtain a hot cathode image; the hot cathode image is channel-separated according to a predetermined pixel window operator to obtain a multi-channel hot cathode image; the multi-channel hot cathode image is denoised according to a predetermined filter template and a median filter algorithm to obtain a denoised hot cathode image; according to a hot cathode image background segmentation algorithm, the denoised hot cathode image is segmented to obtain a hot cathode foreground image; temperature inversion is performed based on the hot cathode foreground image to obtain the hot cathode temperature, and the hot cathode temperature is displayed, that is, by extracting the image features of the hot cathode surface and using the corresponding relationship between the color and temperature of the pixels in the collected hot cathode image, the hot cathode temperature is inverted, and finally the technical goal of hot cathode image background segmentation is achieved, and the technical effect of extracting a clear foreground image and removing background interference is achieved.
[0010] 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 according to the contents of the specification, and 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 specifically cited below. It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easy to understand through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0012] Figure 1 A schematic flow chart of the intelligent segmentation method for electron gun cathode temperature measurement images used in this application;
[0013] Figure 2 is the foreground image after the hot cathode background threshold segmentation, and the segmentation conditions are K1=0, K2=20;
[0014] Figure 3 is the foreground image after the hot cathode background threshold segmentation, and the segmentation conditions are K1=10, K2=20;
[0015] Figure 4 It is the foreground image after the hot cathode background threshold segmentation, and the segmentation conditions are K1=20, K2=20;
[0016] Figure 5 It is the foreground image after the hot cathode background threshold segmentation, and the segmentation conditions are K1=10, K2=5;
[0017] Figure 6 is the foreground image after the hot cathode background threshold segmentation, and the segmentation conditions are K1=10, K2=10;
[0018] Figure 7 This is a schematic diagram of the structure of the intelligent segmentation system for electron gun cathode temperature measurement images in this application.
[0019] Description of reference numerals:
[0020] A focus registration verification result acquisition module 11, a hot cathode image acquisition module 12, a multi-channel hot cathode image acquisition module 13, a denoising hot cathode image acquisition module 14, a hot cathode foreground image acquisition module 15, and a hot cathode temperature acquisition module 16. DETAILED DESCRIPTION
[0021] This application provides an intelligent segmentation method and system for electron gun cathode temperature measurement images, which solves the technical problem in the prior art that the foreground and background of the image are difficult to effectively separate due to the fact that the electron gun cathode temperature measurement process mostly relies on simple focusing, further affecting the accuracy and reliability of the temperature measurement results. The technical goal of hot cathode image background segmentation is achieved, and the technical effect of extracting a clear foreground image and removing background interference is achieved.
[0022] Below, the technical solutions in the present application will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments of the present application. It should be understood that the present application is not limited to the example embodiments described herein. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application. It should also be noted that, for the convenience of description, only the parts related to the present application are shown in the accompanying drawings, rather than all of them.
[0023] For example, please refer to the attached Figure 1 The present application provides an intelligent segmentation method for electron gun cathode temperature measurement images, wherein the intelligent segmentation method for electron gun cathode temperature measurement images is applied to an intelligent segmentation system for electron gun cathode temperature measurement images, specifically comprising the following steps:
[0024] Step 1: Based on the focus registration constraint condition, the focus lens of the image acquisition module and the hot cathode of the electron gun are verified for focus registration to obtain the focus registration verification result.
[0025] Specifically, during the image acquisition process, the image acquisition module follows the technical requirements of focusing and registration, and accurately focuses and calibrates the hot cathode of the electron gun through the focusing lens of the image acquisition module to ensure that the acquired image is clear and accurate, thereby obtaining the accuracy of subsequent image processing and temperature measurement. For example, the image acquisition module includes a focusing lens, an image sensor, and a network sending unit. After the focusing lens clearly focuses on the hot cathode, the image sensor starts to shoot the hot cathode and obtains the hot cathode image, and then transmits the hot cathode image data through the network sending unit for data processing. Further, after the focusing and registration operations are completed, the results of the focus and registration are obtained and analyzed, and it is determined that the focus and registration verification result is qualified or unqualified. In order to determine whether the focus and registration verification result is qualified or unqualified, the following key parameters can be used for evaluation: Use image clarity indicators, such as image edge clarity, contrast, etc. For example, the gradient method or Laplace transform can be used to quantify the image clarity. When the clarity index exceeds the preset threshold, it means that the image clarity is high, and then the focus registration verification is determined to be qualified. When the clarity index does not exceed the preset threshold, it is determined that the focus registration verification is unqualified. Registration error indicators can also be used, such as the error vector of image registration, the consistency of overlapping areas, etc. The mean square error or structural similarity index can be used to quantify the registration error. When the registration error is lower than the preset threshold, it means that the image registration accuracy is high, and then the focus registration verification is determined to be qualified. When the registration error is higher than or equal to the preset threshold, it is determined that the focus registration verification is unqualified. To ensure that the image acquisition module has correctly focused and calibrated the hot cathode of the electron gun, it is used to confirm the accuracy and reliability of the entire image acquisition system, thereby ensuring the quality of the temperature measurement image and the accuracy of subsequent processing.
[0026] Step 2: When the focus registration verification result is qualified, the image information of the hot cathode in a preset state is collected according to the image acquisition module to obtain a hot cathode image.
[0027] Specifically, after confirming that the focusing and registration operations are successful, the image sensor in the image acquisition module is used to shoot the hot cathode of the electron gun to obtain image data of the hot cathode in the power-on state, ensuring that the acquired image is accurate and clear and can truly reflect the actual state of the hot cathode. The obtained hot cathode image provides a basis for subsequent data analysis and processing, ensuring the accuracy and reliability of temperature measurement and detection. For example, the hot cathode image is in 24-bit Bitmap format, in which each component of the image pixel occupies 8 bits and the value range is 0 to 255.
[0028] Step three: performing channel separation on the hot cathode image according to a predetermined pixel window operator to obtain a multi-channel hot cathode image.
[0029] Specifically, a specific pixel window operator is used to segment the hot cathode image into multiple window pixel images, and the window pixel images are subjected to pixel feature analysis to obtain a multi-channel hot cathode image. The predetermined pixel window operator is a plurality of window areas predefined in the image, which can be processed and analyzed separately.
[0030] Step 4: performing noise reduction processing on the multi-channel hot cathode image according to a predetermined filtering template and a median filtering algorithm to obtain a noise-reduced hot cathode image.
[0031] Specifically, a suitable predetermined filter template is selected. The filter template is an image processing tool used to smooth images, reduce noise, and retain the main features of the image. Based on the characteristics of the image and the need for noise reduction, a predetermined filter template is selected to minimize noise while maintaining the details of the image as much as possible.
[0032] Next, median filtering is a nonlinear filtering technique that removes noise by taking the median of all pixel values in the window area instead of the pixel value at the center of the window. Median filtering can effectively remove isolated noise points without significantly blurring the edges and details of the image.
[0033] When performing noise reduction processing, the predetermined filter template is first applied to the hot cathode image of each channel, and each pixel in the image is processed one by one. Specifically, for each pixel and its neighborhood, the window size defined by the filter template is used, the pixel values in the window are sorted by size, and the median is taken to replace the pixel value in the center of the window. By performing this process independently on each channel of the image, it is ensured that the noise of each channel can be effectively removed, and then the denoised hot cathode image is obtained. The result of the noise reduction process is that the random noise in the image is effectively reduced, while the edge and detail information of the image is retained. The denoised image is smoother and has a higher signal-to-noise ratio, thereby improving the image quality and the reliability of subsequent processing.
[0034] Step 5: Segment the denoised hot cathode image according to the hot cathode image background segmentation algorithm to obtain a hot cathode foreground image.
[0035] Specifically, according to the hot cathode image background segmentation algorithm, the background and foreground of the hot cathode image after noise reduction are distinguished. By analyzing the pixel features of the image, the foreground part of the image is separated from the background part. The hot cathode image background segmentation algorithm includes: first, the pixel intensity, color and other features of the image are used to distinguish the foreground and background. By setting the threshold, the algorithm can identify which pixels belong to the foreground and which pixels belong to the background, ensuring the accuracy and effectiveness of the segmentation. Next, according to the pre-defined background and foreground features, each pixel is judged to determine the attribution of each pixel, separate the foreground image of the hot cathode, and remove background noise and irrelevant information. The segmented foreground image retains the main features of the hot cathode, which is convenient for further analysis and processing. A clear hot cathode foreground image is obtained, and the interference of the background is removed, providing high-quality data support for subsequent image analysis, feature extraction and application.
[0036] Step 6: Perform temperature inversion based on the hot cathode foreground image to obtain the hot cathode temperature, and display the hot cathode temperature.
[0037] Specifically, temperature inversion is performed based on the hot cathode foreground image, and the pixel information in the foreground image is converted into temperature data, that is, temperature inversion is achieved by establishing a temperature inversion model between the image pixel value and the temperature. First, each pixel in the hot cathode foreground image is analyzed, and the pixel value is converted into a temperature value according to the pre-established temperature inversion model, including the radiation transfer equation, the calibration curve, etc., which is used to accurately calculate the temperature corresponding to each pixel. After obtaining the temperature value of each pixel, a temperature distribution map is generated to show the temperature distribution on the hot cathode surface, and the temperature information on the hot cathode surface is visualized in the form of color or grayscale, so that the temperature change and distribution are clear at a glance. Next, the hot cathode temperature is displayed. By displaying the temperature data in the form of charts, heat maps, etc., the temperature distribution of the hot cathode can be intuitively viewed, including color heat maps, where different colors represent different temperature ranges, and isotherm maps, which are used to show the distribution of specific temperature areas. In addition, through data statistics and analysis, the key temperature parameters of the hot cathode, such as the highest temperature, the lowest temperature, the average temperature, etc., can be extracted to provide more detailed temperature information for further analysis and decision-making, such as evaluating the working status and performance of the hot cathode.
[0038] The intelligent segmentation method for electron gun cathode temperature measurement images is applied to an intelligent segmentation system for electron gun cathode temperature measurement images, which can achieve the technical goal of hot cathode image background segmentation and achieve the technical effect of extracting clear foreground images and removing background interference.
[0039] Furthermore, the present application also includes:
[0040] According to the predetermined pixel window operator, the hot cathode image is divided to obtain a plurality of window pixel images; according to the plurality of window pixel images, a plurality of image pixel matrices are established; according to the plurality of image pixel matrices, RGB channel values are aligned and integrated to construct a plurality of image channel eigenvalue matrices; according to the plurality of image channel eigenvalue matrices, channels of the hot cathode image are separated to generate the multi-channel hot cathode image.
[0041] Specifically, the predetermined pixel window operator is predefined to divide a plurality of pixel window regions in the image, and the hot cathode image is divided into a plurality of smaller window pixel images, wherein the window pixel images contain a portion of pixel image information of the hot cathode image.
[0042] Then, each window pixel image is converted into an image pixel matrix, and each element in the image pixel matrix represents a pixel value in the window pixel image, and the image data is stored and processed in the form of a matrix, providing a structured data basis for subsequent image processing operations. Among them, the elements in the image pixel matrix have a clear correspondence with the pixel points of the image.
[0043] Exemplarily, the image pixel matrix is:
[0044]
[0045] The pixel points P1, P2 to P9 together form a 3×3 pixel image.
[0046] Exemplarily, the image channel eigenvalue matrix is:
[0047]
[0048] Among them, the elements a11, a12, and a13 in the image channel eigenvalue matrix together constitute the values of the components of the pixel point P1 in the 3×3 pixel image, the elements a14, a15, and a16 together constitute the values of the components of the pixel point P2, and the elements a17, a18, and a19 together constitute the values of the components of the pixel point P3. Similarly, the elements a21, a22, and a23 correspond to the values of the components of the pixel point P4, and so on. The three component values of each pixel in the pixel image are accurately mapped to the image channel eigenvalue matrix.
[0049] Next, in each image pixel matrix, the corresponding RGB channel values are aligned and integrated, that is, the corresponding RGB values are matched to the pixels in each image pixel matrix, and then the image channel eigenvalues of each image pixel matrix are calculated, which represent the RGB values of the image, ensuring the data consistency and accuracy between the RGB channels, thereby constructing multiple image channel eigenvalue matrices.
[0050] Next, the image channel eigenvalue matrix is used to perform channel separation on the hot cathode image. Channel separation is to extract different colors or spectral information from the hot cathode image to generate multiple independent hot cathode image channels, which represent red, green, blue or other spectral information, and generate a multi-channel hot cathode image.
[0051] Through window division, pixel matrix establishment, channel value registration integration and channel separation processing, a multi-channel hot cathode image is finally generated, which provides rich data information and structured image features for subsequent image analysis and processing.
[0052] Furthermore, the specific implementation steps of the hot cathode image background segmentation algorithm in this application include:
[0053] Establish temperature measurement pixel constraints, wherein the temperature measurement pixel constraints include temperature measurement pixel component relationship constraints and temperature measurement pixel component multi-feature constraints; obtain an image pixel data set of the denoised hot cathode image; determine whether each image pixel in the image pixel data set satisfies the temperature measurement pixel constraints, and establish a counting temperature measurement pixel set that satisfies the temperature measurement pixel constraints; perform cumulative summation of multi-feature components according to the counting temperature measurement pixel set to obtain a multi-feature accumulation result of the counting pixels; construct a hot cathode background segmentation threshold condition based on a multi-element background segmentation threshold adjustment factor and in combination with the multi-feature accumulation result of the counting pixels; determine whether each image pixel in the image pixel data set satisfies the hot cathode background segmentation threshold condition, and generate a hot cathode background pixel set; perform background segmentation on the denoised hot cathode image according to the hot cathode background pixel set to generate the hot cathode foreground image.
[0054] Specifically, temperature measurement pixel constraints are established. The temperature measurement pixel constraints include temperature measurement pixel component relationship constraints and temperature measurement pixel component multi-feature constraints, which are used to define which pixels can be used as valid temperature measurement data to ensure the accuracy and consistency of the temperature measurement data.
[0055] Next, the data of all pixels are extracted from the hot cathode image after noise reduction, including the color, brightness and other information of each pixel, as the basis for subsequent judgment and processing.
[0056] Next, we determine whether each image pixel in the image pixel data set meets the temperature measurement pixel constraint condition, and establish a counted temperature measurement pixel set that meets the temperature measurement pixel constraint condition. By checking each pixel one by one to determine whether it meets the predefined temperature measurement pixel constraint condition, we can filter out valid temperature measurement pixels and form a new pixel set.
[0057] Then, multi-features refer to the RGB features of pixels. According to the counting temperature measurement pixel set, multi-feature components are accumulated and summed to obtain the multi-feature accumulation result of the counting pixels. By accumulating the characteristic values of the pixels in the counting temperature measurement pixel set, a comprehensive multi-feature accumulation result is calculated for subsequent threshold construction. It is judged whether the grayscale value of each pixel falls within the preset temperature measurement pixel constraint conditions, that is, whether the counting conditions are met, and which temperature measurement pixels need to be counted. After traversing all pixels, the corresponding components of each temperature measurement pixel are accumulated and summed to obtain the multi-feature accumulation result of the counting pixels. For example, the multi-feature accumulation result is the first feature component accumulation result R, the second feature component accumulation result G and the third feature component accumulation result B of the pixel.
[0058] Next, based on the multi-element background segmentation threshold adjustment factor and combined with the multi-feature accumulation results of the counted pixels, a threshold condition for hot cathode background segmentation is constructed. By comprehensively considering the multi-feature accumulation results and the predetermined threshold adjustment factor, a threshold condition for background segmentation is determined to ensure the accuracy and effectiveness of the segmentation.
[0059] Next, it is determined whether each image pixel in the image pixel data set meets the hot cathode background segmentation threshold condition to generate a hot cathode background pixel set. The hot cathode background pixel set refers to the hot cathode background image, which has a significant impact on the accuracy of the temperature measurement result and cannot be used for temperature measurement calculation. Furthermore, by checking whether each pixel meets the background segmentation threshold condition one by one, the pixels belonging to the background can be screened out to form a new hot cathode background pixel set.
[0060] Then, the background of the de-noised hot cathode image is segmented according to the hot cathode background pixel set to generate a hot cathode foreground image. By removing the background pixels and retaining only the foreground pixels, a clearer and more focused hot cathode foreground image can be obtained for subsequent analysis and processing.
[0061] By establishing temperature measurement pixel constraints, screening valid pixels, calculating feature accumulation results, constructing background segmentation threshold conditions, and performing background segmentation, the foreground image can be effectively extracted from the denoised hot cathode image, thereby improving the accuracy and reliability of image analysis.
[0062] Furthermore, the present application also includes:
[0063] The multi-element background segmentation threshold adjustment factor includes a first background segmentation threshold adjustment factor and a second background segmentation threshold adjustment factor; the mean is calculated according to the multi-feature accumulation result of the counted pixels to obtain the mean of the first feature component, the mean of the second feature component and the mean of the third feature component; based on the first background segmentation threshold adjustment factor and the second background segmentation threshold adjustment factor, combined with the mean of the first feature component, a first feature component background segmentation threshold condition is constructed; based on the first background segmentation threshold adjustment factor and the second background segmentation threshold adjustment factor, combined with the mean of the second feature component, a second feature component background segmentation threshold condition is constructed; based on the first background segmentation threshold adjustment factor and the second background segmentation threshold adjustment factor, combined with the mean of the third feature component, a third feature component background segmentation threshold condition is constructed; the first feature component background segmentation threshold condition, the second feature component background segmentation threshold condition and the third feature component background segmentation threshold condition are added to the hot cathode background segmentation threshold condition.
[0064] Specifically, the multi-element background segmentation threshold adjustment factor includes a first background segmentation threshold adjustment factor and a second background segmentation threshold adjustment factor, which are respectively used to adjust the background segmentation thresholds of different feature components, and can be written as K1 and K2. The multi-feature accumulation result includes the first feature component accumulation result, the second feature component accumulation result and the third feature component accumulation result. For example, the first feature component accumulation result is R, the second feature component accumulation result is G, and the third feature component accumulation result is B. In order to accurately perform background segmentation, it is necessary to perform mean calculation based on the multi-feature accumulation result of the counted pixels to obtain the mean of the first feature component, the second feature component and the third feature component, such as written as , , The mean value of each characteristic component represents the average value of the characteristic component in the denoised hot cathode image and is an important basis for constructing the threshold condition.
[0065] Then, based on the first background segmentation threshold adjustment factor and the second background segmentation threshold adjustment factor, combined with the first feature component mean , construct the first feature component background segmentation threshold condition. Among them, the first background segmentation threshold adjustment factor K1 and the second background segmentation threshold adjustment factor K2 can be adaptively set and determined. Preferably, the value range of the first background segmentation threshold adjustment factor K1 is 10 to 20. The value range of the second background segmentation threshold adjustment factor K2 is 20 to 25. The first feature component background segmentation threshold condition is . The adjustment factor is applied to the mean of the first feature component to determine an appropriate threshold for segmenting the background and foreground. Similarly, based on the same adjustment factor, the second feature component mean and the third feature component mean are combined to construct the second feature component background segmentation threshold condition and the third feature component background segmentation threshold condition, respectively. Among them, the second feature component background segmentation threshold condition is obtained as , Then the background segmentation threshold condition of the second feature component is obtained as The background segmentation threshold condition for the third feature component is obtained as follows: , Then the background segmentation threshold condition of the third feature component is obtained as .
[0066] Next, the first characteristic component background segmentation threshold condition, the second characteristic component background segmentation threshold condition and the third characteristic component background segmentation threshold condition are added to the hot cathode background segmentation threshold condition in order to integrate the background segmentation requirements of each characteristic component.
[0067] like Figure 2 , Figure 3 , Figure 4 , Figure 5 and Figure 6 As shown, through integration, a comprehensive threshold condition can be formed, which is applicable to the background segmentation of all feature components, ensuring the accuracy and comprehensiveness of the segmentation.
[0068] like Figure 2 As shown in FIG. 1 , when K1=0 and K2=20, since the value of the first background segmentation threshold adjustment factor K1 is too small, part of the foreground image is missing and the background segmentation appears to be over-segmented.
[0069] like Figure 3 As shown in Figure 3, when K1=10 and K2=20, the foreground segmentation effect of background segmentation is better.
[0070] like Figure 4 As shown in the figure, when K1=20 and K2=20, a small number of background image pixels are retained at the edge of the foreground image, which will affect the temperature measurement accuracy and cause the background segmentation to appear as insufficient segmentation.
[0071] like Figure 5 As shown in FIG. 1 , when K1=10 and K2=5, since the value of the second background segmentation threshold adjustment factor K2 is small, a large area of the foreground image is missing, and the background segmentation appears to be over-segmented.
[0072] like Figure 6 As shown, when K1=10 and K2=10, since the value of the second background segmentation threshold adjustment factor K2 is small, a large area of the foreground image is missing, and the background segmentation appears to be over-segmented.
[0073] For example, the hot cathode background segmentation threshold condition is obtained according to the relationship between the first characteristic component background segmentation threshold condition, the second characteristic component background segmentation threshold condition and the mean values of multiple characteristic components.
[0074] By combining the multivariate background segmentation threshold adjustment factor and the mean of each characteristic component, the background segmentation threshold conditions of each characteristic component are constructed and integrated, which can achieve accurate background segmentation of the denoised hot cathode image and thus extract a clear foreground image.
[0075] Furthermore, the present application also includes:
[0076] Retrieve the historical foreground pixel set of the hot cathode, wherein the historical foreground pixel set includes multiple historical foreground pixel groups; construct a first foreground pixel component relationship constraint condition and a first foreground pixel component multi-feature constraint condition based on the historical foreground pixel set; establish a hot cathode source of the same group based on the hot cathode, wherein the hot cathode source of the same group includes multiple hot cathodes of the same model; perform sample foreground pixel record collection based on the hot cathode source of the same group to obtain a sample foreground pixel set; construct a second foreground pixel component relationship constraint condition and a second foreground pixel component multi-feature constraint condition based on the sample foreground pixel set; fuse the first foreground pixel component relationship constraint condition and the second foreground pixel component relationship constraint condition to generate the temperature measurement pixel component relationship constraint condition; fuse the first foreground pixel component multi-feature constraint condition and the second foreground pixel component multi-feature constraint condition to generate the temperature measurement pixel component multi-feature constraint condition; add the temperature measurement pixel component relationship constraint condition and the temperature measurement pixel component multi-feature constraint condition to the temperature measurement pixel constraint condition.
[0077] Specifically, a historical foreground pixel set of the hot cathode is retrieved, wherein the historical foreground pixel set includes a plurality of historical foreground pixel groups. The historical foreground pixel set is foreground pixel data extracted from the hot cathode images recorded in the past, representing the state of the hot cathode at different times and conditions. By analyzing the historical data, the pixel characteristics of the foreground pixel in the historical time can be understood.
[0078] Then, based on the historical foreground pixel set, the first foreground pixel component relationship constraint and the first foreground pixel component multi-feature constraint are constructed. The first foreground pixel component relationship constraint describes that the pixel gray value of the foreground pixel, the RGB component feature of the background pixel is not lower than the RGB gray value of the foreground pixel. The first foreground pixel component multi-feature constraint describes the specific constraints between multiple feature components of R, G, and B.
[0079] Next, based on the hot cathode, a group of hot cathode sources is established, where the group of hot cathode sources includes multiple hot cathodes of the same model. The group of hot cathode sources refers to other hot cathode samples of the same model as the current hot cathode. By analyzing the hot cathodes of the same model, more foreground pixel data can be obtained to enrich the training data set of the model.
[0080] Next, sample foreground pixel records are collected based on the same group of hot cathode sources to obtain a sample foreground pixel set. Foreground pixel data is collected from the same model of hot cathodes to form a sample foreground pixel set. The diversity and richness of the sample foreground pixel set helps improve the generalization ability of the model, enabling it to process images with different hot cathodes more accurately.
[0081] Then, based on the sample foreground pixel set, a second foreground pixel component relationship constraint condition and a second foreground pixel component multi-feature constraint condition are constructed. The second foreground pixel component relationship constraint condition is similar to the first foreground pixel component relationship constraint condition, but the second foreground pixel component relationship constraint condition is based on the sample foreground pixel set. The second foreground pixel component multi-feature constraint condition describes the constraint on the grayscale value of the sample foreground pixel on different component features.
[0082] Next, the first foreground pixel component relation constraint condition and the second foreground pixel component relation constraint condition are fused to generate the temperature measurement pixel component relation constraint condition. By fusing the relation constraint conditions of the two sets of data, a more powerful model can be formed to ensure the accuracy and robustness of the temperature measurement pixel component relation constraint conditions.
[0083] Next, the multi-feature constraints of the first foreground pixel component and the multi-feature constraints of the second foreground pixel component are weighted and fused to generate the multi-feature constraints of the temperature measurement pixel component. By combining the multi-feature constraints of multiple sets of data, a comprehensive multi-feature constraint model is created to ensure accurate description of foreground pixels in multi-dimensional feature space.
[0084] Then, the temperature measurement pixel component relationship constraint and the temperature measurement pixel component multi-feature constraint are added to the temperature measurement pixel constraint. The constructed relationship and multi-feature constraint are integrated into the final temperature measurement pixel constraint, so that the temperature measurement pixel constraint can be effectively applied in the actual temperature measurement process. For example, the temperature measurement pixel constraint is R G B, R G B is the possible temperature measurement pixel constraint.
[0085] By retrieving historical foreground pixel sets and sample data of the same model of hot cathode, multiple constraints are constructed and integrated to generate complete temperature measurement pixel constraints, ensuring the accuracy and reliability of hot cathode image analysis.
[0086] Furthermore, the present application also includes:
[0087] According to the plurality of historical foreground pixel groups, multiple feature component lower limits are identified to obtain a foreground pixel first component lower limit sequence, a foreground pixel second component lower limit sequence and a foreground pixel third component lower limit sequence; according to the foreground pixel first component lower limit sequence, the foreground pixel second component lower limit sequence and the foreground pixel third component lower limit sequence, a foreground pixel first component lower limit map, a foreground pixel second component lower limit map and a foreground pixel third component lower limit map are constructed; discrete point cleaning is performed on the foreground pixel first component lower limit map, the foreground pixel second component lower limit map and the foreground pixel third component lower limit map respectively to obtain a foreground pixel first component lower limit standard map, a foreground pixel second component lower limit standard map and a foreground pixel third component lower limit standard map; according to the foreground pixel first component lower limit standard map The method comprises the steps of: performing centralized value calculation on the foreground pixel first lower limit centralized value, the foreground pixel second lower limit centralized value and the foreground pixel third lower limit centralized value according to the foreground pixel first lower limit centralized value, the foreground pixel second lower limit centralized value and the foreground pixel third lower limit centralized value, establishing the first foreground pixel component multi-feature constraint condition according to the foreground pixel first lower limit centralized value, the foreground pixel second lower limit centralized value and the foreground pixel third lower limit centralized value, performing pixel component relationship identification according to the historical foreground pixel set and obtaining multiple foreground pixel component relationships, performing confidence calculation according to the multiple foreground pixel component relationships and obtaining multiple component relationship confidence coefficients, and performing confidence optimization on the multiple foreground pixel component relationships according to the multiple component relationship confidence coefficients to generate the first foreground pixel component relationship constraint condition.
[0088] Specifically, multiple feature component lower limits are identified based on multiple historical foreground pixel groups, that is, the minimum RGB grayscale value of the pixel is identified to obtain the lower limit sequence of the first component of the foreground pixel, the lower limit sequence of the second component of the foreground pixel, and the lower limit sequence of the third component of the foreground pixel, that is, the minimum R grayscale value, the minimum G grayscale value, and the minimum B grayscale value. By analyzing historical data, the lower limit value of each foreground pixel component is determined to form a series of sequences representing the lower limit values, that is, multiple minimum R grayscale values, multiple minimum G grayscale values, and multiple minimum B grayscale values in the foreground pixel, which reflects the minimum feature value of the foreground pixel under various conditions and helps to define the lowest threshold of the foreground pixel.
[0089] Then, based on the first component lower limit sequence, the second component lower limit sequence and the third component lower limit sequence of the foreground pixel, the first component lower limit map, the second component lower limit map and the third component lower limit map of the foreground pixel are constructed. By visualizing the lower limit sequences of each component, with the component feature as one axis and the component lower limit sequence corresponding to the feature as the other axis, the formed graphical representation shows the distribution of the lowest values of different components, providing a basis for the subsequent discrete point cleaning.
[0090] Next, the first component lower limit map, the second component lower limit map and the third component lower limit map of the foreground pixel are cleaned with discrete points to obtain the first component lower limit standard map, the second component lower limit standard map and the third component lower limit standard map of the foreground pixel. Discrete point cleaning refers to removing outliers and noise in the lower limit map to ensure that the data in the map is more consistent and reliable, indicating the lower limit distribution after cleaning, and providing more accurate foreground pixel lower limit information.
[0091] Next, the concentration value is calculated according to the standard map of the first component lower limit of the foreground pixel, the standard map of the second component lower limit and the standard map of the third component lower limit, to obtain the first lower limit concentration value of the foreground pixel, the second lower limit concentration value of the foreground pixel and the third lower limit concentration value of the foreground pixel. The concentration value calculation is to determine the concentration value of each component lower limit through statistical analysis method. The concentration value represents the typical lower limit range of the foreground pixel, that is, the gray value representing the component feature of the foreground image pixel point, which provides key data for constructing multi-feature constraint conditions.
[0092] Then, according to the first lower limit concentration value of the foreground pixel, the second lower limit concentration value of the foreground pixel and the third lower limit concentration value of the foreground pixel, the multi-feature constraint condition of the first foreground pixel component is established. The multi-feature constraint condition of the first foreground pixel component includes that the foreground pixel R value is greater than or equal to the first lower limit concentration value of the foreground pixel, the foreground pixel G value is greater than or equal to the second lower limit concentration value of the foreground pixel, and the foreground pixel B value is greater than or equal to the third lower limit concentration value of the foreground pixel. In this way, the constraint range of the foreground pixel in different feature dimensions is defined to ensure accurate identification and segmentation of the foreground pixel and the background pixel.
[0093] Next, pixel component relationship recognition is performed based on the historical foreground pixel set to obtain multiple foreground pixel component relationships. Pixel component relationship recognition is to determine the relationship and mutual influence between different components by analyzing the historical foreground pixel data, that is, to analyze the size relationship between the R value, G value, and B value corresponding to each pixel point in the historical foreground pixel set. For example, the foreground pixel component relationship is R G B, describes the mutual relationship between foreground pixels in different feature dimensions, providing a basis for subsequent confidence calculation.
[0094] Next, the confidence calculation is performed based on the relationship between multiple foreground pixel components to obtain multiple component relationship confidence coefficients. The confidence calculation uses statistical methods to evaluate the reliability and consistency of each component relationship to form a confidence coefficient, which represents the credibility of the component relationship and helps to optimize the foreground pixel component relationship.
[0095] Then, confidence optimization is performed on multiple foreground pixel component relationships according to multiple component relationship confidence coefficients to generate a first foreground pixel component relationship constraint condition. Confidence optimization is to select the most reliable and consistent component relationship by comprehensively considering the confidence coefficients of each component relationship to form a constraint condition, thereby ensuring the accuracy and stability of the foreground pixel component relationship.
[0096] Through lower limit identification, discrete point cleaning, concentrated value calculation, component relationship identification and confidence optimization, comprehensive foreground pixel multi-feature constraints and component relationship constraints are constructed, providing strong data support and model foundation for accurate identification and segmentation of foreground pixels.
[0097] Furthermore, the present application also includes:
[0098] Obtain the hot cathode state data and the acquisition module state data corresponding to the hot cathode image; perform anomaly detection on the hot cathode state data and the acquisition module state data respectively to obtain an anomaly detection result of imaging-related features; perform a hot cathode imaging interference analysis based on the anomaly detection result of imaging-related features to obtain a hot cathode imaging interference index; determine whether the hot cathode imaging interference index is greater than / equal to a hot cathode imaging interference threshold; if the hot cathode imaging interference index is greater than / equal to the hot cathode imaging interference threshold, generate a hot cathode imaging early warning instruction; and optimize the hot cathode image based on the hot cathode imaging early warning instruction.
[0099] Specifically, when the focus and registration verification result is qualified, that is, after confirming that the focus and registration operations are correct, the image acquisition module is used to shoot the hot cathode of the electron gun to obtain image data of the electron gun in the power-on state to ensure the accuracy and clarity of the image, and then obtain the hot cathode state data corresponding to the hot cathode image and the acquisition module state data of the image acquisition module. The hot cathode state data refers to the state information of the hot cathode and the acquisition module recorded while acquiring the hot cathode image, including parameters such as temperature, position, and time, to provide data support for subsequent abnormality detection and analysis. The image acquisition module includes an image acquisition device for acquiring hot cathode images. The acquisition module state data refers to the hot cathode image.
[0100] Then, the temperature, position, time of the hot cathode status data and the image of the acquisition module status data are analyzed to identify any possible abnormalities and obtain the abnormal detection results of the imaging correlation features, including the characteristics of any potential deviations or problems found and the corresponding abnormal parameters, to ensure the reliability and accuracy of the data. The abnormal detection results directly affect the subsequent imaging interference analysis.
[0101] Then, after detecting the abnormal detection result of the imaging-related feature, an interference index is calculated by quantifying the abnormal situation. Among them, the abnormal features and corresponding abnormal parameters related to the imaging quality are determined. For example, the abnormal features can be noise level, blur level, brightness abnormality, etc., and the abnormal parameters are the specific values of the abnormal features. In order to be able to compare different types of abnormal parameters, the abnormal parameters are standardized. The standardization method can use Z-score standardization, minimum-maximum standardization, etc. The degree of influence of different abnormal features on the imaging quality may be different, so different weights are assigned to each standardized abnormal parameter. For example, the weight assignment is customized by a technician in this field according to the actual situation. The standardized abnormal parameters are multiplied by the weight of the abnormal parameters, and then the sum is obtained to obtain the final interference index as the hot cathode imaging interference index, which further indicates the degree of interference to the imaging quality, helps to quantify the degree of interference in the imaging process, and provides a reference standard. For example, by controlling the variable method, the influence of the abnormal detection results of the imaging-related features on the hot cathode imaging is observed.
[0102] Next, it is determined whether the hot cathode imaging interference index is greater than or equal to the hot cathode imaging interference threshold. If the hot cathode imaging interference index is greater than or equal to the hot cathode imaging interference threshold, it means that the hot cathode imaging quality is seriously affected and further measures need to be taken to help timely discover and deal with problems that occur during the imaging process. The hot cathode imaging interference threshold is obtained by a technician in this field according to actual conditions.
[0103] Then, if the hot cathode imaging interference index is greater than or equal to the hot cathode imaging interference threshold, a hot cathode imaging warning instruction is generated, that is, when the hot cathode imaging is detected to be seriously disturbed, a warning instruction is issued, prompting that immediate measures need to be taken to optimize the imaging process and ensure the accuracy and reliability of the image. The early warning mechanism is an important guarantee for improving system stability and data quality.
[0104] Next, the hot cathode image is adjusted and optimized according to the hot cathode imaging warning instructions, including refocusing, adjusting acquisition parameters or performing image processing to eliminate or reduce interference effects and ensure that the final image meets the accuracy requirements.
[0105] Through the verification, detection and optimization process, the high quality and accuracy of the hot cathode images are ensured, interference problems that may occur during the imaging process are discovered and handled in a timely manner, and the reliability of the temperature measurement images is improved.
[0106] In summary, the intelligent segmentation method for electron gun cathode temperature measurement image provided by the present application has the following technical effects:
[0107] Based on the focus registration constraint condition, the focus lens of the image acquisition module and the hot cathode of the electron gun are verified for focus registration to obtain a focus registration verification result; when the focus registration verification result is qualified, the image information of the hot cathode in a preset state is collected according to the image acquisition module to obtain a hot cathode image; the hot cathode image is channel-separated according to a predetermined pixel window operator to obtain a multi-channel hot cathode image; the multi-channel hot cathode image is denoised according to a predetermined filter template and a median filter algorithm to obtain a denoised hot cathode image; according to a hot cathode image background segmentation algorithm, the denoised hot cathode image is segmented to obtain a hot cathode foreground image; temperature inversion is performed based on the hot cathode foreground image to obtain the hot cathode temperature, and the hot cathode temperature is displayed, that is, by extracting the image features of the hot cathode surface and using the corresponding relationship between the color and temperature of the pixels in the collected hot cathode image, the hot cathode temperature is inverted, and finally the technical goal of hot cathode image background segmentation is achieved, and the technical effect of extracting a clear foreground image and removing background interference is achieved.
[0108] Embodiment 2: Based on the intelligent segmentation method for electron gun cathode temperature measurement image in the previous embodiment, the present application also provides an intelligent segmentation system for electron gun cathode temperature measurement image, please refer to the attached Figure 7 ,include:
[0109] A focus registration verification result acquisition module 11, the focus registration verification result acquisition module 11 is used to perform focus registration verification on the focus lens of the image acquisition module and the hot cathode of the electron gun based on the focus registration constraint condition to obtain the focus registration verification result; a hot cathode image acquisition module 12, the hot cathode image acquisition module 12 is used to collect the image information of the hot cathode in a preset state according to the image acquisition module when the focus registration verification result is qualified, and obtain the hot cathode image; a multi-channel hot cathode image acquisition module 13, the multi-channel hot cathode image acquisition module 13 is used to perform channel separation on the hot cathode image according to a predetermined pixel window operator to obtain a multi-channel hot cathode image; a denoising hot cathode image obtaining module 14, the denoising hot cathode image obtaining module 14 is used to perform denoising on the multi-channel hot cathode image according to a predetermined filtering template and a median filtering algorithm to obtain a denoised hot cathode image; a hot cathode foreground image obtaining module 15, the hot cathode foreground image obtaining module 15 is used to segment the denoised hot cathode image according to a hot cathode image background segmentation algorithm to obtain a hot cathode foreground image; a hot cathode temperature obtaining module 16, the hot cathode temperature obtaining module 16 is used to perform temperature inversion based on the hot cathode foreground image to obtain the hot cathode temperature, and display the hot cathode temperature.
[0110] Furthermore, the multi-channel hot cathode image acquisition module 13 in the intelligent segmentation system for electron gun cathode temperature measurement images is also used for:
[0111] According to the predetermined pixel window operator, the hot cathode image is divided to obtain a plurality of window pixel images; according to the plurality of window pixel images, a plurality of image pixel matrices are established; according to the plurality of image pixel matrices, RGB channel values are aligned and integrated to construct a plurality of image channel eigenvalue matrices; according to the plurality of image channel eigenvalue matrices, channels of the hot cathode image are separated to generate the multi-channel hot cathode image.
[0112] Furthermore, the hot cathode foreground image acquisition module 15 in the intelligent segmentation system for electron gun cathode temperature measurement images is also used for:
[0113] Establish temperature measurement pixel constraints, wherein the temperature measurement pixel constraints include temperature measurement pixel component relationship constraints and temperature measurement pixel component multi-feature constraints; obtain an image pixel data set of the denoised hot cathode image; determine whether each image pixel in the image pixel data set satisfies the temperature measurement pixel constraints, and establish a counting temperature measurement pixel set that satisfies the temperature measurement pixel constraints; perform cumulative summation of multi-feature components according to the counting temperature measurement pixel set to obtain a multi-feature accumulation result of the counting pixels; construct a hot cathode background segmentation threshold condition based on a multi-element background segmentation threshold adjustment factor and in combination with the multi-feature accumulation result of the counting pixels; determine whether each image pixel in the image pixel data set satisfies the hot cathode background segmentation threshold condition, and generate a hot cathode background pixel set; perform background segmentation on the denoised hot cathode image according to the hot cathode background pixel set to generate the hot cathode foreground image.
[0114] Furthermore, the hot cathode foreground image acquisition module 15 in the intelligent segmentation system for electron gun cathode temperature measurement images is also used for:
[0115] The multi-element background segmentation threshold adjustment factor includes a first background segmentation threshold adjustment factor and a second background segmentation threshold adjustment factor; the mean is calculated according to the multi-feature accumulation result of the counted pixels to obtain the mean of the first feature component, the mean of the second feature component and the mean of the third feature component; based on the first background segmentation threshold adjustment factor and the second background segmentation threshold adjustment factor, combined with the mean of the first feature component, a first feature component background segmentation threshold condition is constructed; based on the first background segmentation threshold adjustment factor and the second background segmentation threshold adjustment factor, combined with the mean of the second feature component, a second feature component background segmentation threshold condition is constructed; based on the first background segmentation threshold adjustment factor and the second background segmentation threshold adjustment factor, combined with the mean of the third feature component, a third feature component background segmentation threshold condition is constructed; the first feature component background segmentation threshold condition, the second feature component background segmentation threshold condition and the third feature component background segmentation threshold condition are added to the hot cathode background segmentation threshold condition.
[0116] Furthermore, the hot cathode foreground image acquisition module 15 in the intelligent segmentation system for electron gun cathode temperature measurement images is also used for:
[0117] Retrieve the historical foreground pixel set of the hot cathode, wherein the historical foreground pixel set includes multiple historical foreground pixel groups; construct a first foreground pixel component relationship constraint condition and a first foreground pixel component multi-feature constraint condition based on the historical foreground pixel set; establish a hot cathode source of the same group based on the hot cathode, wherein the hot cathode source of the same group includes multiple hot cathodes of the same model; perform sample foreground pixel record collection based on the hot cathode source of the same group to obtain a sample foreground pixel set; construct a second foreground pixel component relationship constraint condition and a second foreground pixel component multi-feature constraint condition based on the sample foreground pixel set; fuse the first foreground pixel component relationship constraint condition and the second foreground pixel component relationship constraint condition to generate the temperature measurement pixel component relationship constraint condition; fuse the first foreground pixel component multi-feature constraint condition and the second foreground pixel component multi-feature constraint condition to generate the temperature measurement pixel component multi-feature constraint condition; add the temperature measurement pixel component relationship constraint condition and the temperature measurement pixel component multi-feature constraint condition to the temperature measurement pixel constraint condition.
[0118] Furthermore, the hot cathode foreground image acquisition module 15 in the intelligent segmentation system for electron gun cathode temperature measurement images is also used for:
[0119] According to the plurality of historical foreground pixel groups, multiple feature component lower limits are identified to obtain a foreground pixel first component lower limit sequence, a foreground pixel second component lower limit sequence and a foreground pixel third component lower limit sequence; according to the foreground pixel first component lower limit sequence, the foreground pixel second component lower limit sequence and the foreground pixel third component lower limit sequence, a foreground pixel first component lower limit map, a foreground pixel second component lower limit map and a foreground pixel third component lower limit map are constructed; discrete point cleaning is performed on the foreground pixel first component lower limit map, the foreground pixel second component lower limit map and the foreground pixel third component lower limit map respectively to obtain a foreground pixel first component lower limit standard map, a foreground pixel second component lower limit standard map and a foreground pixel third component lower limit standard map; according to the foreground pixel first component lower limit standard map The method comprises the steps of: performing centralized value calculation on the foreground pixel first lower limit centralized value, the foreground pixel second lower limit centralized value and the foreground pixel third lower limit centralized value according to the foreground pixel first lower limit centralized value, the foreground pixel second lower limit centralized value and the foreground pixel third lower limit centralized value, establishing the first foreground pixel component multi-feature constraint condition according to the foreground pixel first lower limit centralized value, the foreground pixel second lower limit centralized value and the foreground pixel third lower limit centralized value, performing pixel component relationship identification according to the historical foreground pixel set and obtaining multiple foreground pixel component relationships, performing confidence calculation according to the multiple foreground pixel component relationships and obtaining multiple component relationship confidence coefficients, and performing confidence optimization on the multiple foreground pixel component relationships according to the multiple component relationship confidence coefficients to generate the first foreground pixel component relationship constraint condition.
[0120] Furthermore, the hot cathode image acquisition module 12 in the intelligent segmentation system for electron gun cathode temperature measurement images is also used for:
[0121] Obtain the hot cathode state data and the acquisition module state data corresponding to the hot cathode image; perform anomaly detection on the hot cathode state data and the acquisition module state data respectively to obtain an anomaly detection result of imaging-related features; perform a hot cathode imaging interference analysis based on the anomaly detection result of imaging-related features to obtain a hot cathode imaging interference index; determine whether the hot cathode imaging interference index is greater than / equal to a hot cathode imaging interference threshold; if the hot cathode imaging interference index is greater than / equal to the hot cathode imaging interference threshold, generate a hot cathode imaging early warning instruction; and optimize the hot cathode image based on the hot cathode imaging early warning instruction.
[0122] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The intelligent segmentation method and specific examples for electron gun cathode temperature measurement images in the aforementioned embodiment 1 are also applicable to the intelligent segmentation system for electron gun cathode temperature measurement images in this embodiment. Through the aforementioned detailed description of the intelligent segmentation method for electron gun cathode temperature measurement images, those skilled in the art can clearly understand the intelligent segmentation system for electron gun cathode temperature measurement images in this embodiment, so for the sake of brevity of the specification, it will not be described in detail here. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0123] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
[0124] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application belong to the scope of the present application and its equivalent technology, the present application is also intended to include these modifications and variations.
Claims
1. An intelligent segmentation method for electron gun cathode temperature measurement images, characterized in that: include: Based on the focus registration constraint conditions, the focus lens of the image acquisition module and the hot cathode of the electron gun are verified for focus registration to obtain the focus registration verification result; When the focus registration verification result is qualified, the image information of the hot cathode in a preset state is collected according to the image acquisition module to obtain a hot cathode image; performing channel separation on the hot cathode image according to a predetermined pixel window operator to obtain a multi-channel hot cathode image; Performing noise reduction processing on the multi-channel hot cathode image according to a predetermined filtering template and a median filtering algorithm to obtain a noise-reduced hot cathode image; Segmenting the denoised hot cathode image according to a hot cathode image background segmentation algorithm to obtain a hot cathode foreground image; Performing temperature inversion based on the hot cathode foreground image to obtain the hot cathode temperature, and displaying the hot cathode temperature; According to the hot cathode image background segmentation algorithm, the denoised hot cathode image is segmented to obtain a hot cathode foreground image, including: Establishing temperature measurement pixel constraint conditions, wherein the temperature measurement pixel constraint conditions include temperature measurement pixel component relationship constraint conditions and temperature measurement pixel component multi-feature constraint conditions; Obtain an image pixel data set of the denoised hot cathode image; Determine whether each image pixel in the image pixel data set satisfies the temperature measurement pixel constraint condition, and establish a counting temperature measurement pixel set that satisfies the temperature measurement pixel constraint condition; Accumulate and sum multiple feature components according to the counting temperature measurement pixel set to obtain a multi-feature accumulation result of the counting pixels; Based on the multi-element background segmentation threshold adjustment factor and the accumulated result of the multi-features of the counted pixels, a hot cathode background segmentation threshold condition is constructed; respectively determining whether each image pixel in the image pixel data set meets the hot cathode background segmentation threshold condition, and generating a hot cathode background pixel set; The background of the denoised hot cathode image is segmented according to the hot cathode background pixel set to generate the hot cathode foreground image.
2. The intelligent segmentation method for electron gun cathode temperature measurement image according to claim 1, characterized in that: The hot cathode image is subjected to channel separation according to a predetermined pixel window operator to obtain a multi-channel hot cathode image, including: Dividing the hot cathode image according to the predetermined pixel window operator to obtain a plurality of window pixel images; Establishing a plurality of image pixel matrices according to the plurality of window pixel images; Perform RGB channel value registration and integration according to the multiple image pixel matrices to construct multiple image channel eigenvalue matrices; Channel separation is performed on the hot cathode image according to the multiple image channel eigenvalue matrices to generate the multi-channel hot cathode image.
3. The intelligent segmentation method for electron gun cathode temperature measurement image according to claim 1, characterized in that: Based on the multi-element background segmentation threshold adjustment factor and combined with the multi-feature accumulation result of the counted pixels, a hot cathode background segmentation threshold condition is constructed, including: The multivariate background segmentation threshold adjustment factor includes a first background segmentation threshold adjustment factor and a second background segmentation threshold adjustment factor; Performing mean calculation based on the multi-feature accumulation result of the counted pixels to obtain a first feature component mean, a second feature component mean, and a third feature component mean; Based on the first background segmentation threshold adjustment factor and the second background segmentation threshold adjustment factor, combined with the first feature component mean, construct a first feature component background segmentation threshold condition; Based on the first background segmentation threshold adjustment factor and the second background segmentation threshold adjustment factor, combined with the second feature component mean, construct a second feature component background segmentation threshold condition; Based on the first background segmentation threshold adjustment factor and the second background segmentation threshold adjustment factor, combined with the third characteristic component mean, construct a third characteristic component background segmentation threshold condition; The first characteristic component background segmentation threshold condition, the second characteristic component background segmentation threshold condition and the third characteristic component background segmentation threshold condition are added to the hot cathode background segmentation threshold condition.
4. The intelligent segmentation method for electron gun cathode temperature measurement image according to claim 1, characterized in that: Establish temperature measurement pixel constraints, including: Retrieving a historical foreground pixel set of the hot cathode, wherein the historical foreground pixel set includes a plurality of historical foreground pixel groups; According to the historical foreground pixel set, constructing a first foreground pixel component relationship constraint condition and a first foreground pixel component multi-feature constraint condition; According to the hot cathode, a hot cathode source of the same group is established, wherein the hot cathode source of the same group includes a plurality of hot cathodes of the same model; Recording and collecting sample foreground pixels according to the same group of hot cathode sources to obtain a sample foreground pixel set; According to the sample foreground pixel set, constructing a second foreground pixel component relationship constraint condition and a second foreground pixel component multi-feature constraint condition; The first foreground pixel component relationship constraint condition and the second foreground pixel component relationship constraint condition are integrated to generate the temperature measurement pixel component relationship constraint condition; The multi-feature constraint condition of the first foreground pixel component and the multi-feature constraint condition of the second foreground pixel component are integrated to generate the multi-feature constraint condition of the temperature measurement pixel component; The temperature measurement pixel component relationship constraint condition and the temperature measurement pixel component multi-feature constraint condition are added to the temperature measurement pixel constraint condition.
5. The intelligent segmentation method for electron gun cathode temperature measurement image according to claim 4, characterized in that: According to the historical foreground pixel set, a first foreground pixel component relationship constraint condition and a first foreground pixel component multi-feature constraint condition are constructed, including: Perform multi-feature component lower limit identification according to the plurality of historical foreground pixel groups to obtain a foreground pixel first component lower limit sequence, a foreground pixel second component lower limit sequence, and a foreground pixel third component lower limit sequence; Constructing a foreground pixel first component lower limit map, a foreground pixel second component lower limit map and a foreground pixel third component lower limit map according to the foreground pixel first component lower limit sequence, the foreground pixel second component lower limit sequence and the foreground pixel third component lower limit sequence; Performing discrete point cleaning on the foreground pixel first component lower limit map, the foreground pixel second component lower limit map and the foreground pixel third component lower limit map respectively to obtain a foreground pixel first component lower limit standard map, a foreground pixel second component lower limit standard map and a foreground pixel third component lower limit standard map; Performing concentration value calculation according to the foreground pixel first component lower limit standard map, the foreground pixel second component lower limit standard map and the foreground pixel third component lower limit standard map to obtain a foreground pixel first lower limit concentration value, a foreground pixel second lower limit concentration value and a foreground pixel third lower limit concentration value; Establishing a multi-feature constraint condition of the first foreground pixel component according to the first lower limit concentrated value of the foreground pixels, the second lower limit concentrated value of the foreground pixels and the third lower limit concentrated value of the foreground pixels; Perform pixel component relationship recognition based on the historical foreground pixel set to obtain multiple foreground pixel component relationships; Calculating confidence according to the plurality of foreground pixel component relationships to obtain a plurality of component relationship confidence coefficients; Confidence optimization is performed on the plurality of foreground pixel component relations according to the plurality of component relation confidence coefficients to generate the first foreground pixel component relation constraint condition.
6. The intelligent segmentation method for electron gun cathode temperature measurement image according to claim 1, characterized in that: When the focus registration verification result is qualified, according to the image acquisition module, the image information of the hot cathode in a preset state is acquired to obtain a hot cathode image, including: Obtaining hot cathode state data and acquisition module state data corresponding to the hot cathode image; Performing abnormality detection on the hot cathode state data and the acquisition module state data respectively to obtain an abnormality detection result of imaging correlation features; Performing hot cathode imaging interference analysis according to the imaging correlation feature abnormality detection result to obtain a hot cathode imaging interference index; Determining whether the hot cathode imaging interference index is greater than / equal to a hot cathode imaging interference threshold; If the hot cathode imaging interference index is greater than / equal to the hot cathode imaging interference threshold, a hot cathode imaging early warning instruction is generated; Based on the hot cathode imaging warning instruction, the hot cathode image is optimized.
7. An intelligent segmentation system for electron gun cathode temperature measurement images, characterized in that: The steps for implementing the intelligent segmentation method for the electron gun cathode temperature measurement image according to any one of claims 1 to 6, the intelligent segmentation system for the electron gun cathode temperature measurement image comprises: A focus registration verification result acquisition module, wherein the focus registration verification result acquisition module is used to perform focus registration verification on a focus lens of an image acquisition module and a hot cathode of an electron gun based on a focus registration constraint condition to obtain a focus registration verification result; A hot cathode image acquisition module, wherein when the focus registration verification result is qualified, the hot cathode image acquisition module is used to acquire image information of the hot cathode in a preset state according to the image acquisition module to obtain a hot cathode image; A multi-channel hot cathode image acquisition module, the multi-channel hot cathode image acquisition module is used to perform channel separation on the hot cathode image according to a predetermined pixel window operator to obtain a multi-channel hot cathode image; A denoised hot cathode image acquisition module, the denoised hot cathode image acquisition module is used to perform denoising processing on the multi-channel hot cathode image according to a predetermined filtering template and a median filtering algorithm to obtain a denoised hot cathode image; A hot cathode foreground image acquisition module, the hot cathode foreground image acquisition module is used to segment the denoised hot cathode image according to a hot cathode image background segmentation algorithm to obtain a hot cathode foreground image; A hot cathode temperature acquisition module is used to perform temperature inversion based on the hot cathode foreground image, obtain the hot cathode temperature, and display the hot cathode temperature.
Citation Information
Patent Citations
A method for precisely extracting tree canopy temperature based on infrared thermal images
CN107767364A
Image feature segmentation method based on data mining
CN111340824A
Image background segmentation method and device, computing equipment and storage medium
CN113344961A
Image processing method and device, electronic equipment and storage medium
CN117011324A
Method of separating front view and background and apparatus
US20120155756A1
