[go: up one dir, main page]

CN111311628A - Full-automatic high-performance leukocyte segmentation method - Google Patents

Full-automatic high-performance leukocyte segmentation method Download PDF

Info

Publication number
CN111311628A
CN111311628A CN202010087468.4A CN202010087468A CN111311628A CN 111311628 A CN111311628 A CN 111311628A CN 202010087468 A CN202010087468 A CN 202010087468A CN 111311628 A CN111311628 A CN 111311628A
Authority
CN
China
Prior art keywords
image
saturation
sub
white blood
mask
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
Application number
CN202010087468.4A
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202010087468.4A priority Critical patent/CN111311628A/en
Publication of CN111311628A publication Critical patent/CN111311628A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/187Segmentation; Edge detection involving region growing; involving region merging; involving connected component labelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration using local operators
    • G06T5/30Erosion or dilatation, e.g. thinning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/40Image enhancement or restoration using histogram techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10056Microscopic image
    • G06T2207/10061Microscopic image from scanning electron microscope

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)
  • Quality & Reliability (AREA)
  • Radiology & Medical Imaging (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Geometry (AREA)
  • Image Analysis (AREA)
  • Investigating Or Analysing Biological Materials (AREA)
  • Image Processing (AREA)

Abstract

The invention provides a full-automatic high-performance leukocyte segmentation method. In clinical diagnosis and treatment of patients, it is very important to classify and count leukocytes on blood smears. However, manual white blood cell sorting and counting by a hematologist is time consuming and prone to error. The algorithm provided by the invention firstly carries out a series of processing such as segmentation and the like on the nucleus region through the zoomed saturation image, and then carries out image processing such as difference and the like on the green image and the blue image normalized by the red image, thereby achieving the purpose of automatically and accurately segmenting the cytoplasm region in the subimage.

Description

Full-automatic high-performance leukocyte segmentation method
Technical Field
The invention relates to the field of image processing, in particular to a full-automatic high-performance leukocyte segmentation method.
Background
Leukocytes are important components of the human immune system, and the change of the morphology and the number of the leukocytes is generally used as a reference basis for diagnosis clinically.
In most of the past, the skilled hematology staff manually identifies and classifies the white blood cells by using an optical microscope, then the types of the white blood cells are distinguished according to information such as the cell nucleus, cytoplasm and chromosome color in the white blood cells, and the number of the types of the white blood cells is recorded. According to hospital statistics, about 20% of blood routine specimens need manual microscopic examination and reexamination. The manual mode has long time for focusing, observing and identifying each time, and the hematology staff responsible for the artificial microscopic examination of the leucocytes spends a large amount of time, thereby wasting medical resources.
At present, because of the appearance of digital image processing technology, the white blood cells are segmented and identified by a machine, so that the time and the labor are saved, and the accuracy is over 95 percent. The machine identification of leukocytes in microscopic images typically goes through several processes: preprocessing of images, segmentation of image cells, feature extraction and classification of the image cells. The segmentation of the image cells is the most important step, because the accuracy of the subsequent feature extraction and classification is premised on the accuracy of cell segmentation.
Leukocytes play an important role in the diagnosis of different diseases. The hematologist obtains more accurate and more accurate results by analyzing the white blood cell images formed by the liquid smears. The total number of leukocytes in normal adults is (4.0-10.0) × 109L, but it varies with time and the functional status of different organisms. Numerical and data changes in each category have significant clinical significance. By analyzing the number and morphological changes of different types of leukocytes, human health can be diagnosed. The specific changes in leukocytes are as follows:
(1) the white blood cell count increased. When the total number of leukocytes exceeds 10,000, it is considered to be leukocytosis. Increased white blood cell count is often seen in acute infections, tissue injuries, major surgery, leukemia, etc.
(2) The number of leukocytes was reduced. When the total number of leukocytes is less than 4000, it is considered to be a decrease in leukocytes. The decrease in the number of leukocytes is usually observed in typhoid and paratyphoid, malaria, X-ray and radionuclide exposure.
It can be seen that the increase and decrease of leukocytes can provide a basis for differential diagnosis of disease. Image segmentation of leukocytes is a very critical step in a fully automated leukocyte counting process, since the accuracy of subsequent feature extraction and classification depends on whether the leukocytes can be correctly segmented. However, segmentation and extraction of leukocyte images presents a number of challenges and difficulties, each of which is listed below.
1.) the shape, size, edges and location of the cells are not uniform and vary. Also, due to the non-uniformity of the blood coating thickness and the imbalance of illumination, the image contrast between the cell boundary and the background is not stable during image acquisition.
2.) the staining method and the staining agent differ among different reagents. Thus, the digital images from different media differ in hue.
3.) the cytoplasmic region is very similar to the background, so it is difficult to segment the cytoplasmic region correctly.
4.) previous people have tried several methods in blood smear digital image segmentation including edge and boundary detection, region growing, filtering, morphological analysis, intensity thresholding, edge analysis, area growing, deformable model fitting and watershed clustering algorithms, etc. For example, riter et al propose a fully automated method for segmentation and boundary recognition of all objects in an image acquired from a peripheral blood smear that do not overlap the boundary. CellaVision developed software and equipment for leukocyte segmentation, the method of which had reached about 89% accuracy in 5-class classification.
Disclosure of Invention
To solve the above problems, an embodiment of the present invention provides a fully automatic high-performance white blood cell segmentation method.
The technical scheme adopted by the embodiment of the invention for solving the problems is as follows:
a full-automatic high-performance leukocyte segmentation method comprises the following steps:
converting the RGB image into an image of an HSL color space;
detecting nuclei from the scaled saturation image;
marking a kernel region on the full resolution sub-image;
the cell paste fractions were divided and their area calculated.
Further, the detecting cell nuclei from the scaled saturation image specifically includes the following steps:
calculating a first histogram from the saturation;
obtaining a first binary threshold from a first histogram;
if the saturation is greater than the first binary threshold, the ScaledMask (x, y) is nucleolus color, and if the saturation is less than the first binary threshold, the ScaledMask (x, y) is background;
performing image corrosion algorithm on the ScaledMask (x, y) by using a morphological analysis method in image processing to remove small noise;
clearing cells near the image boundaries to ensure the integrity of the white blood cells;
if (Green (x, y) -Blue (x, y))/(Red (x, y) +1) < ═ 0, then ScaledMask (x, y) is set to the background;
etching the ScaledMask (x, y) again to remove small noise;
tracing the connecting region of the ScaledMask (x, y);
filtering the connected regions, and when a condition (area array [ i ]. Size > maxnecolusaccream | | area array [ i ]. Size < minneolumsbeckacreage)) is satisfied, setting the region [ i ] as a background, wherein maxnecolumascrage and minneolumsbeckacreage are constant empirical values;
connecting and classifying areas which are relatively close to each other into the same cell;
the center of a set of connected regions classified as the same cell is calculated as the final leukocyte center, and the coordinates are converted to coordinate positions in the non-zoomed image.
Further, the marking of the nucleus region on the full-resolution sub-image specifically includes the following steps:
clipping a sub-image group of the white blood cells by using the center coordinates of the white blood cells, wherein the sub-image group comprises a red image, a blue image, a green image, a saturation image and a brightness image;
calculating a second image histogram for the sub-image group of the white blood cells according to the saturation;
acquiring a second binary threshold value from the second image histogram;
if the saturation is larger than the second binary threshold, Mask (x, y) is the color of the cell nucleus, and if the saturation is smaller than the second binary threshold, Mask (x, y) is background.
Further, the segmenting the cytoplasm part and calculating the area of the cytoplasm part specifically comprises the following steps:
applying a gaussian low pass filter to the set of sub-images of the white blood cells;
(x, y) the color of the cytoplasm if (Green (x, y) -Blue (x, y))/(Red (x, y) +1) > Tab and Mask (x, y) back, otherwise Mask (x, y) back, where Tab is an empirical constant, the color of the cytoplasm is a constant integer between [1,255], and back 0;
acquiring the average value of the green sub-images;
etching Mask (x, y) to remove noise;
the red image of the RGB sub-image is replaced with Mask (x, y) and the final image is saved to facilitate comparison of the segmentation results from a manual inspection perspective.
The full-automatic high-performance leukocyte segmentation method has the following beneficial effects: the automatic identification degree is high, the performance is good, and the white blood cells can be well identified.
Drawings
The invention is further illustrated with reference to the following figures and examples.
Fig. 1 is a blood cell image including 3 white blood cells. The image was a digital image of a blood smear captured with Wright staining and magnified 500 times;
FIG. 2 is a scaled saturation image;
FIG. 3 is a scaled, binarized saturation image;
FIG. 4 is a green sub-image cut from a full size image of a detected white blood cell;
FIG. 5 is a mask of sub-images automatically generated by the algorithm;
FIG. 6 is a graph showing the results of the detection.
Detailed Description
Referring to fig. 1, in order to improve the accuracy and adaptability of the white blood cell segmentation algorithm and solve or partially solve the above problems, the present invention first collects a digital image of a blood smear stained with Wright and magnifies it by 500 times, and then subdivides white blood cells using the following flow chart:
step S100 converts the RGB image into an image in an HSL (Hue, Saturation, brightness) color space. The model of the HSL color space corresponds to a double cone and a sphere (white is at an upper vertex, black is at a lower vertex, and the center of a circle of a maximum cross section is half-way gray) in a cylindrical coordinate system, and the image of the HSL color space comprises three sub-images of hue, saturation and brightness;
s200, detecting cell nucleuses from the zoomed saturation images;
step S300, marking a cell nucleus area on the full-resolution sub-image;
step S400, the cytoplasm part is divided and the area of the cytoplasm part is calculated.
Further, images with 0.5 scale factors for red, green, and blue in the scaled saturation map may increase the computation speed. The scaled saturation image is referred to in fig. 2. In step S200, detecting cell nuclei from the scaled saturation image, specifically including the following steps:
step S201, calculating a first histogram according to the saturation;
step S202, acquiring a first binary threshold value from a first histogram; the principle is to minimize the sum of the deviations of the background and foreground regions; the binary threshold method has stronger robustness; referring to fig. 3, fig. 3 is a binarized image;
step S203, if the saturation is greater than the first binary threshold, the ScaledMask (x, y) is nucleolus color, and if the saturation is less than the first binary threshold, the ScaledMask (x, y) is backsground;
step S204, performing image corrosion algorithm on the scaledMask (x, y) by using a morphological analysis method in image processing to remove small noise;
step S205, cleaning cells near the image boundary to ensure the integrity of the white blood cells;
step S206, if { Green (x, y) -Blue (x, y) }/(Red (x, y) +1) < ═ 0, setting the ScaledMask (x, y) as the background;
step S207, corroding the scaledMask (x, y) and removing the small noise again;
step S208, tracking a connection area of the scaledMask;
step S209, filtering the connected areas, and setting the area [ i ] as a background when a condition (area [ i ]. Size > MaxNeoclusAcreage | | area [ i ]. Size < MinNeoclusBlockAcreed)) is met, wherein the area [ i ] is a constant experience value;
s210, communicating and classifying areas which are relatively close to each other into the same cell;
and step S211, calculating a group of connected region centers of the same cell as a final leukocyte center, and converting the coordinates into coordinate positions in the non-zooming image.
Further, in step S300, marking a nuclear region on the full-resolution sub-image specifically includes the following steps:
step S301, a leukocyte subimage is intercepted by using the central coordinate of the leukocyte, wherein the central coordinate of the leukocyte is obtained from step S211. A red image, a blue image, a green image, a saturation image, and a luminance image. Referring to fig. 4, a green sub-image cut out from the full-size image of the first detected white blood cell;
step S302, calculating a second image histogram according to the saturation degree to the sub-image group of the white blood cells;
step S303, acquiring a second binary threshold value from the second image histogram; the principle is to minimize the sum of the deviations of the background and foreground regions; the binary threshold method has stronger robustness;
step S304, if the saturation is greater than the second binary threshold, Mask (x, y) is the color of the cell nucleus, and if the saturation is less than the second binary threshold, Mask (x, y) is background.
Further, in step S400, the steps of segmenting the cytoplasm portion and calculating the area thereof specifically include the following steps:
step S401, applying a Gaussian low-pass filter to the group of sub-images of the white blood cells obtained in step S301;
step S402, if (Green (x, y) -Blue (x, y))/(Red (x, y) +1) > Tab and Mask (x, y) ═ background, Mask (x, y) ═ cytoplasm color, otherwise Mask (x, y) ═ background, where Tab is an empirical constant, cytoplasm color is a constant integer between [1,255], background is 0; referring to fig. 5, fig. 5 is a generated Mask (x, y);
step S403, obtaining an average value of the green sub-images;
step S404, etching Mask (x, y) to eliminate small noise;
step S405, replacing the red image of the RGB subimage with Mask (x, y), and storing the final image to facilitate the comparison of whether the segmentation result is correct from the angle of manual inspection; referring to fig. 6, fig. 6 is a final output result.

Claims (4)

1. A full-automatic high-performance leukocyte segmentation method is characterized by comprising the following steps:
converting the RGB image into an image of an HSL color space;
detecting nuclei from the scaled saturation image;
marking a kernel region on the full resolution sub-image;
the cell paste fractions were divided and their area calculated.
2. The method according to claim 1, wherein the detecting the cell nucleus from the scaled saturation image comprises the following steps:
calculating a first histogram from the saturation;
obtaining a first binary threshold from a first histogram;
if the saturation is greater than the first binary threshold, the ScaledMask (x, y) is nucleolus color, and if the saturation is less than the first binary threshold, the ScaledMask (x, y) is background;
performing image corrosion algorithm on the ScaledMask (x, y) by using a morphological analysis method in image processing to remove small noise;
clearing cells near the image boundaries to ensure the integrity of the white blood cells;
if (Green (x, y) -Blue (x, y))/(Red (x, y) +1) < ═ 0, then ScaledMask (x, y) is set to the background;
etching the ScaledMask (x, y) again to remove small noise;
tracing the connecting region of the ScaledMask (x, y);
filtering the connected regions, and when a condition (area array [ i ]. Size > maxnecolusaccream | | area array [ i ]. Size < minneolumsbeckacreage)) is satisfied, setting the region [ i ] as a background, wherein maxnecolumascrage and minneolumsbeckacreage are constant empirical values;
connecting and classifying areas which are relatively close to each other into the same cell;
the center of a set of connected regions classified as the same cell is calculated as the final leukocyte center, and the coordinates are converted to coordinate positions in the non-zoomed image.
3. The method according to claim 2, wherein the step of marking the nucleus region on the full-resolution sub-image comprises the following steps:
clipping a sub-image group of the white blood cells by using the center coordinates of the white blood cells, wherein the sub-image group comprises a red image, a blue image, a green image, a saturation image and a brightness image;
calculating a second image histogram for the sub-image group of the white blood cells according to the saturation;
acquiring a second binary threshold value from the second image histogram;
if the saturation is larger than the second binary threshold, Mask (x, y) is the color of the cell nucleus, and if the saturation is smaller than the second binary threshold, Mask (x, y) is background.
4. The method according to claim 3, wherein the step of segmenting the cytoplasm of the cytoplasm comprises the following steps:
applying a gaussian low pass filter to the set of sub-images of the white blood cells;
(x, y) the color of the cytoplasm if (Green (x, y) -Blue (x, y))/(Red (x, y) +1) > Tab and Mask (x, y) back, otherwise Mask (x, y) back, where Tab is an empirical constant, the color of the cytoplasm is a constant integer between [1,255], and back 0;
acquiring the average value of the green sub-images;
etching Mask (x, y) to remove noise;
the red image of the RGB sub-image is replaced with Mask (x, y) and the final image is saved to facilitate comparison of the segmentation results from a manual inspection perspective.
CN202010087468.4A 2020-02-11 2020-02-11 Full-automatic high-performance leukocyte segmentation method Pending CN111311628A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010087468.4A CN111311628A (en) 2020-02-11 2020-02-11 Full-automatic high-performance leukocyte segmentation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010087468.4A CN111311628A (en) 2020-02-11 2020-02-11 Full-automatic high-performance leukocyte segmentation method

Publications (1)

Publication Number Publication Date
CN111311628A true CN111311628A (en) 2020-06-19

Family

ID=71161779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010087468.4A Pending CN111311628A (en) 2020-02-11 2020-02-11 Full-automatic high-performance leukocyte segmentation method

Country Status (1)

Country Link
CN (1) CN111311628A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112184696A (en) * 2020-10-14 2021-01-05 中国科学院近代物理研究所 Method and system for counting cell nucleus and cell organelle and calculating area of cell nucleus and cell organelle
CN113158950A (en) * 2021-04-30 2021-07-23 天津深析智能科技发展有限公司 Automatic segmentation method for overlapped chromosomes

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190163950A1 (en) * 2017-11-30 2019-05-30 Metal Industries Research & Development Centre Large scale cell image analysis method and system
CN110120056A (en) * 2019-05-21 2019-08-13 闽江学院 Blood leucocyte dividing method based on self-adapting histogram threshold value and contour detecting

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190163950A1 (en) * 2017-11-30 2019-05-30 Metal Industries Research & Development Centre Large scale cell image analysis method and system
CN110120056A (en) * 2019-05-21 2019-08-13 闽江学院 Blood leucocyte dividing method based on self-adapting histogram threshold value and contour detecting

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
NURUL HAZWANI ABD HALIM ET AL: "Automatic Blasts Counting for Acute Leukemia Based on Blood Samples" *
张立伟: "白细胞显微图像分类研究" *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112184696A (en) * 2020-10-14 2021-01-05 中国科学院近代物理研究所 Method and system for counting cell nucleus and cell organelle and calculating area of cell nucleus and cell organelle
CN112184696B (en) * 2020-10-14 2023-12-29 中国科学院近代物理研究所 Cell nucleus and organelle counting and area calculating method and system thereof
CN113158950A (en) * 2021-04-30 2021-07-23 天津深析智能科技发展有限公司 Automatic segmentation method for overlapped chromosomes
CN113158950B (en) * 2021-04-30 2022-04-05 天津深析智能科技发展有限公司 Automatic segmentation method for overlapped chromosomes

Similar Documents

Publication Publication Date Title
El-kenawy et al. Automatic identification from noisy microscopic images
CA2130340C (en) Method for identifying objects using data processing techniques
CN111079620B (en) White blood cell image detection and identification model construction method and application based on transfer learning
CN107492088B (en) Automatic identification and statistics method for white blood cells in gynecological microscopic image
CN110120056B (en) Blood leukocyte segmentation method based on adaptive histogram threshold and contour detection
Mohamed et al. An enhanced threshold based technique for white blood cells nuclei automatic segmentation
Alreza et al. Design a new algorithm to count white blood cells for classification leukemic blood image using machine vision system
CN112504947A (en) Morphological analysis and counting method for peripheral blood cells
CN114283407A (en) An adaptive leukocyte automatic segmentation and subclass detection method and system
CN103489187A (en) Quality test based segmenting method of cell nucleuses in cervical LCT image
Pandit et al. Survey on automatic rbc detection and counting
JP4864709B2 (en) A system for determining the staining quality of slides using a scatter plot distribution
CN110148126B (en) Blood leukocyte segmentation method based on color component combination and contour fitting
Rachna et al. Detection of Tuberculosis bacilli using image processing techniques
CN111311628A (en) Full-automatic high-performance leukocyte segmentation method
Nayak et al. A new algorithm for automatic assessment of the degree of TB-infection using images of ZN-stained sputum smear
CN117576687A (en) Cervical cancer cytology screening system and method based on image analysis
Tomari et al. Red blood cell counting analysis by considering an overlapping constraint
JP4897488B2 (en) A system for classifying slides using a scatter plot distribution
WO2020127692A1 (en) A system and method for monitoring bacterial growth of bacterial colonies and predicting colony biomass
CN113313719A (en) Leukocyte segmentation method based on visual attention mechanism and model fitting
CN110458042B (en) Method for detecting number of probes in fluorescent CTC
Bergmeir et al. Segmentation of cervical cell images using mean-shift filtering and morphological operators
Masoudi et al. Diagnosis of Hodgkin's disease by identifying Reed-Sternberg cell nuclei in histopathological images of lymph nodes stained with Hematoxylin and Eosin
Thomas et al. A novel approach to detect acute lymphoblastic leukemia

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200619