A thyroid nodule echo analysis device

By designing a thyroid nodule echo analysis device and using adaptive median filters and Laplacian filters to process ultrasound images, rapid and accurate detection of thyroid nodules is achieved, which solves the problem of the existing technology's reliance on subjectivity in ultrasound image analysis. Analysis of the problem improves the accuracy of thyroid cancer diagnosis.

CN113940702BActive Publication Date: 2024-08-23TEND.AI MEDICAL TECHNOLOGY (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111181810.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-11
Publication Date
2024-08-23
Estimated Expiration
2041-10-11

AI Technical Summary

Technical Problem

Existing ultrasound image analysis relies on physicians' subjective analysis in thyroid nodule detection and lacks automation and quantitative feature analysis, resulting in limited diagnostic efficiency and accuracy.

Method used

A thyroid nodule echo analysis device is designed, including an image acquisition module, a nodule of interest image extraction module, a gland detection module, a detection area generation module, a muscle and fascia detection module, a trachea and blood vessel detection module, and an echo detection module. , preprocessing ultrasound images through adaptive median filter and Laplacian filter to generate images to enhance contrast and edges for detection of glands, muscles, fascia, trachea and blood vessels, and based on these references Classify nodule echoes.

Benefits of technology

It achieves rapid and accurate detection of thyroid nodules, provides effective analysis of glands, muscles, fascia, trachea and blood vessels, helps doctors better judge the pathological characteristics of nodules, and improves the accuracy of thyroid cancer diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113940702B
    Figure CN113940702B
Patent Text Reader

Abstract

The present invention relates to a thyroid nodule echo analysis device, comprising an image acquisition module: used for acquiring an ultrasonic image with a thyroid nodule; an interested nodule image extraction module: used for obtaining an interested nodule image according to the ultrasonic image; a thyroid nodule gland detection module: used for obtaining a gland reference according to the ultrasonic image; a detection area generation module: used for generating a first detection area and a second detection area based on the ultrasonic image; a thyroid muscle and fascia detection module: used for obtaining a muscle and fascia reference according to the first detection area; a thyroid trachea and blood vessel detection module: used for obtaining a trachea and blood vessel reference according to the second detection area; and a thyroid nodule echo detection module: used for detecting nodule echoes according to the gland reference, the muscle and fascia reference, and the trachea and blood vessel reference. The present invention can effectively detect the echo of a thyroid nodule.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of auxiliary medical diagnosis, and in particular to a thyroid nodule echo analysis device. Background Art

[0002] Thyroid cancer is one of the most common cancers in women worldwide, with an incidence rate three times higher in women than in men. In 2018, one in every 20 cancer diagnoses in women was thyroid cancer. Ultrasound imaging is a non-invasive, radiation-free, and low-cost tumor diagnostic technology. However, due to the low quality of ultrasound images, identifying thyroid nodules and detecting signs of tumors from ultrasound images is a challenging task.

[0003] Generally, the growth and development of malignant tumors can be reflected by their shape, appearance, texture, composition, and many other factors. As an effective tool, grayscale ultrasound (US) images can visualize these factors and help doctors better observe and understand the manifestations of pathological sites. However, in current clinical practice, the reading of ultrasound image features greatly depends on the subjective or semi-subjective analysis of images by ultrasound physicians, which limits the widespread application of ultrasound. Therefore, automatic and accurate nodule quantitative analysis is crucial for the accurate diagnosis of cancer.

[0004] The Thyroid Imaging Reporting and Data System (TI-RADS) is a scientific guide for measuring and reporting thyroid and breast nodules. However, there is no research on quantitative feature analysis of TI-RADS to improve the diagnostic performance of thyroid cancer classification. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a thyroid nodule echo analysis device, which can effectively detect the echo of the thyroid nodule.

[0006] The technical solution adopted by the present invention to solve the technical problem is: to provide a thyroid nodule echo analysis device, comprising:

[0007] Image acquisition module: used to acquire ultrasound images with thyroid nodules;

[0008] The module for extracting the image of a nodule of interest is used to intercept the boundary of the thyroid nodule in the ultrasound image by selecting a number of coordinate points of interest to obtain an image of the nodule of interest;

[0009] Thyroid gland detection module: used to perform gland detection on the ultrasound image based on the nodule in the nodule image of interest to obtain a gland reference;

[0010] A detection area generating module: used for generating a first detection area and a second detection area based on the ultrasound image;

[0011] Thyroid muscle and fascia detection module: used to detect the muscles and fascia around the thyroid gland according to the first detection area to obtain muscle and fascia references;

[0012] Thyroid trachea and blood vessel detection module: used to detect the trachea and blood vessels around the thyroid gland according to the second detection area to obtain trachea and blood vessel references;

[0013] Thyroid nodule echo detection module: used for detecting nodule echo according to the gland reference, the muscle and fascia reference and the trachea and blood vessel reference.

[0014] The ultrasonic image preprocessing module is also included: it is used to filter the ultrasonic image through adaptive median filters of different window sizes to remove speckle noise in the ultrasonic image; then filter the ultrasonic image after the speckle noise is removed through Laplace filter to enhance the contrast and edge of the ultrasonic image, and finally generate an image I filt .

[0015] Before performing gland detection on the nodule image of interest, the thyroid gland detection module includes: constructing a strip area outside the boundary of the thyroid nodule, and then dividing the strip area into R sub-strip areas according to a preset segmentation angle based on the center of the thyroid nodule, and dividing each sub-strip area into n sub-slice areas.

[0016] The thyroid gland detection module uses the nodules in the nodule image of interest as a reference to perform gland detection on the ultrasound image. If the i-th sub-band area R i satisfy Then it represents the sub-band area R i is a gland, wherein a1 represents a first preset value, a2 represents a second preset value, and a3 represents a third preset value. Indicates a logical AND operation from j=1 to n. represents the i-th sub-strip region R i The set of pixels within the jth sub-slice area in , express The average brightness of all pixels in the set and I x,y Represents the brightness value of the ultrasound image I at the pixel (x, y).

[0017] The step of generating a first detection area based on the ultrasound image in the detection area generating module includes:

[0018] Binarization is performed on the ultrasound image I to generate image I B , and then for the image I BPerform morphological opening operation to generate mask image I BM ;

[0019] The mask image I is marked by a first bounding box BM The largest connected domain in the image is obtained by BU ;

[0020] The mask image I is marked by a second bounding box BU Location of the mid-tubercles;

[0021] In the mask image I BU and generate an image I above the nodule location BF , and the image I BF as the first detection area.

[0022] The thyroid muscle and fascia detection module detects the muscles and fascia around the thyroid gland according to the first detection area, and the formula is: Among them, I x,y represents the brightness value of the pixel (x, y) in the ultrasound image I, X MF represents the set of all pixel coordinates in the first detection area, (j, k) represents X MF Pixels in ;

[0023] When the detection result of the pixel point (x, y) is True, it indicates that the pixel point (x, y) is muscle or fascia; when the detection result of the pixel point (x, y) is False, it indicates that the pixel point (x, y) is not muscle or fascia.

[0024] The step of generating a second detection area based on the ultrasound image in the detection area generating module includes:

[0025] Binarization is performed on the ultrasound image I to generate image I B , and then for the image I B Perform morphological opening operation to generate mask image I BM ;

[0026] The mask image I is marked by a first bounding box BM The largest connected domain in the image is obtained by BU ;

[0027] In the mask image I BU Cut an image I that does not contain the nodule on both sides of the nodule BV , the image I BV The length of image I BU The length is the same as the nodule height, and the width is the height of the nodule, and the image I BV as the second detection area.

[0028] The thyroid trachea and blood vessel detection module detects the trachea and blood vessels around the thyroid gland according to the second detection area, and the formula is: in, Represents image I filt The brightness value of the pixel (x, y) in the middle;

[0029] When the detection result of the pixel point (x, y) is True, it indicates that the pixel point (x, y) is the trachea and blood vessel; when the detection result of the pixel point (x, y) is False, it indicates that the pixel point (x, y) is not the trachea and blood vessel.

[0030] The thyroid nodule echo detection module detects the nodule echo according to the gland reference, the muscle and fascia reference, and the trachea and blood vessel reference, including:

[0031] Determine the cutoff values ​​of nodule anechogenicity / extremely hypoechogenicity, extremely hypoechogenicity / hypoechogenicity, hypoechogenicity / isoechogenicity, and isoechogenicity / hyperechogenicity according to the gland reference, the muscle and fascia reference, and the trachea and blood vessel reference;

[0032] The gland reference is the median brightness of the gland; the muscle and fascia reference is the median brightness of the muscle and fascia; the trachea and blood vessel reference is the median brightness of the trachea and blood vessels;

[0033] According to the determined critical value, find the proportional distribution of different echo types. The formula is: Among them, Echo i represents the proportional distribution of different echo types within the nodule and Σ x∈i Echo x =1, i indicates echo type, no indicates no echo, vlow indicates very low echo, low indicates low echo, med indicates equal echo, high indicates high echo, X i Represents a set of pixel coordinates within the nodule corresponding to different echo types.

[0034] The thyroid nodule echo detection module detects the nodule echo according to the gland reference, the muscle and fascia reference and the trachea and blood vessel reference, and further includes: determining whether the proportion distribution of various types of echoes in the nodule meets the standard for judging the nodule echo, the formula is: Among them, t i Indicates the preset threshold.

[0035] Beneficial Effects

[0036] Due to the adoption of the above-mentioned technical scheme, the present invention has the following advantages and positive effects compared with the prior art: the present invention can effectively detect the thyroid gland, muscles and fascia, trachea and blood vessels, so as to facilitate doctors to make better, faster and more accurate judgments on the relevant pathological characteristics of thyroid nodules; the present invention can effectively analyze the type of echo of the nodule and the proportion of each echo type through the detected glands, muscles and fascia, trachea and blood vessels. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 is a flow chart of an embodiment of the present invention;

[0038] Figure 2 is a comparison diagram of the ultrasonic image before and after preprocessing according to an embodiment of the present invention;

[0039] Figure 3 is a schematic diagram of dividing a strip region into R sub-strip regions according to an embodiment of the present invention;

[0040] Figure 4 is a schematic diagram of gland detection results according to an embodiment of the present invention;

[0041] Figure 5 is a schematic diagram of an ultrasound image I according to an embodiment of the present invention;

[0042] Figure 6 is the mask image I of the embodiment of the present invention BU Schematic diagram;

[0043] Figure 7 This is an image I according to an embodiment of the present invention. BF Schematic diagram;

[0044] Figure 8 is a schematic diagram of muscle or fascia detection results according to an embodiment of the present invention;

[0045] Fig. 9 is an ultrasonic image I according to an embodiment of the present invention * Schematic diagram;

[0046] Fig.10 is a mask image according to an embodiment of the present invention Schematic diagram;

[0047] Fig.11 This is an image I according to an embodiment of the present invention. BV Schematic diagram;

[0048] Fig.12 is a schematic diagram of trachea and blood vessel detection results according to an embodiment of the present invention;

[0049] Fig.13 It is a schematic diagram of the echo detection result of the implementation mode of the present invention. DETAILED DESCRIPTION

[0050] The present invention will be further described below in conjunction with specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention. In addition, it should be understood that after reading the content taught by the present invention, those skilled in the art can make various changes or modifications to the present invention, and these equivalent forms fall within the scope limited by the appended claims of the application equally.

[0051] The embodiment of the present invention relates to a thyroid nodule echo analysis device, see Figure 1 ,include:

[0052] Image acquisition module: used to acquire ultrasound images with thyroid nodules;

[0053] The module for extracting the image of a nodule of interest is used to intercept the boundary of the thyroid nodule in the ultrasound image by selecting a number of coordinate points of interest to obtain an image of the nodule of interest;

[0054] Thyroid gland detection module: used to perform gland detection on the nodule image of interest to obtain a gland reference;

[0055] A detection area generating module: used for generating a first detection area and a second detection area based on the ultrasound image;

[0056] Thyroid muscle and fascia detection module: used to detect the muscles and fascia around the thyroid gland according to the first detection area to obtain muscle and fascia references;

[0057] Thyroid trachea and blood vessel detection module: used to detect the trachea and blood vessels around the thyroid gland according to the second detection area to obtain trachea and blood vessel references;

[0058] Thyroid nodule echo detection module: used for detecting nodule echo according to the gland reference, the muscle and fascia reference and the trachea and blood vessel reference.

[0059] The ultrasonic image preprocessing module is also included: it is used to filter the ultrasonic image through adaptive median filters of different window sizes to remove speckle noise in the ultrasonic image; then filter the ultrasonic image after the speckle noise is removed through Laplace filter to enhance the contrast and edge of the ultrasonic image, and finally generate an image I filt .

[0060] The present invention is described in detail below through a specific embodiment:

[0061] Speckle noise is a particle-like interference inherent in medical ultrasound images, which can cause deviations from the expected signal measured. The presence of speckle noise can greatly reduce the quality of ultrasound images and easily mislead further analysis. Therefore, in order to make image analysis more accurate, it is necessary to reduce the impact of speckle noise.

[0062] In the ultrasound image preprocessing module, this embodiment uses an adaptive median filter to preprocess the ultrasound image to eliminate the interference of speckle noise. The adaptive median filter can effectively reduce isolated bright or dark pixels (i.e., noise) in the image. Its working principle is to compare each pixel in the image with its neighboring pixels (within a predefined window). If the central pixel value is significantly different from the adjacent pixels, the central pixel value is regarded as noise, and then the central pixel value is replaced with the median value of the pixels in the neighborhood. Otherwise, the adaptive median filter will search in a larger window until the maximum window size is reached. This process is repeated until all noise pixels are removed from the image. This is different from traditional methods, which usually predefine the window to a fixed value, resulting in poor denoising results. Considering that thyroid nodules vary in size, the window needs to be adjusted to maximize filtering performance. The specific definitions are as follows:

[0063]

[0064] Among them, D min Indicates the minimum size of the ultrasound image; when the minimum size of the nodule of interest is D min ≥250, the maximum window size of the adaptive median filter When the minimum size of the ultrasound image is 120 ≤ D min <250, the maximum window size of the adaptive median filter When the minimum size of the ultrasound image is 0<D min <120, the maximum window size of the adaptive median filter

[0065] Although the adaptive median filter can significantly reduce the speckle noise contained in the image, the application of the adaptive median filter will distort the local information in the image. Therefore, the present embodiment further applies a Laplacian filter to the median filtered image to restore the potential loss in the image. The Laplacian filter is an edge-aware image filter based on direct correction of the Laplacian pyramid, which can greatly refine the image content without degrading the edge or generating halos. The Laplacian filter contains two basic parameters, one for controlling the enhancement and attenuation of the edge, expressed as σ, and the other for controlling the smoothing of the details, expressed as α, and the formula is as follows:

[0066]

[0067] in, represents the remapping function of signal i, g represents the coefficient of the Gaussian pyramid where signal i is located, signal i represents the brightness information of the image, α is used to control the smoothness of details, and σ is used to control the enhancement or attenuation of edges. Through experiments, it is found that the Laplace filter produces the best effect when σ = 1.2 and α = 0.8.

[0068] This embodiment combines an adaptive median filter and a Laplace filter to preprocess the ultrasound image. Figure 2 (a) in the figure represents the image before preprocessing. Figure 2 (b) in the figure represents the preprocessed image I filt It is not difficult to see that through preprocessing, this embodiment significantly reduces the speckle noise in the image while retaining the local texture information of the image, which is of great benefit to the further analysis of the ultrasound image.

[0069] (I) Glandular detection

[0070] In the thyroid gland detection module, the thyroid gland is a large group of cells that secrete hormones and is commonly found in the thyroid gland. The gland is often used as an isoechoic reference in echo analysis. Since thyroid nodules often grow on the gland, a reference for the gland can be obtained from the area around the outside of the nodule.

[0071] See also Figure 3 In this embodiment, when searching for the reference of the gland, a strip region (composed of LB and OL) is first constructed outside the boundary LB of the thyroid nodule, and then the strip region is divided into R sub-strip regions. For simplicity, this embodiment regards the strip region as a circular ring, and divides the strip region 360 degrees based on the center of the nodule. The segmentation formula is as follows:

[0072]

[0073] Where θ represents the splitting angle, Figure 3 The segmentation angle in is 45 degrees, dividing the nodule into 8 sub-band regions, which can provide a more robust and accurate estimation of the appearance of local echoes.

[0074] When actually detecting the gland, this embodiment divides the band area into 36 sub-band areas, that is, |R|=36. When studying the appearance of the nodule, this embodiment specifically constructs 5 continuous sub-slice areas with a width of 5 pixels in the outer sub-band area (the sub-slice areas are gradually constructed outward along the edge of the nodule), and these sub-slice areas cover a total of 1-25 pixels outside the thyroid nodule. This embodiment represents the sub-band area around the nodule as R i (i=1,...,36), and define the sub-strip region R i The set of pixels in the jth sub-slice area is If the sub-band region R i If the following two conditions are met at the same time, the sub-band region R i is the effective area of ​​the gland reference, and the formula is as follows:

[0075]

[0076] in, Indicates logical AND operation from j=1 to 5, represents the i-th sub-strip region R i The set of inner pixels of the j-th sub-slice area in , express The average brightness of all pixels in the set and I x,y Represents the brightness value of the ultrasound image I at the pixel (x, y).

[0077] See also Figure 4 , Figure 4 The white circled part in (a) is the nodule. Figure 4 In (b), several approximately square areas represent the detected glands.

[0078] After checking all sub-band areas, the median brightness of each valid sub-band area is calculated. The median of these median brightness values ​​is finally used as the reference value for detecting glands and is regarded as the reference of isoechoicity, denoted as G Ref .

[0079] (ii) Muscle and fascia testing

[0080] Furthermore, the muscles (usually the superficial cervical muscles or sternocleidomastoid muscles) and fascia surrounding the thyroid gland can sometimes be found in ultrasound images, and the muscles and fascia are usually used as hypoechoic references in echo analysis. However, the location of the muscles and fascia depends largely on the angle of image capture, where the fascia, as a mixture of skin and muscle, usually appears at the top of the ultrasound image, while the muscles ideally appear on both sides above the thyroid gland.

[0081] The detection area generation module specifically includes: when searching for such a reference, the present embodiment first performs an ultrasonic image I (see Figure 5 The white circle is the nodule area marked by the doctor) and the scanned ultrasound image is separated from the black background to generate image I B Then a 100×100 pixel rectangular structure element is used to map the image I B A morphological opening operation is performed to remove background texture and human annotations, thereby generating a new binary mask image, denoted as I BM Next, the image I is marked by the first bounding box BM The largest rectangular connected domain is selected as the final candidate mask image I BU (See Figure 6 ). At the same time, this embodiment uses the second bounding box (i.e. Figure 7 The nodules are marked by the rectangular frame at the bottom, and according to the position of the marked nodules, the mask image I BM and generate a first detection area above the nodule position (i.e. Figure 7 The rectangular box above is represented by I BF (See Figure 7 ), which is used to analyze the muscles and fascia. In the thyroid muscle and fascia detection module, it is assumed that X MF Represents image I BF The set of all pixel coordinates in the marked area, then the muscle and fascia detection rule for each pixel (x, y) can be expressed by the following formula:

[0082]

[0083] Among them, I x,y represents the brightness value of the pixel (x, y) in the ultrasound image I, and (j, k) represents X MF Finally, all pixels marked as True will be identified as part of the muscle or fascia region (see Figure 8 ).

[0084] Furthermore, when the muscle and fascia area is detected, the present embodiment calculates the median brightness of the area and uses the median brightness as a reference for the muscle and fascia, that is, a reference for low echoes, expressed as MF Ref .

[0085] (III) Trachea and blood vessel testing

[0086] In ultrasound images of the thyroid gland, the trachea and blood vessels can sometimes be found, and are often used as echo-free references in echo analysis. However, the location of the trachea and blood vessels also depends largely on the angle at which the image is captured, and in most cases, the trachea and blood vessels should appear on both sides of the thyroid gland.

[0087] For the sake of distinction, the ultrasonic images used for trachea and blood vessel detection in this embodiment are different from the ultrasonic images used for muscle and fascia detection. * (See Fig. 9 ) and separates the ultrasound scan from the black background to generate an image Then, a 100×100 pixel rectangular structure element is used to map the image. A morphological opening operation is performed to remove background texture and human annotations, thereby generating a new binary mask image represented as Next, mark the image with the first bounding box The largest rectangular connected domain is selected as the final candidate mask image. (See Fig.10 ). Finally, based on the previous understanding of the positions of the trachea and blood vessels, this embodiment uses the mask image An image excluding the nodule is intercepted on both sides of the nodule and marked as I BV (See Fig.11 ), change I BV As the second detection area for further analysis. Since the trachea and blood vessels are by definition anechoic and easily affected by speckle noise, this embodiment uses an adaptive median filter and a Laplace filter to filter the ultrasound image I in advance. * Preprocessing is performed to generate the filtered image I filt Then, in image I filt Apply mask image I BV , and further detect blood vessels and trachea in the retained area. Assume that X TV Indicates the marked area I BV The set of all pixel coordinates marked in the image, then the rules for trachea and blood vessel detection at each pixel (x, y) can be expressed by the following formula:

[0088]

[0089] in, Represents image I filt The brightness value of the pixel (x, y) in the image. Ultimately, all pixels marked as True will be identified as part of the trachea or blood vessel region (see Fig.12).

[0090] Further, after the trachea or blood vessel area is detected, the present embodiment calculates the median brightness of the area, and uses the median brightness as a reference for the trachea or blood vessel, that is, a reference for no echo, expressed as TV Ref .

[0091] (IV) Echo analysis

[0092] There are five types of echo of thyroid nodules, namely, anechoic, very low echo, low echo, equal echo and high echo. In order to detect the five types of echo distribution, this embodiment first uses an adaptive median filter and a Laplace filter to preprocess the original image to reduce speckle noise, thereby generating a filtered image I filt In addition, when further global analysis is performed on the echo, the present embodiment also includes image I filt It is further converted into a super-pixel image, and the calcification area detected on the super-pixel image and the shadow area under the coarse calcification are removed to obtain image I clean , which is convenient for subsequent echo analysis.

[0093] By definition, the thyroid gland is considered isoechoic, the muscles and fascia are considered hypoechoic, and the trachea and blood vessels are considered anechoic. Ref , muscle / fascia reference MF Ref , trachea / blood vessels reference TV Ref The critical values ​​between no / very low echo, very low / low echo, low / equal echo, equal / high echo are defined respectively, and the intensity range of different echo types is simply derived. These critical values ​​are expressed by the ratio of three reference values. For the critical values ​​from no / very low echo to equal / high echo, these reference values ​​are determined by experiments as follows: {1.1TV Ref ,1.3MF Ref ,0.9G Ref ,1.6G Ref}. That is, [0,1.1TV Ref ] indicates the range without echo, [1.1TV Ref ,1.3MF Ref ] indicates the range of extremely low echo, [1.3MF Ref ,0.9G Ref ] indicates the low echo range, [0.9G Ref ,1.6G Ref ] indicates the range of equal echo, [1.6G Ref ,255] indicates the range of high echo. It should be noted that the trachea / blood vessels refer to TV Ref and muscle / fascia reference MF RefIt is not always effective because the trachea / blood vessels, muscles / fascia may not always appear on ultrasound images. In the case where the corresponding reference is missing or invalid, this embodiment will TV Ref Replaced with 0.1G Ref , will MF Ref Replaced with 0.3G Ref According to the defined range, image I clean Each candidate pixel in can be classified into different types of echoes according to its brightness.

[0094] As the last step of echo classification, this embodiment applies morphological opening operation to the final detection result to optimize the detected echo area. In more detail, the extremely low echo and low echo areas are morphologically opened by a 10-pixel wide disc-shaped structure element, and the anechoic area is morphologically opened by a 5-pixel wide disc-shaped structure element.

[0095] As a description of echo analysis, this embodiment lists the distribution of different echo levels in the form of percentage values ​​to describe and quantify them. no , X vlow , X low , X med and X high It represents the set of pixel coordinates detected in the thyroid nodule that are ultimately none, very low, low, equal, and high echoes. i The percentage can be expressed as:

[0096]

[0097] Among them, ∑ x∈i Echo x =1.

[0098] In addition to the calculated distribution ratio, this embodiment also defines a set of thresholds t {no,vlow,low,med,high} , which is used to determine whether the proportion distribution of various types of echoes in a nodule meets the criteria for judging nodule echoes. If the following conditions are met, the corresponding type of echo will be identified as existing in the nodule (i.e., the echo judgment criteria are met and the corresponding echo will be marked in the nodule):

[0099]

[0100] Among them, the threshold t {no,vlow,low,med,high} Determined through experiments:

[0101] {t no =0.05,t low =0.06,t vlow =0.1,t med =0.05,thigh =0.05}

[0102] Fig.13 The result of echo detection is shown. The area represented by number 1 is extremely low echo, the area represented by number 2 is low echo, and the area represented by number 3 is equal echo. Since the area occupied by the extremely low echo represented by number 1 is small, the extremely low echo part is ignored.

[0103] It can be seen that the present invention can effectively detect the thyroid gland, muscles and fascia, trachea and blood vessels, so that doctors can make better, faster and more accurate judgments on the relevant pathological characteristics of thyroid nodules; the present invention can effectively analyze the type of echo of the nodule and the proportion of each echo type through the detected glands, muscles and fascia, trachea and blood vessels.

Claims

1. A thyroid nodule echo analysis device, characterized in that: include: Image acquisition module: used to acquire ultrasound images with thyroid nodules; The module for extracting the image of a nodule of interest is used to intercept the boundary of the thyroid nodule in the ultrasound image by selecting a number of coordinate points of interest to obtain an image of the nodule of interest; Thyroid gland detection module: used to perform gland detection on the ultrasound image based on the nodule in the nodule image of interest to obtain a gland reference; A detection area generating module: used for generating a first detection area and a second detection area based on the ultrasound image; Thyroid muscle and fascia detection module: used to detect the muscles and fascia around the thyroid gland according to the first detection area to obtain muscle and fascia references; Thyroid trachea and blood vessel detection module: used to detect the trachea and blood vessels around the thyroid gland according to the second detection area to obtain trachea and blood vessel references; The thyroid nodule echo detection module is used to detect the nodule echo according to the gland reference, the muscle and fascia reference, and the trachea and blood vessel reference, and specifically includes: Determine the cutoff values ​​of nodule anechogenicity / extremely hypoechogenicity, extremely hypoechogenicity / hypoechogenicity, hypoechogenicity / isoechogenicity, and isoechogenicity / hyperechogenicity according to the gland reference, the muscle and fascia reference, and the trachea and blood vessel reference; The gland reference is the median brightness of the gland; the muscle and fascia reference is the median brightness of the muscle and fascia; the trachea and blood vessel reference is the median brightness of the trachea and blood vessels; According to the determined critical value, find the proportional distribution of different echo types. The formula is: Among them, Echo i represents the proportional distribution of different echo types within the nodule and Σ x∈ i Echo x =1, i indicates echo type, no indicates no echo, vlow indicates very low echo, low indicates low echo, med indicates equal echo, high indicates high echo, X i Represents the set of pixel coordinates within the nodule corresponding to different echo types; Determine whether the proportion distribution of various types of echoes in the nodule meets the standard for judging the echo of the nodule. The formula is: Among them, t i Indicates the preset threshold.

2. The thyroid nodule echo analysis device according to claim 1, characterized in that: The ultrasonic image preprocessing module is also included: it is used to filter the ultrasonic image through adaptive median filters of different window sizes to remove speckle noise in the ultrasonic image; then filter the ultrasonic image after the speckle noise is removed through Laplace filter to enhance the contrast and edge of the ultrasonic image, and finally generate an image I filt .

3. The thyroid nodule echo analysis device according to claim 1, characterized in that: Before performing gland detection on the nodule image of interest, the thyroid gland detection module includes: constructing a strip area outside the boundary of the thyroid nodule, and then dividing the strip area into R sub-strip areas according to a preset segmentation angle based on the center of the thyroid nodule, and dividing each sub-strip area into n sub-slice areas.

4. The thyroid nodule echo analysis device according to claim 3, characterized in that: The thyroid gland detection module uses the nodules in the nodule image of interest as a reference to perform gland detection on the ultrasound image. If the i-th sub-band area R i satisfy Then it represents the sub-band area R i is a gland, wherein a1 represents a first preset value, a2 represents a second preset value, and a3 represents a third preset value. Indicates a logical AND operation from j=1 to n. represents the i-th sub-strip region R i The set of pixels within the jth sub-slice area in , express The average brightness of all pixels in the set and I x,y Represents the brightness value of the ultrasound image I at the pixel (x, y).

5. The thyroid nodule echo analysis device according to claim 1, characterized in that: The step of generating a first detection area based on the ultrasound image in the detection area generating module includes: Binarization is performed on the ultrasound image I to generate image I B , and then for the image I B Perform morphological opening operation to generate mask image I BM ; The mask image I is marked by a first bounding box BM The largest connected domain in the image is obtained by BU ; The mask image I is marked by a second bounding box BU Location of the mid-tubercles; In the mask image I BU and generate an image I above the nodule location BF , and the image I BF as the first detection area.

6. The thyroid nodule echo analysis device according to claim 1, characterized in that: The thyroid muscle and fascia detection module detects the muscles and fascia around the thyroid gland according to the first detection area, and the formula is: Among them, I x,y represents the brightness value of the pixel (x, y) in the ultrasound image I, X MF represents the set of all pixel coordinates in the first detection area, (j, k) represents X MF Pixels in ; When the detection result of the pixel point (x, y) is True, it indicates that the pixel point (x, y) is muscle or fascia; when the detection result of the pixel point (x, y) is False, it indicates that the pixel point (x, y) is not muscle or fascia.

7. The thyroid nodule echo analysis device according to claim 1, characterized in that: The step of generating a second detection area based on the ultrasound image in the detection area generating module includes: Binarization is performed on the ultrasound image I to generate image I B , and then for the image I B Perform morphological opening operation to generate mask image I BM ; The mask image I is marked by a first bounding box BM The largest connected domain in the image is obtained by BU ; In the mask image I BU Cut an image I that does not contain the nodule on both sides of the nodule BV , the image I BV The length of image I BU The length is the same as the nodule height, and the width is the height of the nodule, and the image I BV as the second detection area.

8. The thyroid nodule echo analysis device according to claim 2, characterized in that: The thyroid trachea and blood vessel detection module detects the trachea and blood vessels around the thyroid gland according to the second detection area, and the formula is: in, Represents image I filt The brightness value of the pixel (x, y) in the middle; When the detection result of the pixel point (x, y) is True, it indicates that the pixel point (x, y) is the trachea and blood vessel; when the detection result of the pixel point (x, y) is False, it indicates that the pixel point (x, y) is not the trachea and blood vessel.