A method for identifying and evaluating red blood cells in lymph node sinuses of experimental animals
By using deep learning models and feature thresholds to automatically identify and label red blood cells in lymph node sinus in experimental animals, the problem of diagnostic drift of red blood cell lesions in lymph node sinus in experimental animals is solved, and rapid and accurate identification and evaluation of red blood cells in lymph node sinus are achieved.
Patent Information
- Application Number
- CN202411009341.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-26
AI Technical Summary
In experimental animals, the diagnosis of red blood cell lesions in lymph node sinuses is heavily influenced by human factors, which results in the diagnostic speed being inconsistent with the standards and the problem of diagnostic drift.
A method including slice scanning, lymph node tissue identification, and red blood cell identification and evaluation in the lymph node sinus is adopted. HE-stained slices are scanned through a digital slide scanner, and a deep learning model is used to automatically label and evaluate lymph node tissue and red blood cells in the sinus. Setting Red-to-blue ratio and eosin staining feature thresholds to improve identification accuracy.
It achieves rapid and accurate identification and evaluation of red blood cells in the lymph node sinuses of experimental animals, reduces the difficulty and time of manual labeling, improves the consistency and accuracy of diagnosis, and solves the problem of diagnostic drift.
Smart Images

Figure CN118549301B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of image processing, and in particular to a method for identifying and evaluating red blood cells in lymph node sinuses of experimental animals. Background Art
[0002] At present, the erythrocyte lesions in the lymph node sinus of experimental animals are mainly semi-quantitatively analyzed by pathologists. The human factors of pathologists are greatly affected when performing semi-quantitative analysis. For example, the diagnostic speed and standard of different diagnosticians are inconsistent, and even the same diagnostician may have diagnostic drift. Summary of the invention
[0003] Based on the above problems, the purpose of the present invention is to provide a method for identifying and evaluating red blood cells in lymph node sinuses of experimental animals, so as to achieve the purpose of identifying and evaluating red blood cells in lymph node sinuses on HE stained sections and solve the problem of diagnostic drift of red blood cell lesions in lymph node sinuses in experimental animals.
[0004] The technical solution adopted by the present invention to achieve its invention object is a method for identifying and evaluating red blood cells in the lymph node sinus of an experimental animal, comprising the following steps:
[0005] S1. Slice scanning: Use a digital slice scanner to scan the HE-stained lymph node slices of experimental animals;
[0006] S2, lymph node tissue identification: identifying the required lymph node tissue on the stained section and converting it into a first region of interest ROI1;
[0007] S3. Identification and evaluation of red blood cells in lymph node sinuses: In the first region of interest ROI1, the eosin staining feature threshold is set to be less than the preset value N1, and the red-to-blue ratio is set to be greater than the preset value N2. The red blood cells in the lymph node sinuses are identified and marked accordingly. The area of the red blood cells in each lymph node sinus is then counted. Finally, the area of the red blood cells in each lymph node sinus is converted into a score for the red blood cells in each lymph node sinus.
[0008] The red blood cells in the sinus are lesions that need to be identified, but their characteristic is that the red blood cells are dispersed in the lymphatic sinus. How to mark the red blood cells in the sinus is a difficult point. If the red blood cells in the sinus are marked together with the surrounding lymphocytes, macrophages, etc., the characteristics of the lymphocytes in the marked range may cause the lymphocytes in the remaining areas to be marked as lesion areas. Therefore, if you want to mark only the red blood cells, manual marking will be very difficult. Therefore, the present invention sets the red-to-blue ratio of the red blood cells and the eosin staining characteristic threshold for marking, which can save the marking time and improve the marking accuracy to the maximum extent; the red blood cells in the sinus are a lesion in which red blood cells exist in the lymphatic sinus. There are also red blood cells in normal blood vessels, but they do not belong to this lesion range. Therefore, the red blood cells in the blood vessels need to be excluded. The present invention marks the red blood cells by the red-to-blue ratio and the eosin staining characteristic threshold, and then manually marks the red blood cells in the normal blood vessels as the background.
[0009] Furthermore, the specific steps of lymph node tissue identification in step S2 are:
[0010] S2.1. Select a certain number of lymph node HE-stained sections as a training set, draw a region of interest on the stained sections of the training set, including lymph node tissue areas and non-lymph node areas, mark all lymph node tissue areas in the region of interest accordingly, for example, mark them in blue, and mark the non-lymph node areas as background, for example, mark them in green, then apply a deep learning U-Net model, i.e., a Deep Learning-U-Net model, for training, and adjust it during training until the accuracy of lymph node tissue recognition reaches more than 90%;
[0011] S2.2, import the stained sections that need to be formally identified as lymph node tissue into the software that has completed the model training as described in step S2.1, draw the initial region of interest ROI0, and perform lymph node tissue identification in the initial region of interest ROI0, automatically make corresponding marks on the identified lymph node tissue area, and automatically mark the non-lymph node area as background;
[0012] S2.3, and then post-processing, the post-processing steps include:
[0013] S2.3.1. Completely fill the blank areas in the lymph node tissue;
[0014] S2.3.2, replace the lymph node tissue with an area smaller than the preset value S1 with the background;
[0015] S2.3.3. Remove the background, such as the green background, so that only the lymph node tissue remains in the stained section;
[0016] S2.3.4. Convert the retained lymph node tissue into the first region of interest ROI1.
[0017] Furthermore, the preset value S1 is equal to 10000 µm².
[0018] Furthermore, the specific steps of the step S3 of identifying and evaluating red blood cells in the lymph node sinus are:
[0019] S3.1. Select a certain number of lymph node HE-stained sections as training sets, draw regions of interest on the stained sections of the training set, set the eosin staining feature threshold to be less than a preset value N1, set the red-to-blue ratio to be greater than a preset value N2, remove sinusoidal red blood cells with an area less than a preset value S2, make corresponding marks on all sinusoidal red blood cell areas within the region of interest, for example, mark them in blue, mark non-sinusoidal red blood cell areas as background, for example, green, and non-sinusoidal red blood cell areas include blood vessels and red blood cells in blood vessels. After marking, apply a deep learning semantic segmentation model, i.e., Deep Learning-DeepLabv3+ model, for training, and adjust it during training until the accuracy of sinusoidal red blood cell recognition reaches more than 90%;
[0020] S3.2, importing the first region of interest ROI1 for formally identifying the red blood cells in the lymph node sinus into the software that has completed the model training as described in step S3.1, setting the eosin staining feature threshold to be less than a preset value N1, setting the red-to-blue ratio to be greater than a preset value N2, and performing the red blood cell identification in the lymph node sinus, automatically making corresponding marks on the identified sinus red blood cell area, and automatically marking the non-sinus red blood cell area as background;
[0021] S3.3, then post-processing is performed, and the post-processing step includes:
[0022] S3.3.1. Remove the red blood cells in the sinus whose area is smaller than the preset value S2;
[0023] S3.3.2. Remove the background, such as the green background, so that only the red blood cells in the sinus remain in the stained sections;
[0024] S3.4. Calculate the area of red blood cells in each lymph node sinus;
[0025] S3.5. Convert the area of red blood cells in each lymph node sinus into a score for the red blood cells in each lymph node sinus.
[0026] Furthermore, the preset value N1 ranges from 160 to 180, and the preset value N2 ranges from 3 to 6.
[0027] Furthermore, the preset value N1 is equal to 170, and the preset value N2 is equal to 5.
[0028] Furthermore, the preset value S2 is equal to 2µm².
[0029] Furthermore, the specific method of score conversion in step S3.5 is: the score of the red blood cells in the sinus with an area less than or equal to S10 is equal to 0, the score of the red blood cells in the sinus with an area greater than S10 and less than or equal to S11 is equal to 1, the score of the red blood cells in the sinus with an area greater than S11 and less than or equal to S12 is equal to 2, the score of the red blood cells in the sinus with an area greater than S12 and less than or equal to S13 is equal to 3, the score of the red blood cells in the sinus with an area greater than S13 and less than or equal to S14 is equal to 4, and the score of the red blood cells in the sinus with an area greater than S14 is equal to 5, and S10, S11, S12, S13, and S14 are all preset values.
[0030] Furthermore, the preset value S10 ranges from 8000 to 10000µm², the preset value S11 ranges from 40000 to 60000µm², the preset value S12 ranges from 90000 to 110000µm², the preset value S13 ranges from 230000 to 270000µm², and the preset value S14 ranges from 330000 to 370000µm².
[0031] The beneficial effects of the present invention are:
[0032] The present invention can realize artificial intelligence in the identification and evaluation of red blood cells in the lymph node sinuses of experimental animals, achieve rapid and accurate batch operation, and solve the problem of diagnostic drift of red blood cell lesions in the lymph node sinuses of experimental animals. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a schematic diagram of the overall process of an embodiment of the present invention;
[0034] Figure 2 This is a diagram showing the effect of step S2 in the embodiment of the present invention;
[0035] Figure 3 for Figure 2 The corresponding uncolored original image;
[0036] Figure 4 This is a diagram showing the effect of step S3 in the embodiment of the present invention;
[0037] Figure 5 for Figure 4 The corresponding uncolored original image. DETAILED DESCRIPTION
[0038] In order to more clearly understand the above-mentioned objects, features and advantages of the present invention, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0039] Figure 1 A specific implementation of the method for identifying and evaluating red blood cells in the lymph node sinus of an experimental animal of the present invention is shown, and the steps include:
[0040] S1. Slice scanning: Use a digital slice scanner to scan the HE-stained lymph node slices of experimental animals, and import the digital slices into the Visiopharm software;
[0041] S2, lymph node tissue identification: identifying the required lymph node tissue on the stained section and converting it into a first region of interest ROI1;
[0042] S3. Identification and evaluation of red blood cells in lymph node sinuses: In the first region of interest ROI1, the eosin staining feature threshold is set to be less than 170, and the red-to-blue ratio is set to be greater than 5. The red blood cells in the lymph node sinuses are identified and marked accordingly. The area of the red blood cells in each lymph node sinus is then counted. Finally, the area of the red blood cells in each lymph node sinus is converted into a score for the red blood cells in each lymph node sinus.
[0043] In this embodiment, the specific steps of lymph node tissue identification in step S2 are:
[0044] S2.1. Select a certain number of lymph node HE-stained sections as the training set, draw the region of interest on the stained sections of the training set, including the lymph node tissue area and the non-lymph node area, mark all lymph node tissue areas in the region of interest as blue (class 2), and mark the non-lymph node area as green (class 1), then apply the deep learning U-Net model, i.e., Deep Learning-U-Net model, for training, and adjust it during training until the accuracy of lymph node tissue recognition reaches more than 90%;
[0045] S2.2, import the stained sections that need to be formally identified as lymph node tissue into the software that has completed the model training as described in step S2.1, draw the initial region of interest ROI0, and perform lymph node tissue identification in the initial region of interest ROI0, and the identified lymph node tissue area is automatically marked as blue (class 2), and the non-lymph node area is automatically marked as green (class 1);
[0046] S2.3, then run the post processing program, the post processing steps include:
[0047] S2.3.1. Set the parameter Fill Holes Lbl: class2 to fill the blank areas in the lymph node tissue completely.
[0048] S2.3.2, set the parameter change by shape Lbl: replace class 2 with class 1 if the area is less than 10000 µm², that is, replace the blue lymph node tissue with a green background if the area is less than 10000 µm²;
[0049] S2.3.3, set the parameter change Lbl: replace class1 with clear, that is, clear the green background so that only blue lymph node tissue is retained in the stained section;
[0050] S2.3.4. Set the parameter outline as ROI Lbl: Output class2 as ROI1, that is, convert the retained blue lymph node tissue into the first region of interest ROI1.
[0051] The effect after this step is as follows Figure 2 As shown, Figure 3 is Figure 2 The corresponding unlabeled original image, compared Figure 3 and Figure 2 It can be seen that the effect of screening out blue lymph node tissue in this step is significant.
[0052] In this embodiment, the specific steps of step S3 of identifying and evaluating red blood cells in lymph node sinuses are:
[0053] S3.1. Select a certain number of lymph node HE-stained sections as the training set, draw the region of interest on the stained sections of the training set, select the threshold algorithm in the tissue classification, select class 2, set the eosin staining feature threshold to less than 170, set the red-to-blue ratio to greater than 5, and set the parameter change by shape Lbl: classify the sections with an area less than 2 µm² 2 is replaced by clear, and the threshold algorithm is run to obtain an image of marked sinusoidal red blood cells. All sinusoidal red blood cell areas in the region of interest are marked in blue, and non-sinusoidal red blood cell areas are marked in green. Non-sinusoidal red blood cell areas include blood vessels and red blood cells in blood vessels. After marking, the deep learning semantic segmentation model, namely the DeepLearning-DeepLabv3+ model, is used for training, and it is adjusted during training until the recognition accuracy of sinusoidal red blood cells reaches more than 90%. With such settings, sinusoidal red blood cells can be marked to the greatest extent. If only the eosin staining feature threshold is set to less than 170, many cell nuclei will also be marked. Therefore, a condition is added that the red-to-blue ratio parameter is greater than 5, and the area size is set to exclude non-sinusoidal red blood cells from being marked again.
[0054] S3.2, import the first region of interest ROI1 for formal identification of red blood cells in the lymph node sinus into the software that has completed the model training as described in step S3.1, select the threshold value as the algorithm in the tissue classification classification, select class 2, set the eosin staining feature threshold to less than 170, set the red-to-blue ratio to greater than 5, and identify the red blood cells in the lymph node sinus. The identified sinus red blood cell area is automatically marked in blue, and the non-sinus red blood cell area is automatically marked in green;
[0055] S3.3, run the post processing program again, the post processing steps include:
[0056] S3.3.1. Set the parameter change by shape Lbl: replace class 2 with area less than 2 µm² with clear, that is, clear the sinus red blood cells with an area less than 2 µm²;
[0057] S3.3.2, set the parameter change Lbl: replace class 1 with clear, that is, clear the green background so that only the blue sinusoidal red blood cells are retained in the stained section;
[0058] S3.4. Select class2 in the output variables. After running, calculate the area of red blood cells in each lymph node sinus.
[0059] S3.5. Convert the area of red blood cells in each lymph node sinus into a score for the red blood cells in each lymph node sinus.
[0060] In this embodiment, the preset value S10 is 10000µm², S11 is 50000µm², S12 is 100000µm², S13 is 250000µm², and S14 is 350000µm². Therefore, the specific method of scoring conversion in step S3.5 is:
[0061] The score for sinusoidal red blood cells with an area of 10,000 µm² or less is 0, the score for sinusoidal red blood cells with an area of greater than 10,000 µm² and less than or equal to 50,000 µm² is 1, the score for sinusoidal red blood cells with an area of greater than 50,000 µm² and less than or equal to 100,000 µm² is 2, the score for sinusoidal red blood cells with an area of greater than 100,000 µm² and less than or equal to 250,000 µm² is 3, the score for sinusoidal red blood cells with an area of greater than 250,000 µm² and less than or equal to 350,000 µm² is 4, and the score for sinusoidal red blood cells with an area of greater than 350,000 µm² is 5.
[0062] The effect after this step is as follows Figure 4 As shown, Figure 5 is Figure 4 The corresponding unlabeled original image, compared Figure 5 and Figure 4 It can be seen that this step has the effect of screening out the blue sinusoidal red blood cells.
[0063] In the practice of toxic pathology, pathologists need to score according to the severity and range of the lesions. The area obtained in this embodiment is converted into a score, which can be better integrated into the pathologist's diagnostic scoring system and better applied to toxic pathology diagnosis.
[0064] The embodiment of the present invention is implemented using the Visiopharm platform, an AI-based image analysis software in the prior art, and may also be implemented using other software platforms with similar functions.
[0065] The above embodiments of the present invention are merely examples for illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes and modifications can be made based on the above description. It is impossible to list all the embodiments here. Any obvious changes or modifications derived from the technical solution of the present invention are still within the scope of protection of the present invention.
Claims
1. A method for identifying and evaluating red blood cells in the lymph node sinus of an experimental animal, characterized in that: The steps include: S1. Slice scanning: Use a digital slice scanner to scan the HE-stained lymph node slices of experimental animals; S2, lymph node tissue identification: identifying the required lymph node tissue on the stained section and converting it into a first region of interest ROI1; S3, identification and evaluation of red blood cells in lymph node sinuses: in the first region of interest ROI1, the eosin staining feature threshold is set to be less than the preset value N1, and the red-to-blue ratio is set to be greater than the preset value N2, the red blood cells in the lymph node sinuses are identified and marked accordingly, and then the area of the red blood cells in each lymph node sinus is counted, and finally the area of the red blood cells in each lymph node sinus is converted into a score of the red blood cells in each lymph node sinus; The specific steps of lymph node tissue identification in step S2 are: S2.
1. Select a certain number of lymph node HE-stained sections as training sets, draw regions of interest on the stained sections of the training set, including lymph node tissue areas and non-lymph node areas, mark all lymph node tissue areas in the region of interest, mark the non-lymph node areas as background, and then apply the deep learning U-Net model, i.e., Deep Learning-U-Net model, for training, and adjust it during training until the accuracy of lymph node tissue recognition reaches more than 90%; S2.2, import the stained sections that need to be formally identified as lymph node tissue into the software that has completed the model training as described in step S2.1, draw the initial region of interest ROI0, and perform lymph node tissue identification in the initial region of interest ROI0, automatically make corresponding marks on the identified lymph node tissue area, and automatically mark the non-lymph node area as background; S2.3, and then post-processing, the post-processing steps include: S2.3.
1. Completely fill the blank areas in the lymph node tissue; S2.3.2, replace the lymph node tissue with an area smaller than the preset value S1 with the background; S2.3.
3. Clear the background so that only lymph node tissue remains in the stained sections; S2.3.
4. Convert the retained lymph node tissue into the first region of interest ROI1.
2. The method for identifying and evaluating red blood cells in the lymph node sinus of an experimental animal according to claim 1, characterized in that: The preset value S1 is equal to 10000 µm².
3. The method for identifying and evaluating red blood cells in the lymph node sinus of an experimental animal according to claim 1, characterized in that: The specific steps of step S3 for identifying and evaluating red blood cells in lymph node sinuses are: S3.
1. Select a certain number of lymph node HE-stained sections as the training set, draw the region of interest on the stained sections of the training set, set the eosin staining feature threshold to be less than the preset value N1, set the red-to-blue ratio to be greater than the preset value N2, remove the sinusoidal red blood cells with an area less than the preset value S2, make corresponding marks on all sinusoidal red blood cell areas within the region of interest, mark the non-sinusoidal red blood cell areas as the background, and after marking, apply the deep learning semantic segmentation model, i.e., Deep Learning-DeepLabv3+ model, for training, and adjust it during training until the accuracy of sinusoidal red blood cell recognition reaches more than 90%; S3.2, importing the first region of interest ROI1 for formally identifying the red blood cells in the lymph node sinus into the software that has completed the model training as described in step S3.1, setting the eosin staining feature threshold to be less than a preset value N1, setting the red-to-blue ratio to be greater than a preset value N2, and performing the red blood cell identification in the lymph node sinus, automatically making corresponding marks on the identified sinus red blood cell area, and automatically marking the non-sinus red blood cell area as background; S3.3, then post-processing is performed, and the post-processing step includes: S3.3.
1. Remove the red blood cells in the sinus whose area is smaller than the preset value S2; S3.3.
2. Clear the background so that only the red blood cells in the sinus remain in the stained sections; S3.
4. Calculate the area of red blood cells in each lymph node sinus; S3.
5. Convert the area of red blood cells in each lymph node sinus into a score for the red blood cells in each lymph node sinus.
4. The method for identifying and evaluating red blood cells in the lymph node sinus of an experimental animal according to claim 3, characterized in that: The preset value N1 ranges from 160 to 180, and the preset value N2 ranges from 3 to 6.
5. The method for identifying and evaluating red blood cells in the lymph node sinus of an experimental animal according to claim 3, characterized in that: The preset value N1 is equal to 170, and the preset value N2 is equal to 5.
6. The method for identifying and evaluating red blood cells in the lymph node sinus of an experimental animal according to claim 3, characterized in that: The preset value S2 is equal to 2µm².
7. The method for identifying and evaluating red blood cells in lymph node sinuses of experimental animals according to claim 3, characterized in that: The specific method of score conversion in step S3.5 is: the score of the red blood cells in the sinus with an area less than or equal to S10 is equal to 0, the score of the red blood cells in the sinus with an area greater than S10 and less than or equal to S11 is equal to 1, the score of the red blood cells in the sinus with an area greater than S11 and less than or equal to S12 is equal to 2, the score of the red blood cells in the sinus with an area greater than S12 and less than or equal to S13 is equal to 3, the score of the red blood cells in the sinus with an area greater than S13 and less than or equal to S14 is equal to 4, and the score of the red blood cells in the sinus with an area greater than S14 is equal to 5, and S10, S11, S12, S13, and S14 are all preset values.
8. The method for identifying and evaluating red blood cells in the lymph node sinus of an experimental animal according to claim 7, characterized in that: The preset value S10 ranges from 8000 to 10000µm², the preset value S11 ranges from 40000 to 60000µm², the preset value S12 ranges from 90000 to 110000µm², the preset value S13 ranges from 230000 to 270000µm², and the preset value S14 ranges from 330000 to 370000µm².
Citation Information
Patent Citations
Histological image analysis
CN114667547A
Intelligent prediction method and system for NSCLC lymph node metastasis risk
CN114743672A
Biological reagent activity detection kit
CN217059857U
Specimen staining jar and specimen basket
CN219348370U
Method and apparatus for analysis using color algebra and image processing techniques
DE2344528A1
