WO2023109212A1 - Cbct image denoising method and apparatus, storage medium and electronic device - Google Patents

Cbct image denoising method and apparatus, storage medium and electronic device Download PDF

Info

Publication number
WO2023109212A1
WO2023109212A1 PCT/CN2022/118526 CN2022118526W WO2023109212A1 WO 2023109212 A1 WO2023109212 A1 WO 2023109212A1 CN 2022118526 W CN2022118526 W CN 2022118526W WO 2023109212 A1 WO2023109212 A1 WO 2023109212A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
cbct
cbct image
segmentation
growth
Prior art date
Application number
PCT/CN2022/118526
Other languages
French (fr)
Chinese (zh)
Inventor
易前娥
张康平
孙宇
张文宇
王亚杰
吴宏新
Original Assignee
北京朗视仪器股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京朗视仪器股份有限公司 filed Critical 北京朗视仪器股份有限公司
Publication of WO2023109212A1 publication Critical patent/WO2023109212A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/187Segmentation; Edge detection involving region growing; involving region merging; involving connected component labelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10072Tomographic images
    • G06T2207/10081Computed x-ray tomography [CT]

Definitions

  • the present application relates to the technical field of radiation imaging, in particular to a CBCT image denoising method, device, storage medium and electronic equipment.
  • CBCT data plays an important role, but the obtained CBCT tomographic images are often accompanied by a large amount of electronic noise and quantum noise.
  • electronic noise and quantum noise For example, in the brain, there are multiple cavity areas such as the mouth, throat, and nasal cavity. Ideally, these cavity areas are filled with air, and the gray value on the CBCT image should be zero.
  • due to noise pollution serious The contrast between the image cavity area and other tissue structure information is reduced, and the visual effect is poor, which affects the doctor's observation and judgment of the lesion, and also affects the post-processing task of the image information.
  • the existing CBCT image denoising methods include TV denoising, three-dimensional block matching method, wavelet filtering method, etc., and there are many problems: the traditional region growing segmentation algorithm uses a fixed threshold as the growth condition, and it is easy to appear when encountering images with large noise levels. Over-segmentation or under-segmentation, poor adaptability.
  • the embodiment of the present application provides a CBCT image denoising method, device, storage medium, and electronic equipment to solve the problem of over-segmentation or under-segmentation and poor adaptability when segmenting CBCT images in the prior art. technical problem.
  • the first aspect of the embodiment of the present application provides a CBCT image denoising method.
  • the CBCT image denoising method includes: acquiring a CBCT image; calculating the otsu segmentation threshold corresponding to the cross section, coronal plane and sagittal plane slices of the CBCT image The dynamic segmentation threshold corresponding to the region growth; calculate the growth seed point of the cavity area according to the CBCT image; perform the cross-section, coronal plane and sagittal plane of the CBCT image according to the dynamic segmentation threshold and the growth seed point Region growing to obtain the CBCT image segmentation result; performing dilation and erosion processing on the CBCT image segmentation result to obtain a corresponding CBCT segmented image; combining the CBCT segmented image and processing the CBCT image to obtain a denoised CBCT image .
  • the acquiring the CBCT image includes: acquiring an initial CBCT image from the acquired CBCT three-dimensional tomographic image; performing bilateral filtering on the initial CBCT image to obtain the CBCT image.
  • the calculating the growth seed point of the cavity region according to the CBCT image includes: segmenting any two-dimensional image of the cross-section, coronal plane and sagittal plane of the CBCT image to obtain the first binary value Image and record the segmentation threshold and determine the foreground area and background area in the first binary image; compare the area of the corresponding soft tissue area in the foreground area with the preset area threshold; when the corresponding soft tissue area in the foreground area The area of the soft tissue area is smaller than the preset area threshold, and the corresponding soft tissue area in the foreground area is removed from the foreground area to obtain a corresponding second binary image; The foreground area corresponding to the image is processed to obtain a grayscale image; the foreground area after the distance transformation is traversed and the pixel point corresponding to the maximum value of the pixel value in the foreground area after the distance transformation is used as the growth seed point of the cavity area.
  • performing region growth on the transverse plane, coronal plane, and sagittal plane of the CBCT image according to the dynamic segmentation threshold and the growth seed point to obtain the segmentation result of the CBCT image includes: calculating the points to be measured The difference between the gray value and the gray value corresponding to the growth point; the difference is compared with the dynamic segmentation threshold, and the difference is smaller than the dynamic segmentation threshold as the growth criterion and the corresponding neighbor of the growth seed point Region growing is performed in the domain to obtain the segmentation results of the cross-section, coronal plane and sagittal plane of the CBCT image.
  • the method further includes: performing an OR operation on the segmentation results of the cross-section, coronal plane and sagittal plane of the CBCT image and combining the segmentation information of the cross-section, coronal plane and sagittal plane of the CBCT image The result of the CBCT image segmentation is obtained.
  • the combining the CBCT segmented image and processing the CBCT image to obtain a denoised CBCT image includes: traversing the CBCT data corresponding to the acquired CBCT three-dimensional tomographic image, and converting the corresponding The location of the foreground region is assigned zero.
  • the second aspect of the embodiment of the present application provides a CBCT image denoising device
  • the CBCT image denoising device includes: an acquisition module, used to acquire a CBCT image; a first calculation module, used to The otsu segmentation threshold corresponding to the slice of the sagittal plane calculates the dynamic segmentation threshold corresponding to the region growth; the second calculation module is used to calculate the growth seed point of the cavity area according to the CBCT image; the growth module is used to calculate the growth seed point according to the dynamic The segmentation threshold and the growth seed point perform region growth on the cross-section, coronal plane and sagittal plane of the CBCT image to obtain the segmentation result of the CBCT image; a processing module is used to expand and erode the segmentation result of the CBCT image The corresponding CBCT segmented image is obtained by processing; the second processing module is used to combine the CBCT segmented image and process the CBCT image to obtain a denoised CBCT image.
  • the device further includes: a first acquisition module, configured to acquire an initial CBCT image from the acquired CBCT three-dimensional tomographic image; a third processing module, configured to perform bilateral filtering on the initial CBCT image to obtain the CBCT images.
  • a first acquisition module configured to acquire an initial CBCT image from the acquired CBCT three-dimensional tomographic image
  • a third processing module configured to perform bilateral filtering on the initial CBCT image to obtain the CBCT images.
  • the third aspect of the embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores computer instructions, and the computer instructions are used to make the computer execute the first aspect and the first aspect of the embodiment of the present application.
  • the fourth aspect of the embodiment of the present application provides an electronic device, including: a memory and a processor, the memory and the processor are connected to each other in communication, the memory stores computer instructions, and the processor executes the Computer instructions, so as to execute the CBCT image denoising method as described in the first aspect of the embodiment of the present application and any one of the first aspect.
  • the CBCT image denoising method obtaineds a CBCT image; calculates the dynamic segmentation threshold corresponding to the region growth according to the otsu segmentation threshold corresponding to the cross section, coronal plane, and sagittal plane slice of the CBCT image; according to the CBCT image
  • the image calculates the growth seed point of the cavity area; according to the dynamic segmentation threshold and the growth seed point, the cross-section, coronal plane and sagittal plane of the CBCT image are region-grown to obtain the CBCT image segmentation result;
  • the CBCT image segmentation result is expanded and eroded to obtain a corresponding CBCT segmented image; the CBCT segmented image is combined and processed to obtain a denoised CBCT image.
  • This method adopts the dynamic segmentation threshold as the growth condition in the region growing, and it is not easy to over-segment or under-segment when encountering images with large noise level differences, and has good adaptability. Therefore, by implementing the present application, the threshold parameter self-adaptation is realized, and the robustness of the algorithm is increased.
  • Fig. 1 is the flowchart of the CBCT image denoising method according to the embodiment of the application
  • Fig. 2 is a schematic diagram of a CBCT image according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a CBCT image after denoising according to an embodiment of the present application.
  • FIG. 4 is a structural block diagram of a CBCT image denoising device according to an embodiment of the present application.
  • Fig. 5 is a schematic structural diagram of a computer-readable storage medium provided according to an embodiment of the present application.
  • Fig. 6 is a schematic structural diagram of an electronic device provided according to an embodiment of the present application.
  • the embodiment of the present application provides a CBCT image denoising method, as shown in Figure 1, the method includes the following steps:
  • Step S101 acquiring a CBCT image. Specifically, before denoising, the corresponding CBCT image is acquired first. In one embodiment, as shown in FIG. 2 , a CBCT image of a certain patient is acquired.
  • Step S102 Calculate the dynamic segmentation threshold corresponding to the region growth according to the otsu segmentation thresholds corresponding to the slices of the cross-section, coronal plane and sagittal plane of the CBCT image.
  • the dynamic segmentation threshold corresponding to the region growing is calculated before the slice segmentation of the CBCT image.
  • it is calculated according to the otsu segmentation threshold corresponding to the slices of the cross-section, coronal plane and sagittal plane of the CBCT image, and the specific calculation formula is:
  • T′ X (i) ⁇ T X (i), i ⁇ (0,1,2,...,X X -1)
  • Step S103 Calculate the growth seed point of the cavity area according to the CBCT image. Specifically, after the CBCT image is obtained, the CBCT image is processed and calculated to obtain the growth seed point of the cavity region. Among them, the CBCT image contains multiple cavity regions.
  • the acquired CBCT image of the brain includes multiple cavities such as the oral cavity, throat, and nasal cavity.
  • Step S104 performing region growing on the transverse plane, coronal plane and sagittal plane of the CBCT image according to the dynamic segmentation threshold and the growth seed point to obtain the segmentation result of the CBCT image. Specifically, after the dynamic segmentation threshold and the growth seed point are obtained, the growth seed point is used as the starting point of growth and combined with the dynamic segmentation threshold to perform region growth on the transverse, coronal, and sagittal planes of the CBCT image to obtain the CBCT image. Split results.
  • Step S105 Dilate and erode the CBCT image segmentation result to obtain a corresponding CBCT segmented image.
  • the segmentation result is processed based on three-dimensional morphology. Specifically, the expansion process can remove the noise caused by excessive noise, and optimize the cavity area of part of the under-segmentation of the slice, and then perform the erosion process to remove part of the boundary pixels, and obtain the final otsu segmented image, which is the corresponding CBCT segmented image .
  • Step S106 Combining the CBCT segmented image and processing the CBCT image to obtain a denoised CBCT image.
  • the denoised CBCT image can be obtained by processing the originally acquired CBCT image in combination with the segmentation result, that is, the CBCT segmented image.
  • the CBCT image denoising method obtaineds a CBCT image; calculates the dynamic segmentation threshold corresponding to the region growth according to the otsu segmentation threshold corresponding to the cross section, coronal plane, and sagittal plane slice of the CBCT image; according to the CBCT image
  • the image calculates the growth seed point of the cavity area; according to the dynamic segmentation threshold and the growth seed point, the cross-section, coronal plane and sagittal plane of the CBCT image are region-grown to obtain the CBCT image segmentation result;
  • the CBCT image segmentation result is expanded and eroded to obtain a corresponding CBCT segmented image; the CBCT segmented image is combined and processed to obtain a denoised CBCT image.
  • This method adopts the dynamic segmentation threshold as the growth condition in the region growing, and it is not easy to over-segment or under-segment when encountering images with large noise level differences, and has good adaptability. Therefore, by implementing the present application, the threshold parameter self-adaptation is realized, and the robustness of the algorithm is increased.
  • the bilateral filtering process can eliminate the noise mixed in when the image is digitized.
  • the growth seed point of the cavity region based on the CBCT image when calculating the growth seed point of the cavity region based on the CBCT image, firstly segment any two-dimensional image of the cross-section, coronal plane, and sagittal plane of the CBCT image to obtain The first binary image and record the segmentation threshold, and determine the foreground area and the background area in the first binary image.
  • any two-dimensional image X plane (i) of the sagittal plane (any one of the cross-section, coronal plane and sagittal plane of the CBCT image) in the CBCT image, and use the threshold segmentation method (otsu) to perform Roughly segment and record the otsu segmentation threshold, where the pixel area whose gray value is less than the otsu segmentation threshold is the foreground area, and the corresponding pixel value is 1; the pixel area whose gray value is greater than the otsu segmentation threshold is the background area, and the corresponding pixel value is 0.
  • the corresponding first binary image B X (i) can be obtained.
  • any two-dimensional image of each cross section, coronal plane and sagittal plane in the CBCT image is selected and segmented;
  • the otsu segmentation threshold is a threshold automatically calculated by the otsu method, and otsu is a threshold segmentation algorithm that can Calculate the optimal segmentation threshold based on the image.
  • the gray value of some soft tissue structures in the CBCT image is close to the noise gray value, and the rough segmentation using the threshold segmentation method (otsu) is easy to make the gray value close to the noise gray value
  • the soft tissue area is misclassified as a foreground area, that is, the foreground area in the first binary image B x (i) contains part of the soft tissue area, so the mis-segmented soft tissue area in the foreground area needs to be removed.
  • the area of multiple foreground regions in B X (i) is compared with the preset area threshold, and when the area of the foreground region is smaller than the preset area threshold, the foreground region is removed, and the area of all foreground regions is screened to obtain The corresponding second binary image B' X (i), and then calculate the seed point corresponding to the foreground area in B' X (i).
  • the threshold segmentation method is easy to cause over-segmentation, if the foreground area in B′ X (i) is directly used as the growth seed, there may be a problem of wrong calculation of the seed point. In addition, there are a variety of structural shapes in the cavity area contained in the cranial brain. When the centroid of the foreground area is selected as the seed, it is easy to cause the centroid to not be in the foreground area.
  • the distance transformation method to process the foreground area corresponding to the second binary image to obtain a grayscale image; then traverse the foreground area pixels after distance transformation, and use the pixel point corresponding to the maximum value of the pixel value in the foreground area after distance transformation as the cavity area Grow seed points.
  • the distance transformation method first use the distance transformation method to process the foreground area in the binary image B′ X (i) to obtain a grayscale image. After the distance transformation method, the farther away from the background area, the higher the pixel value of the corresponding foreground area. After the transformation, the determined foreground area is partially highlighted, and then the foreground area after the distance transformation is traversed, and the pixel coordinate corresponding to its maximum value is used as the growth seed.
  • region growing is performed on the cross-sectional, coronal, and sagittal planes of the CBCT image to obtain the CBCT image segmentation result.
  • the segmentation results of the cross-section, coronal plane and sagittal plane of the CBCT image were obtained by region growing.
  • the obtained growth seed point (x, y) is used as the starting point of growth, and the difference between the gray value of the measured point and the gray value corresponding to the growth point (x, y) is less than the dynamic segmentation threshold T′ X (i) as Growth criteria, in the 8 adjacent neighborhoods of the growth seed point: (x-1, y-1), (x-1, y), (x-1, y+1), (x, y-1 ), (x, y+1), (x+1, y-1), (x+1, y), (x+1, y+1) perform region growth, and merge pixels that meet the growth criteria, And the merged pixel is used as a new growth seed, and the 8 adjacent neighbor pixels are continuously grown and merged until there is no pixel point that meets the growth criterion, and the growth is stopped.
  • coronal plane and sagittal plane of the CBCT image can obtain the segmentation results corresponding to the cross-section, coronal plane and sagittal plane of the CBCT image.
  • Each slice segmentation process and the three-dimensional segmentation process meet the independent calculation conditions, and the processing efficiency is effectively improved by parallel computing, and the time consumption is shorter.
  • region growing is performed on the cross-sectional two-dimensional image Z plane (k), the coronal plane Y plane (j) and the sagittal plane X plane (i) of the CBCT data respectively to obtain the segmentation result
  • the CBCT image segmentation result can be obtained by performing an OR operation on the cross-sectional, coronal and sagittal plane segmentation results of the obtained CBCT image and combining the cross-sectional, coronal and sagittal plane segmentation information of the CBCT image.
  • the two-dimensional segmentation results are combined into three-dimensional results:
  • combining the CBCT segmented image and processing the CBCT image to obtain a denoised CBCT image includes: traversing the CBCT data corresponding to the acquired CBCT three-dimensional tomographic image , and assign the corresponding position of the foreground area to zero. Specifically, combined with the CBCT image segmentation results By traversing the CBCT data corresponding to the originally acquired CBCT three-dimensional tomographic image, and assigning the corresponding foreground area position as 0, the CBCT image after denoising the cavity area can be obtained.
  • the processing method of assigning the position of the corresponding foreground area to 0 can completely remove the noise in the cavity area without affecting the clarity of other structures.
  • the embodiment of the present application also provides a CBCT image denoising device, as shown in Figure 4, the device includes:
  • the obtaining module 401 is configured to obtain a CBCT image; for details, refer to the relevant description of step S101 in the above method embodiment.
  • the first calculation module 402 is used to calculate the dynamic segmentation threshold corresponding to the region growth according to the otsu segmentation threshold corresponding to the cross section, coronal plane and sagittal plane slice of the CBCT image; for details, refer to the relevant step S102 in the above method embodiment describe.
  • the second calculation module 403 is configured to calculate the growth seed point of the cavity region according to the CBCT image; for details, refer to the relevant description of step S103 in the above method embodiment.
  • a growing module 404 configured to perform region growth on the cross-sectional, coronal, and sagittal planes of the CBCT image according to the dynamic segmentation threshold and the growth seed point to obtain the segmentation result of the CBCT image; for details, refer to the implementation of the above method The related description of step S104 in the example.
  • the first processing module 405 is configured to perform dilation and erosion processing on the CBCT image segmentation result to obtain a corresponding CBCT segmented image; for details, refer to the relevant description of step S105 in the above method embodiment.
  • the second processing module 406 is configured to combine the CBCT segmented image and process the CBCT image to obtain a denoised CBCT image; for details, refer to the relevant description of step S106 in the above method embodiment.
  • the CBCT image denoising device acquires a CBCT image; calculates the dynamic segmentation threshold corresponding to the region growth according to the otsu segmentation threshold corresponding to the cross section, coronal plane, and sagittal plane slice of the CBCT image; according to the CBCT image
  • the image calculates the growth seed point of the cavity area; according to the dynamic segmentation threshold and the growth seed point, the cross-section, coronal plane and sagittal plane of the CBCT image are region-grown to obtain the CBCT image segmentation result;
  • the CBCT image segmentation result is expanded and eroded to obtain a corresponding CBCT segmented image; the CBCT segmented image is combined and processed to obtain a denoised CBCT image.
  • the dynamic segmentation threshold is used as the growth condition in the region growing, and it is not easy to be over-segmented or under-segmented when encountering images with large differences in noise levels, and the adaptability is better. Therefore, by implementing the present application, the threshold parameter self-adaptation is realized, and the robustness of the algorithm is increased.
  • the acquisition module includes: a first acquisition module, configured to acquire an initial CBCT image from the acquired CBCT three-dimensional tomographic image; a third processing module, configured to process the The initial CBCT image is processed by bilateral filtering to obtain the CBCT image.
  • the device further includes: a segmentation processing module, configured to segment any two-dimensional image of the transverse plane, coronal plane, and sagittal plane of the CBCT image to obtain the first A binary image and record the segmentation threshold and determine the foreground area and the background area in the first binary image; a comparison module is used to compare the area of the corresponding soft tissue area in the foreground area with the preset area threshold a removal module, configured to remove the soft tissue region corresponding to the foreground region in the foreground region and obtain the corresponding second Binary image; the fourth processing module is used to process the foreground area corresponding to the second binary image according to the distance transformation method to obtain a grayscale image; the first determination module is used to traverse the distance transformed foreground area and The pixel point corresponding to the maximum value of the pixel value in the foreground area after the distance transformation is used as the growth seed point of the cavity area.
  • a segmentation processing module configured to segment any two-dimensional image of the transverse plane, coronal plane, and sagit
  • the device further includes: a third calculation module, configured to calculate the difference between the gray value of the point to be measured and the gray value corresponding to the growth point; the second determination module, Comparing the difference with the dynamic segmentation threshold, using the difference smaller than the dynamic segmentation threshold as a growth criterion and performing region growth in the neighborhood corresponding to the growth seed point to obtain the cross-section of the CBCT image, Segmentation results of coronal and sagittal planes.
  • a third calculation module configured to calculate the difference between the gray value of the point to be measured and the gray value corresponding to the growth point
  • the second determination module Comparing the difference with the dynamic segmentation threshold, using the difference smaller than the dynamic segmentation threshold as a growth criterion and performing region growth in the neighborhood corresponding to the growth seed point to obtain the cross-section of the CBCT image, Segmentation results of coronal and sagittal planes.
  • the device further includes: an operation module, configured to perform an OR operation on the segmentation results of the cross-section, coronal plane, and sagittal plane of the CBCT image and combine the CBCT
  • the segmentation information of the transverse plane, coronal plane and sagittal plane of the image is used to obtain the segmentation result of the CBCT image.
  • the device further includes: an assignment module, configured to traverse the CBCT data corresponding to the acquired CBCT three-dimensional tomographic image, and assign the corresponding position of the foreground area to zero .
  • the embodiment of the present application also provides a storage medium, as shown in FIG. 5 , on which a computer program 601 is stored.
  • a storage medium as shown in FIG. 5 , on which a computer program 601 is stored.
  • the storage medium also stores audio and video stream data, feature frame data, interaction request signaling, encrypted data, and preset data sizes.
  • the storage medium can be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a flash memory (Flash Memory), a hard disk (Hard Disk Drive) , abbreviation: HDD) or solid-state hard disk (Solid-State Drive, SSD) etc.;
  • the storage medium may also include a combination of the above-mentioned types of memory.
  • the storage medium can be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), a random access memory (RandomAccessMemory, RAM), a flash memory (Flash Memory), a hard disk (Hard Disk Drive) , abbreviation: HDD) or solid-state hard disk (Solid-State Drive, SSD) etc.;
  • the storage medium may also include a combination of the above-mentioned types of memory.
  • the embodiment of the present application also provides an electronic device.
  • the electronic device may include a processor 51 and a memory 52, wherein the processor 51 and the memory 52 may be connected through a bus or in other ways.
  • the bus connection Take the bus connection as an example.
  • the processor 51 may be a central processing unit (Central Processing Unit, CPU).
  • Processor 51 can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or Other chips such as programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above-mentioned types of chips.
  • DSP Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • Other chips such as programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above-mentioned types of chips.
  • the memory 52 as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as the corresponding program instructions/modules in the embodiments of the present application.
  • the processor 51 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory 52, that is, implements the CBCT image denoising method in the above method embodiments.
  • the memory 52 may include a program storage area and a data storage area, wherein the program storage area may store an application program required by the operating device and at least one function; the data storage area may store data created by the processor 51 and the like.
  • the memory 52 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices.
  • the memory 52 may optionally include a memory that is remotely located relative to the processor 51, and these remote memories may be connected to the processor 51 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the one or more modules are stored in the memory 52, and when executed by the processor 51, the CBCT image denoising method in the embodiment shown in Figs. 1-3 is executed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Processing (AREA)
  • Apparatus For Radiation Diagnosis (AREA)

Abstract

A CBCT image denoising method and apparatus, a storage medium, and an electronic device. The method comprises: acquiring a CBCT image (S101); calculating a dynamic segmentation threshold corresponding to region growth according to according to Otsu segmentation thresholds corresponding to slices of a cross-section, a coronal plane, and a sagittal plane of the CBCT image (S102); calculating a growth seed point of a cavity region according to the CBCT image (S103); performing region growth on the cross section, the coronal plane and the sagittal plane of the CBCT image according to the dynamic segmentation threshold and the growth seed point to obtain a segmentation result of the CBCT image (S104); performing dilation and erosion processing on the CBCT image segmentation result to obtain a corresponding CBCT segmentation image (S105); and combining the CBCT segmentation image and performing processing on the CBCT image to obtain a denoised CBCT image (S106). The present method uses a dynamic segmentation threshold value as a growth condition when performing region growth, such that over-segmentation and under-segmentation are unlikely to occur in an image with a high noise level difference, improving adaptability. Therefore, by implementing the present method, self-adaption of a threshold parameter is realized, and the robustness of the algorithm is improved.

Description

一种CBCT图像去噪方法、装置、存储介质及电子设备A CBCT image denoising method, device, storage medium and electronic equipment
相关申请的交叉引用Cross References to Related Applications
本申请要求于2021年12月16日提交中国国家知识产权局的申请号为202111546228.7、名称为“一种CBCT图像去噪方法、装置、存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111546228.7 and the title "A CBCT image denoising method, device, storage medium and electronic equipment" submitted to the State Intellectual Property Office of China on December 16, 2021. The entire contents are incorporated by reference in this application.
技术领域technical field
本申请涉及辐射成像技术领域,具体涉及一种CBCT图像去噪方法、装置、存储介质及电子设备。The present application relates to the technical field of radiation imaging, in particular to a CBCT image denoising method, device, storage medium and electronic equipment.
背景技术Background technique
在口腔医学中,CBCT数据扮演着重要的角色,但获取的CBCT断层图像往往伴随着大量的电子噪声与量子噪声。比如在颅脑内,包含了口腔、咽喉、鼻腔等多个空腔区域,理想情况下这些空腔区域被空气填充,在CBCT图像上的灰度值应为零,但因受到噪声污染,严重降低了图像空腔区域与其他组织结构信息的对比度,视觉效果差,影响到医生对病灶的观察和判断,也影响图像信息的后处理任务。现有的CBCT图像去噪方法包括TV降噪、三维块匹配法、小波滤波法等,存在很多问题:传统的区域生长分割算法采用固定阈值作为生长条件,遇到噪声水平差异大的图像容易出现过分割或欠分割,适应性较差。In stomatology, CBCT data plays an important role, but the obtained CBCT tomographic images are often accompanied by a large amount of electronic noise and quantum noise. For example, in the brain, there are multiple cavity areas such as the mouth, throat, and nasal cavity. Ideally, these cavity areas are filled with air, and the gray value on the CBCT image should be zero. However, due to noise pollution, serious The contrast between the image cavity area and other tissue structure information is reduced, and the visual effect is poor, which affects the doctor's observation and judgment of the lesion, and also affects the post-processing task of the image information. The existing CBCT image denoising methods include TV denoising, three-dimensional block matching method, wavelet filtering method, etc., and there are many problems: the traditional region growing segmentation algorithm uses a fixed threshold as the growth condition, and it is easy to appear when encountering images with large noise levels. Over-segmentation or under-segmentation, poor adaptability.
发明内容Contents of the invention
有鉴于此,本申请实施例提供了涉及一种CBCT图像去噪方法、装置、存储介质及电子设备,以解决现有技术中CBCT图像分割时容易出现过分割或欠分割,适应性较差的技术问题。In view of this, the embodiment of the present application provides a CBCT image denoising method, device, storage medium, and electronic equipment to solve the problem of over-segmentation or under-segmentation and poor adaptability when segmenting CBCT images in the prior art. technical problem.
本申请提出的技术方案如下:The technical scheme that this application proposes is as follows:
本申请实施例第一方面提供一种CBCT图像去噪方法,该CBCT图像去噪方法包括:获取CBCT图像;根据所述CBCT图像横断面、冠状面与矢状面的切片对应的otsu分割阈值计算区域生长对应的动态分割阈值;根据所述CBCT图像计算空腔区域的生长种子点;根据所述动态分割阈值和所述生长种子点对所述CBCT图像的横断面、冠状面与矢状面进行区域生长得到所述CBCT图像分割结果;对所述CBCT图像分割结果进行膨胀、腐蚀处理得到对应的CBCT分割图像;结合所述CBCT分割图像并对所述CBCT图像进行处理得到去噪后的CBCT图像。The first aspect of the embodiment of the present application provides a CBCT image denoising method. The CBCT image denoising method includes: acquiring a CBCT image; calculating the otsu segmentation threshold corresponding to the cross section, coronal plane and sagittal plane slices of the CBCT image The dynamic segmentation threshold corresponding to the region growth; calculate the growth seed point of the cavity area according to the CBCT image; perform the cross-section, coronal plane and sagittal plane of the CBCT image according to the dynamic segmentation threshold and the growth seed point Region growing to obtain the CBCT image segmentation result; performing dilation and erosion processing on the CBCT image segmentation result to obtain a corresponding CBCT segmented image; combining the CBCT segmented image and processing the CBCT image to obtain a denoised CBCT image .
可选地,所述获取CBCT图像,包括:从获取的CBCT三维断层图像中获取初始CBCT图像;对所述初始CBCT图像进行双边滤波处理得到所述CBCT图像。Optionally, the acquiring the CBCT image includes: acquiring an initial CBCT image from the acquired CBCT three-dimensional tomographic image; performing bilateral filtering on the initial CBCT image to obtain the CBCT image.
可选地,所述根据所述CBCT图像计算空腔区域的生长种子点,包括:对所述CBCT图像的横断面、冠状面与矢状面的任一二维图像进行分割得到第一二值图像并记录分割阈值并在所述第一二值图像中确定前景区域和背景区域;将所述前景区域中对应的软组织区域的面积与预设面积阈值进行比较;当所述前景区域中对应的软组织区域的面积小于所述预设面积阈值,在所述前景区域中移除所述前景区域中对应的软组织区域并得到对应的第二二值图像;根据距离变换法对所述第二二值图像对应的前景区域进行处理得到灰度图;遍历距离变换后的前景区域并将所述距离变换后的前景区域中像素值的最大值对应的像素点作为空腔区域的生长种子点。Optionally, the calculating the growth seed point of the cavity region according to the CBCT image includes: segmenting any two-dimensional image of the cross-section, coronal plane and sagittal plane of the CBCT image to obtain the first binary value Image and record the segmentation threshold and determine the foreground area and background area in the first binary image; compare the area of the corresponding soft tissue area in the foreground area with the preset area threshold; when the corresponding soft tissue area in the foreground area The area of the soft tissue area is smaller than the preset area threshold, and the corresponding soft tissue area in the foreground area is removed from the foreground area to obtain a corresponding second binary image; The foreground area corresponding to the image is processed to obtain a grayscale image; the foreground area after the distance transformation is traversed and the pixel point corresponding to the maximum value of the pixel value in the foreground area after the distance transformation is used as the growth seed point of the cavity area.
可选地,所述根据所述动态分割阈值和所述生长种子点对所述CBCT图像的横断面、冠状面与矢状面进行区域生长得到所述CBCT图像分割结果,包括:计算待测点灰度值与生长点对应的灰度值的差值;将所述差值与所述动态分割阈值进行比较,将差值小于所述动态分割阈值作为生长准则并在所述生长种子点对应邻域内进行区域生长得到所述CBCT图像的横断面、冠状面与矢状面的分割结果。Optionally, performing region growth on the transverse plane, coronal plane, and sagittal plane of the CBCT image according to the dynamic segmentation threshold and the growth seed point to obtain the segmentation result of the CBCT image includes: calculating the points to be measured The difference between the gray value and the gray value corresponding to the growth point; the difference is compared with the dynamic segmentation threshold, and the difference is smaller than the dynamic segmentation threshold as the growth criterion and the corresponding neighbor of the growth seed point Region growing is performed in the domain to obtain the segmentation results of the cross-section, coronal plane and sagittal plane of the CBCT image.
可选地,所述方法还包括:对所述CBCT图像的横断面、冠状面与矢状面的分割结果进行或操作并结合所述CBCT图像的横断面、冠状面与矢状面的分割信息得到所述CBCT图像分割结果。Optionally, the method further includes: performing an OR operation on the segmentation results of the cross-section, coronal plane and sagittal plane of the CBCT image and combining the segmentation information of the cross-section, coronal plane and sagittal plane of the CBCT image The result of the CBCT image segmentation is obtained.
可选地,所述结合所述CBCT分割图像并对所述CBCT图像进行处理得到去噪后的CBCT图像,包括:遍历所述获取的CBCT三维断层图像对应的CBCT数据,并将对应的所述前景区域位置赋值为零。Optionally, the combining the CBCT segmented image and processing the CBCT image to obtain a denoised CBCT image includes: traversing the CBCT data corresponding to the acquired CBCT three-dimensional tomographic image, and converting the corresponding The location of the foreground region is assigned zero.
本申请实施例第二方面提供一种CBCT图像去噪装置,该CBCT图像去噪装置包括:获取模块,用于获取CBCT图像;第一计算模块,用于根据所述CBCT图像横断面、冠状面与矢状面的切片对应的otsu分割阈值计算区域生长对应的动态分割阈值;第二计算模块,用于根据所述CBCT图像计算空腔区域的生长种子点;生长模块,用于根据所述动态分割阈值和所述生长种子点对所述CBCT图像的横断面、冠状面与矢状面进行区域生长得到所述CBCT图像分割结果;处理模块,用于对所述CBCT图像分割结果进行膨胀、腐蚀处理得到对应的CBCT分割图像;第二处理模块,用于结合所述CBCT分割图像并对所述CBCT图像进行处理得到去噪后的CBCT图像。The second aspect of the embodiment of the present application provides a CBCT image denoising device, the CBCT image denoising device includes: an acquisition module, used to acquire a CBCT image; a first calculation module, used to The otsu segmentation threshold corresponding to the slice of the sagittal plane calculates the dynamic segmentation threshold corresponding to the region growth; the second calculation module is used to calculate the growth seed point of the cavity area according to the CBCT image; the growth module is used to calculate the growth seed point according to the dynamic The segmentation threshold and the growth seed point perform region growth on the cross-section, coronal plane and sagittal plane of the CBCT image to obtain the segmentation result of the CBCT image; a processing module is used to expand and erode the segmentation result of the CBCT image The corresponding CBCT segmented image is obtained by processing; the second processing module is used to combine the CBCT segmented image and process the CBCT image to obtain a denoised CBCT image.
可选地,所述装置还包括:第一获取模块,用于从获取的CBCT三维断层图像中获取初始CBCT图像;第三处理模块,用于对所述初始CBCT图像进行双边滤波处理得到所述CBCT图像。Optionally, the device further includes: a first acquisition module, configured to acquire an initial CBCT image from the acquired CBCT three-dimensional tomographic image; a third processing module, configured to perform bilateral filtering on the initial CBCT image to obtain the CBCT images.
本申请实施例第三方面提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使所述计算机执行如本申请实施例第一方面及第一方面任一项所述的CBCT图像去噪方法。The third aspect of the embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores computer instructions, and the computer instructions are used to make the computer execute the first aspect and the first aspect of the embodiment of the present application. The CBCT image denoising method described in any one of the aspects.
本申请实施例第四方面提供一种电子设备,包括:存储器和处理器,所述存储器和所述处理器之间互相通信连接,所述存储器存储有计算机指令,所述处理器通过执行所述计算机指令,从而执行如本申请实施例第一方面及第一方面任一项所述的CBCT图像去噪方法。The fourth aspect of the embodiment of the present application provides an electronic device, including: a memory and a processor, the memory and the processor are connected to each other in communication, the memory stores computer instructions, and the processor executes the Computer instructions, so as to execute the CBCT image denoising method as described in the first aspect of the embodiment of the present application and any one of the first aspect.
本申请提供的技术方案,具有如下效果:The technical scheme provided by this application has the following effects:
本申请实施例提供的CBCT图像去噪方法,获取CBCT图像;根据所述CBCT图像横断面、冠状面与矢状面的切片对应的otsu分割阈值计算区域生长对应的动态分割阈值;根据所述CBCT图像计算空腔区域的生长种子点;根据所述动态分割阈值和所述生长种子点对所述CBCT图像的横断面、冠状面与矢状面进行区域生长得到所述CBCT图像分割结果;对所述CBCT图像分割结果进行膨胀、腐蚀处理得到对应的CBCT分割图像;结合所述CBCT分割图像并对所述CBCT图像进行处理得到去噪后的CBCT图像。该方法在进行区域生长时采用了动态分割阈值作为生长条件,在遇到噪声水平差异大的图像不容易出现过分割或欠分割,适应性较好。因此,通过实施本申请,实现阈值参数自适应,增加了算法的鲁棒性。The CBCT image denoising method provided in the embodiment of the present application obtains a CBCT image; calculates the dynamic segmentation threshold corresponding to the region growth according to the otsu segmentation threshold corresponding to the cross section, coronal plane, and sagittal plane slice of the CBCT image; according to the CBCT image The image calculates the growth seed point of the cavity area; according to the dynamic segmentation threshold and the growth seed point, the cross-section, coronal plane and sagittal plane of the CBCT image are region-grown to obtain the CBCT image segmentation result; The CBCT image segmentation result is expanded and eroded to obtain a corresponding CBCT segmented image; the CBCT segmented image is combined and processed to obtain a denoised CBCT image. This method adopts the dynamic segmentation threshold as the growth condition in the region growing, and it is not easy to over-segment or under-segment when encountering images with large noise level differences, and has good adaptability. Therefore, by implementing the present application, the threshold parameter self-adaptation is realized, and the robustness of the algorithm is increased.
附图说明Description of drawings
为了更清楚地说明本申请具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings that need to be used in the description of the specific embodiments or prior art. Obviously, the accompanying drawings in the following description The figures show some implementations of the present application, and those skilled in the art can obtain other figures based on these figures without any creative effort.
图1是根据本申请实施例的CBCT图像去噪方法的流程图;Fig. 1 is the flowchart of the CBCT image denoising method according to the embodiment of the application;
图2是根据本申请实施例的CBCT图像示意图;Fig. 2 is a schematic diagram of a CBCT image according to an embodiment of the present application;
图3是根据本申请实施例的去噪后的CBCT图像示意图;FIG. 3 is a schematic diagram of a CBCT image after denoising according to an embodiment of the present application;
图4是根据本申请实施例的CBCT图像去噪装置的结构框图;FIG. 4 is a structural block diagram of a CBCT image denoising device according to an embodiment of the present application;
图5是根据本申请实施例提供的计算机可读存储介质的结构示意图;Fig. 5 is a schematic structural diagram of a computer-readable storage medium provided according to an embodiment of the present application;
图6是根据本申请实施例提供的电子设备的结构示意图。Fig. 6 is a schematic structural diagram of an electronic device provided according to an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的 附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions 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 It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.
本申请实施例提供一种CBCT图像去噪方法,如图1所示,该方法包括如下步骤:The embodiment of the present application provides a CBCT image denoising method, as shown in Figure 1, the method includes the following steps:
步骤S101:获取CBCT图像。具体地,在去噪之前,首先获取对应的CBCT图像。在一实施例中,如图2所示,获取某一个病人的CBCT图像。Step S101: acquiring a CBCT image. Specifically, before denoising, the corresponding CBCT image is acquired first. In one embodiment, as shown in FIG. 2 , a CBCT image of a certain patient is acquired.
步骤S102:根据所述CBCT图像横断面、冠状面与矢状面的切片对应的otsu分割阈值计算区域生长对应的动态分割阈值。具体地,CBCT图像中不同切片之间的灰度值与噪声水平均存在较大差异,用固定阈值作为区域生长条件容易导致欠分割或过分隔问题。因此,在得到CBCT图像之后,在对CBCT图像切片分割之前计算区域生长对应的动态分割阈值。具体地,根据CBCT图像横断面、冠状面与矢状面的切片对应的otsu分割阈值来计算,具体的计算公式为:Step S102: Calculate the dynamic segmentation threshold corresponding to the region growth according to the otsu segmentation thresholds corresponding to the slices of the cross-section, coronal plane and sagittal plane of the CBCT image. Specifically, there are large differences in the gray value and noise level between different slices in a CBCT image, and using a fixed threshold as a region growing condition can easily lead to under-segmentation or over-segmentation. Therefore, after the CBCT image is obtained, the dynamic segmentation threshold corresponding to the region growing is calculated before the slice segmentation of the CBCT image. Specifically, it is calculated according to the otsu segmentation threshold corresponding to the slices of the cross-section, coronal plane and sagittal plane of the CBCT image, and the specific calculation formula is:
T′ X(i)=μ·T X(i),i∈(0,1,2,…,X X-1) T′ X (i)=μ·T X (i), i∈(0,1,2,…,X X -1)
式中,T X(i)表示CBCT图像横断面/冠状面/矢状面第i个切片对应的otsu分割阈值;μ表示预设系数;N X表示CBCT图像横断面/冠状面/矢状面的总切片数量。 In the formula, T X (i) represents the otsu segmentation threshold corresponding to the i-th slice of the CBCT image cross-section/coronal/sagittal plane; μ represents the preset coefficient; N X represents the CBCT image cross-section/coronal/sagittal plane The total number of slices.
步骤S103:根据所述CBCT图像计算空腔区域的生长种子点。具体地,在得到CBCT图像之后,对该CBCT图像进行处理并计算可以得到空腔区域的生长种子点。其中,CBCT图像中包含多个空腔区域。Step S103: Calculate the growth seed point of the cavity area according to the CBCT image. Specifically, after the CBCT image is obtained, the CBCT image is processed and calculated to obtain the growth seed point of the cavity region. Among them, the CBCT image contains multiple cavity regions.
在一实施例中,获取的颅脑CBCT图像中,包含口腔、咽喉、鼻腔等多个空腔区域。In one embodiment, the acquired CBCT image of the brain includes multiple cavities such as the oral cavity, throat, and nasal cavity.
步骤S104:根据所述动态分割阈值和所述生长种子点对所述CBCT图像的横断面、冠状面与矢状面进行区域生长得到所述CBCT图像分割结果。具体地,在得到动态分割阈值与生长种子点之后,将该生长种子点作为生长起点并结合动态分割阈值对该CBCT图像的横断面、冠状面与矢状面进行区域生长可以得到该CBCT图像的分割结果。Step S104: performing region growing on the transverse plane, coronal plane and sagittal plane of the CBCT image according to the dynamic segmentation threshold and the growth seed point to obtain the segmentation result of the CBCT image. Specifically, after the dynamic segmentation threshold and the growth seed point are obtained, the growth seed point is used as the starting point of growth and combined with the dynamic segmentation threshold to perform region growth on the transverse, coronal, and sagittal planes of the CBCT image to obtain the CBCT image. Split results.
步骤S105:对所述CBCT图像分割结果进行膨胀、腐蚀处理得到对应的CBCT分割图像。得到CBCT图像分割结果之后,对该分割结果进行基于三维的形态学处理。具体地,先进行膨胀处理可以去掉因噪声过大导致的噪点,及优化部分切片欠分割的空腔区域,然后进行腐蚀处理可以移除部分边界像素,得到最终otsu分割图像即对应的CBCT分割图像。Step S105: Dilate and erode the CBCT image segmentation result to obtain a corresponding CBCT segmented image. After the CBCT image segmentation result is obtained, the segmentation result is processed based on three-dimensional morphology. Specifically, the expansion process can remove the noise caused by excessive noise, and optimize the cavity area of part of the under-segmentation of the slice, and then perform the erosion process to remove part of the boundary pixels, and obtain the final otsu segmented image, which is the corresponding CBCT segmented image .
步骤S106:结合所述CBCT分割图像并对所述CBCT图像进行处理得到去噪后的CBCT图像。具体地,结合分割结果即CBCT分割图像,对原始获取的CBCT图像进行处理可以得到去噪后的CBCT图像。Step S106: Combining the CBCT segmented image and processing the CBCT image to obtain a denoised CBCT image. Specifically, the denoised CBCT image can be obtained by processing the originally acquired CBCT image in combination with the segmentation result, that is, the CBCT segmented image.
本申请实施例提供的CBCT图像去噪方法,获取CBCT图像;根据所述CBCT图像横断面、冠状面与矢状面的切片对应的otsu分割阈值计算区域生长对应的动态分割阈值;根 据所述CBCT图像计算空腔区域的生长种子点;根据所述动态分割阈值和所述生长种子点对所述CBCT图像的横断面、冠状面与矢状面进行区域生长得到所述CBCT图像分割结果;对所述CBCT图像分割结果进行膨胀、腐蚀处理得到对应的CBCT分割图像;结合所述CBCT分割图像并对所述CBCT图像进行处理得到去噪后的CBCT图像。该方法在进行区域生长时采用了动态分割阈值作为生长条件,在遇到噪声水平差异大的图像不容易出现过分割或欠分割,适应性较好。因此,通过实施本申请,实现阈值参数自适应,增加了算法的鲁棒性。The CBCT image denoising method provided in the embodiment of the present application obtains a CBCT image; calculates the dynamic segmentation threshold corresponding to the region growth according to the otsu segmentation threshold corresponding to the cross section, coronal plane, and sagittal plane slice of the CBCT image; according to the CBCT image The image calculates the growth seed point of the cavity area; according to the dynamic segmentation threshold and the growth seed point, the cross-section, coronal plane and sagittal plane of the CBCT image are region-grown to obtain the CBCT image segmentation result; The CBCT image segmentation result is expanded and eroded to obtain a corresponding CBCT segmented image; the CBCT segmented image is combined and processed to obtain a denoised CBCT image. This method adopts the dynamic segmentation threshold as the growth condition in the region growing, and it is not easy to over-segment or under-segment when encountering images with large noise level differences, and has good adaptability. Therefore, by implementing the present application, the threshold parameter self-adaptation is realized, and the robustness of the algorithm is increased.
作为本申请实施例一种可选的实施方式,获取CBCT图像时,首先从获取的CBCT三维断层图像中获取初始CBCT图像,然后对该初始CBCT图像进行双边滤波处理得到对应的CBCT图像。具体地,首先使用CT扫描获取三维断层图像,由于部分噪点在分割过程中难以分辨,会降低分割精度,因此对获取到的三维断层图像进行双边滤波处理并得到对应的CBCT图像。其中,双边滤波处理可以消除图像数字化时所混入的噪声。As an optional implementation manner of the embodiment of the present application, when acquiring a CBCT image, first acquire an initial CBCT image from the acquired CBCT three-dimensional tomographic image, and then perform bilateral filtering on the initial CBCT image to obtain a corresponding CBCT image. Specifically, CT scanning is first used to acquire 3D tomographic images. Since some noise points are difficult to distinguish during the segmentation process, which will reduce the segmentation accuracy, bilateral filtering is performed on the acquired 3D tomographic images to obtain corresponding CBCT images. Among them, the bilateral filtering process can eliminate the noise mixed in when the image is digitized.
作为本申请实施例一种可选的实施方式,根据CBCT图像计算空腔区域的生长种子点时,首先对该CBCT图像的横断面、冠状面与矢状面的任一二维图像进行分割得到第一二值图像并记录分割阈值,并在该第一二值图像中确定前景区域和背景区域。具体地,选取该CBCT图像中矢状面(CBCT图像的横断面、冠状面与矢状面的任一一种)的任意一幅二维图像X plane(i),采用阈值分割法(otsu)进行粗分割并记录otsu分割阈值,其中,灰度值小于otsu分割阈值的像素区域为前景区域,对应像素值为1;灰度值大于otsu分割阈值的像素区域为背景区域,对应像素值为0。经过分割可以得到对应的第一二值图像B X(i)。其中,选取该CBCT图像中每一个横断面、冠状面与矢状面的任意一幅二维图像并进行分割;otsu分割阈值是由otsu方法自动计算的阈值,otsu是一种阈值分割算法,可以根据图像计算最佳分割阈值。 As an optional implementation of the embodiment of the present application, when calculating the growth seed point of the cavity region based on the CBCT image, firstly segment any two-dimensional image of the cross-section, coronal plane, and sagittal plane of the CBCT image to obtain The first binary image and record the segmentation threshold, and determine the foreground area and the background area in the first binary image. Specifically, select any two-dimensional image X plane (i) of the sagittal plane (any one of the cross-section, coronal plane and sagittal plane of the CBCT image) in the CBCT image, and use the threshold segmentation method (otsu) to perform Roughly segment and record the otsu segmentation threshold, where the pixel area whose gray value is less than the otsu segmentation threshold is the foreground area, and the corresponding pixel value is 1; the pixel area whose gray value is greater than the otsu segmentation threshold is the background area, and the corresponding pixel value is 0. After segmentation, the corresponding first binary image B X (i) can be obtained. Among them, any two-dimensional image of each cross section, coronal plane and sagittal plane in the CBCT image is selected and segmented; the otsu segmentation threshold is a threshold automatically calculated by the otsu method, and otsu is a threshold segmentation algorithm that can Calculate the optimal segmentation threshold based on the image.
确定前景区域和背景区域之后,由于噪声较大时,CBCT图像中存在部分软组织结构的灰度值接近噪声灰度值,使用阈值分割法(otsu)进行的粗分割容易将接近噪声灰度值的软组织区域误分为前景区域,即第一二值图像B x(i)中的前景区域包含了部分软组织区域,因此需要将前景区域中被误分割的软组织区域进行移除。具体地,将B X(i)中多个前景区域的面积与预设面积阈值进行比较,当前景区域的面积小于预设面积阈值时,移除该前景区域,对所有前景区域进行面积筛选得到对应的第二二值图像B′ X(i),然后计算B′ X(i)中前景区域对应的种子点。 After determining the foreground area and background area, due to the large noise, the gray value of some soft tissue structures in the CBCT image is close to the noise gray value, and the rough segmentation using the threshold segmentation method (otsu) is easy to make the gray value close to the noise gray value The soft tissue area is misclassified as a foreground area, that is, the foreground area in the first binary image B x (i) contains part of the soft tissue area, so the mis-segmented soft tissue area in the foreground area needs to be removed. Specifically, the area of multiple foreground regions in B X (i) is compared with the preset area threshold, and when the area of the foreground region is smaller than the preset area threshold, the foreground region is removed, and the area of all foreground regions is screened to obtain The corresponding second binary image B' X (i), and then calculate the seed point corresponding to the foreground area in B' X (i).
因为阈值分割法容易导致过分隔,若直接用B′ X(i)中的前景区域作为生长种子可能存在种子点计算错误问题。此外,颅脑类包含的空腔区域存在多种结构形状,选取前景区域的质心作为种子很容易出现质心不在前景区域内的情况,因此为了准确计算空腔区域的有效 种子点,首先根据距离变换法对第二二值图像对应的前景区域进行处理得到灰度图;然后遍历距离变换后的前景区域像素,将距离变换后的前景区域中像素值的最大值对应的像素点作为空腔区域的生长种子点。 Because the threshold segmentation method is easy to cause over-segmentation, if the foreground area in B′ X (i) is directly used as the growth seed, there may be a problem of wrong calculation of the seed point. In addition, there are a variety of structural shapes in the cavity area contained in the cranial brain. When the centroid of the foreground area is selected as the seed, it is easy to cause the centroid to not be in the foreground area. Therefore, in order to accurately calculate the effective seed point of the cavity area, firstly, according to the distance transformation method to process the foreground area corresponding to the second binary image to obtain a grayscale image; then traverse the foreground area pixels after distance transformation, and use the pixel point corresponding to the maximum value of the pixel value in the foreground area after distance transformation as the cavity area Grow seed points.
具体地,先采用距离变换法对二值图B′ X(i)中的前景区域进行处理得到灰度图,经过距离变换法处理之后,距离背景区域越远,则对应前景区域的像素值越大,变换之后,将确定的前景区域部分凸显出来,然后遍历距离变换后的前景区域,并将其最大值对应的像素坐标作为生长种子。 Specifically, first use the distance transformation method to process the foreground area in the binary image B′ X (i) to obtain a grayscale image. After the distance transformation method, the farther away from the background area, the higher the pixel value of the corresponding foreground area. After the transformation, the determined foreground area is partially highlighted, and then the foreground area after the distance transformation is traversed, and the pixel coordinate corresponding to its maximum value is used as the growth seed.
作为本申请实施例一种可选的实施方式,在确定动态分割阈值与生长种子点之后,对该CBCT图像的横断面、冠状面与矢状面进行区域生长得到CBCT图像分割结果。首先计算待测点灰度值与生长点对应的灰度值的差值,并将该差值与动态分割阈值进行比较,将差值小于动态分割阈值作为生长准则并在生长种子点对应邻域内进行区域生长得到CBCT图像的横断面、冠状面与矢状面的分割结果。具体地,将得到的生长种子点(x,y)作为生长起点,用待测点灰度值与生长点(x,y)对应的灰度值相差小于动态分割阈值T′ X(i)作为生长准则,在生长种子点的相邻的8个邻域:(x-1,y-1)、(x-1,y)、(x-1,y+1)、(x,y-1)、(x,y+1)、(x+1,y-1)、(x+1,y)、(x+1,y+1)内进行区域生长,将符合生长准则的像素合并,并将合并的像素作为新的生长种子,继续对其相邻的8个邻域像素生长合并,直至无满足生长准则的像素点,停止生长。使用该区域生长方法对CBCT图像的横断面、冠状面与矢状面进行区域生长可以得到CBCT图像的横断面、冠状面与矢状面对应的分割结果。每个切片分割过程以及三个维度的分割过程均满足独立计算条件,用并行计算有效提高了处理效率,耗时更短。 As an optional implementation of the embodiment of the present application, after the dynamic segmentation threshold and the growth seed point are determined, region growing is performed on the cross-sectional, coronal, and sagittal planes of the CBCT image to obtain the CBCT image segmentation result. First calculate the difference between the gray value of the point to be measured and the gray value corresponding to the growing point, and compare the difference with the dynamic segmentation threshold, and use the difference less than the dynamic segmentation threshold as the growth criterion and within the corresponding neighborhood of the growth seed point The segmentation results of the cross-section, coronal plane and sagittal plane of the CBCT image were obtained by region growing. Specifically, the obtained growth seed point (x, y) is used as the starting point of growth, and the difference between the gray value of the measured point and the gray value corresponding to the growth point (x, y) is less than the dynamic segmentation threshold T′ X (i) as Growth criteria, in the 8 adjacent neighborhoods of the growth seed point: (x-1, y-1), (x-1, y), (x-1, y+1), (x, y-1 ), (x, y+1), (x+1, y-1), (x+1, y), (x+1, y+1) perform region growth, and merge pixels that meet the growth criteria, And the merged pixel is used as a new growth seed, and the 8 adjacent neighbor pixels are continuously grown and merged until there is no pixel point that meets the growth criterion, and the growth is stopped. Using the region growing method to perform region growth on the cross-section, coronal plane and sagittal plane of the CBCT image can obtain the segmentation results corresponding to the cross-section, coronal plane and sagittal plane of the CBCT image. Each slice segmentation process and the three-dimensional segmentation process meet the independent calculation conditions, and the processing efficiency is effectively improved by parallel computing, and the time consumption is shorter.
在一实施例中,对CBCT数据的横断面二维图像Z plane(k)、冠状面Y plane(j)与矢状面X plane(i)分别进行区域生长得到分割结果
Figure PCTCN2022118526-appb-000001
In one embodiment, region growing is performed on the cross-sectional two-dimensional image Z plane (k), the coronal plane Y plane (j) and the sagittal plane X plane (i) of the CBCT data respectively to obtain the segmentation result
Figure PCTCN2022118526-appb-000001
最后,对得到的CBCT图像的横断面、冠状面与矢状面的分割结果进行或操作并结合该CBCT图像的横断面、冠状面与矢状面的分割信息可以得到CBCT图像分割结果。Finally, the CBCT image segmentation result can be obtained by performing an OR operation on the cross-sectional, coronal and sagittal plane segmentation results of the obtained CBCT image and combining the cross-sectional, coronal and sagittal plane segmentation information of the CBCT image.
在一实施例中,将二维分割结果组成三维结果即:In one embodiment, the two-dimensional segmentation results are combined into three-dimensional results:
Figure PCTCN2022118526-appb-000002
Figure PCTCN2022118526-appb-000002
Figure PCTCN2022118526-appb-000003
Figure PCTCN2022118526-appb-000003
Figure PCTCN2022118526-appb-000004
Figure PCTCN2022118526-appb-000004
其中,
Figure PCTCN2022118526-appb-000005
分别表示基于矢状面、冠状面、横断面分割的三维结果。对
Figure PCTCN2022118526-appb-000006
进行或操作,有效结合三个剖面的分割信息,得到分割结果
Figure PCTCN2022118526-appb-000007
即CBCT图像分割结果。
in,
Figure PCTCN2022118526-appb-000005
Represent the three-dimensional results based on sagittal plane, coronal plane, and cross-sectional segmentation, respectively. right
Figure PCTCN2022118526-appb-000006
Perform or operation to effectively combine the segmentation information of the three sections to obtain the segmentation result
Figure PCTCN2022118526-appb-000007
That is, the result of CBCT image segmentation.
作为本申请实施例一种可选的实施方式,结合所述CBCT分割图像并对所述CBCT图像进行处理得到去噪后的CBCT图像,包括:遍历所述获取的CBCT三维断层图像对应的 CBCT数据,并将对应的所述前景区域位置赋值为零。具体地,结合CBCT图像分割结果
Figure PCTCN2022118526-appb-000008
遍历原始获取的CBCT三维断层图像对应的CBCT数据,并将对应的前景区域位置赋值为0,可以得到空腔区域去噪后的CBCT图像。将对应的前景区域位置赋值为0的处理方法能够在不影响其他结构清晰度的情况下完全去除空腔区域的噪声。具体地,与图2所示图像相比,图3所示图像中所有黑色区域都实现了有效去噪,提高了图像空气区域与其他组织结构信息的对比度即不影响其他结构清晰度,且完全去除了空腔区域的噪声,视觉效果更好。
As an optional implementation of the embodiment of the present application, combining the CBCT segmented image and processing the CBCT image to obtain a denoised CBCT image includes: traversing the CBCT data corresponding to the acquired CBCT three-dimensional tomographic image , and assign the corresponding position of the foreground area to zero. Specifically, combined with the CBCT image segmentation results
Figure PCTCN2022118526-appb-000008
By traversing the CBCT data corresponding to the originally acquired CBCT three-dimensional tomographic image, and assigning the corresponding foreground area position as 0, the CBCT image after denoising the cavity area can be obtained. The processing method of assigning the position of the corresponding foreground area to 0 can completely remove the noise in the cavity area without affecting the clarity of other structures. Specifically, compared with the image shown in Figure 2, all black areas in the image shown in Figure 3 have achieved effective denoising, which improves the contrast between the image air area and other tissue structure information, that is, does not affect the clarity of other structures, and completely The noise in the cavity area is removed, and the visual effect is better.
本申请实施例还提供一种CBCT图像去噪装置,如图4所示,该装置包括:The embodiment of the present application also provides a CBCT image denoising device, as shown in Figure 4, the device includes:
获取模块401,用于获取CBCT图像;详细内容参见上述方法实施例中步骤S101的相关描述。The obtaining module 401 is configured to obtain a CBCT image; for details, refer to the relevant description of step S101 in the above method embodiment.
第一计算模块402,用于根据所述CBCT图像横断面、冠状面与矢状面的切片对应的otsu分割阈值计算区域生长对应的动态分割阈值;详细内容参见上述方法实施例中步骤S102的相关描述。The first calculation module 402 is used to calculate the dynamic segmentation threshold corresponding to the region growth according to the otsu segmentation threshold corresponding to the cross section, coronal plane and sagittal plane slice of the CBCT image; for details, refer to the relevant step S102 in the above method embodiment describe.
第二计算模块403,用于根据所述CBCT图像计算空腔区域的生长种子点;详细内容参见上述方法实施例中步骤S103的相关描述。The second calculation module 403 is configured to calculate the growth seed point of the cavity region according to the CBCT image; for details, refer to the relevant description of step S103 in the above method embodiment.
生长模块404,用于根据所述动态分割阈值和所述生长种子点对所述CBCT图像的横断面、冠状面与矢状面进行区域生长得到所述CBCT图像分割结果;详细内容参见上述方法实施例中步骤S104的相关描述。A growing module 404, configured to perform region growth on the cross-sectional, coronal, and sagittal planes of the CBCT image according to the dynamic segmentation threshold and the growth seed point to obtain the segmentation result of the CBCT image; for details, refer to the implementation of the above method The related description of step S104 in the example.
第一处理模块405,用于对所述CBCT图像分割结果进行膨胀、腐蚀处理得到对应的CBCT分割图像;详细内容参见上述方法实施例中步骤S105的相关描述。The first processing module 405 is configured to perform dilation and erosion processing on the CBCT image segmentation result to obtain a corresponding CBCT segmented image; for details, refer to the relevant description of step S105 in the above method embodiment.
第二处理模块406,用于结合所述CBCT分割图像并对所述CBCT图像进行处理得到去噪后的CBCT图像;详细内容参见上述方法实施例中步骤S106的相关描述。The second processing module 406 is configured to combine the CBCT segmented image and process the CBCT image to obtain a denoised CBCT image; for details, refer to the relevant description of step S106 in the above method embodiment.
本申请实施例提供的CBCT图像去噪装置,获取CBCT图像;根据所述CBCT图像横断面、冠状面与矢状面的切片对应的otsu分割阈值计算区域生长对应的动态分割阈值;根据所述CBCT图像计算空腔区域的生长种子点;根据所述动态分割阈值和所述生长种子点对所述CBCT图像的横断面、冠状面与矢状面进行区域生长得到所述CBCT图像分割结果;对所述CBCT图像分割结果进行膨胀、腐蚀处理得到对应的CBCT分割图像;结合所述CBCT分割图像并对所述CBCT图像进行处理得到去噪后的CBCT图像。在进行区域生长时采用了动态分割阈值作为生长条件,在遇到噪声水平差异大的图像不容易出现过分割或欠分割,适应性较好。因此,通过实施本申请,实现阈值参数自适应,增加了算法的鲁棒性。The CBCT image denoising device provided in the embodiment of the present application acquires a CBCT image; calculates the dynamic segmentation threshold corresponding to the region growth according to the otsu segmentation threshold corresponding to the cross section, coronal plane, and sagittal plane slice of the CBCT image; according to the CBCT image The image calculates the growth seed point of the cavity area; according to the dynamic segmentation threshold and the growth seed point, the cross-section, coronal plane and sagittal plane of the CBCT image are region-grown to obtain the CBCT image segmentation result; The CBCT image segmentation result is expanded and eroded to obtain a corresponding CBCT segmented image; the CBCT segmented image is combined and processed to obtain a denoised CBCT image. The dynamic segmentation threshold is used as the growth condition in the region growing, and it is not easy to be over-segmented or under-segmented when encountering images with large differences in noise levels, and the adaptability is better. Therefore, by implementing the present application, the threshold parameter self-adaptation is realized, and the robustness of the algorithm is increased.
作为本申请实施例一种可选的实施方式,所述获取模块,包括:第一获取模块,用于 从获取的CBCT三维断层图像中获取初始CBCT图像;第三处理模块,用于对所述初始CBCT图像进行双边滤波处理得到所述CBCT图像。As an optional implementation of the embodiment of the present application, the acquisition module includes: a first acquisition module, configured to acquire an initial CBCT image from the acquired CBCT three-dimensional tomographic image; a third processing module, configured to process the The initial CBCT image is processed by bilateral filtering to obtain the CBCT image.
作为本申请实施例一种可选的实施方式,所述装置还包括:分割处理模块,用于对所述CBCT图像的横断面、冠状面与矢状面的任一二维图像进行分割得到第一二值图像并记录分割阈值并在所述第一二值图像中确定前景区域和背景区域;比对模块,用于将所述前景区域中对应的软组织区域的面积与预设面积阈值进行比较;移除模块,用于当所述前景区域中对应的软组织区域的面积小于所述预设面积阈值,在所述前景区域中移除所述前景区域中对应的软组织区域并得到对应的第二二值图像;第四处理模块,用于根据距离变换法对所述第二二值图像对应的前景区域进行处理得到灰度图;第一确定模块,用于遍历距离变换后的前景区域并将所述距离变换后的前景区域中像素值的最大值对应的像素点作为空腔区域的生长种子点。As an optional implementation of the embodiment of the present application, the device further includes: a segmentation processing module, configured to segment any two-dimensional image of the transverse plane, coronal plane, and sagittal plane of the CBCT image to obtain the first A binary image and record the segmentation threshold and determine the foreground area and the background area in the first binary image; a comparison module is used to compare the area of the corresponding soft tissue area in the foreground area with the preset area threshold a removal module, configured to remove the soft tissue region corresponding to the foreground region in the foreground region and obtain the corresponding second Binary image; the fourth processing module is used to process the foreground area corresponding to the second binary image according to the distance transformation method to obtain a grayscale image; the first determination module is used to traverse the distance transformed foreground area and The pixel point corresponding to the maximum value of the pixel value in the foreground area after the distance transformation is used as the growth seed point of the cavity area.
作为本申请实施例一种可选的实施方式,所述装置还包括:第三计算模块,用于计算待测点灰度值与生长点对应的灰度值的差值;第二确定模块,用于将所述差值与所述动态分割阈值进行比较,将差值小于所述动态分割阈值作为生长准则并在所述生长种子点对应邻域内进行区域生长得到所述CBCT图像的横断面、冠状面与矢状面的分割结果。As an optional implementation of the embodiment of the present application, the device further includes: a third calculation module, configured to calculate the difference between the gray value of the point to be measured and the gray value corresponding to the growth point; the second determination module, Comparing the difference with the dynamic segmentation threshold, using the difference smaller than the dynamic segmentation threshold as a growth criterion and performing region growth in the neighborhood corresponding to the growth seed point to obtain the cross-section of the CBCT image, Segmentation results of coronal and sagittal planes.
作为本申请实施例一种可选的实施方式,所述装置还包括:操作模块,用于对所述CBCT图像的横断面、冠状面与矢状面的分割结果进行或操作并结合所述CBCT图像的横断面、冠状面与矢状面的分割信息得到所述CBCT图像分割结果。As an optional implementation of the embodiment of the present application, the device further includes: an operation module, configured to perform an OR operation on the segmentation results of the cross-section, coronal plane, and sagittal plane of the CBCT image and combine the CBCT The segmentation information of the transverse plane, coronal plane and sagittal plane of the image is used to obtain the segmentation result of the CBCT image.
作为本申请实施例一种可选的实施方式,所述装置还包括:赋值模块,用于遍历所述获取的CBCT三维断层图像对应的CBCT数据,并将对应的所述前景区域位置赋值为零。As an optional implementation of the embodiment of the present application, the device further includes: an assignment module, configured to traverse the CBCT data corresponding to the acquired CBCT three-dimensional tomographic image, and assign the corresponding position of the foreground area to zero .
本申请实施例提供的CBCT图像去噪装置的功能描述详细参见上述实施例中CBCT图像去噪方法描述。For a detailed description of the function of the CBCT image denoising device provided in the embodiment of the present application, refer to the description of the CBCT image denoising method in the foregoing embodiments.
本申请实施例还提供一种存储介质,如图5所示,其上存储有计算机程序601,该指令被处理器执行时实现上述实施例中CBCT图像去噪方法的步骤。该存储介质上还存储有音视频流数据,特征帧数据、交互请求信令、加密数据以及预设数据大小等。其中,存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)、随机存储记忆体(Random Access Memory,RAM)、快闪存储器(Flash Memory)、硬盘(Hard Disk Drive,缩写:HDD)或固态硬盘(Solid-State Drive,SSD)等;所述存储介质还可以包括上述种类的存储器的组合。The embodiment of the present application also provides a storage medium, as shown in FIG. 5 , on which a computer program 601 is stored. When the instruction is executed by a processor, the steps of the CBCT image denoising method in the above embodiment are implemented. The storage medium also stores audio and video stream data, feature frame data, interaction request signaling, encrypted data, and preset data sizes. Wherein, the storage medium can be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a flash memory (Flash Memory), a hard disk (Hard Disk Drive) , abbreviation: HDD) or solid-state hard disk (Solid-State Drive, SSD) etc.; The storage medium may also include a combination of the above-mentioned types of memory.
本领域技术人员可以理解,实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)、随机存储记忆体(RandomAccessMemory, RAM)、快闪存储器(Flash Memory)、硬盘(Hard Disk Drive,缩写:HDD)或固态硬盘(Solid-State Drive,SSD)等;所述存储介质还可以包括上述种类的存储器的组合。Those skilled in the art can understand that all or part of the processes in the methods of the above-mentioned embodiments can be completed by instructing related hardware through computer programs, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium can be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), a random access memory (RandomAccessMemory, RAM), a flash memory (Flash Memory), a hard disk (Hard Disk Drive) , abbreviation: HDD) or solid-state hard disk (Solid-State Drive, SSD) etc.; The storage medium may also include a combination of the above-mentioned types of memory.
本申请实施例还提供了一种电子设备,如图6所示,该电子设备可以包括处理器51和存储器52,其中处理器51和存储器52可以通过总线或者其他方式连接,图6中以通过总线连接为例。The embodiment of the present application also provides an electronic device. As shown in FIG. 6, the electronic device may include a processor 51 and a memory 52, wherein the processor 51 and the memory 52 may be connected through a bus or in other ways. In FIG. Take the bus connection as an example.
处理器51可以为中央处理器(Central Processing Unit,CPU)。处理器51还可以为其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等芯片,或者上述各类芯片的组合。The processor 51 may be a central processing unit (Central Processing Unit, CPU). Processor 51 can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or Other chips such as programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above-mentioned types of chips.
存储器52作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机可执行程序以及模块,如本申请实施例中的对应的程序指令/模块。处理器51通过运行存储在存储器52中的非暂态软件程序、指令以及模块,从而执行处理器的各种功能应用以及数据处理,即实现上述方法实施例中的CBCT图像去噪方法。The memory 52, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs and modules, such as the corresponding program instructions/modules in the embodiments of the present application. The processor 51 executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory 52, that is, implements the CBCT image denoising method in the above method embodiments.
存储器52可以包括存储程序区和存储数据区,其中,存储程序区可存储操作装置、至少一个功能所需要的应用程序;存储数据区可存储处理器51所创建的数据等。此外,存储器52可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施例中,存储器52可选包括相对于处理器51远程设置的存储器,这些远程存储器可以通过网络连接至处理器51。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 52 may include a program storage area and a data storage area, wherein the program storage area may store an application program required by the operating device and at least one function; the data storage area may store data created by the processor 51 and the like. In addition, the memory 52 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory 52 may optionally include a memory that is remotely located relative to the processor 51, and these remote memories may be connected to the processor 51 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
所述一个或者多个模块存储在所述存储器52中,当被所述处理器51执行时,执行如图1-3所示实施例中的CBCT图像去噪方法。The one or more modules are stored in the memory 52, and when executed by the processor 51, the CBCT image denoising method in the embodiment shown in Figs. 1-3 is executed.
上述电子设备具体细节可以对应参阅图1至图3所示的实施例中对应的相关描述和效果进行理解,此处不再赘述。Specific details of the above-mentioned electronic device can be understood by referring to corresponding descriptions and effects in the embodiments shown in FIG. 1 to FIG. 3 , and details are not repeated here.
虽然结合附图描述了本申请的实施例,但是本领域技术人员可以在不脱离本申请的精神和范围的情况下做出各种修改和变型,这样的修改和变型均落入由所附权利要求所限定的范围之内。Although the embodiment of the application has been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the application, and such modifications and variations all fall within the scope of the appended claims. within the bounds of the requirements.

Claims (10)

  1. 一种CBCT图像去噪方法,其特征在于,包括如下步骤:A CBCT image denoising method, is characterized in that, comprises the steps:
    获取CBCT图像;Acquire CBCT images;
    根据所述CBCT图像横断面、冠状面与矢状面的切片对应的otsu分割阈值计算区域生长对应的动态分割阈值;Calculate the dynamic segmentation threshold value corresponding to the region growth according to the otsu segmentation threshold value corresponding to the slices of the CBCT image cross-section, coronal plane and sagittal plane;
    根据所述CBCT图像计算空腔区域的生长种子点;calculating the growth seed point of the cavity region according to the CBCT image;
    根据所述动态分割阈值和所述生长种子点对所述CBCT图像的横断面、冠状面与矢状面进行区域生长得到所述CBCT图像分割结果;performing region growth on the cross-section, coronal plane, and sagittal plane of the CBCT image according to the dynamic segmentation threshold and the growth seed point to obtain the segmentation result of the CBCT image;
    对所述CBCT图像分割结果进行膨胀、腐蚀处理得到对应的CBCT分割图像;Carrying out expansion and erosion processing on the CBCT image segmentation results to obtain corresponding CBCT segmentation images;
    结合所述CBCT分割图像并对所述CBCT图像进行处理得到去噪后的CBCT图像。Combining the CBCT segmented image and processing the CBCT image to obtain a denoised CBCT image.
  2. 根据权利要求1所述的方法,其特征在于,所述获取CBCT图像,包括:The method according to claim 1, wherein said acquiring a CBCT image comprises:
    从获取的CBCT三维断层图像中获取初始CBCT图像;Obtain an initial CBCT image from the acquired CBCT three-dimensional tomographic image;
    对所述初始CBCT图像进行双边滤波处理得到所述CBCT图像。performing bilateral filtering on the initial CBCT image to obtain the CBCT image.
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述CBCT图像计算空腔区域的生长种子点,包括:The method according to claim 1, wherein the calculation of the growth seed point of the cavity region according to the CBCT image comprises:
    对所述CBCT图像的横断面、冠状面与矢状面的任一二维图像进行分割得到第一二值图像并记录分割阈值并在所述第一二值图像中确定前景区域和背景区域;Segment any two-dimensional image of the cross section, coronal plane and sagittal plane of the CBCT image to obtain a first binary image and record the segmentation threshold and determine the foreground area and background area in the first binary image;
    将所述前景区域中对应的软组织区域的面积与预设面积阈值进行比较;comparing the area of the corresponding soft tissue area in the foreground area with a preset area threshold;
    当所述前景区域中对应的软组织区域的面积小于所述预设面积阈值,在所述前景区域中移除所述前景区域中对应的软组织区域并得到对应的第二二值图像;When the area of the corresponding soft tissue area in the foreground area is smaller than the preset area threshold, remove the corresponding soft tissue area in the foreground area and obtain a corresponding second binary image;
    根据距离变换法对所述第二二值图像对应的前景区域进行处理得到灰度图;Processing the foreground area corresponding to the second binary image according to the distance transformation method to obtain a grayscale image;
    遍历距离变换后的前景区域并将所述距离变换后的前景区域中像素值的最大值对应的像素点作为空腔区域的生长种子点。The foreground area after the distance transformation is traversed, and the pixel point corresponding to the maximum value of the pixel value in the foreground area after the distance transformation is used as the growth seed point of the cavity area.
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述动态分割阈值和所述生长种子点对所述CBCT图像的横断面、冠状面与矢状面进行区域生长得到所述CBCT图像分割结果,包括:The method according to claim 1, wherein the CBCT image is obtained by performing region growth on the cross-section, coronal plane and sagittal plane of the CBCT image according to the dynamic segmentation threshold and the growth seed point Segmentation results, including:
    计算待测点灰度值与生长种子点对应的灰度值的差值;Calculate the difference between the gray value of the point to be measured and the gray value corresponding to the growth seed point;
    将所述差值与所述动态分割阈值进行比较,将差值小于所述动态分割阈值作为生长准则并在所述生长种子点对应邻域内进行区域生长得到所述CBCT图像的横断面、冠状面与矢状面的分割结果。Comparing the difference with the dynamic segmentation threshold, using the difference smaller than the dynamic segmentation threshold as a growth criterion, and performing region growth in the neighborhood corresponding to the growth seed point to obtain the cross-section and coronal plane of the CBCT image Segmentation results with sagittal plane.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, characterized in that the method further comprises:
    对所述CBCT图像的横断面、冠状面与矢状面的分割结果进行或操作并结合所述CBCT图像的横断面、冠状面与矢状面的分割信息得到所述CBCT图像分割结果。performing an OR operation on the segmentation results of the cross-section, coronal plane, and sagittal plane of the CBCT image and combining the segmentation information of the cross-section, coronal plane, and sagittal plane of the CBCT image to obtain the segmentation result of the CBCT image.
  6. 根据权利要求3所述的方法,其特征在于,所述结合所述CBCT分割图像并对所述CBCT图像进行处理得到去噪后的CBCT图像,包括:The method according to claim 3, wherein said combining said CBCT segmented image and processing said CBCT image to obtain a denoised CBCT image comprises:
    遍历所述获取的CBCT三维断层图像对应的CBCT数据,并将对应的所述前景区域位置赋值为零。The CBCT data corresponding to the acquired CBCT three-dimensional tomographic image is traversed, and the corresponding position of the foreground area is assigned a value of zero.
  7. 一种CBCT图像去噪装置,其特征在于,包括:A CBCT image denoising device, characterized in that it comprises:
    获取模块,用于获取CBCT图像;Obtain module, be used for obtaining CBCT image;
    第一计算模块,用于根据所述CBCT图像横断面、冠状面与矢状面的切片对应的otsu分割阈值计算区域生长对应的动态分割阈值;The first calculation module is used to calculate the dynamic segmentation threshold corresponding to the region growth according to the otsu segmentation threshold corresponding to the slice of the CBCT image cross section, coronal plane and sagittal plane;
    第二计算模块,用于根据所述CBCT图像计算空腔区域的生长种子点;The second calculation module is used to calculate the growth seed point of the cavity area according to the CBCT image;
    生长模块,用于根据所述动态分割阈值和所述生长种子点对所述CBCT图像的横断面、冠状面与矢状面进行区域生长得到所述CBCT图像分割结果;A growth module, configured to perform region growth on the cross-section, coronal plane, and sagittal plane of the CBCT image according to the dynamic segmentation threshold and the growth seed point to obtain the segmentation result of the CBCT image;
    第一处理模块,用于对所述CBCT图像分割结果进行膨胀、腐蚀处理得到对应的CBCT分割图像;The first processing module is used to expand and erode the CBCT image segmentation result to obtain a corresponding CBCT segmented image;
    第二处理模块,用于结合所述CBCT分割图像并对所述CBCT图像进行处理得到去噪后的CBCT图像。The second processing module is configured to combine the CBCT segmented image and process the CBCT image to obtain a denoised CBCT image.
  8. 根据权利要求7所述的装置,其特征在于,所述装置还包括:The device according to claim 7, wherein the device further comprises:
    第一获取模块,用于从获取的CBCT三维断层图像中获取初始CBCT图像;A first acquisition module, configured to acquire an initial CBCT image from the acquired CBCT three-dimensional tomographic image;
    第三处理模块,用于对所述初始CBCT图像进行双边滤波处理得到所述CBCT图像。The third processing module is configured to perform bilateral filtering processing on the initial CBCT image to obtain the CBCT image.
  9. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使所述计算机执行如权利要求1-6任一项所述的CBCT图像去噪方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to perform the CBCT image removal described in any one of claims 1-6. noise method.
  10. 一种电子设备,其特征在于,包括:存储器和处理器,所述存储器和所述处理器之间互相通信连接,所述存储器存储有计算机指令,所述处理器通过执行所述计算机指令,从而执行如权利要求1-6任一项所述的CBCT图像去噪方法。An electronic device, characterized in that it includes: a memory and a processor, the memory and the processor are connected to each other in communication, the memory stores computer instructions, and the processor executes the computer instructions, thereby Execute the CBCT image denoising method as described in any one of claims 1-6.
PCT/CN2022/118526 2021-12-16 2022-09-13 Cbct image denoising method and apparatus, storage medium and electronic device WO2023109212A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111546228.7A CN114298927B (en) 2021-12-16 2021-12-16 CBCT image denoising method and device, storage medium and electronic equipment
CN202111546228.7 2021-12-16

Publications (1)

Publication Number Publication Date
WO2023109212A1 true WO2023109212A1 (en) 2023-06-22

Family

ID=80967644

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/118526 WO2023109212A1 (en) 2021-12-16 2022-09-13 Cbct image denoising method and apparatus, storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN114298927B (en)
WO (1) WO2023109212A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114298927B (en) * 2021-12-16 2022-10-04 北京朗视仪器股份有限公司 CBCT image denoising method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110619643A (en) * 2019-09-17 2019-12-27 湖南科技大学 Region growing image segmentation method based on local information
US20200034972A1 (en) * 2018-07-25 2020-01-30 Boe Technology Group Co., Ltd. Image segmentation method and device, computer device and non-volatile storage medium
CN113409328A (en) * 2021-06-02 2021-09-17 东北大学 Pulmonary artery and vein segmentation method, device, medium and equipment of CT image
CN114298927A (en) * 2021-12-16 2022-04-08 北京朗视仪器股份有限公司 CBCT image denoising method and device, storage medium and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7756316B2 (en) * 2005-12-05 2010-07-13 Siemens Medicals Solutions USA, Inc. Method and system for automatic lung segmentation
CN109740600B (en) * 2019-01-04 2020-11-27 上海联影医疗科技股份有限公司 Method and device for positioning highlight focus area, computer equipment and storage medium
CN111612793B (en) * 2019-02-26 2023-07-25 中国科学院沈阳自动化研究所 Automatic skull removing method for brain magnetic resonance image
CN111179295B (en) * 2019-12-23 2023-04-04 青海大学 Improved two-dimensional Otsu threshold image segmentation method and system
CN111402277B (en) * 2020-02-17 2023-11-14 艾瑞迈迪医疗科技(北京)有限公司 Object outline segmentation method and device for medical image
CN112233133B (en) * 2020-10-29 2023-04-14 上海电力大学 Power plant high-temperature pipeline defect detection and segmentation method based on OTSU and area growth method
CN113674308B (en) * 2021-05-06 2024-02-13 西安电子科技大学 SAR image ship target rapid detection method based on image enhancement and multiple detection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200034972A1 (en) * 2018-07-25 2020-01-30 Boe Technology Group Co., Ltd. Image segmentation method and device, computer device and non-volatile storage medium
CN110619643A (en) * 2019-09-17 2019-12-27 湖南科技大学 Region growing image segmentation method based on local information
CN113409328A (en) * 2021-06-02 2021-09-17 东北大学 Pulmonary artery and vein segmentation method, device, medium and equipment of CT image
CN114298927A (en) * 2021-12-16 2022-04-08 北京朗视仪器股份有限公司 CBCT image denoising method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN114298927B (en) 2022-10-04
CN114298927A (en) 2022-04-08

Similar Documents

Publication Publication Date Title
JP6564018B2 (en) Radiation image lung segmentation technology and bone attenuation technology
JPH03206572A (en) Automatizing system for gradation conversion
US8483462B2 (en) Object centric data reformation with application to rib visualization
WO2019023900A1 (en) Method and system for extracting region of interest from volume data
JP6539303B2 (en) Transforming 3D objects to segment objects in 3D medical images
WO2023109212A1 (en) Cbct image denoising method and apparatus, storage medium and electronic device
CN107316291B (en) Mammary gland image processing method and mammary gland imaging equipment
WO2017193461A1 (en) Method and device for removing scanning table from ct image
WO2022227486A1 (en) Artificial intelligence-based remote sensing field ridge boundary detection method, system, computer device, and storage medium
WO2018176319A1 (en) Ultrasound image analysis method and device
TWI587844B (en) Medical image processing apparatus and breast image processing method thereof
CN108305268B (en) Image segmentation method and device
CN114299081B (en) Maxillary sinus CBCT image segmentation method, maxillary sinus CBCT image segmentation device, maxillary sinus CBCT storage medium and electronic equipment
CN111105427B (en) Lung image segmentation method and system based on connected region analysis
Vyavahare et al. Segmentation using region growing algorithm based on CLAHE for medical images
CN110084818B (en) Dynamic down-sampling image segmentation method
US9672600B2 (en) Clavicle suppression in radiographic images
CN107564021A (en) Detection method, device and the digital mammographic system of highly attenuating tissue
Makandar et al. A review on preprocessing techniques for digital mammography images
CN109767396B (en) Oral cavity CBCT image denoising method based on image dynamic segmentation
CN115908361A (en) Method for identifying decayed tooth of oral panoramic film
CN112634280B (en) MRI image brain tumor segmentation method based on energy functional
CN112258534B (en) Method for positioning and segmenting small brain earthworm parts in ultrasonic image
Kumar et al. Automatic segmentation of lung lobes and fissures for surgical planning
CN112258533A (en) Method for segmenting earthworm cerebellum in ultrasonic image

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22905965

Country of ref document: EP

Kind code of ref document: A1