CN113514123A - Blood collection tube serum liquid level detection method and device - Google Patents
Blood collection tube serum liquid level detection method and device Download PDFInfo
- Publication number
- CN113514123A CN113514123A CN202110447709.6A CN202110447709A CN113514123A CN 113514123 A CN113514123 A CN 113514123A CN 202110447709 A CN202110447709 A CN 202110447709A CN 113514123 A CN113514123 A CN 113514123A
- Authority
- CN
- China
- Prior art keywords
- serum
- image
- liquid level
- blood collection
- collection tube
- 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.)
- Pending
Links
- 210000002966 serum Anatomy 0.000 title claims abstract description 160
- 239000007788 liquid Substances 0.000 title claims abstract description 102
- 210000004369 blood Anatomy 0.000 title claims abstract description 82
- 239000008280 blood Substances 0.000 title claims abstract description 82
- 238000001514 detection method Methods 0.000 title claims abstract description 31
- 230000011218 segmentation Effects 0.000 claims abstract description 49
- 238000012545 processing Methods 0.000 claims abstract description 22
- 238000004364 calculation method Methods 0.000 claims abstract description 17
- 238000000034 method Methods 0.000 claims abstract description 16
- 238000000926 separation method Methods 0.000 claims abstract description 16
- 238000003709 image segmentation Methods 0.000 claims description 12
- HTTJABKRGRZYRN-UHFFFAOYSA-N Heparin Chemical compound OC1C(NC(=O)C)C(O)OC(COS(O)(=O)=O)C1OC1C(OS(O)(=O)=O)C(O)C(OC2C(C(OS(O)(=O)=O)C(OC3C(C(O)C(O)C(O3)C(O)=O)OS(O)(=O)=O)C(CO)O2)NS(O)(=O)=O)C(C(O)=O)O1 HTTJABKRGRZYRN-UHFFFAOYSA-N 0.000 claims description 6
- 229960002897 heparin Drugs 0.000 claims description 6
- 229920000669 heparin Polymers 0.000 claims description 6
- 230000000877 morphologic effect Effects 0.000 claims description 4
- 238000003672 processing method Methods 0.000 claims description 4
- 230000000903 blocking effect Effects 0.000 claims description 2
- 238000000638 solvent extraction Methods 0.000 claims 1
- 238000000605 extraction Methods 0.000 abstract description 11
- 230000008569 process Effects 0.000 description 5
- 208000007536 Thrombosis Diseases 0.000 description 4
- 238000010241 blood sampling Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 102000008946 Fibrinogen Human genes 0.000 description 2
- 108010049003 Fibrinogen Proteins 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 230000006378 damage Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 229940012952 fibrinogen Drugs 0.000 description 2
- 239000003102 growth factor Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 102000015081 Blood Coagulation Factors Human genes 0.000 description 1
- 108010039209 Blood Coagulation Factors Proteins 0.000 description 1
- 208000019838 Blood disease Diseases 0.000 description 1
- 208000024172 Cardiovascular disease Diseases 0.000 description 1
- 102000014914 Carrier Proteins Human genes 0.000 description 1
- 208000004930 Fatty Liver Diseases 0.000 description 1
- 206010019708 Hepatic steatosis Diseases 0.000 description 1
- 208000031226 Hyperlipidaemia Diseases 0.000 description 1
- 208000013016 Hypoglycemia Diseases 0.000 description 1
- 241001465754 Metazoa Species 0.000 description 1
- 206010029164 Nephrotic syndrome Diseases 0.000 description 1
- 241000270295 Serpentes Species 0.000 description 1
- 208000027418 Wounds and injury Diseases 0.000 description 1
- 230000001464 adherent effect Effects 0.000 description 1
- 208000007502 anemia Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 108091008324 binding proteins Proteins 0.000 description 1
- 239000003114 blood coagulation factor Substances 0.000 description 1
- 230000036765 blood level Effects 0.000 description 1
- 208000026106 cerebrovascular disease Diseases 0.000 description 1
- 201000001352 cholecystitis Diseases 0.000 description 1
- 206010012601 diabetes mellitus Diseases 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 208000010706 fatty liver disease Diseases 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003862 health status Effects 0.000 description 1
- 208000014951 hematologic disease Diseases 0.000 description 1
- 208000018706 hematopoietic system disease Diseases 0.000 description 1
- 208000005252 hepatitis A Diseases 0.000 description 1
- 208000002672 hepatitis B Diseases 0.000 description 1
- 229940088597 hormone Drugs 0.000 description 1
- 239000005556 hormone Substances 0.000 description 1
- 230000002218 hypoglycaemic effect Effects 0.000 description 1
- 238000003018 immunoassay Methods 0.000 description 1
- 208000015181 infectious disease Diseases 0.000 description 1
- 208000014674 injury Diseases 0.000 description 1
- 230000003907 kidney function Effects 0.000 description 1
- 230000003908 liver function Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 235000015097 nutrients Nutrition 0.000 description 1
- 239000003973 paint Substances 0.000 description 1
- 230000036285 pathological change Effects 0.000 description 1
- 231100000915 pathological change Toxicity 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 231100000240 steatosis hepatitis Toxicity 0.000 description 1
- 239000012463 white pigment Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F23/00—Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
Landscapes
- Physics & Mathematics (AREA)
- Fluid Mechanics (AREA)
- General Physics & Mathematics (AREA)
- Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)
- Investigating Or Analysing Biological Materials (AREA)
Abstract
The invention discloses a blood collection tube serum liquid level detection method and a device, wherein the method comprises the steps of S1, shooting a blood collection tube and outputting a blood collection tube image; s2, performing RGB three-channel color separation on the blood collection tube image to obtain an R channel image, a G channel image and a B channel image; and S3, performing segmentation processing on the R channel image, obtaining the maximum vertical coordinate of the connected region of the image as the lower serum liquid level position, performing segmentation processing on the B channel image, taking the minimum vertical coordinate of the top surface of the columnar connected region in the image as the upper serum liquid level position, and calculating and outputting the liquid level height of the serum according to the difference value between the lower serum liquid level position and the upper serum liquid level position. Through shooting and obtaining the blood collection tube image, RGB three-channel color separation is carried out, R channel image and B channel image are segmented and processed to calculate the position of the lower liquid level of serum and the position of the upper liquid level of serum, the height of serum is obtained through difference calculation, automatic identification of the liquid level height of serum is achieved, and effective extraction of serum is achieved.
Description
Technical Field
The invention relates to the technical field of serum liquid level, in particular to a method and a device for detecting the serum liquid level of a blood collection tube.
Background
Serum refers to a yellowish transparent liquid separated after the plasma has been coagulated to remove fibrinogen and certain coagulation factors or to plasma from which fibrinogen has been removed. Its main functions are to provide basic nutrients, hormones and various growth factors, binding proteins, pro-contacts and growth factors to make cells adherent to walls from mechanical damage, and some protection of the cells in culture.
Therefore, by detecting the components in the serum, the corresponding health status of a human or an animal can be obtained. For example, serum tests can be used to screen for infection, anemia, and certain blood disorders. Liver function, fatty liver, cholecystitis, etc. Renal function injury diagnosis such as nephrotic syndrome, diabetes, hypoglycemia, hyperlipidemia, cardiovascular disease and cerebrovascular disease risk reference, hepatitis B, hepatitis A infection, etc.
The serum detection is mainly used for biochemical experiment projects and immunoassay projects, and a certain amount of serum needs to be extracted through a sample needle of an instrument for detection in the detection process. However, in practice, the blood level of serum varies depending on the amount of blood in the blood collection tube. When the position of the sample needle is fixed for serum extraction, if the serum amount is insufficient, partial blood clots can be extracted or the serum amount is insufficient, so that the actual test result is influenced.
Disclosure of Invention
The invention aims to provide a blood collection tube serum liquid level detection method and a blood collection tube serum liquid level detection device, which solve the problem that blood clots are extracted or serum cannot be extracted when the blood collection amount is insufficient, realize automatic identification of the serum liquid level height, further automatically adjust a sample needle and realize effective extraction of the serum.
In order to solve the technical problem, an embodiment of the present invention provides a blood collection tube serum level detection method, including:
s1, shooting a blood collection tube and outputting a blood collection tube image;
s2, performing RGB three-channel color separation on the blood collection tube image to obtain an R channel image, a G channel image and a B channel image;
and S3, performing segmentation processing on the R channel image, obtaining the maximum vertical coordinate of the connected region of the image as the lower serum liquid level position, performing segmentation processing on the B channel image, taking the minimum vertical coordinate of the top surface of the columnar connected region in the image as the upper serum liquid level position, and calculating and outputting the liquid level height of the serum according to the difference value between the lower serum liquid level position and the upper serum liquid level position.
Wherein the S3 includes:
carrying out OSTU binarization on the R channel image and the B channel image to obtain primary segmentation results R1 and B1 of a serum region and a blood region;
performing opening and closing operation on the initial segmentation results R1 and B1 by adopting a morphological processing method to obtain filtered segmentation results R2 and B2;
taking the segmentation results R2 and B2 as initial image segmentation results, taking the minimum circumscribed rectangle of the initial image segmentation result contour as an initial contour, and performing image segmentation by adopting a MorphACCWE model in a MorphSnakes algorithm to obtain segmentation results R3 and B3;
and calculating and acquiring the maximum ordinate of the connected region of the image as the position of the serum lower liquid level for the segmentation result R3. The minimum ordinate of the top surface of the columnar connected region in the image was calculated as the serum upper level position for the segmentation result B3.
Wherein the S3 further includes:
displaying the value of the liquid level height of the serum.
Wherein, after the S3, the method further comprises:
and adjusting the height of the sample needle according to the liquid level height of the serum.
Wherein, after the S3, the method further comprises:
judging whether the liquid level height of the serum is greater than a threshold value;
if not, the serum is insufficient and an alarm is given.
In addition, the embodiment of the invention also provides a blood collection tube serum liquid level detection device, which comprises:
the image shooting device is used for shooting the blood collection tube and outputting a blood collection tube image;
the channel color separation module is used for receiving the blood collection tube image, performing RGB three-channel color separation and outputting an obtained R channel image, a G channel image and a B channel image;
and the segmentation module is used for receiving the R channel image and the B channel image, performing segmentation processing calculation on the R channel image, acquiring the maximum vertical coordinate of a connected region of the image as a serum lower liquid level position, performing segmentation processing on the B channel image, taking the minimum vertical coordinate of the top surface of a cylindrical connected region in the image as a serum upper liquid level position, and calculating and outputting the liquid level height of serum according to the difference value between the serum lower liquid level position and the serum upper liquid level position.
Wherein, still include conveyer belt, pointolite and photoelectric sensor, the conveyer belt is used for carrying the heparin tube, photoelectric sensor is used for receiving the light of pointolite, and the heparin tube process the pointolite with send triggering signal, control after blockking light between the photoelectric sensor the image shooting ware is right the heparin tube is shot.
The device also comprises a vertically arranged white background plate which is arranged on the other side of the conveyor belt and corresponds to the image shooting device.
The device also comprises a sample needle adjusting module connected with the segmenting module and used for adjusting the height of the sample needle according to the liquid level height of the serum.
The liquid level display and the alarm are used for displaying the numerical value of the liquid level height of the serum, and the alarm gives an alarm after judging that the liquid level height of the serum is smaller than a threshold value.
Compared with the prior art, the blood collection tube serum liquid level detection method and the device provided by the embodiment of the invention have the following advantages:
according to the blood collection tube serum liquid level detection method and device provided by the embodiment of the invention, the blood collection tube image is shot and obtained, RGB three-channel color separation is carried out, the R channel image and the B channel image are segmented to calculate the position of the liquid level under serum and the position of the liquid level above serum, and the height of serum is obtained through difference calculation.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic flow chart illustrating steps of a method for detecting serum level in a blood collection tube according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a specific embodiment of the blood collection tube serum level detection device according to the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-2, fig. 1 is a schematic flow chart illustrating steps of a method for detecting a serum level of a blood collection tube according to an embodiment of the present invention; fig. 2 is a schematic structural diagram of a specific embodiment of the blood collection tube serum level detection device according to the embodiment of the present invention.
In a specific embodiment, the blood collection tube serum level detection method comprises the following steps:
s1, shooting a blood collection tube and outputting a blood collection tube image;
s2, performing RGB three-channel color separation on the blood collection tube image to obtain an R channel image, a G channel image and a B channel image;
and S3, performing segmentation processing on the R channel image, obtaining the maximum vertical coordinate of the connected region of the image as the lower serum liquid level position, performing segmentation processing on the B channel image, taking the minimum vertical coordinate of the top surface of the columnar connected region in the image as the upper serum liquid level position, and calculating and outputting the liquid level height of the serum according to the difference value between the lower serum liquid level position and the upper serum liquid level position.
The blood sampling tube image is shot and obtained, RGB three-channel color separation is carried out, the R channel image and the B channel image are segmented to calculate the position of the lower liquid level of serum and the position of the upper liquid level of serum, the height of the serum is obtained through difference calculation, and the obtained serum liquid level height is very accurate due to the fact that the picture shooting, the color separation, the channel image segmentation and the final liquid level position calculation are automatically calculated through software, automatic identification of the serum liquid level height is achieved, and effective extraction of the serum is achieved.
The invention does not limit the calculation process of carrying out segmentation processing calculation on the R channel image and obtaining the maximum vertical coordinate of the connected region of the image as the liquid level position under serum and carrying out segmentation processing on the B channel image and taking the minimum vertical coordinate of the top surface of the columnar connected region in the image as the liquid level position on serum, and workers can adopt different algorithms and models for calculation.
In one embodiment, the S3 includes:
carrying out OSTU binarization on the R channel image and the B channel image to obtain primary segmentation results R1 and B1 of a serum region and a blood region;
performing opening and closing operation on the initial segmentation results R1 and B1 by adopting a morphological processing method to obtain filtered segmentation results R2 and B2;
taking the segmentation results R2 and B2 as initial image segmentation results, taking the minimum circumscribed rectangle of the initial image segmentation result contour as an initial contour, and performing image segmentation by adopting a MorphACCWE model in a MorphSnakes algorithm to obtain segmentation results R3 and B3;
and calculating and acquiring the maximum ordinate of the connected region of the image as the position of the serum lower liquid level for the segmentation result R3. The minimum ordinate of the top surface of the columnar connected region in the image was calculated as the serum upper level position for the segmentation result B3.
In this embodiment, OSTU binarization is performed on the two to obtain primary segmentation results R1 and B1 of a serum region and a blood region, if the precision required for the calculation is low, final liquid level obtaining calculation can be performed by R1 and B1, and if the precision needs to be further improved, a morphological processing method is used to perform on-off operation on the primary segmentation results R1 and B1 to obtain filtered segmentation results R2 and B2, which further improves the calculation accuracy, and finally the segmentation results R2 and B2 are used as initial image segmentation results, and a morph hue model in a morph snake algorithm is used as an initial contour to perform image segmentation, so that the contrast between the serum region and the blood region can be maximized and thus is easier to distinguish,
it should be noted that, in the present invention, there is no limitation on how much the serum region and the blood region are divided by calculation, and the determination may be performed according to different calculation accuracies, and the algorithm and the model used are not limited.
In order to facilitate the staff to quickly identify the serum level height, in one embodiment, the S3 further includes:
displaying the value of the liquid level height of the serum.
The liquid level height numerical value of serum is shown through the display, can acquire the liquid level height of the serum of the heparin tube of current test fast, conveniently judges whether the capacity is enough. In addition, whether the liquid level height is qualified or not can be directly judged, and the like, and the unqualified blood collection tube is independently detected.
Because in actual use, adopt the sample needle to carry out the serum extraction, if the liquid level of serum is different, then if the sample needle still carries out the serum extraction at same height, probably can take out the blood clot, or the condition that can't extract sufficient serum appears, therefore need carry out corresponding height adjustment to the sample needle for can guarantee to realize effective extraction.
In one embodiment, after the S3, the method further includes:
and adjusting the height of the sample needle according to the liquid level height of the serum.
The invention does not limit the adjusting mode and the adjusting process of the height of the sample needle, and can adjust every time, namely, all the serum in the blood collection tube is extracted, or extract the serum with a certain height in the blood collection tube, so that the serum level can not be adjusted when the serum level fluctuates in a certain range, the possibility of extracting the clot can be completely avoided, or a worker can set a plurality of adjusting modes and adjust the modes before extracting every time.
In order to further increase the attention of the worker and avoid the occurrence of misoperation, in one embodiment, after the step S3, the method further includes:
judging whether the liquid level height of the serum is greater than a threshold value;
if not, the serum is insufficient and an alarm is given.
Through the liquid level height at serum be less than behind the threshold value and send out the police dispatch newspaper, remind the staff to pay attention to, can avoid the maloperation.
In addition, the embodiment of the invention also provides a blood collection tube serum liquid level detection device, which comprises:
an image shooting device 10 for shooting the blood collection tube 20 and outputting a blood collection tube image;
the channel color separation module is used for receiving the blood collection tube image, performing RGB three-channel color separation and outputting an obtained R channel image, a G channel image and a B channel image;
and the segmentation module is used for receiving the R channel image and the B channel image, performing segmentation processing calculation on the R channel image, acquiring the maximum vertical coordinate of a connected region of the image as a serum lower liquid level position, performing segmentation processing on the B channel image, taking the minimum vertical coordinate of the top surface of a cylindrical connected region in the image as a serum upper liquid level position, and calculating and outputting the liquid level height of serum according to the difference value between the serum lower liquid level position and the serum upper liquid level position.
Because the blood collection tube serum liquid level detection device is a device corresponding to the blood collection tube serum liquid level detection method, the blood collection tube serum liquid level detection device has the same beneficial effects, and the invention is not repeated in detail.
The channel color separation module and the segmentation module in the present invention are generally implemented by the computer 30, and may also be implemented by other processing devices, which is not limited in the present invention.
In order to improve the detection efficiency, in an embodiment, the blood collection tube serum level detection device further includes a conveyor belt 40, a point light source 50, and a photoelectric sensor 60, wherein the conveyor belt 40 is used for conveying the blood collection tube 20, and the photoelectric sensor 60 is used for receiving the light of the point light source 50, and sending a trigger signal after the blood collection tube 20 passes through a position between the point light source 50 and the photoelectric sensor 60 and blocking the light, so as to control the image shooting device 10 to shoot the blood collection tube 20.
The blood collection tube 20 is conveyed through the conveying belt, so that the image shooting device 10 can be fixed at a determined position to shoot, the shooting quality of the image is improved, the shooting time is determined through the point light source and the photoelectric sensor, and the shooting accuracy is improved.
In the present invention, after the trigger signal is sent out, the conveyor belt moves all the time, and shooting is performed while the conveyor belt is moving, or after the trigger signal is sent out, the conveyor belt moves to be stationary, after the shooting, the image shooting device 10 sends out the trigger signal to control the conveyor belt to move again, or the conveying speed is reduced, and after the shooting is completed, the conveyor belt is accelerated, which may be controlled by a sound signal or an electric signal, and the present invention is not limited to this.
Since the image taking device 10 such as a camera or a video camera is used for taking images in the present invention, it is likely that not only the blood collection tube 20 but also other background images and other colors are present in the taken images, and if other colors are present, the image processing is inevitably made more difficult and even a calculation error occurs.
To solve this technical problem, in one implementation, the blood collection tube 20 serum level detection device further includes a vertically disposed white background plate 70 disposed on the other side of the conveyor belt corresponding to the image capturing device 10.
Through the white background board of the vertical setting that the conveyer belt opposite side with image shooting ware 10 corresponds, only need handle blood sampling tube 20 image in the blood sampling tube 20 image of shooing like this, and do not have other background boards, reduced the processing degree of difficulty.
The size and material of the white background plate 70 are not limited in the present invention, and the minimum size should at least cover the blood collection tube 20, and the white background plate may be a white cardboard fixed by a frame, a background plate coated with white pigment or paint, or other background plates.
Because in actual use, adopt the sample needle to carry out the serum extraction, if the liquid level of serum is different, then if the sample needle still carries out the serum extraction at same height, probably can take out the blood clot, or the condition that can't extract sufficient serum appears, therefore need carry out corresponding height adjustment to the sample needle for can guarantee to realize effective extraction.
In one embodiment, the blood collection tube 20 serum level detection method and apparatus further comprises a sample needle adjusting module connected to the segmentation module for adjusting the height of the sample needle according to the level height of the serum.
The invention does not limit the adjusting mode and the adjusting process of the height of the sample needle, and can adjust every time, namely, all the serum in the blood collection tube 20 is extracted, or the serum above a certain height in the blood collection tube 20 is extracted, so that when the serum level height fluctuates in a certain range, adjustment can be omitted, the possibility of extracting the clot can be completely avoided, or a worker can set multiple adjusting modes and adjust the modes before extracting every time.
In order to further improve the reliability of the staff for serum extraction, in an embodiment, the blood collection tube 20 serum liquid level detection device further includes a liquid level display and an alarm, the liquid level display and the alarm are connected to the segmentation module, the liquid level display is used for displaying the value of the liquid level height of the serum, and the alarm gives an alarm after determining that the liquid level height of the serum is less than the threshold value.
Through showing liquid level display the numerical value of the liquid level height of serum, the alarm is judging the liquid level height of serum sends out the police dispatch newspaper after being less than the threshold value for the staff can obtain the numerical value of serum at any time, confirms the heparin tube 20 that the liquid level height of serum is less than the threshold value through the alarm, just so can carry out key processing, and the probability that the serum liquid level height is less than the user's blood pathological change that the threshold value corresponds is high, can carry out rapid processing through this kind of mode.
In summary, the blood collection tube serum liquid level detection method and device provided by the embodiments of the present invention perform RGB three-channel color separation by shooting and obtaining a blood collection tube image, perform segmentation processing on an R channel image and a B channel image to calculate a serum lower liquid level position and a serum upper liquid level position, and obtain a serum height by difference calculation.
The blood collection tube serum level detection method and device provided by the invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
Claims (10)
1. A blood collection tube serum liquid level detection method is characterized by comprising the following steps:
s1, shooting a blood collection tube and outputting a blood collection tube image;
s2, performing RGB three-channel color separation on the blood collection tube image to obtain an R channel image, a G channel image and a B channel image;
and S3, performing segmentation processing on the R channel image, obtaining the maximum vertical coordinate of the connected region of the image as the lower serum liquid level position, performing segmentation processing on the B channel image, taking the minimum vertical coordinate of the top surface of the columnar connected region in the image as the upper serum liquid level position, and calculating and outputting the liquid level height of the serum according to the difference value between the lower serum liquid level position and the upper serum liquid level position.
2. The method for detecting serum level of a blood collection tube according to claim 1, wherein the step S3 comprises:
carrying out OSTU binarization on the R channel image and the B channel image to obtain primary segmentation results R1 and B1 of a serum region and a blood region;
performing opening and closing operation on the initial segmentation results R1 and B1 by adopting a morphological processing method to obtain filtered segmentation results R2 and B2;
taking the segmentation results R2 and B2 as initial image segmentation results, taking the minimum circumscribed rectangle of the initial image segmentation result contour as an initial contour, and performing image segmentation by adopting a MorphACCWE model in a MorphSnakes algorithm to obtain segmentation results R3 and B3;
and calculating and acquiring the maximum ordinate of the connected region of the image as the position of the serum lower liquid level for the segmentation result R3. The minimum ordinate of the top surface of the columnar connected region in the image was calculated as the serum upper level position for the segmentation result B3.
3. The method for detecting serum level of a blood collection tube according to claim 2, wherein the step S3 further comprises:
displaying the value of the liquid level height of the serum.
4. The blood collection tube serum level detection method according to claim 3, further comprising, after the step S3:
and adjusting the height of the sample needle according to the liquid level height of the serum.
5. The blood collection tube serum level detection method according to claim 4, further comprising, after the step S3:
judging whether the liquid level height of the serum is greater than a threshold value;
if not, the serum is insufficient and an alarm is given.
6. The utility model provides a heparin tube serum liquid level detection device which characterized in that includes:
the image shooting device is used for shooting the blood collection tube and outputting a blood collection tube image;
the channel color separation module is used for receiving the blood collection tube image, performing RGB three-channel color separation and outputting an obtained R channel image, a G channel image and a B channel image;
and the segmentation module is used for receiving the R channel image and the B channel image, performing segmentation processing calculation on the R channel image, acquiring the maximum vertical coordinate of a connected region of the image as a serum lower liquid level position, performing segmentation processing on the B channel image, taking the minimum vertical coordinate of the top surface of a cylindrical connected region in the image as a serum upper liquid level position, and calculating and outputting the liquid level height of serum according to the difference value between the serum lower liquid level position and the serum upper liquid level position.
7. The device for detecting serum level of a blood collection tube according to claim 6, further comprising a conveyor belt, a point light source and a photoelectric sensor, wherein the conveyor belt is used for conveying the blood collection tube, and the photoelectric sensor is used for receiving the light of the point light source and sending a trigger signal after the blood collection tube passes through a space between the point light source and the photoelectric sensor and blocking the light, so as to control the image shooting device to shoot the blood collection tube.
8. The device for detecting the serum level of a blood collection tube according to claim 7, further comprising a vertically disposed white background plate disposed on the other side of the conveyor belt corresponding to the image capturing device.
9. The device for detecting the serum level of a blood collection tube according to claim 8, further comprising a sample needle adjusting module connected to the partitioning module for adjusting the height of the sample needle according to the level height of the serum.
10. The blood collection tube serum level detection device of claim 9, further comprising a level display and an alarm connected to the segmentation module, wherein the level display is used for displaying the value of the level height of the serum, and the alarm gives an alarm after determining that the level height of the serum is less than a threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110447709.6A CN113514123A (en) | 2021-04-25 | 2021-04-25 | Blood collection tube serum liquid level detection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110447709.6A CN113514123A (en) | 2021-04-25 | 2021-04-25 | Blood collection tube serum liquid level detection method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113514123A true CN113514123A (en) | 2021-10-19 |
Family
ID=78061488
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110447709.6A Pending CN113514123A (en) | 2021-04-25 | 2021-04-25 | Blood collection tube serum liquid level detection method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113514123A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114638803A (en) * | 2022-03-15 | 2022-06-17 | 四川大学华西医院 | Serum index intelligent interpretation method and system based on deep learning |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5763265A (en) * | 1995-07-07 | 1998-06-09 | Matsushita Electric Industrial Co., Ltd. | Specimen testing method and apparatus |
JPH10232228A (en) * | 1997-02-21 | 1998-09-02 | Matsushita Electric Ind Co Ltd | Method and device for testing blood |
JPH1137845A (en) * | 1997-07-22 | 1999-02-12 | Matsushita Electric Ind Co Ltd | Equipment for measuring quantity of serum |
JP2001165752A (en) * | 1999-12-06 | 2001-06-22 | Hitachi Ltd | Instrument and method for measuring serum quantity |
CN105324671A (en) * | 2013-07-04 | 2016-02-10 | 株式会社日立高新技术 | Detection device and biological-sample analysis device |
CN105637370A (en) * | 2013-11-12 | 2016-06-01 | 株式会社日立高新技术 | Analyte testing automation system, biological sample check module, and biological sample check method |
-
2021
- 2021-04-25 CN CN202110447709.6A patent/CN113514123A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5763265A (en) * | 1995-07-07 | 1998-06-09 | Matsushita Electric Industrial Co., Ltd. | Specimen testing method and apparatus |
JPH10232228A (en) * | 1997-02-21 | 1998-09-02 | Matsushita Electric Ind Co Ltd | Method and device for testing blood |
JPH1137845A (en) * | 1997-07-22 | 1999-02-12 | Matsushita Electric Ind Co Ltd | Equipment for measuring quantity of serum |
JP2001165752A (en) * | 1999-12-06 | 2001-06-22 | Hitachi Ltd | Instrument and method for measuring serum quantity |
CN105324671A (en) * | 2013-07-04 | 2016-02-10 | 株式会社日立高新技术 | Detection device and biological-sample analysis device |
CN105637370A (en) * | 2013-11-12 | 2016-06-01 | 株式会社日立高新技术 | Analyte testing automation system, biological sample check module, and biological sample check method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114638803A (en) * | 2022-03-15 | 2022-06-17 | 四川大学华西医院 | Serum index intelligent interpretation method and system based on deep learning |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2720030B1 (en) | Medicine management system and method using the same | |
CN106780537B (en) | A kind of paper cocooning frame silk cocoon screening plant and method based on image procossing | |
CN108682008B (en) | A kind of Leukocyte Image clarity evaluation method and device | |
CN108416765B (en) | Method and system for automatically detecting character defects | |
Salem et al. | A comparative study of white blood cells segmentation using otsu threshold and watershed transformation | |
CN107895362B (en) | Machine vision method for detecting quality of miniature wiring terminal | |
JP2001165752A (en) | Instrument and method for measuring serum quantity | |
EP3006551A1 (en) | Image processing device, image processing method, program, and storage medium | |
US9224199B2 (en) | Pathological diagnosis assisting apparatus, pathological diagnosis assisting method and non-transitory computer readable medium storing pathological diagnosis assisting program | |
CN108918093B (en) | Optical filter mirror surface defect detection method and device and terminal equipment | |
JPH10506462A (en) | Method and apparatus for detecting inappropriate conditions for automated cytological scoring | |
CN113723325A (en) | Tool defect detection system for prefabricated parts | |
CN113514123A (en) | Blood collection tube serum liquid level detection method and device | |
JP2010151566A (en) | Particle image analysis method and apparatus | |
CN111768439B (en) | Method, device, electronic equipment and medium for determining experiment scores | |
TW201404878A (en) | Device for automatically rapidly analyzing biological cells and related method thereof | |
AU2003294351B2 (en) | Particle extraction for automatic flow microscope | |
CN114384263B (en) | Method and device for detecting liquid path state of sample analyzer, and readable storage medium | |
CN114445358A (en) | Method and system for detecting appearance defects of edges of middle frame of mobile phone, storage medium and computer equipment | |
JP3494559B2 (en) | Flow type particle image analysis method and apparatus | |
CN114782368A (en) | Shrimp larva automatic counting method and system based on visual detection and fusion of multiple dynamic thresholds | |
KR20220109335A (en) | Diagnostic test apparatus and method by excluding atypical foreign substances from test result image of artificial intelligence based diagnostic kit | |
JPS5830049B2 (en) | Automatic reticulocyte measurement device | |
CN106546539A (en) | A kind of automatic blood type analytical instrument intelligent vision scanning system | |
CN114624164A (en) | System and method for analyzing urine formed components |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20211019 |