Ear hematoma detection method and related equipment based on 3D image construction

Through a method based on 3D image construction, medical images of pet ears are obtained, and 3D images of the auricle are segmented and constructed, which solves the problem of low efficiency of middle ear hematoma detection in the existing technology and achieves faster and more accurate diagnosis.

CN114519701BActive Publication Date: 2024-09-13NEW RUIPENG PET HEALTHCARE GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210098289.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-27
Publication Date
2024-09-13
Estimated Expiration
2042-01-27

AI Technical Summary

Technical Problem

In the existing technology, the diagnosis of pet ear diseases relies on manual operations by medical staff, which is inefficient. In particular, there are difficulties in detecting ear hematomas, making it difficult to diagnose quickly and accurately.

Method used

An ear hematoma detection method based on 3D images is used to obtain multi-modal ear medical images, segment the auricle area, construct a 3D image of the auricle, segment the auricle skin and ear cartilage, and calculate their volume to determine the presence of ear hematoma. Reduce reliance on manual operations by medical staff.

Benefits of technology

It improves the efficiency of pet ear hematoma detection, reduces reliance on manual operations by medical staff, and achieves faster and more accurate diagnostic results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114519701B
    Figure CN114519701B
Patent Text Reader

Abstract

The present application provides an ear hematoma detection method and related equipment based on 3D image construction, wherein the method includes: obtaining a multimodal ear medical image of a pet; for at least one target ear medical image in the multimodal ear medical image, performing region of interest segmentation on each ear medical image in the at least one target ear medical image to obtain an auricle region image in each ear medical image; constructing a 3D image of the pet's auricle based on the auricle region image; segmenting the auricle skin and ear cartilage from the auricle 3D image, and determining whether the pet has an ear hematoma based on the volume between the auricle skin and the ear cartilage. The embodiments of the present application are conducive to improving the efficiency of pet ear hematoma detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of pet medical technology, and in particular to an ear hematoma detection method and related equipment based on 3D image construction. Background Art

[0002] With the popularity of keeping pets, common diseases of pets have brought great trouble to pet owners. Therefore, diagnosing and solving common diseases of pets is also one of the important tasks of pet medical staff. There are many kinds of pet diseases on the market, and ear diseases are one of the most common diseases. Ear diseases of dogs and cats usually include external otitis, ear erection, ear hematoma, etc. At present, the diagnosis of pet ear diseases mainly relies on manual work of medical staff, which requires high experience of medical staff, but the detection efficiency is relatively low. Summary of the invention

[0003] In response to the above problems, the present application provides an ear hematoma detection method and related equipment based on 3D image construction, which is conducive to improving the efficiency of pet ear hematoma detection.

[0004] To achieve the above objectives, the first aspect of the embodiment of the present application provides an ear hematoma detection method based on 3D image construction, the method comprising:

[0005] Obtain multimodal ear medical images of pets;

[0006] For at least one target ear medical image in the multimodal ear medical images, performing region of interest segmentation on each ear medical image in the at least one target ear medical image to obtain an auricle region image in each ear medical image;

[0007] Constructing a 3D image of the pet's auricle based on the auricle region image;

[0008] The auricle skin and ear cartilage are segmented from the auricle 3D image, and whether the pet has an ear hematoma is determined based on the volume between the auricle skin and the ear cartilage.

[0009] In combination with the first aspect, in a possible implementation, the multimodal ear medical image includes an ear vascular DSA medical image, and before determining whether the pet has an ear hematoma based on the volume between the auricle skin and the ear cartilage, the method further includes:

[0010] The pixel points of the blood vessels in the ear blood vessel DSA medical image are mapped to the 3D space of the auricle 3D image to obtain the auricle 3D image containing the 3D blood vessels.

[0011] In combination with the first aspect, in a possible implementation manner, the method further includes:

[0012] Based on the DSA medical images of ear blood vessels, multiple blood vessel segments are obtained;

[0013] For any one of the multiple blood vessel segments, determine a 3D blood vessel segment of the any one of the blood vessel segments in the 3D image of the auricle containing the 3D blood vessel and a first centerline of the 3D blood vessel segment;

[0014] Based on the 3D blood vessel segment and the first centerline of the 3D blood vessel segment, it is determined whether the 3D blood vessel segment has a rupture.

[0015] In combination with the first aspect, in a possible implementation, determining whether the 3D blood vessel segment is ruptured based on the 3D blood vessel segment and the first centerline of the 3D blood vessel segment includes:

[0016] A point A is randomly selected on the vascular wall of the 3D vascular segment, and the 8 neighboring points of point A are determined;

[0017] Taking the first center line of the 3D blood vessel segment as the symmetry axis, counting the number of symmetric points of point A and its eight neighboring points on the blood vessel wall of the 3D blood vessel segment;

[0018] When the number of symmetrical points of point A and its eight neighboring points on the blood vessel wall of the 3D blood vessel segment is less than a preset number, it is determined that the 3D blood vessel segment is ruptured;

[0019] When the number of symmetrical points of point A and its eight neighboring points on the blood vessel wall of the 3D blood vessel segment is greater than or equal to a preset number, it is determined that the 3D blood vessel segment does not have a rupture.

[0020] In combination with the first aspect, in a possible implementation, multiple blood vessel segments are obtained based on the ear blood vessel DSA medical image, including:

[0021] Convert ear vascular DSA medical images into binary images;

[0022] Extracting the second centerline of blood vessels in ear blood vessel DSA medical images based on binary images;

[0023] The intersection points and branch points of the second center lines of the blood vessels in the ear blood vessel DSA medical image are detected, and the intersection points and branch points are removed to obtain multiple blood vessel segments.

[0024] In combination with the first aspect, in a possible implementation manner, constructing a 3D image of a pet's auricle based on an auricle region image includes:

[0025] Obtaining depth information of the auricle area image;

[0026] Determine foreground pixel points from the auricle region image to obtain a foreground pixel point set;

[0027] Deduplication is performed on multiple foreground pixel points corresponding to the same ear tissue in the foreground pixel point set to obtain a deduplication-free foreground pixel point set;

[0028] Based on the depth information, the three-dimensional points corresponding to the foreground pixels in the foreground pixel set after deduplication are obtained;

[0029] Use 3D points to construct a 3D image of the pet's ear.

[0030] A second aspect of the embodiment of the present application provides an ear hematoma detection device based on 3D images, the device comprising an acquisition unit and a processing unit.

[0031] An acquisition unit, used for acquiring multimodal ear medical images of a pet;

[0032] a processing unit, configured to segment each ear medical image in at least one target ear medical image in the multimodal ear medical images into a region of interest, and obtain an auricle region image in each ear medical image;

[0033] The processing unit is further used to construct a 3D image of the pet's auricle based on the auricle region image;

[0034] The processing unit is also used to segment the auricle skin and ear cartilage from the auricle 3D image, and determine whether the pet has an ear hematoma based on the volume between the auricle skin and the ear cartilage.

[0035] A third aspect of an embodiment of the present application provides an electronic device, the electronic device comprising an input device and an output device, and further comprising a processor adapted to implement one or more instructions; and a memory, wherein the memory stores one or more computer programs, wherein the one or more computer programs are adapted to be loaded by the processor and execute the following steps:

[0036] Obtain multimodal ear medical images of pets;

[0037] For at least one target ear medical image in the multimodal ear medical images, performing region of interest segmentation on each ear medical image in the at least one target ear medical image to obtain an auricle region image in each ear medical image;

[0038] Constructing a 3D image of the pet's auricle based on the auricle region image;

[0039] The auricle skin and ear cartilage are segmented from the auricle 3D image, and whether the pet has an ear hematoma is determined based on the volume between the auricle skin and the ear cartilage.

[0040] A fourth aspect of an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores one or more instructions, and the one or more instructions are suitable for being loaded by a processor and executing the following steps:

[0041] Obtain multimodal ear medical images of pets;

[0042] For at least one target ear medical image in the multimodal ear medical images, performing region of interest segmentation on each ear medical image in the at least one target ear medical image to obtain an auricle region image in each ear medical image;

[0043] Constructing a 3D image of the pet's auricle based on the auricle region image;

[0044] The auricle skin and ear cartilage are segmented from the auricle 3D image, and whether the pet has an ear hematoma is determined based on the volume between the auricle skin and the ear cartilage.

[0045] The above solution of the present application includes at least the following beneficial effects:

[0046] In the embodiment of the present application, a multimodal ear medical image of a pet is obtained; for at least one target ear medical image in the multimodal ear medical image, each ear medical image in the at least one target ear medical image is segmented into a region of interest to obtain an auricle region image in each ear medical image; a 3D image of the pet's auricle is constructed based on the auricle region image; the auricle skin and ear cartilage are segmented from the auricle 3D image, and whether the pet has an ear hematoma is determined based on the volume between the auricle skin and the ear cartilage. In this way, pet ear hematoma detection based on ear medical images is conducive to reducing the dependence on manual operation of medical staff (such as detection by operating hardware such as an auroscope), thereby helping to improve the efficiency of pet ear hematoma detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0048] Figure 1 A schematic diagram of a flow chart of an ear hematoma detection method based on 3D image construction provided in an embodiment of the present application;

[0049] Figure 2 A schematic diagram of a flow chart of another ear hematoma detection method based on 3D image construction provided in an embodiment of the present application;

[0050] Figure 3 A schematic diagram of an intersection and a branch point provided in an embodiment of the present application;

[0051] Figure 4A schematic diagram of a point A on a blood vessel wall and eight neighboring points of point A provided in an embodiment of the present application;

[0052] Figure 5 A schematic diagram of a flow chart of another ear hematoma detection method based on 3D image construction provided in an embodiment of the present application;

[0053] Figure 6 A schematic diagram of the structure of an ear hematoma detection device based on 3D images provided in an embodiment of the present application;

[0054] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present application.

[0056] The terms "including" and "having" and any variations thereof that appear in the specification, claims and drawings of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices. In addition, the terms "first", "second" and "third" are used to distinguish different objects, rather than to describe a specific order.

[0057] See also Figure 1 , Figure 1 A schematic diagram of a flow chart of an ear hematoma detection method based on 3D image construction provided in an embodiment of the present application, the method is applied to electronic devices such as Figure 1 As shown, steps 101-104 are included:

[0058] 101: Obtain multimodal ear medical imaging of pets.

[0059] In a specific embodiment of the present application, the multimodal ear medical images include ear vascular DSA medical images and MRI ear medical images, and the MRI ear medical images include ear T1WI medical images, ear T2WI medical images, multiple ear T1WI enhanced medical images and ear CT medical images of each imaging plane, wherein the multiple ear T1WI enhanced medical images are obtained by enhanced scanning based on different contrast agent doses.

[0060] 102: For at least one target ear medical image in the multimodal ear medical images, perform region of interest segmentation on each ear medical image in the at least one target ear medical image to obtain an auricle region image in each ear medical image.

[0061] In a specific embodiment of the present application, the region of interest refers to the auricle region. Before segmenting the region of interest for each ear medical image in at least one target ear medical image, the method further includes:

[0062] Acquire a first signal-to-noise ratio of an ear T1WI medical image and a second signal-to-noise ratio of each ear T1WI enhanced medical image among a plurality of ear T1WI enhanced medical images;

[0063] Acquire a first brightness of a first signal-to-noise ratio of an ear T1WI medical image and a second brightness of each ear T1WI enhanced medical image in a plurality of ear T1WI enhanced medical images;

[0064] Calculating a difference between the second signal-to-noise ratio and the first signal-to-noise ratio, and calculating a difference between the second brightness and the first brightness;

[0065] Determine at least one ear T1WI enhanced medical image from a plurality of ear T1WI enhanced medical images according to a difference between the second signal-to-noise ratio and the first signal-to-noise ratio and a difference between the second brightness and the first brightness;

[0066] At least one ear T1WI enhanced medical image, ear T1WI medical image, ear T2WI medical image and ear CT medical image is determined as at least one target ear medical image.

[0067] Specifically, based on the difference between the second signal-to-noise ratio and the first signal-to-noise ratio, and the difference between the second brightness and the first brightness, the quality score of each ear T1WI enhanced medical image is calculated using the following formula:

[0068] Quality Score=a*(|SNR2-SNR1|)+b*(|L2-L1|);

[0069] Among them, Quality Score represents the quality score of each ear T1WI enhanced medical image, SNR2 represents the second signal-to-noise ratio, SNR1 represents the first signal-to-noise ratio, L2 represents the second brightness, L1 represents the first brightness, and a and b represent the weight of the signal-to-noise ratio difference and the weight of the brightness difference, respectively. At least one ear T1WI enhanced medical image whose quality score is greater than or equal to a preset threshold is determined from multiple ear T1WI enhanced medical images. When the quality score is greater than or equal to the preset threshold, we believe that the corresponding ear T1WI enhanced medical image has a higher imaging quality and is more conducive to auxiliary diagnosis.

[0070] After determining at least one target ear medical image, an image segmentation algorithm is used to segment the auricle region in each ear medical image, and the auricle region is cropped from each ear medical image to obtain an auricle region image.

[0071] 103: Construct a 3D image of the pet's auricle based on the auricle region image.

[0072] In a specific embodiment of the present application, for each auricle region image, the image size / image dimension is used to obtain the depth information of each auricle region image, for example: 118kb / 191×256 pixels, and then the foreground pixels are determined from each auricle region image, and the ear tissue corresponding to the foreground pixels is identified to obtain a foreground pixel set, wherein the foreground pixel refers to the pixel where the pet's ear is located. Since different auricle region images may include pixels of the same ear tissue, there may be multiple foreground pixels corresponding to the same ear tissue in the foreground pixel set. Therefore, it is necessary to perform deduplication processing on it, and only one of the multiple foreground pixels is retained to obtain a deduplicated foreground pixel set. Based on the depth information of the auricle region image corresponding to the foreground pixels in the deduplicated foreground pixel set, the foreground pixels in the deduplicated foreground pixel set are mapped to three-dimensional space to obtain corresponding three-dimensional points, and these three-dimensional points are used to construct a complete 3D image of the pet's auricle.

[0073] 104: Segment the auricle skin and ear cartilage from the auricle 3D image, and determine whether the pet has an ear hematoma based on the volume between the auricle skin and the ear cartilage.

[0074] In the specific embodiment of the present application, it should be understood that ear hematoma refers to swelling caused by rupture of blood vessels in the ear under the action of external force, and blood accumulation between the auricle skin and the ear cartilage. After constructing the 3D image of the pet's auricle, the volume between the auricle skin and the ear cartilage in the auricle 3D image can be calculated, and the volume between the auricle skin and the ear cartilage can be compared with the volume threshold of the ear under normal conditions. If the volume between the auricle skin and the ear cartilage is much larger than the volume threshold, it can be determined that the pet has an ear hematoma, otherwise, it can be determined that the pet does not have an ear hematoma. Optionally, the volume threshold can be determined based on the type and size of the pet, such as a relatively small volume threshold for small dogs, and so on.

[0075] It can be seen that the embodiment of the present application obtains multimodal ear medical images of the pet; for at least one target ear medical image in the multimodal ear medical images, each ear medical image in the at least one target ear medical image is segmented into a region of interest to obtain an auricle region image in each ear medical image; a 3D image of the pet's auricle is constructed based on the auricle region image; the auricle skin and ear cartilage are segmented from the auricle 3D image, and whether the pet has an ear hematoma based on the volume between the auricle skin and the ear cartilage. In this way, pet ear hematoma detection based on ear medical images is conducive to reducing the dependence on manual operation of medical staff (such as detection by operating hardware such as an auroscope), thereby helping to improve the efficiency of pet ear hematoma detection.

[0076] See also Figure 2 , Figure 2 A schematic diagram of the process of another ear hematoma detection method based on 3D image construction provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, steps 201-205 are included:

[0077] 201: Obtain multimodal ear medical images of the pet, wherein the multimodal ear medical images include ear vascular DSA medical images;

[0078] 202: For at least one target ear medical image in the multimodal ear medical images, perform region of interest segmentation on each ear medical image in the at least one target ear medical image to obtain an auricle region image in each ear medical image;

[0079] 203: constructing a 3D image of the pet's auricle based on the auricle region image;

[0080] 204: Mapping the pixel points of the blood vessels in the ear blood vessel DSA medical image to the 3D space of the auricle 3D image to obtain the auricle 3D image including the 3D blood vessels;

[0081] 205: Segment the auricle skin and ear cartilage from the auricle 3D image, and determine whether the pet has an ear hematoma based on the volume between the auricle skin and the ear cartilage.

[0082] The specific implementation of steps 201-203 and step 205 is as follows: Figure 1 The embodiments shown have been described in detail and can achieve the same or similar beneficial effects, so they will not be described again to avoid repetition.

[0083] Specifically, for the ear blood vessel DSA medical image, the image size / image dimension is used to obtain its depth information, and based on the depth information, the pixel points of the blood vessels in the ear blood vessel DSA medical image are mapped to the three-dimensional space of the auricle 3D image to obtain the corresponding three-dimensional points, and then the three-dimensional points corresponding to the foreground pixel points after deduplication in step 103 and the three-dimensional points corresponding to the pixel points of the blood vessels in the ear blood vessel DSA medical image are used to construct a three-dimensional image to obtain a 3D image of the auricle containing 3D blood vessels.

[0084] Exemplarily, the method further includes:

[0085] Based on the DSA medical images of ear blood vessels, multiple blood vessel segments are obtained;

[0086] For any one of the multiple blood vessel segments, determine a 3D blood vessel segment of the any one of the blood vessel segments in the 3D image of the auricle containing the 3D blood vessel and a first centerline of the 3D blood vessel segment;

[0087] Based on the 3D blood vessel segment and the first centerline of the 3D blood vessel segment, it is determined whether the 3D blood vessel segment has a rupture.

[0088] Specifically, the DSA medical image of the ear blood vessels is first binarized to obtain the corresponding binary image. For all the blood vessels in the binary image, the centerline of the blood vessel, i.e., the second centerline, is detected using a pre-trained centerline detection model, and the intersection and branch points of the second centerline are determined. Specifically, Figure 3 As shown, the intersections and branch points are then removed, and the pixel points on the blood vessel wall corresponding to the intersections and branch points are removed, so as to obtain multiple blood vessel segments. For any of the multiple blood vessel segments, there must be a corresponding 3D blood vessel segment in the 3D image of the auricle containing the 3D blood vessel. Based on the 3D image segmentation technology, the center line of the 3D blood vessel segment, i.e., the first center line, can be segmented. Please refer to Figure 4, randomly select a point A on the vascular wall of the 3D vascular segment, and determine the 8 neighboring points of point A, take the first center line of the 3D vascular segment as the symmetry axis, and count the number of symmetrical points of point A and its 8 neighboring points on the vascular wall of the 3D vascular segment. For example, if 4 of the symmetrical points of point A and its 8 neighboring points can find symmetrical points on the vascular wall on the other side, the number is 5. When the number of symmetrical points of point A and its 8 neighboring points on the vascular wall of the 3D vascular segment is less than a preset number, it is determined that the 3D vascular segment is ruptured. For example, when the number of symmetrical points is less than 4, it can be determined that the 3D vascular segment is ruptured. On the contrary, when the number of symmetrical points of point A and its 8 neighboring points on the vascular wall of the 3D vascular segment is greater than or equal to a preset number, it is determined that the 3D vascular segment is not ruptured.

[0089] See also Figure 5 , Figure 5 A schematic diagram of the process of another ear hematoma detection method based on 3D image construction provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, steps 501-508 are included:

[0090] 501: Obtain multimodal ear medical images of pets, including ear vascular DSA medical images;

[0091] 502: For at least one target ear medical image in the multimodal ear medical images, perform region of interest segmentation on each ear medical image in the at least one target ear medical image to obtain an auricle region image in each ear medical image;

[0092] 503: constructing a 3D image of the pet's auricle based on the auricle region image;

[0093] 504: Mapping the pixel points of the blood vessels in the ear blood vessel DSA medical image to the 3D space of the auricle 3D image to obtain the auricle 3D image including the 3D blood vessels;

[0094] 505: obtaining multiple blood vessel segments based on ear blood vessel DSA medical images;

[0095] 506: for any one of the multiple blood vessel segments, determine a 3D blood vessel segment of the any one of the blood vessel segments in the auricle 3D image containing the 3D blood vessel and a first center line of the 3D blood vessel segment;

[0096] 507: Determine whether the 3D blood vessel segment is ruptured based on the 3D blood vessel segment and the first center line of the 3D blood vessel segment;

[0097] 508: Segment the auricle skin and ear cartilage from the auricle 3D image, and determine whether the pet has an ear hematoma based on the volume between the auricle skin and ear cartilage when there is a rupture in the 3D blood vessel segment.

[0098] The specific implementation of steps 501-508 is as follows: Figure 2 The embodiments shown have been described in detail and can achieve the same or similar beneficial effects, so they will not be described again here.

[0099] For a description of the above-mentioned ear hematoma detection method embodiment based on 3D images, please refer to Figure 6 , Figure 6 A schematic diagram of the structure of an ear hematoma detection device based on 3D images provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the device includes an acquisition unit 601 and a processing unit 602; wherein:

[0100] An acquisition unit 601 is used to acquire a multimodal ear medical image of a pet;

[0101] The processing unit 602 is configured to perform region of interest segmentation on each ear medical image in at least one target ear medical image in the multimodal ear medical images to obtain an auricle region image in each ear medical image;

[0102] The processing unit 602 is further used to construct a 3D image of the pet's auricle based on the auricle region image;

[0103] The processing unit 602 is also used to segment the auricle skin and ear cartilage from the auricle 3D image, and determine whether the pet has an ear hematoma based on the volume between the auricle skin and the ear cartilage.

[0104] It can be seen that in Figure 6 In the ear hematoma detection device constructed based on 3D images shown, a multimodal ear medical image of a pet is obtained; for at least one target ear medical image in the multimodal ear medical image, each ear medical image in the at least one target ear medical image is segmented into a region of interest to obtain an auricle region image in each ear medical image; a 3D image of the pet's auricle is constructed based on the auricle region image; the auricle skin and ear cartilage are segmented from the auricle 3D image, and whether the pet has an ear hematoma is determined based on the volume between the auricle skin and the ear cartilage. In this way, pet ear hematoma detection based on ear medical images is conducive to reducing the dependence on manual operation of medical staff (such as detection by operating hardware such as an auroscope), thereby helping to improve the efficiency of pet ear hematoma detection.

[0105] In a possible implementation manner, the multimodal ear medical image includes an ear blood vessel DSA medical image, and the processing unit 602 is further configured to:

[0106] The pixel points of the blood vessels in the ear blood vessel DSA medical image are mapped to the 3D space of the auricle 3D image to obtain the auricle 3D image containing the 3D blood vessels.

[0107] In a possible implementation, the processing unit 602 is further configured to:

[0108] Based on the DSA medical images of ear blood vessels, multiple blood vessel segments are obtained;

[0109] For any one of the multiple blood vessel segments, determine a 3D blood vessel segment of the any one of the blood vessel segments in the 3D image of the auricle containing the 3D blood vessel and a first centerline of the 3D blood vessel segment;

[0110] Based on the 3D blood vessel segment and the first centerline of the 3D blood vessel segment, it is determined whether the 3D blood vessel segment has a rupture.

[0111] In a possible implementation manner, in determining whether the 3D blood vessel segment has a rupture based on the 3D blood vessel segment and the first centerline of the 3D blood vessel segment, the processing unit 602 is specifically configured to:

[0112] A point A is randomly selected on the vascular wall of the 3D vascular segment, and the 8 neighboring points of point A are determined;

[0113] Taking the first center line of the 3D blood vessel segment as the symmetry axis, counting the number of symmetric points of point A and its eight neighboring points on the blood vessel wall of the 3D blood vessel segment;

[0114] When the number of symmetrical points of point A and its eight neighboring points on the blood vessel wall of the 3D blood vessel segment is less than a preset number, it is determined that the 3D blood vessel segment is ruptured;

[0115] When the number of symmetrical points of point A and its eight neighboring points on the blood vessel wall of the 3D blood vessel segment is greater than or equal to a preset number, it is determined that the 3D blood vessel segment does not have a rupture.

[0116] In a possible implementation manner, in terms of obtaining multiple blood vessel segments based on the ear blood vessel DSA medical image, the processing unit 602 is specifically configured to:

[0117] Convert ear vascular DSA medical images into binary images;

[0118] Extracting the second centerline of blood vessels in ear blood vessel DSA medical images based on binary images;

[0119] The intersection points and branch points of the second center lines of the blood vessels in the ear blood vessel DSA medical image are detected, and the intersection points and branch points are removed to obtain multiple blood vessel segments.

[0120] In a possible implementation manner, in terms of constructing a 3D image of a pet's auricle based on an auricle region image, the processing unit 602 is specifically configured to:

[0121] Obtaining depth information of the auricle area image;

[0122] Determine foreground pixel points from the auricle region image to obtain a foreground pixel point set;

[0123] Deduplication is performed on multiple foreground pixel points corresponding to the same ear tissue in the foreground pixel point set to obtain a deduplication-free foreground pixel point set;

[0124] Based on the depth information, the three-dimensional points corresponding to the foreground pixels in the foreground pixel set after deduplication are obtained;

[0125] Use 3D points to construct a 3D image of the pet's ear.

[0126] According to one embodiment of the present application, Figure 6 The various units of the ear hematoma detection device constructed based on 3D images shown can be separately or completely combined into one or several other units to constitute, or one (some) of the units can also be split into multiple functionally smaller units to constitute, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present application. The above-mentioned units are divided based on logical functions. In practical applications, the function of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the ear hematoma detection device constructed based on 3D images can also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and can be implemented by the collaboration of multiple units.

[0127] According to another embodiment of the present application, the program can be executed by running on a general computing device such as a computer including a central processing unit (CPU), a random access memory medium (RAM), a read-only memory medium (ROM), and other processing elements and storage elements. Figure 1 , Figure 2 or Figure 5 A computer program (including program code) for each step involved in the corresponding method shown in Figure 6 The ear hematoma detection device based on 3D image construction shown in the embodiment of the present application is used to implement the ear hematoma detection method based on 3D image construction. The computer program can be recorded on, for example, a computer readable recording medium, and loaded into the above-mentioned computing device through the computer readable recording medium and run therein.

[0128] Based on the description of the above method embodiment and device embodiment, the present application embodiment also provides an electronic device. Figure 7 The electronic device at least includes a processor 701, an input device 702, an output device 703 and a memory 704. The processor 701, the input device 702, the output device 703 and the memory 704 in the electronic device may be connected via a bus or other means.

[0129] The memory 704 may be stored in the memory of the electronic device, the memory 704 is used to store a computer program, the computer program includes program instructions, and the processor 701 is used to execute the program instructions stored in the memory 704. The processor 701 (or CPU (Central Processing Unit)) is the computing core and control core of the electronic device, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding function.

[0130] In one embodiment, the processor 701 of the electronic device provided in the embodiment of the present application can be used to perform a series of processes of the ear hematoma detection method based on 3D image construction:

[0131] Obtain multimodal ear medical images of pets;

[0132] For at least one target ear medical image in the multimodal ear medical images, performing region of interest segmentation on each ear medical image in the at least one target ear medical image to obtain an auricle region image in each ear medical image;

[0133] Constructing a 3D image of the pet's auricle based on the auricle region image;

[0134] The auricle skin and ear cartilage are segmented from the auricle 3D image, and whether the pet has an ear hematoma is determined based on the volume between the auricle skin and the ear cartilage.

[0135] It can be seen that in Figure 7 In the electronic device shown, a multimodal ear medical image of a pet is obtained; for at least one target ear medical image in the multimodal ear medical image, each ear medical image in the at least one target ear medical image is segmented into a region of interest to obtain an auricle region image in each ear medical image; a 3D image of the pet's auricle is constructed based on the auricle region image; the auricle skin and ear cartilage are segmented from the auricle 3D image, and whether the pet has an ear hematoma is determined based on the volume between the auricle skin and the ear cartilage. In this way, pet ear hematoma detection based on ear medical images is conducive to reducing the dependence on manual operation of medical staff (such as detection by operating hardware such as an auroscope), thereby helping to improve the efficiency of pet ear hematoma detection.

[0136] In another embodiment, the multimodal ear medical image includes an ear vascular DSA medical image. Before determining whether the pet has an ear hematoma based on the volume between the auricle skin and the ear cartilage, the processor 701 is further configured to execute:

[0137] The pixel points of the blood vessels in the ear blood vessel DSA medical image are mapped to the 3D space of the auricle 3D image to obtain the auricle 3D image containing the 3D blood vessels.

[0138] In another embodiment, the processor 701 is further configured to execute:

[0139] Based on the DSA medical images of ear blood vessels, multiple blood vessel segments are obtained;

[0140] For any one of the multiple blood vessel segments, determine a 3D blood vessel segment of the any one of the blood vessel segments in the 3D image of the auricle containing the 3D blood vessel and a first centerline of the 3D blood vessel segment;

[0141] Based on the 3D blood vessel segment and the first centerline of the 3D blood vessel segment, it is determined whether the 3D blood vessel segment has a rupture.

[0142] In another embodiment, the processor 701 determines whether the 3D blood vessel segment is ruptured based on the 3D blood vessel segment and the first centerline of the 3D blood vessel segment, including:

[0143] A point A is randomly selected on the vascular wall of the 3D vascular segment, and the 8 neighboring points of point A are determined;

[0144] Taking the first center line of the 3D blood vessel segment as the symmetry axis, counting the number of symmetric points of point A and its eight neighboring points on the blood vessel wall of the 3D blood vessel segment;

[0145] When the number of symmetrical points of point A and its eight neighboring points on the blood vessel wall of the 3D blood vessel segment is less than a preset number, it is determined that the 3D blood vessel segment is ruptured;

[0146] When the number of symmetrical points of point A and its eight neighboring points on the blood vessel wall of the 3D blood vessel segment is greater than or equal to a preset number, it is determined that the 3D blood vessel segment does not have a rupture.

[0147] In another embodiment, the processor 701 obtains multiple blood vessel segments based on the ear blood vessel DSA medical image, including:

[0148] Convert ear vascular DSA medical images into binary images;

[0149] Extracting the second centerline of blood vessels in ear blood vessel DSA medical images based on binary images;

[0150] The intersection points and branch points of the second center lines of the blood vessels in the ear blood vessel DSA medical image are detected, and the intersection points and branch points are removed to obtain multiple blood vessel segments.

[0151] In another embodiment, the processor 701 executes the construction of a 3D image of the pet's auricle based on the auricle region image, including:

[0152] Obtaining depth information of the auricle area image;

[0153] Determine foreground pixel points from the auricle region image to obtain a foreground pixel point set;

[0154] Deduplication is performed on multiple foreground pixel points corresponding to the same ear tissue in the foreground pixel point set to obtain a deduplication-free foreground pixel point set;

[0155] Based on the depth information, the three-dimensional points corresponding to the foreground pixels in the foreground pixel set after deduplication are obtained;

[0156] Use 3D points to construct a 3D image of the pet's ear.

[0157] Exemplarily, the electronic device may be a computer, a server, etc. The electronic device includes but is not limited to a processor 701, an input device 702, an output device 703, and a memory 704. It may also include a memory, a power supply, an application client module, etc. The input device 702 may be a keyboard, a touch screen, a radio frequency receiver, etc., and the output device 703 may be a speaker, a display, a radio frequency transmitter, etc. It will be understood by those skilled in the art that the schematic diagram is merely an example of an electronic device and does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or different components.

[0158] It should be noted that since the processor 701 of the electronic device implements the steps of the above-mentioned ear hematoma detection method based on 3D images when executing a computer program, the embodiments of the above-mentioned ear hematoma detection method based on 3D images are all applicable to the electronic device and can achieve the same or similar beneficial effects.

[0159] The embodiment of the present application also provides a computer storage medium (Memory), which is a memory device in an electronic device for storing programs and data. It is understandable that the computer storage medium here can include both the built-in storage medium in the terminal and the extended storage medium supported by the terminal. The computer storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor 701 are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory; optionally, it can also be at least one computer storage medium located away from the aforementioned processor 701. In one embodiment, the processor 701 can load and execute one or more instructions stored in the computer storage medium to implement the corresponding steps of the above-mentioned ear hematoma detection method based on 3D image construction.

[0160] Exemplarily, the computer program of the computer storage medium includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0161] It should be noted that, since the computer program of the computer storage medium implements the steps of the above-mentioned ear hematoma detection method based on 3D images when executed by the processor, all embodiments of the above-mentioned ear hematoma detection method based on 3D images are applicable to the computer storage medium and can achieve the same or similar beneficial effects.

[0162] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for detecting ear hematoma based on 3D image construction, characterized in that: The method comprises: Obtain multimodal ear medical images of pets; For at least one target ear medical image in the multimodal ear medical images, performing region of interest segmentation on each ear medical image in the at least one target ear medical image to obtain an auricle region image in each ear medical image; Constructing a 3D image of the pet's auricle based on the auricle region image; Segmenting the auricle skin and ear cartilage from the auricle 3D image, and determining whether the pet has an ear hematoma based on the volume between the auricle skin and ear cartilage; The multimodal ear medical image includes an ear vascular DSA medical image. Before determining whether the pet has an ear hematoma based on the volume between the auricle skin and the ear cartilage, the method further includes: Mapping the pixel points of the blood vessels in the ear blood vessel DSA medical image to the 3D space of the auricle 3D image to obtain the auricle 3D image containing the 3D blood vessels; The method further comprises: Obtaining multiple blood vessel segments based on the ear blood vessel DSA medical image; For any one of the multiple blood vessel segments, determining a 3D blood vessel segment of the any one of the blood vessel segments in the 3D image of the auricle containing the 3D blood vessel and a first centerline of the 3D blood vessel segment; determining whether the 3D blood vessel segment has a rupture based on the 3D blood vessel segment and a first centerline of the 3D blood vessel segment; The determining, based on the 3D blood vessel segment and the first centerline of the 3D blood vessel segment, whether the 3D blood vessel segment is ruptured comprises: Randomly select a point A on the blood vessel wall of the 3D blood vessel segment, and determine 8 neighboring points of the point A; Taking the first center line of the 3D blood vessel segment as the axis of symmetry, counting the number of symmetrical points of the point A and the eight neighboring points of the point A on the blood vessel wall of the 3D blood vessel segment; When the number of symmetrical points of the point A and the eight neighboring points of the point A on the blood vessel wall of the 3D blood vessel segment is less than a preset number, determining that the 3D blood vessel segment is ruptured; When the number of symmetrical points of point A and its eight neighboring points on the blood vessel wall of the 3D blood vessel segment is greater than or equal to a preset number, it is determined that the 3D blood vessel segment does not have a rupture.

2. The method according to claim 1, characterized in that The multiple blood vessel segments obtained based on the ear blood vessel DSA medical image include: Converting the ear blood vessel DSA medical image into a binary image; Extracting a second centerline of a blood vessel in the ear blood vessel DSA medical image based on the binary image; The intersection points and branch points of the second center lines of the blood vessels in the ear blood vessel DSA medical image are detected, and the intersection points and branch points are removed to obtain the multiple blood vessel segments.

3. The method according to claim 1 or 2, characterized in that: The step of constructing the pet's auricle 3D image based on the auricle region image comprises: Acquiring depth information of the auricle region image; Determine foreground pixel points from the auricle region image to obtain a foreground pixel point set; Deduplication is performed on multiple foreground pixel points corresponding to the same ear tissue in the foreground pixel point set to obtain a deduplication-free foreground pixel point set; Based on the depth information, obtaining a three-dimensional point corresponding to the foreground pixel point in the foreground pixel point set after deduplication; The three-dimensional points are used to construct a 3D image of the pet's auricle.

4. An ear hematoma detection device based on 3D images, characterized in that: The device comprises an acquisition unit and a processing unit. The acquisition unit is used to acquire multimodal ear medical images of the pet; The processing unit is configured to perform region of interest segmentation on each ear medical image in at least one target ear medical image in the multimodal ear medical images to obtain an auricle region image in each ear medical image; The processing unit is further used to construct a 3D image of the pet's auricle based on the auricle region image; The processing unit is further used to segment the auricle skin and ear cartilage from the auricle 3D image, and determine whether the pet has an ear hematoma based on the volume between the auricle skin and the ear cartilage; The multimodal ear medical image includes an ear blood vessel DSA medical image; the processing unit is further used for: Mapping the pixel points of the blood vessels in the ear blood vessel DSA medical image to the 3D space of the auricle 3D image to obtain the auricle 3D image containing the 3D blood vessels; Obtaining multiple blood vessel segments based on the ear blood vessel DSA medical image; For any one of the multiple blood vessel segments, determining a 3D blood vessel segment of the any one of the blood vessel segments in the 3D image of the auricle containing the 3D blood vessel and a first centerline of the 3D blood vessel segment; determining whether the 3D blood vessel segment has a rupture based on the 3D blood vessel segment and a first centerline of the 3D blood vessel segment; In terms of determining whether the 3D blood vessel segment is ruptured based on the 3D blood vessel segment and the first centerline of the 3D blood vessel segment, the processing unit is specifically configured to: Randomly select a point A on the blood vessel wall of the 3D blood vessel segment, and determine 8 neighboring points of the point A; Taking the first center line of the 3D blood vessel segment as the axis of symmetry, counting the number of symmetrical points of the point A and the eight neighboring points of the point A on the blood vessel wall of the 3D blood vessel segment; When the number of symmetrical points of the point A and the eight neighboring points of the point A on the blood vessel wall of the 3D blood vessel segment is less than a preset number, determining that the 3D blood vessel segment is ruptured; When the number of symmetrical points of point A and its eight neighboring points on the blood vessel wall of the 3D blood vessel segment is greater than or equal to a preset number, it is determined that the 3D blood vessel segment does not have a rupture.

5. An electronic device, comprising an input device and an output device, characterized in that: Also includes: a processor adapted to implement one or more computer programs; as well as, A memory storing one or more computer programs, wherein the one or more computer programs are suitable for being loaded by the processor and executing the method according to any one of claims 1 to 3.

6. A computer storage medium, characterized in that: The computer storage medium stores one or more instructions, and the one or more instructions are suitable for being loaded by a processor and executing the method according to any one of claims 1-3.