CN116413111A - Intelligent dyeing control method and intelligent dyeing double-hole machine - Google Patents

Intelligent dyeing control method and intelligent dyeing double-hole machine Download PDF

Info

Publication number
CN116413111A
CN116413111A CN202310676221.XA CN202310676221A CN116413111A CN 116413111 A CN116413111 A CN 116413111A CN 202310676221 A CN202310676221 A CN 202310676221A CN 116413111 A CN116413111 A CN 116413111A
Authority
CN
China
Prior art keywords
dyeing
liquid injection
area
image
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310676221.XA
Other languages
Chinese (zh)
Other versions
CN116413111B (en
Inventor
朱峻
黄小军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Senying Bio Tech Co ltd
Original Assignee
Shenzhen Senying Bio Tech Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Senying Bio Tech Co ltd filed Critical Shenzhen Senying Bio Tech Co ltd
Priority to CN202310676221.XA priority Critical patent/CN116413111B/en
Publication of CN116413111A publication Critical patent/CN116413111A/en
Application granted granted Critical
Publication of CN116413111B publication Critical patent/CN116413111B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N1/00Sampling; Preparing specimens for investigation
    • G01N1/28Preparing specimens for investigation including physical details of (bio-)chemical methods covered elsewhere, e.g. G01N33/50, C12Q
    • G01N1/30Staining; Impregnating ; Fixation; Dehydration; Multistep processes for preparing samples of tissue, cell or nucleic acid material and the like for analysis
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N1/00Sampling; Preparing specimens for investigation
    • G01N1/28Preparing specimens for investigation including physical details of (bio-)chemical methods covered elsewhere, e.g. G01N33/50, C12Q
    • G01N1/30Staining; Impregnating ; Fixation; Dehydration; Multistep processes for preparing samples of tissue, cell or nucleic acid material and the like for analysis
    • G01N1/31Apparatus therefor
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses an intelligent dyeing control method and an intelligent dyeing double-hole machine, the method comprises the steps of analyzing an initial sample image to determine a target dyeing area, obtaining sample characteristic parameters of the target dyeing area, matching corresponding liquid injection parameters, sending a liquid injection control instruction according to the liquid injection parameters to control a liquid injection component to inject a dyeing reagent into the target dyeing area, recording liquid injection time and liquid injection coordinate areas of the target dyeing area to obtain liquid injection record information, and controlling an image acquisition component to acquire area dyeing images of all the target dyeing areas according to the liquid injection record information and dyeing time. According to the intelligent dyeing control method, the liquid injection component can be intelligently controlled to add the dyeing reagent to the sample based on the initial sample image and the weight information, the dyeing images of the areas are intelligently collected according to the dyeing time, the samples in all target dyeing areas can be dyed for the same time under the same condition, and the efficiency of dyeing control and dyeing image collection is improved.

Description

Intelligent dyeing control method and intelligent dyeing double-hole machine
Technical Field
The invention relates to the technical field of intelligent control, in particular to an intelligent dyeing control method and an intelligent dyeing double-hole machine.
Background
In the existing medical detection or biological experiments, it is often necessary to add a staining liquid to a glass slide, stain a biological sample on the glass slide by the staining liquid, and classify or analyze the biological sample by analyzing an appearance image of the stained biological sample. However, in the prior art method, a certain dyeing reagent is usually added through manual operation, and a biological sample added with the dyeing reagent is placed under a certain condition for a certain period of time for dyeing, and the dyeing process needs to be ensured to be carried out under a constant temperature and humidity environment; when a large number of samples are required to be dyed, the dyeing reagent cannot be added and the dyeing control cannot be performed efficiently in the prior art, so that the efficiency of dyeing the biological samples is low, and the dyeing time of each sample cannot be accurately controlled due to the fact that the dyeing time of the large number of samples is not accurate, so that the sample dyeing uniformity is poor, and the accuracy of dyeing the biological samples through the reagent to obtain experimental results is affected. Therefore, the conventional method has a problem that the staining reagent cannot be efficiently added to the biological sample and staining control is performed.
Disclosure of Invention
The embodiment of the invention provides an intelligent dyeing control method and an intelligent dyeing double-hole machine, which aim to solve the problem that a biological sample cannot be efficiently added with a dyeing reagent and subjected to dyeing control in the prior art.
In a first aspect, an embodiment of the present invention provides an intelligent dyeing control method, where the method is applied to a controller of an intelligent dyeing dual-hole machine, and the controller is connected with an image acquisition component and a liquid injection component configured on the intelligent dyeing dual-hole machine in a communication manner, where the method includes:
if an initial sample image acquired by the image acquisition component is received, analyzing the initial sample image according to a preset image analysis rule to determine a target dyeing area;
acquiring weight information of a glass slide to which the target dyeing region belongs, and calculating sample characteristic parameters of the target dyeing region according to the weight information and a region image of the target dyeing region;
acquiring liquid injection parameters matched with the characteristic parameters of each sample from a preset liquid injection configuration table;
sending a corresponding liquid injection control instruction to the liquid injection assembly according to the liquid injection parameter and the area image of the target dyeing area so as to control the liquid injection assembly to add the dyeing reagent to the position corresponding to the area image;
recording the liquid injection time and the liquid injection coordinate area of each target dyeing area to obtain liquid injection record information;
And controlling the image acquisition assembly to continuously acquire the region dyeing images corresponding to the target dyeing regions according to the liquid injection record information and the preset dyeing time.
In a second aspect, an embodiment of the present invention further provides an intelligent dyeing dual-hole machine, where a controller in the intelligent dyeing dual-hole machine applies the intelligent dyeing control method described in the first aspect, and the intelligent dyeing dual-hole machine includes a tray, a slide rack disposed in the tray, a cover plate covered on the tray, an image acquisition component fixedly disposed above the cover plate, and a liquid injection component fixedly disposed above the cover plate; the cover plate is a transparent cover plate;
the tray is used for containing water, a heating wire is arranged at the bottom of the tray, and the controller is electrically connected with the heating wire and the image acquisition assembly;
a plurality of slide placing positions are arranged on the slide frame; placing a slide on each slide placing position; the lower end of the slide placing position is provided with a pressure sensor which is electrically connected with the controller;
a through hole is formed in the side face of each slide placing position on the slide frame, and the end part of the baffle strip arranged on one side of the slide placing position penetrates through the corresponding through hole and extends to the lower side of the slide frame; the barrier strip is a water-absorbing barrier strip with capillary holes;
The through holes are arranged at one end of the long side direction of the slide placing position corresponding to each through hole;
one end of the barrier strip, which is far away from the through hole, is fixed on the slide rack through a fixed column, the fixed column is arranged on a sliding support, the upper end surface of the slide rack is provided with a sliding rail which is matched with the sliding support, a motor arranged in the sliding support drives the sliding support to slide along the sliding rail, and the controller is electrically connected with the motor;
two liquid injection through holes are formed in the cover plate at positions corresponding to the slide placing positions;
the liquid injection assembly comprises a liquid injection driving mechanism and a liquid injection support arm arranged on the liquid injection driving mechanism, at least one liquid injection needle is fixedly arranged on the liquid injection support arm, and the upper end of the liquid injection needle is communicated with the infusion tube.
The embodiment of the invention provides an intelligent dyeing control method and an intelligent dyeing double-hole machine, wherein the method comprises the following steps: analyzing an initial sample image before dyeing to determine a target dyeing area, acquiring sample characteristic parameters of the target dyeing area, matching corresponding liquid injection parameters, sending corresponding liquid injection control instructions according to the liquid injection parameters to control a liquid injection component to inject a dyeing reagent into the target dyeing area, recording liquid injection time and liquid injection coordinate areas of the target dyeing area to obtain liquid injection record information, and controlling an image acquisition component to acquire area dyeing images of all the target dyeing areas according to the liquid injection record information and dyeing time. According to the intelligent dyeing control method, the liquid injection component can be intelligently controlled to add the dyeing reagent to the sample based on the initial sample image and the weight information, the dyeing images of the areas are intelligently collected according to the dyeing time, the samples in each target dyeing area can be dyed for a certain time under a certain condition, and the efficiency of dyeing control and dyeing image collection of the biological sample is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for intelligent dyeing control according to an embodiment of the present invention;
fig. 2 is a schematic circuit structure diagram of an intelligent dyeing dual-hole machine according to an embodiment of the present invention;
FIG. 3 is an overall structure diagram of an intelligent dyeing double-hole machine provided by an embodiment of the invention;
FIG. 4 is an exploded structure diagram of an intelligent dyeing double-hole machine provided by an embodiment of the invention;
FIG. 5 is a partial block diagram of an intelligent dyeing double-hole machine provided by an embodiment of the invention;
FIG. 6 is an internal structure diagram of an intelligent dyeing double-hole machine provided by an embodiment of the invention;
FIG. 7 is another partial block diagram of an intelligent dyeing dual-hole machine provided by an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1 and 2, as shown in the drawings, an embodiment of the present invention provides an intelligent dyeing control method, which is applied to a controller 5 of an intelligent dyeing dual-hole machine, and the method is implemented by installing the controller 5 in the intelligent dyeing dual-hole machine, wherein the controller 5 is in communication connection with an image acquisition component 4 and a liquid injection component 6 configured on the intelligent dyeing dual-hole machine, the controller 5 is a device for implementing the intelligent dyeing control method to implement intelligent addition of a dyeing reagent to a sample and performing dyeing control, the image acquisition component 4 is a component for acquiring an image of the sample, and the liquid injection component 6 is a component for adding a dyeing reagent to a biological sample. As shown in FIG. 1, the method includes steps S110 to S160.
S110, if an initial sample image acquired by the image acquisition component is received, analyzing the initial sample image according to a preset image analysis rule to determine a target dyeing area.
And if the initial sample image acquired by the image acquisition component is received, analyzing the initial sample image according to a preset image analysis rule to determine a target dyeing area. The controller in the intelligent dyeing double-hole machine can receive the initial sample image acquired by the image acquisition component, at least one glass slide can be placed in the intelligent dyeing double-hole machine, the glass slide is filled with a biological sample to be dyed, and the controller can be a control chip such as an MCU chip and the like for processing data information and sending out corresponding control signals. The initial sample image is the image information acquired by integrally shooting the biological sample to be dyed on each glass slide in the intelligent dyeing double-hole machine, and each sample in the initial sample image is a sample which is not dyed or at least comprises one glass slide which is provided with the undyed sample. After the controller receives the initial sample image, the initial sample image can be analyzed according to an image analysis rule, so that a target dyeing area corresponding to the glass slide containing the undyed sample is obtained, and the target dyeing area is the area image information corresponding to the glass slide containing the undyed sample.
In a specific embodiment, step S110 includes the sub-steps of: filtering background pixels in the initial sample image according to a background value interval in the image analysis rule to obtain a background-removed image; dividing the background-removed image according to a pre-stored area template to obtain a plurality of corresponding alternative area images; performing binarization processing on the alternative area images to obtain binarized images corresponding to the alternative area images; judging whether the alternative area image contains dyeing conditions conforming to the image analysis rule; and acquiring the region where the image of the alternative region meeting the dyeing conditions is located as a target dyeing region.
Specifically, the image analysis rule includes a background value interval, and background pixel values in the initial sample image can be filtered according to the background value interval, for example, the background value interval can be set to be a pixel interval formed by combining pixel values similar to colors of other areas of the glass slide. And filtering the background pixels to obtain a background-removed image. And then dividing the background-removed image according to a pre-stored area template, wherein the area template comprises template information for dividing the image acquired by the image acquisition assembly, and because the image acquisition assembly is fixedly arranged above the glass slides, the image area corresponding to each glass slide in the image acquired by the image acquisition assembly is also fixed, the background-removed image acquired by the image acquisition assembly can be divided through the area template with the same configuration, so that an alternative area image corresponding to each glass slide position is obtained.
The binarization processing is carried out on the image of the alternative area, and the background pixels are removed from the image of the alternative area, so that the effective pixel information contained in the image of the alternative area corresponds to the sample, the pixels of the images of other non-sample areas are empty, the effective pixels in the image of the alternative area can be assigned to be 1, the other pixels in the image of the alternative area can be assigned to be 0, the corresponding binarization image is obtained, the binarization image only comprises two numerical values of 1 or 0, the 1 indicates that the pixel point contains the pixel information, and the 0 indicates that the pixel point does not contain the pixel information.
Judging whether the candidate area images contain the dyeing conditions conforming to the image analysis rules, specifically, the obtained candidate area images may be the image information corresponding to the glass slide containing the sample to be dyed or the image information corresponding to the glass slide not containing the sample to be dyed, and in order to realize the distinction of the candidate area images corresponding to the glass slide not containing the sample to be dyed, judging whether the candidate area images conform to the dyeing conditions in sequence. The dyeing condition can be set as a pixel quantity threshold value, namely whether the pixel quantity of each independent pixel area in the image of the alternative area is larger than the pixel quantity threshold value in the dyeing condition can be judged, and if the image of the alternative area contains the independent pixel areas with the pixel quantity larger than the pixel quantity threshold value, the area corresponding to the image of the alternative area can be judged to be a target dyeing area; if the number of pixels of each independent pixel area in the alternative area image is not greater than the threshold value of the number of pixels in the dyeing condition, the area corresponding to the alternative area image can be judged to be not the target dyeing area. The independent pixel areas with the pixel number not larger than the pixel number threshold value can be noise points in the image, and the noise points need to be correspondingly eliminated; if one or more samples can be placed on the glass slide, a plurality of independent pixel areas with the pixel number greater than the pixel number threshold may exist in the candidate area image corresponding to the target dyeing area.
S120, acquiring weight information of a glass slide to which the target dyeing region belongs, and calculating sample characteristic parameters of the target dyeing region according to the weight information and the region image of the target dyeing region.
And acquiring weight information of a glass slide to which the target dyeing region belongs, and calculating sample characteristic parameters of the target dyeing region according to the weight information and the region image of the target dyeing region. The weight information of the glass slides to which each target dyeing area belongs can be obtained, specifically, the measured weight of the glass slides placed on each glass slide placing area can be obtained through a pressure sensor, and the measured weight is subtracted from the basis weight of the glass slides, so that the weight information only comprising the weight of the sample can be obtained. In a specific embodiment, it may be further determined whether the weight information of the slide glass in each target staining area checks whether the target staining area includes a sample, and if the weight information of the target staining area is less than a preset weight threshold, it is determined that the target staining area does not pass the check. And if the weight information of the target dyeing area is not smaller than the preset weight threshold value, judging that the verification of the target dyeing area is passed.
Further, a sample characteristic parameter of the target dyeing region is calculated according to a region image of the target dyeing region, wherein the region image of the target dyeing region can be correspondingly intercepted from a binarized image of the target dyeing region.
In a specific embodiment, step S120 includes the sub-steps of: intercepting and obtaining an area image corresponding to the dyeing sample from the binarized image of the target dyeing area; obtaining geometric characteristic parameters of each regional image; calculating according to the weight information corresponding to each target dyeing area and the corresponding geometric characteristic parameters to obtain the dyeing coefficient of each target dyeing area; and combining the dyeing coefficient and the geometric characteristic parameter of each target dyeing area to serve as corresponding sample characteristic parameters.
Specifically, a corresponding area image can be cut from the binarized image of the target dyeing area, and specifically, pixel points contained in an independent pixel area with the number of pixels larger than the threshold value of the number of pixels are cut from the binarized image and taken as the corresponding area image. The target stained area may be correspondingly truncated to at least one area image.
Further, geometric characteristic parameters can be obtained from the region image, and the sample area value and the sample perimeter of the region image can be obtained as the geometric characteristic parameters corresponding to the region image.
And calculating according to the weight information corresponding to the target dyeing areas and the geometric characteristic parameters corresponding to the target area images to obtain the dyeing coefficients of the target dyeing areas, and particularly, if the target dyeing areas only comprise one area image, directly dividing the weight value in the weight information by the sample area value in the geometric characteristic parameters to obtain the corresponding dyeing coefficients. Wherein, the dyeing coefficient can be obtained by adopting the corresponding calculation of the formula (1):
Figure SMS_1
(1);
Wherein Z is 0 The weight value in the weight information is expressed in milligrams, s is the area value of the sample in the geometric characteristic parameter, t is the circumference of the sample in the aggregate characteristic parameter, t is the millimeter, and X is the calculated dyeing coefficient value.
If the target dyeing area includes a plurality of area images, a plurality of sample area values in respective geometric feature parameters according to the area images may be subjected to superposition calculation, and then dyeing coefficients corresponding to the area images are calculated respectively, for example, the target dyeing area includes two area images, wherein the dyeing coefficient corresponding to the first area image may be calculated by using formula (2), and the dyeing coefficient corresponding to the other area image may be calculated by using formula (2):
Figure SMS_2
(2);
s in the above formula (2) 0 =s 1 +s 2 ,t 1 For the perimeter of the sample corresponding to the first area image s 1 For the sample area value corresponding to the first area image, t 2 For the circumference of the sample corresponding to the second area image s 2 And the sample area value corresponding to the second area image.
And combining the calculated dyeing coefficient with the characteristic parameters of each target dyeing region to obtain the sample characteristic parameters corresponding to each target dyeing region.
S130, acquiring liquid injection parameters matched with the characteristic parameters of each sample from a preset liquid injection configuration table.
And acquiring the liquid injection parameters matched with the characteristic parameters of each sample from a preset liquid injection configuration table. The controller is pre-configured with a liquid injection configuration table, and the liquid injection configuration table can be matched with sample characteristic parameters corresponding to each target dyeing area in sequence, so that the liquid injection parameters corresponding to each target dyeing area are determined.
In a specific embodiment, step S130 includes the sub-steps of: matching the sample characteristic parameters of each target dyeing area with the corresponding standard samples in the liquid injection configuration table; and acquiring the volume value of the standard sample matched with each sample characteristic parameter as the liquid injection parameter matched with each sample characteristic parameter.
Specifically, the liquid injection preparation table includes a plurality of standard samples, and sample characteristic parameters corresponding to each region image in the target dyeing region can be matched with standard parameter ranges in the standard samples, so that the sample characteristic parameters corresponding to each region image include dyeing coefficients, sample area values and sample circumferences, and the standard parameter ranges of each standard sample include dyeing coefficient intervals, area value intervals and circumference intervals. If the sample characteristic parameters corresponding to the area image are matched with the standard parameter ranges in a certain standard sample, determining that the standard sample is matched with the current area image, and acquiring the volume value of the standard sample as the liquid injection parameter of the current area image. The unit of the liquid injection parameter is microliter (mu L), the liquid injection parameter of the region image is the volume parameter information of adding the staining reagent to the sample of the region image, and the liquid injection component can be controlled to add the staining reagent with the volume value corresponding to the liquid injection parameter to the sample of the corresponding region image according to the liquid injection parameter.
In a specific embodiment, step S130 includes the sub-steps of: matching the sample characteristic parameters of each target dyeing area with the corresponding standard samples in the liquid injection configuration table; obtaining dyeing area values of standard samples matched with the characteristic parameters of each sample as corresponding basic dyeing areas; obtaining the offset coefficient of the regional image in each target dyeing region according to the liquid injection center point corresponding to each target dyeing region; and calculating the basic dyeing area and the offset coefficient according to a liquid injection calculation formula in the liquid injection configuration table to obtain a volume calculation value of each sample characteristic parameter as the liquid injection parameter.
In a more specific embodiment, the sample characteristic parameters of the images of each region in the target dyeing region may be first matched with the standard samples in the liquid injection configuration table, so as to obtain the dyeing area value of the matched standard sample as the corresponding basic dyeing area, and the process of obtaining the basic dyeing area is similar to the process of obtaining the volume value of the matched standard sample. The base stained area is not the planar area value of the standard sample, but rather the total external surface area value of the standard sample that is contacted with the staining reagent and available for staining, in contrast to the sample, which is greater than the planar area value of the sample, because the external surface of the sample is not planar and the sample typically has a certain thickness.
Further, an offset coefficient between the liquid injection center point corresponding to the target dyeing region and each region image in the target dyeing region can be obtained, wherein the offset coefficient is that the distance between the liquid injection center point corresponding to the target dyeing region and the center coordinate point of the region image is positively correlated.
In a specific embodiment, the obtaining the offset coefficient of the area image in each target dyeing area according to the liquid injection center point corresponding to each target dyeing area includes: obtaining offset distance values of the region images in the target dyeing regions, wherein the offset distance values are distance values between the coordinates of the central points of the region images and the liquid injection central points corresponding to the target dyeing regions and the region images; and calculating the offset distance value according to an offset coefficient calculation formula in the liquid injection configuration table to obtain a corresponding offset coefficient.
Specifically, in the technical method of the application, two liquid injection through holes are correspondingly formed above each glass slide, and then a liquid injection center point corresponding to the target dyeing area is the center of the liquid injection through hole above the glass slide to which the target dyeing area belongs; if the target dyeing area only comprises an area image, determining the center of a liquid injection through hole which is closest to the upper part of the glass slide corresponding to the target dyeing area as a liquid injection center point; if the target dyeing area comprises two area images, determining the circle center of the liquid injection which is closest to each area image above the glass slide corresponding to the target dyeing area as the liquid injection center point of each area image. The offset coefficient of the region image can be obtained by calculation according to the liquid injection center point corresponding to the region image in the target dyeing region, specifically, an offset distance value can be obtained firstly, the offset distance value is a distance value between the center point coordinate of the region image and the liquid injection center point corresponding to the region image in the target dyeing region, the offset coefficient can be a ratio of the offset distance value to the radius of the liquid injection through hole, the radii of the liquid injection through holes arranged above the glass slides are all equal, and a specific offset coefficient calculation formula can be expressed by adopting a formula (3):
Figure SMS_3
(3);
Wherein, (x) 1 ,y 1 ) Is the central coordinate point of an area image in the target dyeing area, (x) 2 ,y 2 ) Is the center of a liquid injection through hole closest to the dyeing area currently calculated, r 0 Is the radius of the liquid injection through hole.
Calculating the basic dyeing area and the offset coefficient according to a liquid injection calculation formula to obtain a corresponding volume calculation value, wherein the obtained volume calculation value is used as a liquid injection parameter of a corresponding area image, and specifically, the liquid injection calculation formula can be expressed by adopting a formula (4):
Figure SMS_4
(4);
wherein S is d For the basic staining area of the area image, F is the offset coefficient corresponding to the area image, e is the natural logarithmic base, b is a pre-configured fixed coefficient value, e.g. b can be set to 0.3, c is the calculated volume calculation value (only the integer value of the calculated result is reserved), and the unit is microliter (μl).
And S140, sending a corresponding liquid injection control instruction to the liquid injection assembly according to the liquid injection parameter and the area image of the target dyeing area so as to control the liquid injection assembly to add the dyeing reagent to the position corresponding to the area image.
And sending a corresponding liquid injection control instruction to the liquid injection assembly according to the liquid injection parameter and the area image of the target dyeing area so as to control the liquid injection assembly to add the dyeing reagent to the position corresponding to the area image. In the specific application process, according to the liquid injection parameters of each area image and the circle centers of the liquid injection through holes corresponding to the area images, corresponding liquid injection control instructions are sent to the liquid injection assembly, the liquid injection assembly controls the liquid injection needle to move to the circle centers of the liquid injection through holes corresponding to the area images according to the liquid injection control instructions, and outputs a dyeing reagent corresponding to the liquid injection parameters of the area images to a glass slide below the current liquid injection needle, and at the moment, the dyeing reagent is spread on the glass slide and covers the sample to realize dyeing of the sample; the position corresponding to the area image is the center of the liquid injection through hole corresponding to the area image. And (3) adding a staining reagent to the sample corresponding to each region image in the target staining region, wherein each region image corresponds to one liquid injection parameter, so that the sample corresponding to each region image is stained respectively.
And S150, recording the liquid injection time and the liquid injection coordinate area of each target dyeing area to obtain liquid injection record information.
And recording the liquid injection time and the liquid injection coordinate area of each target dyeing area to obtain liquid injection record information. Each time the controller sends out a liquid injection control instruction, namely recording liquid injection time and a liquid injection coordinate area, wherein the liquid injection time and the liquid injection coordinate area are formed into liquid injection record information, and each liquid injection control instruction corresponds to a group of liquid injection record information. The liquid injection time is a specific time for sending a liquid injection control instruction, and the liquid injection coordinate area is an area which is determined corresponding to the coordinate position of the liquid injection needle when liquid injection is performed, for example, the coordinate position is determined to be a circle center according to the coordinate position of the liquid injection needle when liquid injection is performed and the liquid injection radius, and the circle center area with the liquid injection radius being the area radius is determined to be the liquid injection coordinate area, and the liquid injection coordinate area is the circle center area corresponding to the coordinate position of the liquid injection needle when liquid injection is performed.
And S160, controlling the image acquisition assembly to continuously acquire the region dyeing images corresponding to the target dyeing regions according to the liquid injection record information and the preset dyeing time.
And controlling the image acquisition assembly to continuously acquire the region dyeing images corresponding to the target dyeing regions according to the liquid injection record information and the preset dyeing time. In order to keep the same dyeing time length of the samples corresponding to the images of each area, the image acquisition assembly can be controlled to continuously acquire images according to the liquid injection recording time and the preset dyeing time length, wherein the dyeing time length can be preset by an operator of the double-hole machine. After continuously collecting images, a plurality of collected images can be correspondingly obtained, and the regional dyeing images corresponding to each target dyeing region can be obtained by intercepting the obtained images according to the liquid injection record information, so that the regional dyeing images are the dyeing results corresponding to each sample.
In a specific embodiment, step S160 includes the sub-steps of: determining a corresponding image acquisition time point according to the liquid injection time in the liquid injection record information and the dyeing time length; an image acquisition instruction is sent to the image acquisition assembly according to the image acquisition time point so as to acquire an initial acquisition image continuously; and respectively intercepting dyeing completion images corresponding to the target dyeing areas from the initial acquired images according to the liquid injection coordinate areas in the liquid injection record information to serve as area dyeing images.
And determining the image acquisition time point corresponding to each area image according to the liquid injection time and the dyeing time length in the liquid injection record information of each area image. For example, if the injection time in the injection record information of an image of a certain area is 16:04:03 and the dyeing time is 15 minutes, the image acquisition time point can be determined to be 15 minutes after the injection time, that is, 16:19:03.
And when the image acquisition time point of any region image is reached, an image acquisition instruction can be sent to the image acquisition component, so that an initial acquisition image is acquired correspondingly according to the image acquisition time point of the image acquisition component. Because the image acquisition time points of the plurality of area images are included, a plurality of initial acquisition images can be acquired correspondingly, namely the number of the acquired initial acquisition images is equal to the image acquisition time points of the area images. The initial acquisition image comprises dyeing information of all samples on the glass slide, so that the dyeing information of the samples of the area image corresponding to the initial acquisition image in the initial acquisition image can be accurately acquired, a dyeing completion image corresponding to the liquid injection coordinate area of the area image can be intercepted from the initial acquisition image corresponding to the area image according to the liquid injection coordinate area in the liquid injection record information, and the intercepted image is the dyeing completion image corresponding to the target dyeing area intercepted from the initial acquisition image; and if the number of the obtained dyeing completion images intercepted by each target dyeing area is equal to the number of the area images contained in the target dyeing area, combining one or more dyeing completion images corresponding to the target dyeing area into an area dyeing image corresponding to the target dyeing area.
In the intelligent dyeing control method disclosed in the above embodiment, the method includes: analyzing an initial sample image before dyeing to determine a target dyeing area, acquiring sample characteristic parameters of the target dyeing area, matching corresponding liquid injection parameters, sending corresponding liquid injection control instructions according to the liquid injection parameters to control a liquid injection component to inject a dyeing reagent into the target dyeing area, recording liquid injection time and liquid injection coordinate areas of the target dyeing area to obtain liquid injection record information, and controlling an image acquisition component to acquire area dyeing images of all the target dyeing areas according to the liquid injection record information and dyeing time. According to the intelligent dyeing control method, the liquid injection component can be intelligently controlled to add the dyeing reagent to the sample based on the initial sample image and the weight information, the dyeing image of the region is intelligently collected according to the dyeing time, the samples in each target dyeing region can be dyed for a certain time under a certain condition, namely, the dyeing uniformity of each sample is ensured, environmental errors in the sample dyeing process are avoided, and the efficiency of dyeing control and dyeing image collection of biological samples is improved.
Referring to fig. 3 to 8, an embodiment of the present invention further provides an intelligent dyeing dual-hole machine, wherein a controller in the intelligent dyeing dual-hole machine applies the intelligent dyeing control method described in the above embodiment, and the intelligent dyeing dual-hole machine includes a tray 1, a slide frame 2 disposed in the tray 1, a cover plate 3 covered on the tray 1, an image acquisition assembly 4 fixedly disposed above the cover plate 3, and a liquid injection assembly 6 fixedly disposed above the cover plate 3; the cover plate 3 is a transparent cover plate. The tray 1 is used for containing water, a heating wire 101 is arranged at the bottom of the tray 1, and the controller 5 is electrically connected with the heating wire 101 and the image acquisition assembly 4; a plurality of slide placement positions 21 are arranged on the slide frame 2; each slide placement position 21 is used for placing one slide; a pressure sensor 211 is arranged at the lower end of the slide placing position 21, and the pressure sensor 211 is electrically connected with the controller 5; a through hole 22 is formed in the side surface of each slide placement position 21 on the slide frame 2, and the end part of a blocking strip 23 arranged on one side of the slide placement position 21 penetrates through the corresponding through hole 22 and extends to the lower side of the slide frame 2; the barrier strip 23 is a water absorption barrier strip with capillary holes; the through holes 22 are provided at one end in the longitudinal direction of the slide placement position 21 corresponding to each of the through holes 22; one end of the barrier strip 23 far away from the through hole 22 is fixed on the slide frame 2 through a fixed column 24, the fixed column 24 is arranged on a sliding bracket 25, a sliding rail 26 matched with the sliding bracket 25 is arranged on the upper end surface of the slide frame 2, a motor 251 arranged in the sliding bracket 25 drives the sliding bracket 25 to slide along the sliding rail 26, and the controller 5 is electrically connected with the motor 251; two liquid injection through holes 31 are formed in the cover plate 3 at positions corresponding to the slide placement positions 21; the liquid injection assembly 6 comprises a liquid injection driving mechanism 61 and a liquid injection support arm 62 arranged on the liquid injection driving mechanism 61, at least one liquid injection needle 63 is fixedly arranged on the liquid injection support arm 62, the upper end of the liquid injection needle 63 is communicated with a liquid injection pipe 64, and the specific structure of the liquid injection assembly is shown in fig. 5. The liquid injection driving mechanism 61 can drive the liquid injection support arm 62 to horizontally move and vertically move, thereby driving the liquid injection needle 63 fixedly arranged on the liquid injection support arm 62 to horizontally move or vertically move
Specifically, the barrier strip 23 is a water-absorbing barrier strip containing capillary holes, that is, the barrier strip 23 can be made of a water-absorbing material, water contained in the tray 1 is sucked onto the tray 1 through capillary phenomenon of the capillary holes on the barrier strip 23, the barrier strip 23 forms a moist environment around the slide placement position 21, that is, after the barrier strip 23 sucks water, a higher water enclosing wall is formed around the slide placement position 21, and the water enclosing wall is used for keeping the humidity of a slide in the slide placement position 21 constant by evaporating the water sucked by the barrier strip 23, so that the reactant on the slide is prevented from evaporating and drying, and the constant humidity is kept around the liquid to be reacted on the slide of the slide placement position 21 under different environment temperatures by adjusting the height of the barrier strip 23 and the length of the barrier strip 23 extending along the slide placement position 21. Specifically, in order to keep the water contained in the tray 1 at a constant temperature, a heating wire 101 may be disposed at the bottom of the tray 1, and the heating power of the heating wire may be adjusted by the controller 5, so as to heat the water contained in the tray 1 to keep the constant temperature. A certain gap is formed between the lower end surface of the slide frame 2 and the bottom of the tray 1, and a certain gap is also formed between the side surface of the slide frame 2 and the side wall of the tray 1.
Specifically, the controller 5 is connected with the image acquisition component 4 fixedly arranged above the cover plate 3, the cover plate 3 is a transparent cover plate, and the image acquisition component 4 can acquire images of liquid to be reacted on the glass slide at the lower side of the cover plate 3. The controller 5 is connected with a setting device arranged on the side surface of the tray 1, wherein the setting device can be used for inputting the set reaction temperature, and the setting device can be a button or a knob. After the controller 5 obtains the initial image of the liquid to be reacted, the initial image is analyzed and corresponding control parameters are determined by combining the set reaction temperature, and corresponding control instructions are sent out according to the control parameters to adjust the position of the barrier strips 23 on one side of each glass slide and the heating power of the heating wire 101. Specifically, the controller 5 may obtain control parameters matched with each glass slide from the parameter configuration table, and send corresponding control instructions to the jacking cylinder 252, the motor 251 and the heating wire 101 according to the control parameters, where the control parameters include: heating power, heating period, heating duty cycle, height of the water absorbing barrier, length of the water absorbing barrier extending along the slide placement site, etc.
In a more specific embodiment, a jacking cylinder 252 is further disposed in the sliding support 25, the jacking cylinder 252 is electrically connected to the controller 5, and an end of the jacking cylinder 252 is fixedly connected to the fixing column 24 to drive the fixing column 24 to move vertically. Wherein, the sliding bracket 25 is recessed inwards to form a concave cavity, and the sliding bracket 25 is arranged on the motor 251 in a covering way.
In addition, a thermometer 102 and a water level detector 103 are arranged in the tray 1, the thermometer 102 is used for detecting the water temperature in the tray 1, and the water level detector 103 is used for detecting the water level in the tray 1; the thermometer 102 and the water level detector 103 are electrically connected with the controller 5, the thermometer 102 can send detected water temperature information to the controller 5, the water level detector 103 can send detected water level detection information to the controller 5, and the controller 5 can control the heating wire more accurately according to the water temperature information and the water level detection information.
Specifically, as shown in fig. 7, the internal structure of the sliding support 25 is that pulleys 253 are disposed on two sides of the sliding support 25, the pulleys 253 are driven by a motor 251 fixedly disposed on a fixed plate 254, the motor 251 rotates and drives the pulleys 253 to rotate by a gear, the sliding support 25 is covered on the pulleys 253 and the motor 251, the pulleys 253 slide to drive the sliding support 25 to slide along the slide rail 26, and the stop bar 23 is fixed by the fixed column 24, so that when the motor 251 drives the sliding support 25 and the fixed column thereon to slide along the slide rail 26, the stop bar 23 can be driven to move at the same time, thereby adjusting the length of the stop bar 23 extending along the slide placement position 21. The fixing plate 254 is provided with a jacking cylinder 252, and the end of the jacking cylinder 252 is fixedly connected with the fixing column 24, so that the jacking cylinder 252 can drive the fixing column 24 to vertically move, and the height of the stop bar 23 is adjusted through the lifting of the fixing column 24, namely, the vertical distance between the lower end surface of the stop bar 23 and the glass slide is adjusted.
In a more specific embodiment, the upper end surface of the slide holder 2 is recessed downward to form a plurality of elongated slide placement positions 21, and the longitudinal direction of the barrier rib 23 is parallel to the longitudinal direction of the slide placement positions 21. Specifically, the slide placement bits 21 are arranged in a matrix on the slide holder 2. Wherein the through holes 22 are provided at one end in the longitudinal direction of the slide placement bit 21 corresponding to each of the through holes 22.
The upper end surface of the slide frame 2 is recessed downward to form a plurality of slide placement positions 21, and the slide placement positions 21 are formed in a strip shape, and the plurality of slide placement positions arranged on the slide frame 2 are arranged in a matrix on the slide frame 2, so that more slide placement positions 2 are arranged on the slide frame 2 as much as possible, and the specific arrangement mode is shown in fig. 5. Wherein, each slide placement position 21 is correspondingly provided with a through hole 22, and the through hole 22 is arranged at one end of the slide placement position in the long side direction, thereby enabling the structure to be more compact, and the arrangement mode of the through hole 22 is shown in fig. 6.
In a more specific embodiment, the long side direction of the barrier rib 23 is parallel to the long side direction of the slide placement position 21. Specifically, the cross section of the barrier rib 23 is rectangular. Wherein, the end of the baffle bar 23 far away from the through hole 22 is fixed on the slide frame 2 through a fixing column 24.
To improve the moisturizing effect of the barrier rib 23, the longitudinal direction of the barrier rib 23 may be parallel to the longitudinal direction of the slide placement position 21, so that the extending length of the barrier rib 23 is as long as possible, and the moisturizing effect of the barrier rib 23 by evaporating the absorbed moisture is improved. The cross section of the barrier rib 23 can be rectangular, so that the contact area between the barrier rib 23 and the outside is increased as much as possible; in a more specific embodiment, a groove may be further formed on the surface of the barrier rib 23, so as to further increase the contact area between the barrier rib 23 and the outside, and increase the contact area between the barrier rib 23 and the outside, so that the evaporation amount of water can be increased, and the moisturizing effect is further improved.
The one end of keeping away from on the slide frame 2 the through-hole 22 still is provided with fixed column 24, and fixed column 24 is fixed to be set up on the slide frame 2 with the slide frame 2, and the blend stop 23 is fixed in on the slide frame 2 through the fixed column, is provided with blend stop through-hole 231 on the blend stop 23, thereby fixed column 24 embedding blend stop through-hole 231 is fixed to the blend stop 23.
In a more specific embodiment, the gap between the cover plate 3 and the slide frame 2 is 1 to 1.25 times the height of the barrier rib 23.
There is certain interval between apron 3 and slide frame 2, and the accessible blend stop 23 forms the shielding at slide position 21 to the interval can set up to 1~1.25 times of blend stop 23 height, rationally set up the height of blend stop 23 to improve the effect of keeping constant humidity environment.
In a more specific embodiment, a plurality of liquid injection through holes 31 may be formed in the cover plate 3 at positions corresponding to each slide placement position 21, for example, two liquid injection through holes 31 are formed corresponding to each slide placement position 21, and the detection reagent is dripped onto the slide of the slide placement position 21 through any one of the liquid injection through holes 31 through the liquid injection needle. The liquid injection support arm 62 can be further provided with a plurality of liquid injection needles 63, for example, two liquid injection needles 63 are arranged on the liquid injection support arm 62, different dyeing reagents are respectively injected into the two liquid injection needles 63 onto the same glass slide, and each liquid injection needle 63 corresponds to use one liquid injection through hole 31 above the glass slide for liquid injection operation, so that two samples on the glass slide are simultaneously dyed by adopting different dyeing reagents, and the experimental efficiency can be improved by using the two liquid injection needles 63 and the two liquid injection through holes 31 in a matched manner. More specifically, a liquid sucking needle can be arranged on the liquid injection support arm 62, and the liquid sucking needle extends into the liquid injection through hole 31 so as to extract the dyed waste reagent; the washing pipe can be arranged on the liquid injection support arm, and water flow is sprayed through the washing pipe so as to wash the residual reagent after dyeing on the glass slide. The cover plate 3 is made of organic glass, and a user can more conveniently observe the reaction process of the reagent through the transparent cover plate.
The intelligent dyeing control method is applied to the intelligent dyeing double-hole machine provided by the embodiment of the invention, and comprises the following steps: analyzing an initial sample image before dyeing to determine a target dyeing area, acquiring sample characteristic parameters of the target dyeing area, matching corresponding liquid injection parameters, sending corresponding liquid injection control instructions according to the liquid injection parameters to control a liquid injection component to inject a dyeing reagent into the target dyeing area, recording liquid injection time and liquid injection coordinate areas of the target dyeing area to obtain liquid injection record information, and controlling an image acquisition component to acquire area dyeing images of all the target dyeing areas according to the liquid injection record information and dyeing time. According to the intelligent dyeing control method, the liquid injection component can be intelligently controlled to add the dyeing reagent to the sample based on the initial sample image and the weight information, the dyeing images of the areas are intelligently collected according to the dyeing time, the samples in each target dyeing area can be dyed for a certain time under a certain condition, and the efficiency of dyeing control and dyeing image collection of the biological sample is improved.
The intelligent dye control method described above may be implemented in the form of a computer program, and the controller 5 described above may be implemented in the form of a computer device, which computer program may be run on the computer device as shown in fig. 8.
Referring to fig. 8, fig. 8 is a schematic block diagram of a computer device according to an embodiment of the present invention. The computer device may be a controller 5 for performing the intelligent dye control method.
With reference to FIG. 8, the computer device 500 includes a processor 502, a memory, and a network interface 505, connected by a system bus 501, where the memory may include a storage medium 503 and an internal memory 504.
The storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, may cause the processor 502 to perform an intelligent dye control method, wherein the storage medium 503 may be a volatile storage medium or a non-volatile storage medium.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the execution of a computer program 5032 in the storage medium 503, which computer program 5032, when executed by the processor 502, causes the processor 502 to perform the intelligent dye control method.
The network interface 505 is used for network communication, such as providing for transmission of data information, etc. It will be appreciated by those skilled in the art that the architecture shown in fig. 8 is merely a block diagram of some of the architecture relevant to the present inventive arrangements and is not limiting of the computer device 500 to which the present inventive arrangements may be implemented, as a particular computer device 500 may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
The processor 502 is configured to execute a computer program 5032 stored in a memory, so as to implement the corresponding functions in the intelligent dyeing control method.
Those skilled in the art will appreciate that the embodiment of the computer device shown in fig. 8 is not limiting of the specific construction of the computer device, and in other embodiments, the computer device may include more or less components than those shown, or certain components may be combined, or a different arrangement of components. For example, in some embodiments, the computer device may include only a memory and a processor, and in such embodiments, the structure and function of the memory and the processor are consistent with the embodiment shown in fig. 8, and will not be described again.
It should be appreciated that in an embodiment of the invention, the processor 502 may be a central processing unit (Central Processing Unit, CPU), the processor 502 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (Application Specific Integrated Circuit, ASICs), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In another embodiment of the invention, a computer-readable storage medium is provided. The computer readable storage medium may be a volatile or nonvolatile computer readable storage medium. The computer readable storage medium stores a computer program, wherein the computer program when executed by a processor implements the steps included in the intelligent dye control method described above.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus, device and unit described above may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein. Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units is merely a logical function division, there may be another division manner in actual implementation, or units having the same function may be integrated into one unit, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices, or elements, or may be an electrical, mechanical, or other form of connection.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment of the present invention.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention is essentially or part of what contributes to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a computer-readable storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned computer-readable storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (10)

1. The intelligent dyeing control method is characterized by being applied to a controller of an intelligent dyeing double-hole machine, wherein the controller is in communication connection with an image acquisition assembly and a liquid injection assembly which are arranged on the intelligent dyeing double-hole machine, and the method comprises the following steps:
if an initial sample image acquired by the image acquisition component is received, analyzing the initial sample image according to a preset image analysis rule to determine a target dyeing area;
acquiring weight information of a glass slide to which the target dyeing region belongs, and calculating sample characteristic parameters of the target dyeing region according to the weight information and a region image of the target dyeing region;
acquiring liquid injection parameters matched with the characteristic parameters of each sample from a preset liquid injection configuration table;
Sending a corresponding liquid injection control instruction to the liquid injection assembly according to the liquid injection parameter and the area image of the target dyeing area so as to control the liquid injection assembly to add the dyeing reagent to the position corresponding to the area image;
recording the liquid injection time and the liquid injection coordinate area of each target dyeing area to obtain liquid injection record information;
and controlling the image acquisition assembly to continuously acquire the region dyeing images corresponding to the target dyeing regions according to the liquid injection record information and the preset dyeing time.
2. The intelligent dye control method according to claim 1, wherein the analyzing the initial sample image according to a preset image analysis rule to determine a target dye region comprises:
filtering background pixels in the initial sample image according to a background value interval in the image analysis rule to obtain a background-removed image;
dividing the background-removed image according to a pre-stored area template to obtain a plurality of corresponding alternative area images;
performing binarization processing on the alternative area images to obtain binarized images corresponding to the alternative area images;
judging whether the alternative area image contains dyeing conditions conforming to the image analysis rule;
And acquiring the region where the image of the alternative region meeting the dyeing conditions is located as a target dyeing region.
3. The intelligent dye control method according to claim 1, wherein the calculating the sample characteristic parameter of the target dye region from the weight information and the region image of the target dye region comprises:
intercepting and obtaining an area image corresponding to the dyeing sample from the binarized image of the target dyeing area;
obtaining geometric characteristic parameters of each regional image;
calculating according to the weight information corresponding to each target dyeing area and the corresponding geometric characteristic parameters to obtain the dyeing coefficient of each target dyeing area;
and combining the dyeing coefficient and the geometric characteristic parameter of each target dyeing area to serve as corresponding sample characteristic parameters.
4. The intelligent dyeing control method according to claim 1, wherein the obtaining, from a preset liquid injection configuration table, liquid injection parameters that match each of the sample characteristic parameters includes:
matching the sample characteristic parameters of each target dyeing area with the corresponding standard samples in the liquid injection configuration table;
and acquiring the volume value of the standard sample matched with each sample characteristic parameter as the liquid injection parameter matched with each sample characteristic parameter.
5. The intelligent dyeing control method according to claim 1, wherein the obtaining, from a preset liquid injection configuration table, liquid injection parameters that match each of the sample characteristic parameters includes:
matching the sample characteristic parameters of each target dyeing area with the corresponding standard samples in the liquid injection configuration table;
obtaining dyeing area values of standard samples matched with the characteristic parameters of each sample as corresponding basic dyeing areas;
obtaining the offset coefficient of the regional image in each target dyeing region according to the liquid injection center point corresponding to each target dyeing region;
and calculating the basic dyeing area and the offset coefficient according to a liquid injection calculation formula in the liquid injection configuration table to obtain a volume calculation value of each sample characteristic parameter as the liquid injection parameter.
6. The intelligent dyeing control method according to claim 5, wherein the obtaining the offset coefficient of the area image in each target dyeing area according to the liquid injection center point corresponding to each target dyeing area comprises:
obtaining offset distance values of the region images in the target dyeing regions, wherein the offset distance values are distance values between the coordinates of the central points of the region images and the liquid injection central points corresponding to the target dyeing regions and the region images;
And calculating the offset distance value according to an offset coefficient calculation formula in the liquid injection configuration table to obtain a corresponding offset coefficient.
7. The intelligent dyeing control method according to claim 1, wherein the controlling the image acquisition assembly to continuously acquire the region dyeing image corresponding to each target dyeing region according to the liquid injection record information and the preset dyeing time length comprises:
determining a corresponding image acquisition time point according to the liquid injection time in the liquid injection record information and the dyeing time length;
an image acquisition instruction is sent to the image acquisition assembly according to the image acquisition time point so as to acquire an initial acquisition image continuously;
and respectively intercepting dyeing completion images corresponding to the target dyeing areas from the initial acquired images according to the liquid injection coordinate areas in the liquid injection record information to serve as area dyeing images.
8. An intelligent dyeing control device is characterized in that a controller in the intelligent dyeing double-hole machine applies the intelligent dyeing control method according to any one of claims 1-7, and the intelligent dyeing double-hole machine comprises a tray, a slide frame arranged in the tray, a cover plate covered on the tray, an image acquisition component fixedly arranged above the cover plate and a liquid injection component fixedly arranged above the cover plate; the cover plate is a transparent cover plate;
The tray is used for containing water, a heating wire is arranged at the bottom of the tray, and the controller is electrically connected with the heating wire and the image acquisition assembly;
a plurality of slide placing positions are arranged on the slide frame; placing a slide on each slide placing position; the lower end of the slide placing position is provided with a pressure sensor which is electrically connected with the controller;
a through hole is formed in the side face of each slide placing position on the slide frame, and the end part of the baffle strip arranged on one side of the slide placing position penetrates through the corresponding through hole and extends to the lower side of the slide frame; the barrier strip is a water-absorbing barrier strip with capillary holes;
the through holes are arranged at one end of the long side direction of the slide placing position corresponding to each through hole;
one end of the barrier strip, which is far away from the through hole, is fixed on the slide rack through a fixed column, the fixed column is arranged on a sliding support, the upper end surface of the slide rack is provided with a sliding rail which is matched with the sliding support, a motor arranged in the sliding support drives the sliding support to slide along the sliding rail, and the controller is electrically connected with the motor;
Two liquid injection through holes are formed in the cover plate at positions corresponding to the slide placing positions;
the liquid injection assembly comprises a liquid injection driving mechanism and a liquid injection support arm arranged on the liquid injection driving mechanism, at least one liquid injection needle is fixedly arranged on the liquid injection support arm, and the upper end of the liquid injection needle is communicated with the infusion tube.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the computer device implements the intelligent dye control method according to any one of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program, which when executed by a processor implements the intelligent dyeing control method according to any one of claims 1 to 7.
CN202310676221.XA 2023-06-08 2023-06-08 Intelligent dyeing control method and intelligent dyeing double-hole machine Active CN116413111B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310676221.XA CN116413111B (en) 2023-06-08 2023-06-08 Intelligent dyeing control method and intelligent dyeing double-hole machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310676221.XA CN116413111B (en) 2023-06-08 2023-06-08 Intelligent dyeing control method and intelligent dyeing double-hole machine

Publications (2)

Publication Number Publication Date
CN116413111A true CN116413111A (en) 2023-07-11
CN116413111B CN116413111B (en) 2023-08-11

Family

ID=87049549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310676221.XA Active CN116413111B (en) 2023-06-08 2023-06-08 Intelligent dyeing control method and intelligent dyeing double-hole machine

Country Status (1)

Country Link
CN (1) CN116413111B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040009098A1 (en) * 2002-06-14 2004-01-15 Torre-Bueno Jose De La Automated slide staining apparatus
US20040033163A1 (en) * 2001-11-26 2004-02-19 Lab Vision Corporation Automated tissue staining system and reagent container
US20110223632A1 (en) * 2010-03-11 2011-09-15 Sysmex Corporation Smear staining apparatus, smear preparing apparatus, smear processing system, and method for determining staining condition
CN109520805A (en) * 2018-11-27 2019-03-26 武汉医尔特科技有限公司 A kind of full-automatic liquid-based cell sample manufacturing dyeing all-in-one machine
CN113933134A (en) * 2020-07-14 2022-01-14 深圳迈瑞生物医疗电子股份有限公司 Staining method for staining sample and related equipment
CN114299025A (en) * 2021-12-29 2022-04-08 深圳乐易通医疗设备研发有限公司 Dyeing monitoring system for pathological sample
CN114324917A (en) * 2020-09-30 2022-04-12 深圳迈瑞生物医疗电子股份有限公司 Sample analysis system, cell image analysis apparatus, and smear quality detection method
CN216847145U (en) * 2021-12-07 2022-06-28 亚能生物技术(深圳)有限公司 Immunohistochemical dyeing machine

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040033163A1 (en) * 2001-11-26 2004-02-19 Lab Vision Corporation Automated tissue staining system and reagent container
US20040009098A1 (en) * 2002-06-14 2004-01-15 Torre-Bueno Jose De La Automated slide staining apparatus
US20110223632A1 (en) * 2010-03-11 2011-09-15 Sysmex Corporation Smear staining apparatus, smear preparing apparatus, smear processing system, and method for determining staining condition
CN109520805A (en) * 2018-11-27 2019-03-26 武汉医尔特科技有限公司 A kind of full-automatic liquid-based cell sample manufacturing dyeing all-in-one machine
CN113933134A (en) * 2020-07-14 2022-01-14 深圳迈瑞生物医疗电子股份有限公司 Staining method for staining sample and related equipment
CN114324917A (en) * 2020-09-30 2022-04-12 深圳迈瑞生物医疗电子股份有限公司 Sample analysis system, cell image analysis apparatus, and smear quality detection method
CN216847145U (en) * 2021-12-07 2022-06-28 亚能生物技术(深圳)有限公司 Immunohistochemical dyeing machine
CN114299025A (en) * 2021-12-29 2022-04-08 深圳乐易通医疗设备研发有限公司 Dyeing monitoring system for pathological sample

Also Published As

Publication number Publication date
CN116413111B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
US11419532B2 (en) Analyte detection devices and methods with hematocrit/volume correction and feedback control
US5583279A (en) Method for calibrating a piston and cylinder type applicator
US8911679B2 (en) Color-based reaction testing of biological materials
US20190302097A1 (en) A urine analysis system and a method for urine analysis
AU2018356385B2 (en) Methods and devices for performing an analytical measurement
RU2010108229A (en) SYSTEM AND METHOD FOR AUTOMATIC CALIBRATION
CA3117435C (en) Methods and devices for performing an analytical measurement
CA3102609A1 (en) A calibration method for calibrating a camera of a mobile device for detecting an analyte in a sample
CA3054601C (en) A lateral flow test system
KR20190116382A (en) How to improve the usefulness and accuracy of physiological measurements
CN116413111B (en) Intelligent dyeing control method and intelligent dyeing double-hole machine
EP1674853A1 (en) A method of reading an assay using low resolution detection
CN110438747B (en) Clothes identification method and device and clothes treatment device
CN113466443A (en) A test paper box and sample detection device for depositing test paper
EP4105663A1 (en) Method for automatically distinguishing whole blood/plasma/non-suction by means of reflective photosensor
US7776608B2 (en) Volume meter testing device and method of use
US7452506B2 (en) Automated staining and decolorization of biological material
CN103389329A (en) Biological sample identifying instrument
JP7436480B2 (en) How to determine the concentration of an analyte in body fluids
CN207096260U (en) A kind of multi-joint test paper of fluorescence with shade function
US20080227183A1 (en) Apparatus for supporting diagnosis of cancer
CN112585449A (en) Method and apparatus for selecting slide medium image reading position
KR20190067003A (en) Target cells isolator and position determining method thereof
CN217359620U (en) Test paper analyzer
CN202770844U (en) Dry-chemical full-automatic processing and analyzing system for bacterial vaginosis

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant