Heating control method and device and storage medium

By collecting and comparing the images of the TLC display board in real time and automatically monitoring and controlling its heating process, the problems of low efficiency, unstable and harmful gas emissions in the prior art are solved, and efficient and safe color rendering experiments are achieved.

CN119827694APending Publication Date: 2025-04-15SUZHOU MEGAROBO TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411776779.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-04
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

In the prior art, the heating control of TLC spreader panels in TLC color rendering experiments mainly relies on manual observation, which is low efficiency, unstable and subjective factors, and cannot meet the high-throughput needs. At the same time, harmful gases will be evaporated during the heating process, endangering the health of the experimenter.

Method used

By collecting the image of the target display board in real time and comparing it with the reference image, determining the morphological parameters of the target area, and automatically controlling the heating device to achieve color development monitoring and heating stop.

Benefits of technology

Automatic monitoring and control of the heating process of TLC panels is realized, experimental efficiency is improved, manual errors are reduced, and health hazards are avoided to the experimental personnel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119827694A_ABST
    Figure CN119827694A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a heating control method and device and a storage medium. The method comprises the steps that in the heating process of a target display board, a first target image is collected in real time for the target display board; for each collected first target image, the first target image is compared with a reference image to obtain a first difference image, a target area corresponding to the first target image is determined from the first difference image, the reference image is an image collected for a target display board which is infiltrated by a color developing agent and is not heated, and the reference image is an image collected for a target display board which is infiltrated by a color developing agent and is not heated; the target area is used for indicating the position of the to-be-analyzed sample on the target display board; and according to the target areas corresponding to the collected first target images, determining parameter change conditions of preset morphological parameters in the target areas, and when the parameter change conditions meet preset stability requirements, controlling to stop heating the target display board. According to the scheme, the heating color development condition of the target display board can be automatically and dynamically monitored.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of chemical experimental analysis, and in particular to a heating control method, device and storage medium. Background Art

[0002] During the TLC (Thin Layer Chromatography, TLC) color development experiment, it is usually necessary to control the heating of the TLC display plate, and the sample is detected and analyzed based on the color development on the heated TLC display plate. At present, the heating control of the TLC display plate usually adopts the method of artificially observing the color development, and the heating time is controlled based on the display effect observed during the heating process. However, this method cannot meet the needs of high-throughput TLC color development experiments, has low efficiency, is extremely unstable, and has subjective factors in the judgment of the color development, which will affect the subsequent sample analysis results. On the other hand, gases harmful to the human body will be volatilized during the heating process, which will damage the health of the experimenters. Summary of the invention

[0003] The present invention is proposed in view of the above problems. The present invention provides a heating control method, device, and storage medium, which can automatically monitor the heating and coloring of a target display board based on an image detection algorithm, thereby determining in real time whether the coloring of the target display board is completed to control and stop the heating of the target display board.

[0004] According to one aspect of the present invention, a heating control method is provided for controlling the heating of a target display board soaked in a color developer, the method comprising: during the heating process of the target display board, acquiring a first target image in real time for the target display board; for each acquired first target image, performing an image comparison between the first target image and a reference image to obtain a first difference image, and determining a target area corresponding to the first target image from the first difference image, wherein the reference image is an image acquired for the target display board soaked in a color developer and not heated, and the target area is used to indicate the position of a sample to be analyzed on the target display board; determining a parameter change of a preset morphological parameter in the target area according to the target area corresponding to each acquired first target image, and controlling to stop heating the target display board when the parameter change meets a preset stability requirement.

[0005] Optionally, performing image comparison between the first target image and the reference image to obtain a first difference image includes: performing pixel value difference between each pixel point of the first target image and a corresponding pixel point of the reference image to obtain the first difference image.

[0006] Optionally, according to the target area corresponding to each collected first target image, the parameter change of the preset morphological parameters in the target area is determined, including: for each first target image, determining the change between the preset morphological parameters in the target area corresponding to the first target image and the preset morphological parameters in the target area corresponding to the previous first target image, so as to obtain the change corresponding to the first target image, and the parameter change is represented by the change corresponding to each first target image; the preset stability requirement includes: the number of consecutive first target images whose absolute value of the corresponding change is less than or equal to the preset change threshold reaches a preset number.

[0007] Optionally, the preset morphological parameters include multiple sub-parameters, and the preset change threshold includes multiple sub-change thresholds corresponding one by one to the multiple sub-parameters, wherein the absolute value of the corresponding change is less than or equal to the preset change threshold: the absolute values ​​of the changes in the corresponding changes corresponding to each sub-parameter in the multiple sub-parameters are all less than or equal to the sub-change threshold corresponding to the seed parameter.

[0008] Optionally, the preset morphological parameters include one or more of the following sub-parameters: the area of ​​the target area, the centroid position of the target area, and the length of the longest line segment in the target area.

[0009] Optionally, determining a target area corresponding to the first target image from the first difference image includes: performing threshold segmentation processing on the first difference image to obtain at least one difference area having a grayscale value greater than or equal to a first preset grayscale threshold; determining the target area from at least one difference area based on an initial spotting position when spotting the target display board and a preset climbing direction of the sample to be analyzed on the target display board.

[0010] Optionally, before determining the target area from at least one difference area based on the initial spotting position when spotting the target display board and the preset climbing direction of the sample to be analyzed on the target display board, the method also includes: obtaining user input information; and determining the initial spotting position based on the user input information.

[0011] Optionally, threshold segmentation processing is performed on the first difference image to obtain at least one difference area whose grayscale value is greater than or equal to a first preset grayscale threshold, including: performing a first threshold segmentation processing on the first difference image to obtain a display board area corresponding to the target display board in the first difference image; performing a second threshold segmentation processing on the display board area to obtain at least one difference area in the display board area; wherein the segmentation threshold adopted in the first threshold segmentation processing is the second preset grayscale threshold, the grayscale value of the display board area is greater than or equal to the second preset grayscale threshold, and the segmentation threshold adopted in the second threshold segmentation processing is the first preset grayscale threshold, and the first preset grayscale threshold is greater than the second preset grayscale threshold.

[0012] Optionally, after performing a second threshold segmentation process on the display board area to obtain at least one difference area in the display board area, determining the target area from the first difference image further includes: performing a filtering process operation on the display board area.

[0013] Optionally, the method also includes: acquiring any second target image collected when heating of the target display board is stopped or within a preset time period after heating of the target display board is stopped; performing image comparison between the second target image and the reference image to obtain a second difference image, and determining a target area corresponding to the second target image from the second difference image; and calculating the retention factor of the sample to be analyzed based on the centroid position of the target area corresponding to the second target image, the initial spotting position when spotting the target display board, and the climbing position of the developing agent when the spotted target display board is developed.

[0014] According to another aspect of the present invention, a heating control device is provided for controlling the heating of a target display board soaked in a color developer, the device comprising: an acquisition module for acquiring a first target image of the target display board in real time during the heating process of the target display board; a determination module for performing an image comparison between the first target image and a reference image for each first target image acquired to obtain a first difference image, and determining a target area corresponding to the first target image from the first difference image, wherein the reference image is an image acquired for the target display board soaked in a color developer and not heated, and the target area is used to indicate the position of a sample to be analyzed on the target display board; a control module for determining a parameter change of a preset morphological parameter in a target area according to the target area corresponding to each first target image acquired, and controlling to stop heating the target display board when the parameter change meets a preset stability requirement.

[0015] According to yet another aspect of the present invention, a storage medium is provided, on which program instructions are stored, and the program instructions are used to execute the above-mentioned heating control method when running.

[0016] The above technical solution can realize dynamic monitoring of the color development effect of the target display board during the heating process by collecting the first target image for the target display board in real time and determining the target area in each first target image for indicating the position of the sample to be analyzed on the target display board, and determining the change of the color development effect of the target display board during the heating process according to the parameter change of the preset morphological parameters in the target area, so that the color development of the target display board can be judged to be completed in time and the heating of the target display board can be stopped in time when the parameter change of the preset morphological parameters in the target area meets the stability requirements, which is conducive to avoiding the disappearance of the color development of the target display board due to excessive heating of the target display board. This method can meet the color development monitoring needs of the target display board in batches, with high efficiency, and greatly reduces the workload of the experimenters and the influence of subjective factors on the judgment of the color development due to manual monitoring.

[0017] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The above and other purposes, features and advantages of the present invention will become more apparent by describing the embodiments of the present invention in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings, the same reference numerals generally represent the same components or steps.

[0019] Figure 1 A schematic flow chart of a heating control method according to an embodiment of the present invention is shown;

[0020] Figure 2 A schematic diagram showing a first difference image according to an embodiment of the present invention is shown;

[0021] Figure 3 A schematic diagram showing a first difference image corresponding to when a parameter change of a preset morphological parameter in a target area meets a preset stability requirement according to an embodiment of the present invention;

[0022] Figure 4 A schematic diagram showing the climbing of a developing agent on a target display board according to an embodiment of the present invention is shown;

[0023] Figure 5 A schematic diagram showing the position of the initial spotting position on the target display board, the centroid position of the target area, and the climbing position of the developing agent according to an embodiment of the present invention;

[0024] Figure 6 A schematic block diagram of a heating control device according to an embodiment of the present invention is shown;

[0025] Figure 7 A schematic block diagram of an electronic device according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical scheme and advantages of the present invention more obvious, the exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments of the present invention, and it should be understood that the present invention is not limited to the exemplary embodiments described herein. Based on the embodiments of the present invention described in the present invention, all other embodiments obtained by those skilled in the art without creative work should fall within the protection scope of the present invention.

[0027] As described above, in the prior art, when controlling the heating of the TLC display board, the experimenter needs to observe the color development of the TLC display board, which is inefficient, the observation results are unstable and are greatly affected by subjective factors. The embodiments of the present invention provide a heating control method, device, and storage medium, which can automatically monitor the heating color development of the target display board based on an image detection algorithm, thereby determining in real time whether the color development of the target display board is completed to control the stopping of the heating of the target display board.

[0028] See also Figure 1 As shown, it is a schematic flow chart of a heating control method according to an embodiment of the present invention. According to one aspect of the present invention, a heating control method is provided for controlling the heating of a target display panel soaked with a developer, the method comprising: step S110, step S120 and step S130.

[0029] Exemplarily, the target display plate may be a TLC display plate spotted with a sample to be analyzed and soaked with a developer. The developer may be, for example, phosphomolybdic acid, potassium permanganate, ninhydrin, etc. The target display plate may include a substrate and an adsorbent coated on the substrate, the substrate may be made of, for example, glass, plastic or metal, and the adsorbent may be, for example, silica gel, alumina, cellulose, etc. The sample to be analyzed may be a liquid to be detected and analyzed, such as a drug, a dye, a surfactant, a pesticide, a food additive, etc.

[0030] In step S110 , during the heating process of the target display panel, a first target image is captured in real time with respect to the target display panel.

[0031] Exemplarily, the target display board can be placed within the image acquisition range of the image acquisition device, and the surface of the target display board that has been dotted can face away from the heating device. The heating device can be any heating device, for example, it can be a hot air heating device. When the hot air heating device starts to heat the target display board, the image acquisition device starts to acquire images of the target display board. The image acquisition device can acquire the first target image at a preset time interval. The user can preset the time interval according to actual conditions. For different color developers, the preset time interval can be different. For example, for a color developer that takes a longer time to develop, the preset time interval can be longer.

[0032] In step S120, for each first target image captured, the first target image is compared with the reference image to obtain a first difference image, and a target area corresponding to the first target image is determined from the first difference image, wherein the reference image is an image captured for a target display board that has been soaked in a developer but not heated, and the target area is used to indicate the position of the sample to be analyzed on the target display board.

[0033] Exemplarily, before the target display board is controlled to be heated, an image acquisition can be performed on the target display board soaked with the developer to obtain a reference image. During the heating process of the target display board, the image acquisition device can perform image acquisition on the target display board in real time to obtain multiple first target images. For each first target image acquired, the first target image can be compared with the reference image. The comparison method can, for example, calculate the absolute difference of the pixel values ​​of the corresponding pixels of the two images, or can adopt a method of matching feature points. For each first target image, a first difference image can be obtained according to the image comparison result of the first target image and the reference image. Taking the comparison result as the absolute difference of the pixel value as an example, the first difference image can be generated according to the absolute difference of the pixel values ​​of the corresponding pixels of the two images, that is, in the first difference image, the pixel value of each pixel is the absolute value of the difference between the pixel value of the corresponding pixel of the first target image and the pixel value of the corresponding pixel of the reference image. Taking the comparison result as the matching result of the feature point as an example, the area different from the corresponding area of ​​the reference image can be marked in the first target image, and the first difference image can be the marked first target image. For each first target image, it can correspond to a first difference image, and the target area corresponding to the first target image can be determined in the first difference image. Take the pixel value of each pixel point of the first difference image as the absolute value of the difference between the pixel value of the corresponding pixel point of the first target image and the pixel value of the corresponding pixel point of the reference image as an example. In this case, a pixel value threshold (for example, 200) can be preset, and the area in the first difference image whose pixel value is greater than or equal to the pixel value threshold is determined as the target area. Take the first difference image as a marked first target image as an example, and the marked area can be used as the target area. It can be understood that the target area in the first difference image can correspond to the color development area of ​​the target display board. Before the target display board is controlled to be heated, the following operations can be performed on the target display board: the sample to be analyzed is spotted on the target display board, and the spotted target display board is placed in the display cylinder, and the developing agent in the display cylinder can climb on the target display board. After the developing agent completes climbing, the target display board can be infiltrated with a color developer. Among them, when the target display board is placed in the display cylinder, the sampling points on the target display board can climb along the direction in which the liquid in the display cylinder spreads on the target display board, and the position of the display area of ​​the target display board can indicate the position of the sampling points after climbing, that is, the position of the sample to be analyzed on the target display board.

[0034] In step S130, according to the target area corresponding to each collected first target image, the parameter change of the preset morphological parameter in the target area is determined, and when the parameter change meets the preset stability requirement, the heating of the target display board is stopped.

[0035] Exemplarily, for each first target image, it can correspond to a first difference image, and accordingly, can correspond to a target area. When the first target image currently acquired is not the first first target image, the preset morphological parameters in the target area corresponding to the current first target image may change relative to the preset morphological parameters in the target area corresponding to the previous first target image, and the parameter changes of the target area corresponding to at least two consecutively acquired first target images can be used to determine whether the color development of the sample to be analyzed on the target display board is stable during the heating process. Specifically, the preset morphological parameters can be parameters used to describe the morphological characteristics of the target area, which can include one or more sub-parameters, for example, the area of ​​the target area, the centroid position of the target area, the longest line segment in the target area, the diameter of the inscribed circle of the target area, the length of the long side / short side / diagonal line of the minimum circumscribed rectangle of the target area, and the like. Taking the preset morphological parameters including the area of ​​the target area as an example, the area change amount between the area of ​​the target area corresponding to the current first target image and the area of ​​the target area corresponding to the previous first target image can be used as the area change amount corresponding to the current first target image, and the parameter change situation can be represented by the area change amount corresponding to the current first target image. Taking the preset morphological parameters including the centroid position of the target area as an example, the position change amount between the centroid position of the target area corresponding to the current first target image and the centroid position of the target area corresponding to the previous first target image can be used as the position change amount corresponding to the current first target image, and the parameter change situation can be represented by the position change amount corresponding to the current first target image. Specifically, the centroid position of the target area can be represented by the coordinates in the image coordinate system of the corresponding first difference image, and the position change amount of the centroid can be calculated by the centroid coordinates. It can be understood that for any non-first first target image, the first target image can correspond to one or more changes. When the parameter change situation is represented by the change amount corresponding to each first target image, the preset stability requirement may include: the absolute value of at least one change amount corresponding to the first target image is less than or equal to the corresponding preset change amount threshold. The sample to be analyzed will evaporate or not show color after being heated for too long. When the parameter change situation meets the preset stability requirement, the heating device can be controlled to stop heating the target display board.

[0036] The above technical solution can realize dynamic monitoring of the color development effect of the target display board during the heating process by collecting the first target image for the target display board in real time and determining the target area in each first target image for indicating the position of the sample to be analyzed on the target display board, and determining the change of the color development effect of the target display board during the heating process according to the parameter change of the preset morphological parameters in the target area, so that the color development of the target display board can be judged to be completed in time when the parameter change of the preset morphological parameters in the target area meets the stability requirements, and the heating of the target display board can be stopped in time, which is conducive to avoiding the disappearance of the color development of the target display board due to excessive heating of the target display board. This method can meet the color development monitoring needs of the target display board in batches, with high efficiency, and greatly reduces the workload of the experimenters and the influence of subjective factors on the judgment of the color development due to manual monitoring.

[0037] Optionally, performing image comparison between the first target image and the reference image to obtain a first difference image includes: performing pixel value difference between each pixel point of the first target image and a corresponding pixel point of the reference image to obtain the first difference image.

[0038] Exemplarily, the physical position of the target display board when the reference image is collected can be the same as the physical position of the target display board when the first target image is collected, and the physical position of the image acquisition device when the reference image is collected can be the same as the physical position of the target display board when the first target image is collected. Correspondingly, the image position of the target display board in the reference image is the same as the image position of the target display board in the first target image. When each first target image is compared with the reference image, the pixel value of each pixel point of the first target image can be subtracted from the pixel value of the corresponding pixel point of the reference image, and the pixel value of each pixel point of the obtained first difference image is the absolute value of the difference between the pixel value of the corresponding pixel point of the first target image and the pixel value of the corresponding pixel point of the reference image. Specifically, for each first target image, the difference between the pixel value of the color development area of ​​the target display board in the first target image in the image and the pixel value of the area at the corresponding position in the reference image is large, and the difference between the pixel value of other areas in the first target image except the corresponding color development area and the area at the corresponding position in the reference image is small. Accordingly, the pixel values ​​of the areas where the difference between the pixel values ​​of the first target image and the reference image is smaller are smaller in the first difference image, and the pixel values ​​of the areas where the difference between the pixel values ​​of the first target image and the reference image is larger are larger in the first difference image. Figure 2 As shown, it is a schematic diagram of a first difference image according to an embodiment of the present invention. Figure 2 In FIG. 1 , the bright spot area marked with a “cross” is the target area of ​​the first difference image.

[0039] The above technical solution compares the first target image with the reference image by subtracting pixel values ​​and obtains a first difference image, which can offset the common features in the first target image and the reference image, thereby highlighting the features of the sample to be analyzed displayed on the target display board, which is conducive to quickly and accurately determining the target area in the first difference image.

[0040] Optionally, according to the target area corresponding to each collected first target image, the parameter change of the preset morphological parameters in the target area is determined, including: for each first target image, determining the change between the preset morphological parameters in the target area corresponding to the first target image and the preset morphological parameters in the target area corresponding to the previous first target image, so as to obtain the change corresponding to the first target image, and the parameter change is represented by the change corresponding to each first target image; the preset stability requirement includes: the number of consecutive first target images whose absolute value of the corresponding change is less than or equal to the preset change threshold reaches a preset number.

[0041] Exemplarily, for each non-first first target image, there may be a variation between the preset morphological parameters in the target area corresponding to the first target image and the preset morphological parameters in the target area corresponding to the previous target image, and the variation may be used as the variation corresponding to the first target image, and the variation corresponding to each first target image may represent the parameter variation corresponding to the first target image. In the process of real-time acquisition of the first target image, the variation corresponding to each first target image except the first first target image may be obtained. When the absolute value of the variation corresponding to the current first target image is less than or equal to the preset variation threshold, and the absolute values ​​of the variations corresponding to the continuous first target images including the current first target image are all less than or equal to the preset variation threshold, and the number of continuous first target images reaches the preset number, it can be determined that the parameter variation corresponding to the current target image meets the preset stability requirement. The preset number can be defined by the user according to the actual situation, and the embodiment of the present invention is preferably 2. It should be noted that the continuous first target images are continuously acquired images, and the current first target image is the latest acquired image in the continuous first target images. In other words, the current first target image is the last image in the continuous first target images. When the parameter change corresponding to the current first target image meets the requirements, it can be considered that when the current first target image is acquired, the color of the sample to be analyzed on the target display board is stable, and the heating of the target display board can be controlled to stop.

[0042] The above technical solution can quantify the color change of the target display board by taking the change between the preset morphological parameters in each first target image and the preset morphological parameters in the previous target image as the parameter change of the preset morphological parameters in the target area, so as to accurately judge whether the color of the target display board is stable. On the other hand, by setting the preset stability requirement to include the number of consecutive first target images whose corresponding absolute value of the change is less than or equal to the preset change threshold to reach a preset number, the accidental situation of the color jump of the target display board can be effectively eliminated.

[0043] Optionally, the preset morphological parameters include multiple sub-parameters, and the preset change threshold includes multiple sub-change thresholds corresponding one by one to the multiple sub-parameters, wherein the absolute value of the corresponding change is less than or equal to the preset change threshold: the absolute values ​​of the changes in the corresponding changes corresponding to each sub-parameter in the multiple sub-parameters are all less than or equal to the sub-change threshold corresponding to the seed parameter.

[0044] Exemplarily, the preset morphological parameters may include multiple sub-parameters, for example, may include: the area of ​​the target area, the centroid position of the target area, the longest line segment in the target area, the diameter of the inscribed circle of the target area, and at least two sub-parameters of the length of the long side / short side / diagonal line of the minimum circumscribed rectangle of the target area. In this case, the preset change amount threshold may include multiple sub-change amount thresholds corresponding to the multiple sub-parameters one by one. In the preset stability requirement, the corresponding change amount includes the change amount corresponding to each sub-parameter in the target area corresponding to the first target image, and accordingly, the preset change amount threshold includes the sub-change amount threshold corresponding to each sub-parameter. For example, when the preset morphological parameters include the area of ​​the target area and the centroid position of the target area, the preset change amount threshold may be an area change amount threshold and a position change amount threshold. In the preset stability requirement, the corresponding change amount includes the area change amount between the area of ​​the target area corresponding to the first target image and the area of ​​the target area corresponding to the previous first target image, and the position change amount between the centroid position of the target area corresponding to the first target image and the centroid position of the target area corresponding to the previous first target image.

[0045] The above technical scheme can determine whether the absolute value of the change amount corresponding to the first target image meets the change requirements in combination with multiple sub-parameters by setting multiple sub-parameters and corresponding multiple sub-change amount thresholds. In particular, when the preset morphological parameters only include the area of ​​the target area, there may be a situation where the area of ​​the target area jumps and suddenly decreases. Since the area of ​​the target area is a nonlinear mutation, it is impossible to determine in time whether the target display board is overheated. By setting a combination of multiple sub-parameters to determine whether the absolute value of the change amount corresponding to the first target image meets the change requirements, it is possible to accurately and timely determine whether the color rendering of the target display board is stable, thereby effectively avoiding excessive heating.

[0046] Optionally, the preset morphological parameters include one or more of the following sub-parameters: the area of ​​the target area, the centroid position of the target area, and the length of the longest line segment in the target area.

[0047] Exemplarily, the preset morphological parameters may include one or more sub-parameters of the area of ​​the target area, the centroid position of the target area, and the length of the longest line segment in the target area. In the process of heating the target display board, the change trend of the area of ​​the target area may be first increasing, then stabilizing, and finally decreasing. When the number of consecutive first target images whose absolute value of the area change amount of the corresponding target area is less than or equal to the area change amount threshold reaches a preset number, it can be considered that the color of the sample to be analyzed on the target display board is stable. In the process of heating the target display board, due to the change in the area of ​​the target area, the shape of the target area and the corresponding centroid position also change. When the number of consecutive first target images whose absolute value of the position change amount of the centroid of the corresponding target area is less than or equal to the position change amount threshold reaches a preset number, it can be considered that the centroid position of the target area is in a stable stage, and accordingly, it can be considered that the area of ​​the target area is in a stable stage, so that the color of the sample to be analyzed on the target display board can be considered to be stable. Similarly, in the process of heating the target display board, due to the change in the area of ​​the target area, the shape of the target area and the length of the longest line segment in the target area also change. When the number of consecutive first target images whose absolute value of the length change of the longest line segment in the corresponding target area is less than or equal to the preset length change threshold reaches a preset number, it can be considered that the shape of the target area is in a stable stage, and accordingly, it can be considered that the area of ​​the target area is in a stable stage, so that the color development of the sample to be analyzed on the target display board can be considered stable. When the preset morphological parameters include the area of ​​the target area, the centroid position and the length of the longest line segment in the target area, it can be judged in multiple dimensions whether the morphological change of the target area tends to be stable, so that it can be comprehensively judged whether the color development of the target display board is stable based on multiple dimensions such as the size and shape of the color development area on the target display board.

[0048] Optionally, determining a target area corresponding to the first target image from the first difference image includes: performing threshold segmentation processing on the first difference image to obtain at least one difference area having a grayscale value greater than or equal to a first preset grayscale threshold; determining the target area from at least one difference area based on an initial spotting position when spotting the target display board and a preset climbing direction of the sample to be analyzed on the target display board.

[0049] Exemplarily, after obtaining the first difference image, the first difference image may be subjected to threshold segmentation processing. Specifically, a first preset grayscale threshold may be set, and the first difference image may be segmented based on the first preset grayscale threshold, so as to obtain one or more difference regions whose pixel values ​​(i.e., grayscale values) are greater than or equal to the first preset grayscale threshold. The first preset grayscale threshold may be defined according to actual needs. In an embodiment of the present invention, the first preset grayscale threshold may be set to 200. When spotting the target display board, the position range of the sample to be analyzed on the target display board after climbing may be determined according to the initial spotting position of the sample to be analyzed on the target display board and the preset climbing direction on the target display board, and the target region may be a difference region located within the determined position range. For example, the initial spotting position when spotting the target display board may be the center position of the preset edge of the target display board, the preset climbing direction may be a direction perpendicular to the preset edge, and the position range of the sample to be analyzed on the target display board after climbing may be a reserved region on both sides of the perpendicular bisector of the preset edge in the target display board. When multiple difference regions are obtained in the first difference image, the difference image located in the reserved region may be determined as the target region. See also Figure 3 As shown, it is a schematic diagram of a first difference image corresponding to when the parameter change of the preset morphological parameters in the target area meets the preset stability requirement according to one embodiment of the present invention. Figure 3 In FIG. 1 , the bright spot area marked with a “cross” is the target area of ​​the first difference image, and the target area corresponds to the sample to be analyzed on the target display board.

[0050] The above technical scheme can predict the position range of the sample to be analyzed after completing the climbing by the initial spotting position when spotting the target display board and the preset climbing direction of the sample to be analyzed on the target display board. Therefore, when determining multiple difference areas, the target area can be quickly and accurately determined among the multiple difference areas based on the predicted position range of the sample to be analyzed on the target display board.

[0051] Optionally, before determining the target area from at least one difference area based on the initial spotting position when spotting the target display board and the preset climbing direction of the sample to be analyzed on the target display board, the method also includes: obtaining user input information; and determining the initial spotting position based on the user input information.

[0052] Exemplarily, the initial spot sampling position can be determined based on user input information. In a specific embodiment, the user can mark the initial spot sampling position in the reference image, and the image position of the initial spot sampling position in the reference image can be determined in response to the marking information input by the user, so that the image position corresponding to the initial spot sampling position in the first difference image is determined according to the correspondence between the pixel points of the reference image and the pixel points of the first difference image. In another specific embodiment, the user can input the coordinates of the initial spot sampling position in the preset coordinate system of the target display board, and in response to the coordinates of the initial spot sampling position input by the user, the image position of the initial spot sampling position in the reference image can be determined based on the preset conversion relationship between the image coordinate system and the preset coordinate system, so that the image position corresponding to the initial spot sampling position in the first difference image is determined according to the correspondence between the pixel points of the reference image and the pixel points of the first difference image. The information of the preset climbing direction can be input by the user, and the direction from the initial spot sampling position to the edge of the target display board farthest from the initial spot sampling position can also be defined as the preset climbing direction.

[0053] The above technical solution can determine a relatively accurate initial spotting position by obtaining user input information, which helps to accurately determine the target area among multiple difference areas.

[0054] Optionally, threshold segmentation processing is performed on the first difference image to obtain at least one difference area whose grayscale value is greater than or equal to a first preset grayscale threshold, including: performing a first threshold segmentation processing on the first difference image to obtain a display board area corresponding to the target display board in the first difference image; performing a second threshold segmentation processing on the display board area to obtain at least one difference area in the display board area; wherein the segmentation threshold adopted in the first threshold segmentation processing is the second preset grayscale threshold, the grayscale value of the display board area is greater than or equal to the second preset grayscale threshold, and the segmentation threshold adopted in the second threshold segmentation processing is the first preset grayscale threshold, and the first preset grayscale threshold is greater than the second preset grayscale threshold.

[0055] For example, when performing threshold segmentation processing on the first difference image, the first threshold segmentation processing can be performed on the first difference image using the second preset grayscale threshold, and the area in the first difference image where the grayscale value is greater than or equal to the second preset grayscale threshold is determined as the display board area corresponding to the target display board. Then, the second threshold segmentation processing can be performed on the display board area using the first preset grayscale threshold, and the area in the display board area where the grayscale value is greater than or equal to the first preset grayscale threshold is determined as the difference area. Please continue to refer to Figure 3As shown, for the entire first difference image, the grayscale of the display board area in the first difference image is greater than the grayscale of other areas except the display board area. For the display board area in the first difference image, the grayscale of the difference area is greater than the grayscale of other areas except the difference area. When performing threshold segmentation processing on the first difference image, the first preset grayscale threshold can be set to be greater than the second preset grayscale threshold.

[0056] The above technical solution determines the display board area based on the second preset grayscale threshold in the first difference image, and determines the difference area in the display board area based on the first preset grayscale threshold, which is beneficial to reducing the interference of other objects except the display board area in the first difference image, thereby ensuring that the obtained difference areas are all within the display board area.

[0057] Optionally, after performing a second threshold segmentation process on the display board area to obtain at least one difference area in the display board area, determining the target area from the first difference image further includes: performing a filtering process operation on the display board area.

[0058] Exemplarily, after determining at least one difference region in the display board region, a filtering operation may be performed on the display board region in the first difference image. The embodiment of the present invention does not specifically limit the filtering method, and the filtering method may be, for example, mean filtering, Gaussian filtering, median filtering, bilateral filtering, etc.

[0059] The above technical solution can effectively reduce the noise interference in the display board area by filtering the display board area. On the other hand, the display board area in the first difference image is filtered while other areas outside the display board area do not need to be filtered, which can reduce the amount of calculation in the filtering process.

[0060] Optionally, the method also includes: acquiring any second target image collected when heating of the target display board is stopped or within a preset time period after heating of the target display board is stopped; performing image comparison between the second target image and the reference image to obtain a second difference image, and determining a target area corresponding to the second target image from the second difference image; and calculating the retention factor of the sample to be analyzed based on the centroid position of the target area corresponding to the second target image, the initial spotting position when spotting the target display board, and the climbing position of the developing agent when the spotted target display board is developed.

[0061] Exemplarily, when heating of the target display board is stopped, or within a preset time period after heating of the target display board is stopped, the image acquisition device may acquire a second target image for the target display board. For any second target image, the second target image may be compared with the reference image to obtain a second difference image, and a target area corresponding to the second target image may be determined from the second difference image. The method for comparing the second target image with the reference image may refer to the method for comparing the first target image with the reference image in the aforementioned embodiment, and the method for determining the target area corresponding to the second target image from the second difference image may refer to the method for determining the target area corresponding to the first target image from the first difference image in the aforementioned embodiment, which will not be described in detail again. After determining the target area corresponding to the second target image, the retention factor of the sample to be analyzed on the target display board may be calculated based on the determined center of mass position of the target area, the initial spotting position when spotting the target display board, and the climbing position of the developing agent when the spotted target display board is developed. Please refer to Figure 4 As shown, it is a schematic diagram of a developing agent climbing on a target display board according to an embodiment of the present invention. Figure 4 Two target display boards are shown, each target display board is in a corresponding display cylinder, and the developing agent in the display cylinder can climb up on the target display board. Figure 4 In the embodiment shown, the developing agent climbs from bottom to top on both target display panels. h2 represents the climbing position of the developing agent when the climbing is completed. Figure 5 As shown, it is a schematic diagram of the positions of the initial spotting position on the target display board, the centroid position of the target area, and the climbing position of the developing agent according to an embodiment of the present invention. Figure 5 In the example, the initial spotting position when spotting the target display board is represented by the distance h1 from the bottom edge of the target display board, the climbing position of the developing agent when developing the spotted target display board is represented by the distance h2 from the bottom edge of the target display board, and the centroid position of the determined target area is represented by the distance h3 from the bottom edge of the target display board. Figure 5 In the illustrated embodiment, RF = (h3 - h1) / (h2 - h1), where RF represents retention factor.

[0062] The above technical solution can obtain the position of the color development area of ​​the target display board when the color development is stable by collecting the second target image and determining the target area corresponding to the second target image. The manual workload is small and the retention factor of the sample to be analyzed can be automatically calculated.

[0063] See also Figure 6 , which is a schematic block diagram of a heating control device according to an embodiment of the present invention. According to another aspect of the present invention, a heating control device 600 is provided for controlling the heating of a target display panel soaked with a developer, and the device 600 comprises:

[0064] The acquisition module 610 is used to acquire a first target image of the target display board in real time during the heating process of the target display board;

[0065] A determination module 620 is used for, for each first target image collected, performing an image comparison between the first target image and a reference image to obtain a first difference image, and determining a target area corresponding to the first target image from the first difference image, wherein the reference image is an image collected for a target display board that has been soaked with a developer and not heated, and the target area is used to indicate a position of a sample to be analyzed on the target display board;

[0066] The control module 630 is used to determine the parameter change of the preset morphological parameters in the target area according to the target area corresponding to each collected first target image, and control to stop heating the target display board when the parameter change meets the preset stability requirement.

[0067] See also Figure 7 As shown, it is a schematic block diagram of an electronic device according to an embodiment of the present invention. According to another aspect of the present invention, an electronic device 700 is also provided, including: a processor 710 and a memory 720, wherein the memory 710 stores computer program instructions, and the computer program instructions are used by the processor 710 to execute the above-mentioned heating control method when it is running.

[0068] According to another aspect of the present invention, a storage medium is also provided, on which program instructions are stored, and when the program instructions are executed by a computer or a processor, the computer or the processor executes the corresponding steps of the above-mentioned heating control method of the embodiment of the present invention, and is used to implement the corresponding modules in the above-mentioned heating control device according to the embodiment of the present invention or the corresponding modules in the above-mentioned heating control device. The storage medium may include, for example, a memory card of a smart phone, a storage component of a tablet computer, a hard disk of a personal computer, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disk read-only memory (CD-ROM), a USB memory, or any combination of the above storage media. The computer-readable storage medium may be any combination of one or more computer-readable storage media.

[0069] According to yet another aspect of the present invention, a computer program product is provided, comprising computer program instructions, wherein the computer program instructions are used to execute the heating control method as described above when running.

[0070] A person skilled in the art can understand the specific implementation and beneficial effects of the above-mentioned heating control device by reading the above-mentioned detailed description of the heating control method, and for the sake of brevity, it will not be repeated here.

[0071] Although example embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above example embodiments are merely exemplary and are not intended to limit the scope of the present invention thereto. Various changes and modifications may be made therein by one of ordinary skill in the art without departing from the scope and spirit of the present invention. All such changes and modifications are intended to be included within the scope of the present invention as required by the appended claims.

[0072] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0073] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed.

[0074] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0075] Similarly, it should be understood that in order to streamline the present invention and help understand one or more of the various inventive aspects, in the description of the exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, the method of the present invention should not be interpreted as reflecting the following intention: the claimed invention requires more features than the features explicitly stated in each claim. More specifically, as reflected in the corresponding claims, the inventive point is that the corresponding technical problem can be solved with less than all the features of a single disclosed embodiment. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present invention.

[0076] It will be understood by those skilled in the art that, except for mutually exclusive features, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this specification may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature that provides the same, equivalent or similar purpose.

[0077] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims, any one of the claimed embodiments may be used in any combination.

[0078] The various component embodiments of the present invention can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the functions of some modules in the heating control device according to an embodiment of the present invention. The present invention can also be implemented as a device program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0079] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.

[0080] The above is only a specific embodiment or description of a specific embodiment of the present invention, and the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. The protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A heating control method for controlling the heating of a target display panel soaked with a developer, characterized in that: The method comprises: During the heating process of the target display board, collecting a first target image of the target display board in real time; For each first target image collected, the first target image is compared with a reference image to obtain a first difference image, and a target area corresponding to the first target image is determined from the first difference image, wherein the reference image is an image collected for the target display board that has been soaked with a developer and not heated, and the target area is used to indicate the position of the sample to be analyzed on the target display board; According to the target area corresponding to each collected first target image, the parameter change of the preset morphological parameter in the target area is determined, and when the parameter change meets the preset stability requirement, the heating of the target display board is stopped.

2. The method according to claim 1, characterized in that The step of comparing the first target image with the reference image to obtain a first difference image includes: Subtract the pixel value of each pixel point of the first target image from the corresponding pixel point of the reference image to obtain the first difference image.

3. The method according to claim 1, characterized in that Determining the parameter change of the preset morphological parameters in the target area according to the target area corresponding to each of the collected first target images includes: For each first target image, determine the amount of change between the preset morphological parameters in the target area corresponding to the first target image and the preset morphological parameters in the target area corresponding to the previous first target image to obtain the amount of change corresponding to the first target image, wherein the parameter change is represented by the amount of change corresponding to each first target image; The preset stability requirement includes: the number of consecutive first target images whose corresponding absolute value of the variation is less than or equal to the preset variation threshold reaches a preset number.

4. The method according to claim 3, characterized in that The preset morphological parameters include multiple sub-parameters, and the preset variation threshold includes multiple sub-variation thresholds corresponding to the multiple sub-parameters one by one, wherein: The absolute value of the corresponding change is less than or equal to the preset change threshold when the absolute value of the change corresponding to each sub-parameter in the multiple sub-parameters is less than or equal to the sub-change threshold corresponding to the seed parameter.

5. The method according to any one of claims 1 to 4, characterized in that: The preset morphological parameters include one or more of the following sub-parameters: the area of ​​the target area, the centroid position of the target area, and the length of the longest line segment in the target area.

6. The method according to any one of claims 1 to 4, characterized in that: The determining, from the first difference image, a target area corresponding to the first target image comprises: Performing threshold segmentation processing on the first difference image to obtain at least one difference area whose grayscale value is greater than or equal to a first preset grayscale threshold; The target area is determined from the at least one difference area according to an initial spotting position when spotting the target display board and a preset climbing direction of the sample to be analyzed on the target display board.

7. The method according to claim 6, characterized in that Before determining the target area from the at least one difference area according to the initial spotting position when spotting the target display board and the preset climbing direction of the sample to be analyzed on the target display board, the method further includes: Get user input information; The initial spotting position is determined according to the user input information.

8. The method according to claim 6, characterized in that The performing threshold segmentation processing on the first difference image to obtain at least one difference region whose grayscale value is greater than or equal to a first preset grayscale threshold value includes: Performing a first threshold segmentation process on the first difference image to obtain a display board area corresponding to the target display board in the first difference image; Performing a second threshold segmentation process on the display board area to obtain the at least one difference area in the display board area; Among them, the segmentation threshold used in the first threshold segmentation processing is the second preset grayscale threshold, the grayscale value of the display board area is greater than or equal to the second preset grayscale threshold, the segmentation threshold used in the second threshold segmentation processing is the first preset grayscale threshold, and the first preset grayscale threshold is greater than the second preset grayscale threshold.

9. The method according to claim 8, characterized in that After performing the second threshold segmentation process on the display board area to obtain the at least one difference area in the display board area, determining the target area from the first difference image further includes: A filtering operation is performed on the display panel area.

10. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Acquire any second target image captured when heating of the target display board is stopped or within a preset period of time after heating of the target display board is stopped; performing an image comparison between the second target image and the reference image to obtain a second difference image, and determining a target area corresponding to the second target image from the second difference image; The retention factor of the sample to be analyzed is calculated according to the centroid position of the target area corresponding to the second target image, the initial spotting position when spotting the target display board, and the climbing position of the developing agent when developing the spotted target display board.

11. A heating control device for controlling the heating of a target display panel soaked with a developer, characterized in that: The device comprises: An acquisition module, used for acquiring a first target image of the target display board in real time during the heating process of the target display board; a determination module, for each first target image collected, performing an image comparison between the first target image and a reference image to obtain a first difference image, and determining a target area corresponding to the first target image from the first difference image, wherein the reference image is an image collected for the target display board that has been infiltrated with a developer and not heated, and the target area is used to indicate a position of a sample to be analyzed on the target display board; The control module is used to determine the parameter change of the preset morphological parameters in the target area according to the target area corresponding to each first target image collected, and control to stop heating the target display board when the parameter change meets the preset stability requirement.

12. A storage medium having program instructions stored thereon, characterized in that: The program instructions are used to execute the heating control method according to any one of claims 1 to 10 when running.

Citation Information

Cited By

  • Method for detecting color rendering performance of thermo-sensitive paper by fusing multispectral imaging and infrared sensing

    CN120870011A