WO2021012520A1 - Three-dimensional mra medical image splicing method and apparatus, and electronic device and computer-readable storage medium - Google Patents

Three-dimensional mra medical image splicing method and apparatus, and electronic device and computer-readable storage medium Download PDF

Info

Publication number
WO2021012520A1
WO2021012520A1 PCT/CN2019/118065 CN2019118065W WO2021012520A1 WO 2021012520 A1 WO2021012520 A1 WO 2021012520A1 CN 2019118065 W CN2019118065 W CN 2019118065W WO 2021012520 A1 WO2021012520 A1 WO 2021012520A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
area
overlapping
overlapping area
fused
Prior art date
Application number
PCT/CN2019/118065
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 WO2021012520A1 publication Critical patent/WO2021012520A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4038Scaling the whole image or part thereof for image mosaicing, i.e. plane images composed of plane sub-images
    • G06T5/70
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/30Determination of transform parameters for the alignment of images, i.e. image registration
    • G06T7/33Determination of transform parameters for the alignment of images, i.e. image registration using feature-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/32Indexing scheme for image data processing or generation, in general involving image mosaicing
    • 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/10088Magnetic resonance imaging [MRI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30004Biomedical image processing
    • G06T2207/30101Blood vessel; Artery; Vein; Vascular

Definitions

  • This application relates to the technical field of medical image processing, and in particular to a method, device, electronic equipment and computer-readable storage medium for 3D MRA medical image splicing.
  • Magnetic resonance angiography Magnetic Resonance Angiography, MRA is an examination method that uses electromagnetic waves to generate three-dimensional medical images that describe human body information. Through this examination method, a panoramic three-dimensional medical image can be obtained, which can better help doctors to diagnose the condition. Comprehensive and intuitive evaluation.
  • a panoramic 3D medical image cannot be obtained by scanning at one time. It is usually necessary to perform segmented imaging, and then stitch every two adjacent segments to obtain a panoramic 3D medical image. Therefore, 3D medical image stitching has a wide range of applications in medical imaging research, and even becomes a new application method in life insurance risk control in the financial industry. For example, by intelligently performing panoramic 3D medical images of the insurance applicant after stitching. Analysis can help review the insurance applicant’s application for insurance.
  • the inventor of the present application realizes that in the prior art, when performing 3D medical image stitching, the doctor usually manually merges the 3D medical images to be stitched through operations such as translation to achieve the visual overlap area fusion to determine the image Image stitching is performed on the overlapping area.
  • the efficiency of manually determining the overlapping area of the image is too low, and the accuracy is not high, and it takes a long time, resulting in too low efficiency of image stitching.
  • an object of the present application is to provide a method, device, electronic equipment, and computer-readable storage medium for 3D MRA medical image splicing.
  • a method for splicing three-dimensional MRA medical images includes: receiving two adjacent three-dimensional MRA medical images to be spliced sent by a scanning device in real time; performing Laplacian on the two adjacent three-dimensional MRA medical images to be spliced Denoising, enhancement, and irregular smoothing processing to obtain a first image and a second image; respectively perform overlapping layer detection on the first image and the second image to determine the first overlap area in the first image And the second overlapping area in the second image; using a weighted average method to perform fusion splicing processing on the first overlapping area and the second overlapping area to obtain a fused and spliced third image.
  • a three-dimensional MRA medical image splicing device includes: a receiving unit for receiving two adjacent three-dimensional MRA medical images to be spliced sent by a scanning device in real time;
  • the three-dimensional MRA medical image to be stitched is processed by Laplacian denoising, enhancement and irregular smoothing to obtain a first image and a second image;
  • the detection unit is used to overlap the first image and the second image respectively Layer detection to determine the first coincidence area in the first image and the second coincidence area in the second image;
  • the stitching unit is used to use a weighted average method to compare the first coincidence area and the second coincidence area
  • the overlapping area is processed by fusion splicing to obtain a third image after fusion splicing.
  • an electronic device includes: a processor; and
  • the memory is configured to store a three-dimensional MRA medical image splicing program of the processor; wherein the processor is configured to execute the above-mentioned three-dimensional MRA medical image splicing method by executing the three-dimensional MRA medical image splicing program.
  • a computer-readable storage medium storing a three-dimensional MRA medical image splicing program, wherein the three-dimensional MRA medical image splicing program is executed by a processor to realize the above-mentioned three-dimensional MRA medical image splicing method.
  • a computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute as described in the first aspect of the embodiment of the present invention Or any possible implementation of the first aspect.
  • two adjacent three-dimensional MRA medical images to be spliced received in real time are respectively preprocessed and then overlapped layer detection is performed to determine the overlap area in the two three-dimensional MRA medical images to be spliced, and weights are used.
  • the averaging method merges and splices the two overlapping areas, which can improve the efficiency of determining the overlapping areas in the image, thereby improving the efficiency of image stitching.
  • FIG. 1 is a schematic structural diagram of a three-dimensional MRA medical image splicing device disclosed in an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a method for stitching three-dimensional MRA medical images disclosed in an embodiment of the present application
  • FIG. 3 is a schematic flowchart of another three-dimensional MRA medical image stitching method disclosed in an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of another three-dimensional MRA medical image stitching method disclosed in an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of another three-dimensional MRA medical image splicing device disclosed in an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of another three-dimensional MRA medical image splicing device disclosed in an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of another three-dimensional MRA medical image splicing device disclosed in an embodiment of the present application.
  • the implementation environment of this application can be electronic devices, such as smart phones, tablet computers, and desktop computers.
  • the method disclosed in the embodiments of this application is suitable for life insurance risk control in the financial industry. Specifically, by intelligently analyzing the panoramic 3D medical images of the applicant after stitching, it can help review the insurance applicant’s insurance Application.
  • the method disclosed in the embodiments of the present application is suitable for magnetic resonance imaging equipment in the medical field. The segmented three-dimensional MRA medical images scanned by the scanning equipment are stitched to obtain a panoramic three-dimensional medical image. It can help doctors make a comprehensive and intuitive evaluation of the condition.
  • Fig. 1 is a schematic structural diagram of a three-dimensional MRA medical image splicing device disclosed in an embodiment of the present application.
  • the apparatus 100 may be the aforementioned electronic device.
  • the device 100 may include one or more of the following components: a processing component 102, a memory 104, a power supply component 106, a multimedia component 108, an audio component 110, a sensor component 114, and a communication component 116.
  • the processing component 102 generally controls the overall operations of the device 100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • the processing component 102 may include one or more processors 118 to execute instructions to complete all or part of the steps of the following method.
  • the processing component 102 may include one or more modules to facilitate the interaction between the processing component 102 and other components.
  • the processing component 102 may include a multimedia module to facilitate the interaction between the multimedia component 108 and the processing component 102.
  • the memory 104 is configured to store various types of data to support operations in the device 100. Examples of these data include instructions for any application or method operating on the device 100.
  • the memory 104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, SRAM for short), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory) Erasable Programmable Read-Only Memory (EEPROM for short), Erasable Programmable Read-Only Memory (EPROM for short), Programmable Red-Only Memory (PROM for short), Read-only memory ( Read-Only Memory, ROM for short), magnetic storage, flash memory, magnetic disk or optical disk.
  • the memory 104 also stores one or more modules, and the one or more modules are configured to be executed by the one or more processors 118 to complete all or part of the steps in the method shown below.
  • the power supply component 106 provides power to various components of the device 100.
  • the power supply component 106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 100.
  • the multimedia component 108 includes a screen that provides an output interface between the device 100 and the user.
  • the screen may include a liquid crystal display (Liquid Crystal Display, LCD for short) and a touch panel. If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touch, sliding, and gestures on the touch panel. The touch sensor can not only sense the boundary of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
  • the screen may also include an organic electroluminescence display (Organic Light Emitting Display, OLED for short).
  • the audio component 110 is configured to output and/or input audio signals.
  • the audio component 110 includes a microphone (Microphone, MIC for short).
  • the microphone is configured to receive external audio signals.
  • the received audio signal can be further stored in the memory 104 or sent via the communication component 116.
  • the audio component 110 further includes a speaker for outputting audio signals.
  • the sensor component 114 includes one or more sensors for providing the device 100 with various aspects of state evaluation.
  • the sensor component 114 can detect the open/close state of the device 100 and the relative positioning of components.
  • the sensor component 114 can also detect the position change of the device 100 or a component of the device 100 and the temperature change of the device 100.
  • the sensor component 114 may also include a magnetic sensor, a pressure sensor or a temperature sensor.
  • the communication component 116 is configured to facilitate wired or wireless communication between the apparatus 100 and other devices.
  • the device 100 can access a wireless network based on a communication standard, such as WiFi (Wireless-Fidelity, wireless fidelity).
  • the communication component 116 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel.
  • the communication component 116 further includes a Near Field Communication (NFC) module to facilitate short-range communication.
  • NFC Near Field Communication
  • the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth technology and other technologies. .
  • RFID Radio Frequency Identification
  • IrDA Infrared Data Association
  • UWB Ultra Wideband
  • the apparatus 100 may be implemented by one or more Application Specific Integrated Circuits (ASIC for short), digital signal processors, digital signal processing equipment, programmable logic devices, field programmable gate arrays, The controller, microcontroller, microprocessor or other electronic components are implemented to perform the following methods.
  • ASIC Application Specific Integrated Circuits
  • digital signal processors digital signal processing equipment
  • programmable logic devices programmable logic devices
  • field programmable gate arrays The controller, microcontroller, microprocessor or other electronic components are implemented to perform the following methods.
  • FIG. 2 is a schematic flowchart of a method for stitching three-dimensional MRA medical images disclosed in an embodiment of the present application. As shown in FIG. 2, the 3D MRA medical image stitching method may include the following steps:
  • the format of the three-dimensional MRA medical image to be spliced should be Digital Imaging and Communications in Medicine (DICOM) format, that is, the medical image format used for data exchange.
  • DICOM Digital Imaging and Communications in Medicine
  • the obtained three-dimensional MRA medical images to be stitched inevitably have noise. Therefore, it is necessary to preprocess the 3D MRA medical images to be stitched.
  • a weighted neighborhood averaging method may also be used to smoothly denoise the three-dimensional MRA medical image to be spliced.
  • the weighted neighborhood average method refers to multiplying different coefficients for each pixel in the neighborhood, and multiplying the more important pixels with a larger weight. For example, assuming that the medical image is, if the neighborhood S is taken, the calculation formula of the weighted neighborhood average is:
  • is the summation symbol, used to indicate the summation operation; a is the upper bound of the first summation operation, -a is the lower bound of the first summation operation, and a can be a specified constant to indicate the value of s
  • the range is [-a, a], which limits the value range of the argument of the first summation operation.
  • b is the upper bound of the second summation operation, -b is the lower bound of the second summation operation, and b can be a designated constant to indicate that the value range of t is [-b, b], thus limiting the first 2.
  • the value range of the argument of the summation operation is a weight function, which belongs to a commonly used weight function.
  • a panoramic three-dimensional medical image cannot be obtained by scanning at one time. It is usually necessary to perform segmented imaging, and then stitch every two adjacent segments to obtain a panoramic three-dimensional medical image.
  • the first image and the second image described in the embodiments of this application are essentially three-dimensional MRA medical images, but compared to panoramic three-dimensional medical images, both the first image and the second image refer to Is the segment obtained by segment imaging.
  • the three-dimensional MRA medical image is used to display the patient’s lesions, in order to avoid the omission of scanned information, there is an overlap area between the first image and the second image, and these two overlap areas exist in the two images respectively. Both ends of the junction. Among them, the junction of the two images can be the boundary of any side of any image.
  • the first image and the second image may be images acquired by the same scanning device under different conditions, and the different conditions may include different weather, illuminance, camera position and angle, etc.
  • the overlapped layer detection on the first image and the second image can determine the overlapped area.
  • the weighted average method is used to weight the pixels in the first overlap area and the second overlap area respectively, and then superimpose and average them.
  • Each pixel is given a different weight according to its importance in the entire image.
  • FIG. 3 is a schematic flowchart of another three-dimensional MRA medical image stitching method disclosed in an embodiment of the present application.
  • the 3D MRA medical image stitching method may include the following steps:
  • steps 301 to 303 please refer to the detailed description of steps 201 to 203 in the second embodiment, which will not be repeated in this application.
  • the one-to-one correspondence between the first row area to be fused and the second row area to be fused has an overlapping relationship.
  • a first preset weight coefficient can be preset for the first column area to be merged according to the distance between the first column area to be merged and the second overlapping area.
  • the first to-be-fused column area B is closer to the edge of the first overlapping area than the first to-be-fused column area A, It is also closer to the second overlap area, so the first preset weight coefficient of the first row area A to be fused is 0.8, and the first preset weight coefficient of the first row area B to be fused is 0.6.
  • other values can also be set, such as 0.4 or 0.5, which is not limited here.
  • the first preset weight coefficient obtain a second preset weight coefficient of the second column area to be fused corresponding to the first column area to be fused, wherein the sum of the first preset weight coefficient and the second preset weight coefficient Equal to one.
  • the second column region to be blended in the second overlapping area there are also two second column regions to be blended in the second overlapping area, namely C and D.
  • the first preset weight coefficient and the second preset weight coefficient add the pixel values of each first column area to be fused and the corresponding second column area to be fused to obtain a fused pixel value to obtain a fusion splicing After the third image.
  • Steps 304 to 307 are implemented, by dividing the overlapping area into multiple column areas to be fused, and according to the importance of the column areas to be fused, different weight coefficients are configured for them, and the preset weight coefficients of any two adjacent column areas to be fused Different, the first image and the second image can be smoothly and seamlessly spliced, making the image transition more natural, improving the splicing effect, and enhancing the visual effect.
  • the implementation of the method described in Figure 3 can improve the efficiency of determining the overlap area in the image, thereby improving the efficiency of image stitching. It can also receive in real time two adjacent three-dimensional MRA medical images to be spliced from the scanning device and the three-dimensional MRA to be spliced. Medical images are preprocessed to provide high-quality first and second images for the next step. In addition, by dividing the overlapping area into multiple column areas to be fused, and according to the importance of the column area to be fused, different weight coefficients are configured for it, and the preset weight coefficients of any two adjacent column areas to be fused are different. The first image and the second image are stitched smoothly and seamlessly to make the image transition more natural, improve the stitching effect, and enhance the visual effect.
  • FIG. 4 is a schematic flowchart of another three-dimensional MRA medical image stitching method disclosed in an embodiment of the present application. As shown in FIG. 4, the 3D MRA medical image stitching method may include the following steps:
  • steps 401 to 402 please refer to the detailed description of steps 201 to 202 in the second embodiment, which will not be repeated in this application.
  • the maximum intensity projection (Maximal Intensity Projection, MIP) is a widely used 3D MRA medical image processing technology.
  • MIP uses perspective to obtain two-dimensional images, which are generated by calculating the maximum density pixels encountered along each ray along the scanned object.
  • MIP can reflect the X-ray attenuation value of the corresponding pixel, and small density changes can also be displayed on the MIP image, which can well show the stenosis, expansion, filling defect of the blood vessel and distinguish the calcification on the blood vessel wall from the contrast in the blood vessel cavity Agent. Therefore, through the maximum intensity projection imaging, the first overlapping segment in the first image and the second overlapping segment in the second image can be preliminarily determined.
  • step 405. Determine in sequence whether the difference in the number of overlapping layers between each first area to be tested and the corresponding second area to be tested is less than a preset value. If yes, go to step 406; otherwise, end this process.
  • the preset value may be set in advance by the developer according to actual conditions.
  • the image position information is used to describe the positions of the first image and the second image corresponding to the human anatomical coordinate system.
  • the image location information can be obtained from the device scan information provided in the header files of the first image and the second image.
  • the device scan information includes image location, image direction, pixel resolution, layer thickness, patient position, and Scan information such as beds.
  • the sampling point can be the above-mentioned origin or any other than the above-mentioned origin.
  • a coincidence point the origin of the image is located at the upper left corner of the image, the image coordinates of this origin in the image coordinate system are zero, and this origin corresponds to the human anatomical coordinates in the human anatomical coordinate system, which can be obtained from the image position information. Therefore, according to the first The human anatomical coordinates of the origin of the first image and the second image can also describe the positional relationship between the first image and the second image.
  • the human anatomical coordinate system refers to the anatomical space coordinate system in the field of medical image processing technology, also called the patient coordinate system.
  • the human anatomical coordinate system is composed of three planes, used to describe the anatomical position of the standard human body.
  • the three decent planes include a cross section, a coronal plane and a sagittal plane; among them, the cross section is parallel to the ground, separating the head and feet of the human body; the coronal plane is perpendicular to the ground, separating the front and back of the human body; sagittal The face is perpendicular to the ground, separating the left and right parts of the human body.
  • the human anatomical coordinates refer to the coordinate information of the sampling point corresponding to the human anatomical coordinate system
  • the first image coordinates or the second image coordinates refer to the coordinate information of the sampling point in the image coordinate system.
  • the registration transformation matrix is used to perform one or more of operations such as translation, scale transformation, and rotation on the first image or the second image.
  • step 409 may include:
  • the points with the same human anatomical coordinates in the second overlapping area are registered to the same position in the first overlapping area through the registration transformation matrix; or, taking the second overlapping area as the reference area, The points with the same human anatomical coordinates in the first coincidence area are registered to the same position in the second coincidence area through the registration transformation matrix.
  • the first overlap area and the second overlap area may be expanded according to the size of the pre-selected image processing operator to obtain the first area to be registered And the second area to be registered.
  • step 409 may include: obtaining a registration coefficient based on a mutual information maximization method, and registering points with the same feature in the first area to be registered and the second area to be registered by the registration coefficient according to the registration coefficient To the same location.
  • image processing operators include but are not limited to Roberts operator (also known as Roberts operator) that uses local difference operators to find edges, Sobel operators for edge detection, and Prewitt for edge detection of first-order differential operators. Operator, Laplacian operator or Gauss-Laplacian operator for second-order differentiation.
  • the registration is performed based on the expanded first area to be registered and the second area to be registered, which can improve the accuracy of image registration. Performance, while improving the effect of image processing.
  • FIG. 5 is a schematic structural diagram of another 3D MRA medical image splicing device disclosed in an embodiment of the present application.
  • the 3D MRA medical image splicing device may include a receiving unit 501, a denoising unit 502, a detecting unit 503, and a splicing unit 504, where:
  • the receiving unit 501 is configured to receive two adjacent three-dimensional MRA medical images to be spliced from the scanning device in real time.
  • the denoising unit 502 is configured to perform Laplacian denoising, enhancement and irregular smoothing processing on two adjacent three-dimensional MRA medical images to be spliced to obtain a first image and a second image.
  • the detection unit 503 is configured to perform overlap layer detection on the first image and the second image to determine the first overlap area in the first image and the second overlap area in the second image.
  • the splicing unit 504 is configured to perform fusion splicing processing on the first overlapping area and the second overlapping area by using a weighted average method to obtain a third image after fusion splicing.
  • the implementation of the device shown in Fig. 5 is used to preprocess the two adjacent three-dimensional MRA medical images to be spliced received in real time and then perform overlapping layer detection to determine the overlapping area in the two three-dimensional MRA medical images to be spliced. , And use the weighted average method to merge and splice the two overlapping areas, which can improve the efficiency of determining the overlapping areas in the image, thereby improving the efficiency of image splicing.
  • FIG. 6 is a schematic structural diagram of another three-dimensional MRA medical image splicing device disclosed in an embodiment of the present application.
  • the three-dimensional MRA medical image splicing device shown in FIG. 6 is optimized by the three-dimensional MRA medical image splicing device shown in FIG. 5.
  • the three-dimensional MRA medical image splicing device shown in Figure 6 Compared with the three-dimensional MRA medical image splicing device shown in Figure 5, in the three-dimensional MRA medical image splicing device shown in Figure 6:
  • the above-mentioned denoising unit 502 is further configured to perform fusion stitching processing on the first and second overlapping regions by the weighted average method in the stitching unit 504 to obtain the fused and stitched third image, and then use a low-pass filter to Three images are smoothed and filtered to obtain a target smooth image.
  • the splicing unit 504 may include:
  • the dividing subunit 5041 is used to divide the first overlapping area into a plurality of first to-be-merged column areas, and divide the second overlapping area into a plurality of second to-be-merged column areas, the first to-be-merged column area and the second to-be-fused column area
  • the regions correspond one to one.
  • the first obtaining subunit 5042 is configured to sequentially obtain the first preset weight coefficient of each first column area to be merged in the descending order of the distance between each first column area to be merged and the second overlapping area, where the first A preset weight coefficient becomes smaller as the distance between the corresponding first column area to be fused and the second overlap area increases.
  • the second obtaining subunit 5043 is configured to obtain, according to the first preset weight coefficient, the second preset weight coefficient of the second column area to be fused corresponding to the first column area to be fused, where the first preset weight coefficient and the second The sum of the preset weight coefficients is equal to one.
  • the splicing subunit 5044 is configured to add the pixel values of each first column area to be fused and the corresponding second column area to be fused according to the first preset weight coefficient and the second preset weight coefficient to obtain the fused pixel value , To obtain the third image after fusion splicing.
  • the overlapping area is divided into multiple column areas to be fused, and different weight coefficients are assigned to the column areas to be fused according to the importance of the column areas to be fused, and the preset weight coefficients of any two adjacent column areas to be fused are different , Can smoothly and seamlessly splice the first image and the second image, make the image transition more natural, improve the splicing effect, and enhance the visual effect.
  • the aforementioned denoising unit 502 is further configured to use a weighted neighborhood average method to smoothly denoise the three-dimensional MRA medical image to be spliced.
  • the weighted neighborhood average method refers to multiplying different coefficients for each pixel in the neighborhood, and multiplying the more important pixels with a larger weight. For example, assuming that the medical image is, if the neighborhood S is taken, the calculation formula of the weighted neighborhood average is:
  • is the summation symbol, used to indicate the summation operation; a is the upper bound of the first summation operation, -a is the lower bound of the first summation operation, and a can be a specified constant to indicate the value of s
  • the range is [-a, a], which limits the value range of the argument of the first summation operation.
  • b is the upper bound of the second summation operation, -b is the lower bound of the second summation operation, and b can be a designated constant to indicate that the value range of t is [-b, b], thus limiting the first 2.
  • the value range of the argument of the summation operation is a weight function, which belongs to a commonly used weight function.
  • the implementation of the device shown in Figure 6 can improve the efficiency of determining the overlapping area in the image, thereby improving the efficiency of image stitching. It can also divide the overlapping area into multiple column areas to be fused, and according to the importance of the column areas to be fused, It is configured with different weight coefficients, and the preset weight coefficients of any two adjacent column areas to be fused are different.
  • the first image and the second image can be smoothly and seamlessly stitched, making the image transition more natural, improving the stitching effect, and improving Visual effect.
  • FIG. 7 is a schematic structural diagram of another three-dimensional MRA medical image splicing device disclosed in an embodiment of the present application.
  • the three-dimensional MRA medical image splicing device shown in FIG. 7 is optimized by the three-dimensional MRA medical image splicing device shown in FIG. 6.
  • the three-dimensional MRA medical image splicing device shown in FIG. 7 may further include: a comparison unit 505, a determination unit 506, an acquisition unit 507, and a registration unit 508, wherein,
  • the comparison unit 505 is configured to detect the overlap layer of the first image and the second image by the detection unit 503 to determine the first overlap area in the first image and the second overlap area in the second image, and compare the first The respective maximum density projection imaging of the image and the second image are compared to determine the first overlap segment in the first image and the second overlap segment in the second image.
  • the above-mentioned detection unit 503 is used to detect the overlapping layer of the first image and the second image respectively to determine the first overlapping area in the first image and the second overlapping area in the second image. :
  • the aforementioned detection unit 503 is configured to perform overlap layer detection on the first overlap segment and the second overlap segment to determine the first overlap area in the first image and the second overlap area in the second image.
  • the aforementioned detection unit 503 is configured to perform overlap layer detection on the first overlap segment and the second overlap segment to determine the manner of the first overlap area in the first image and the second overlap area in the second image Specifically:
  • the aforementioned detection unit 503 is used to divide the first overlapping segment into a plurality of first areas to be measured, and to divide the second overlapping segment into a plurality of second areas to be measured, the first area to be measured and the second area to be measured one by one Corresponding; and sequentially determine whether the difference in the number of overlapping layers between each first area to be tested and the corresponding second area to be tested is less than a preset value; if the difference is less than the preset value, the first area to be tested is taken as the first For the component part of the first overlapping area in an image, the corresponding second area to be measured is used as the component part of the second overlapping area in the second image to determine the first overlapping area and the second overlapping area.
  • the determining unit 506 is configured to use the first to-be-measured area as a component of the first overlapping area in the first image and the corresponding second to-be-measured area as the second overlapping area in the second image in the aforementioned detecting unit 503
  • the above-mentioned splicing unit 504 uses the weighted average method to perform the fusion splicing process on the first and second overlapping areas to obtain the fused and spliced third image , Determine the sampling point according to the image location information of the first image and the second image.
  • the image position information is used to describe the positions of the first image and the second image corresponding to the human anatomical coordinate system.
  • the obtaining unit 507 is configured to obtain the registration transformation matrix according to the human anatomical coordinates of the sampling points, the first image coordinates of the sampling points in the first image, and the second image coordinates in the second image.
  • the registration unit 508 is configured to register the first coincidence area and the second coincidence area according to the registration transformation matrix.
  • the registration unit 508 is configured to register the first coincidence area and the second coincidence area according to the registration transformation matrix:
  • the registration unit 508 is used to register the points with the same human anatomical coordinates in the second overlap area to the same position in the first overlap area through the registration transformation matrix using the first overlap area as the reference area; or
  • the overlapping area is the reference area, and the points with the same human anatomical coordinates in the first overlapping area are registered to the same position in the second overlapping area through the registration transformation matrix.
  • the registration unit 508 is configured to register the first coincidence area and the second coincidence area according to the registration transformation matrix:
  • the registration unit 508 is configured to perform expansion processing on the first coincidence area and the second coincidence area respectively according to the size of the preselected image processing operator to obtain the first area to be registered and the second area to be registered; and, based on The mutual information maximization method obtains the registration coefficient, and according to the registration coefficient, the points of the same feature in the first area to be registered and the second area to be registered are registered to the same position through the registration coefficient.
  • image processing operators include but are not limited to Roberts operator (also known as Roberts operator) that uses local difference operators to find edges, Sobel operators for edge detection, and Prewitt for edge detection of first-order differential operators. Operator, Laplacian operator or Gauss-Laplacian operator for second-order differentiation.
  • the registration is performed based on the expanded first area to be registered and the second area to be registered, which can improve the accuracy of image registration. Performance, while improving the effect of image processing.
  • implementing the device shown in FIG. 7 can improve the efficiency of determining the overlapping area in the image, thereby improving the efficiency of image stitching.
  • the points with the same human anatomical coordinates in the other overlapping area are registered to the same position through the registration transformation matrix, which is compared with the manual determination of the image overlapping area in the prior art. This way, while saving time and improving efficiency, it can also increase the accuracy of image stitching.
  • This application also provides an electronic device, which includes:
  • a memory storing computer-readable instructions, and when the computer-readable instructions are executed by the processor, the three-dimensional MRA medical image splicing method as shown above is realized.
  • the electronic device may be the apparatus 100 shown in FIG. 1.
  • the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the three-dimensional MRA medical image splicing method as shown above is realized.
  • the present application also provides a computer program product.
  • the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute the above The three-dimensional MRA medical image stitching method shown.
  • the computer program product includes program code, and when the program product runs on a terminal device, the program code is used to make the terminal device execute the various methods described in the “exemplary method” section of this specification. Steps of an exemplary embodiment.

Abstract

Provided are a three-dimensional MRA medical image splicing method and apparatus, and an electronic device and a computer-readable storage medium, belonging to the technical field of medical image processing. The method comprises: performing Laplace denoising, enhancement and irregular smoothing processing on two adjacent three-dimensional MRA medical images to be spliced that are received in real time, in order to obtain a first image and a second image; performing overlapping layer detection on the first image and the second image to determine a first overlapping region in the first image and a second overlapping region in the second image; and performing, by using a weighted average method, fusion splicing processing on the first overlapping region and the second overlapping region to obtain a third image after fusion splicing. In the present application, overlapping layer detection is respectively carried out on two pre-processed adjacent three-dimensional MRA medical images to be spliced, overlapping regions in the two three-dimensional MRA medical images to be spliced are determined, and the two overlapping regions are then fused and spliced, so that the efficiency of the determination of an overlapping region in an image can be improved, thereby improving the image splicing efficiency.

Description

三维MRA医学图像拼接方法、装置、电子设备及计算机可读存储介质Three-dimensional MRA medical image mosaic method, device, electronic equipment and computer readable storage medium
本申请要求2019年07月23日递交、发明名称为“三维MRA医学图像拼接方法及装置、电子设备”的中国专利申请201910666640.9的优先权,在此通过引用将其全部内容合并于此。This application claims the priority of the Chinese patent application 201910666640.9 filed on July 23, 2019 with the title of "Three-dimensional MRA Medical Image Mosaic Method and Apparatus, Electronic Equipment", and the entire contents of which are incorporated herein by reference.
技术领域Technical field
本申请涉及医学图像处理技术领域,尤其涉及一种三维MRA医学图像拼接方法、装置、电子设备及计算机可读存储介质。This application relates to the technical field of medical image processing, and in particular to a method, device, electronic equipment and computer-readable storage medium for 3D MRA medical image splicing.
背景技术Background technique
磁共振血管造影(Magnetic Resonance Angiography,MRA)是一种利用电磁波产生用于描述人体信息的三维医学图像的检查方法,通过该检查方法,能够获得全景三维医学图像,更好地帮助医生对病情进行全面、直观的评价。Magnetic resonance angiography (Magnetic Resonance Angiography, MRA) is an examination method that uses electromagnetic waves to generate three-dimensional medical images that describe human body information. Through this examination method, a panoramic three-dimensional medical image can be obtained, which can better help doctors to diagnose the condition. Comprehensive and intuitive evaluation.
但是在MRA检查中,由于MRA设备的限制,无法一次性扫描得到全景三维医学图像,通常需要进行分段成像,再对每每相邻的两个分段进行拼接,才能获得全景三维医学图像。因此,三维医学图像拼接在医学影像研究中有着广泛的应用,甚至在金融行业的寿险风控中也成为一种新的应用方法,比如,通过对拼接后的投保人的全景三维医学图像进行智能分析,可以帮助审核投保人的投保申请。However, in the MRA examination, due to the limitation of the MRA equipment, a panoramic 3D medical image cannot be obtained by scanning at one time. It is usually necessary to perform segmented imaging, and then stitch every two adjacent segments to obtain a panoramic 3D medical image. Therefore, 3D medical image stitching has a wide range of applications in medical imaging research, and even becomes a new application method in life insurance risk control in the financial industry. For example, by intelligently performing panoramic 3D medical images of the insurance applicant after stitching. Analysis can help review the insurance applicant’s application for insurance.
然而,本申请的发明人意识到,现有技术中,在进行三维医学图像拼接时,通常是通过医生手动将待拼接的三维医学图像通过平移等操作达到视觉上的重合区域融合,以确定图像重合区域进行图像拼接。可这种方式中,利用人工确定图像重合区域的效率过低,且准确性不高、耗时长,从而导致图像拼接效率过于低下。However, the inventor of the present application realizes that in the prior art, when performing 3D medical image stitching, the doctor usually manually merges the 3D medical images to be stitched through operations such as translation to achieve the visual overlap area fusion to determine the image Image stitching is performed on the overlapping area. However, in this way, the efficiency of manually determining the overlapping area of the image is too low, and the accuracy is not high, and it takes a long time, resulting in too low efficiency of image stitching.
发明内容Summary of the invention
为了解决上述技术问题,本申请的一个目的在于提供一种三维MRA医学图像拼接方法、装置、电子设备及计算机可读存储介质。In order to solve the above technical problems, an object of the present application is to provide a method, device, electronic equipment, and computer-readable storage medium for 3D MRA medical image splicing.
其中,本申请所采用的技术方案为:Among them, the technical solutions adopted in this application are:
第一方面,一种三维MRA医学图像拼接方法,包括:实时接收扫描设备发送的相邻两个待拼接三维MRA医学图像;对所述相邻两个待拼接三维MRA医学图像进行拉普拉斯去噪、增强和不规则平滑处理,获得第一图像和第二图像;分别对所述第一图像和所述第二图像进行重叠层探测,以确定所述第一图像中的第一重合区域和所述第二图像中的第二重合区域;利用加权平均法对所述第一重合区域和所述第二重合区域进行融合拼接处理,获得融合拼接后的第三图像。In the first aspect, a method for splicing three-dimensional MRA medical images includes: receiving two adjacent three-dimensional MRA medical images to be spliced sent by a scanning device in real time; performing Laplacian on the two adjacent three-dimensional MRA medical images to be spliced Denoising, enhancement, and irregular smoothing processing to obtain a first image and a second image; respectively perform overlapping layer detection on the first image and the second image to determine the first overlap area in the first image And the second overlapping area in the second image; using a weighted average method to perform fusion splicing processing on the first overlapping area and the second overlapping area to obtain a fused and spliced third image.
第二方面,一种三维MRA医学图像拼接装置,包括:接收单元,用于实时接收扫描设备发送的相邻两个待拼接三维MRA医学图像;去噪单元,用于对所述相邻两个待拼接三维MRA医学图像进行拉普拉斯去噪、增强和不规则平滑处理,获得第一图像和第二图像;探测单元,用于分别对所述第一图像和所述第二图像进行重叠层探测,以确定所述第一图像中的第一重合区域和所述第二图像中的第二重合区域;拼接单元,用于利用加权平 均法对所述第一重合区域和所述第二重合区域进行融合拼接处理,获得融合拼接后的第三图像。In the second aspect, a three-dimensional MRA medical image splicing device includes: a receiving unit for receiving two adjacent three-dimensional MRA medical images to be spliced sent by a scanning device in real time; The three-dimensional MRA medical image to be stitched is processed by Laplacian denoising, enhancement and irregular smoothing to obtain a first image and a second image; the detection unit is used to overlap the first image and the second image respectively Layer detection to determine the first coincidence area in the first image and the second coincidence area in the second image; the stitching unit is used to use a weighted average method to compare the first coincidence area and the second coincidence area The overlapping area is processed by fusion splicing to obtain a third image after fusion splicing.
第三方面,一种电子设备,包括:处理器;以及In the third aspect, an electronic device includes: a processor; and
存储器,用于存储所述处理器的三维MRA医学图像拼接程序;其中,所述处理器配置为经由执行所述三维MRA医学图像拼接程序来执行如上所述的三维MRA医学图像拼接方法。The memory is configured to store a three-dimensional MRA medical image splicing program of the processor; wherein the processor is configured to execute the above-mentioned three-dimensional MRA medical image splicing method by executing the three-dimensional MRA medical image splicing program.
第四方面,一种计算机可读存储介质,其上存储有三维MRA医学图像拼接程序,其特征在于,所述三维MRA医学图像拼接程序被处理器执行时实现如上所述的三维MRA医学图像拼接方法。In a fourth aspect, a computer-readable storage medium storing a three-dimensional MRA medical image splicing program, wherein the three-dimensional MRA medical image splicing program is executed by a processor to realize the above-mentioned three-dimensional MRA medical image splicing method.
第五方面,一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本发明实施例第一方面所述的方法或第一方面任意可能实现方式中的方法。In a fifth aspect, a computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute as described in the first aspect of the embodiment of the present invention Or any possible implementation of the first aspect.
在上述技术方案中,通过分别对实时接收到的相邻两个待拼接三维MRA医学图像进行预处理后进行重叠层探测,以确定两个待拼接三维MRA医学图像中的重合区域,并利用加权平均法对两个重合区域进行融合拼接,能够提高图像中重合区域的确定效率,进而提高图像拼接效率。In the above technical solution, two adjacent three-dimensional MRA medical images to be spliced received in real time are respectively preprocessed and then overlapped layer detection is performed to determine the overlap area in the two three-dimensional MRA medical images to be spliced, and weights are used. The averaging method merges and splices the two overlapping areas, which can improve the efficiency of determining the overlapping areas in the image, thereby improving the efficiency of image stitching.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the application.
附图说明Description of the drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并于说明书一起用于解释本申请的原理。The drawings herein are incorporated into the specification and constitute a part of the specification, show embodiments that conform to the application, and are used together with the specification to explain the principle of the application.
图1是本申请实施例公开的一种三维MRA医学图像拼接装置的结构示意图;FIG. 1 is a schematic structural diagram of a three-dimensional MRA medical image splicing device disclosed in an embodiment of the present application;
图2是本申请实施例公开的一种三维MRA医学图像拼接方法的流程示意图;2 is a schematic flowchart of a method for stitching three-dimensional MRA medical images disclosed in an embodiment of the present application;
图3是本申请实施例公开的另一种三维MRA医学图像拼接方法的流程示意图;3 is a schematic flowchart of another three-dimensional MRA medical image stitching method disclosed in an embodiment of the present application;
图4是本申请实施例公开的又一种三维MRA医学图像拼接方法的流程示意图;FIG. 4 is a schematic flowchart of another three-dimensional MRA medical image stitching method disclosed in an embodiment of the present application;
图5是本申请实施例公开的另一种三维MRA医学图像拼接装置的结构示意图;5 is a schematic structural diagram of another three-dimensional MRA medical image splicing device disclosed in an embodiment of the present application;
图6是本申请实施例公开的另一种三维MRA医学图像拼接装置的结构示意图;6 is a schematic structural diagram of another three-dimensional MRA medical image splicing device disclosed in an embodiment of the present application;
图7是本申请实施例公开的又一种三维MRA医学图像拼接装置的结构示意图。FIG. 7 is a schematic structural diagram of another three-dimensional MRA medical image splicing device disclosed in an embodiment of the present application.
通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述,这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。Through the above drawings, the specific embodiments of the application have been shown, and there will be more detailed descriptions in the following. These drawings and text descriptions are not intended to limit the scope of the concept of the application in any way, but by referring to specific embodiments. The concept of this application is explained to those skilled in the art.
具体实施方式Detailed ways
这里将详细地对示例性实施例执行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Here, an exemplary embodiment will be described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present application. On the contrary, they are only examples of devices and methods consistent with some aspects of the application as detailed in the appended claims.
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实 施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本申请将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms, and should not be construed as being limited to the examples set forth herein; on the contrary, the provision of these embodiments makes this application more comprehensive and complete, and fully conveys the concept of the example embodiments To those skilled in the art. The described features, structures or characteristics may be combined in one or more embodiments in any suitable way.
实施例一Example one
本申请的实施环境可以是电子设备,例如智能手机、平板电脑、台式电脑。The implementation environment of this application can be electronic devices, such as smart phones, tablet computers, and desktop computers.
在一种应用场景下,本申请实施例所公开的方法适用于金融行业的寿险风控中,具体地,通过对拼接后投保人的全景三维医学图像进行智能分析,可以帮助审核投保人的投保申请。在另一种应用场景下,本申请实施例所公开的方法适用于医疗领域的磁共振成像设备,对扫描设备扫描得到的分段式的三维MRA医学图像进行拼接,从而得到全景三维医学图像,可以帮助医生对病情进行全面、直观的评价。In an application scenario, the method disclosed in the embodiments of this application is suitable for life insurance risk control in the financial industry. Specifically, by intelligently analyzing the panoramic 3D medical images of the applicant after stitching, it can help review the insurance applicant’s insurance Application. In another application scenario, the method disclosed in the embodiments of the present application is suitable for magnetic resonance imaging equipment in the medical field. The segmented three-dimensional MRA medical images scanned by the scanning equipment are stitched to obtain a panoramic three-dimensional medical image. It can help doctors make a comprehensive and intuitive evaluation of the condition.
图1是本申请实施例公开的一种三维MRA医学图像拼接装置的结构示意图。装置100可以是上述电子设备。如图1所示,装置100可以包括以下一个或多个组件:处理组件102,存储器104,电源组件106,多媒体组件108,音频组件110,传感器组件114以及通信组件116。Fig. 1 is a schematic structural diagram of a three-dimensional MRA medical image splicing device disclosed in an embodiment of the present application. The apparatus 100 may be the aforementioned electronic device. As shown in FIG. 1, the device 100 may include one or more of the following components: a processing component 102, a memory 104, a power supply component 106, a multimedia component 108, an audio component 110, a sensor component 114, and a communication component 116.
处理组件102通常控制装置100的整体操作,诸如与显示,电话呼叫,数据通信,相机操作以及记录操作相关联的操作等。处理组件102可以包括一个或多个处理器118来执行指令,以完成下述的方法的全部或部分步骤。此外,处理组件102可以包括一个或多个模块,用于便于处理组件102和其他组件之间的交互。例如,处理组件102可以包括多媒体模块,用于以方便多媒体组件108和处理组件102之间的交互。The processing component 102 generally controls the overall operations of the device 100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 102 may include one or more processors 118 to execute instructions to complete all or part of the steps of the following method. In addition, the processing component 102 may include one or more modules to facilitate the interaction between the processing component 102 and other components. For example, the processing component 102 may include a multimedia module to facilitate the interaction between the multimedia component 108 and the processing component 102.
存储器104被配置为存储各种类型的数据以支持在装置100的操作。这些数据的示例包括用于在装置100上操作的任何应用程序或方法的指令。存储器104可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(Static Random Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read Only Memory,简称EPROM),可编程只读存储器(Programmable Red-Only Memory,简称PROM),只读存储器(Read-Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。存储器104中还存储有一个或多个模块,用于该一个或多个模块被配置成由该一个或多个处理器118执行,以完成如下所示方法中的全部或者部分步骤。The memory 104 is configured to store various types of data to support operations in the device 100. Examples of these data include instructions for any application or method operating on the device 100. The memory 104 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, SRAM for short), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory) Erasable Programmable Read-Only Memory (EEPROM for short), Erasable Programmable Read-Only Memory (EPROM for short), Programmable Red-Only Memory (PROM for short), Read-only memory ( Read-Only Memory, ROM for short), magnetic storage, flash memory, magnetic disk or optical disk. The memory 104 also stores one or more modules, and the one or more modules are configured to be executed by the one or more processors 118 to complete all or part of the steps in the method shown below.
电源组件106为装置100的各种组件提供电力。电源组件106可以包括电源管理系统,一个或多个电源,及其他与为装置100生成、管理和分配电力相关联的组件。The power supply component 106 provides power to various components of the device 100. The power supply component 106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 100.
多媒体组件108包括在装置100和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(Liquid Crystal Display,简称LCD)和触摸面板。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与触摸或滑动操作相关的持续时间和压力。屏幕还可以包括有机电致发光显示器(Organic Light Emitting Display,简称OLED)。The multimedia component 108 includes a screen that provides an output interface between the device 100 and the user. In some embodiments, the screen may include a liquid crystal display (Liquid Crystal Display, LCD for short) and a touch panel. If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, sliding, and gestures on the touch panel. The touch sensor can not only sense the boundary of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. The screen may also include an organic electroluminescence display (Organic Light Emitting Display, OLED for short).
音频组件110被配置为输出和/或输入音频信号。例如,音频组件110包括一个麦克风(Microphone,简称MIC),当装置100处于操作模式,如呼叫模式、记录模式和语音 识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器104或经由通信组件116发送。在一些实施例中,音频组件110还包括一个扬声器,用于输出音频信号。The audio component 110 is configured to output and/or input audio signals. For example, the audio component 110 includes a microphone (Microphone, MIC for short). When the device 100 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive external audio signals. The received audio signal can be further stored in the memory 104 or sent via the communication component 116. In some embodiments, the audio component 110 further includes a speaker for outputting audio signals.
传感器组件114包括一个或多个传感器,用于为装置100提供各个方面的状态评估。例如,传感器组件114可以检测到装置100的打开/关闭状态,组件的相对定位,传感器组件114还可以检测装置100或装置100一个组件的位置改变以及装置100的温度变化。在一些实施例中,该传感器组件114还可以包括磁传感器,压力传感器或温度传感器。The sensor component 114 includes one or more sensors for providing the device 100 with various aspects of state evaluation. For example, the sensor component 114 can detect the open/close state of the device 100 and the relative positioning of components. The sensor component 114 can also detect the position change of the device 100 or a component of the device 100 and the temperature change of the device 100. In some embodiments, the sensor component 114 may also include a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件116被配置为便于装置100和其他设备之间有线或无线方式的通信。装置100可以接入基于通信标准的无线网络,如WiFi(Wireless-Fidelity,无线保真)。在本申请实施例中,通信组件116经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在本申请实施例中,通信组件116还包括近场通信(Near Field Communication,简称NFC)模块,用于以促进短程通信。例如,在NFC模块可基于射频识别(Radio Frequency Identification,简称RFID)技术,红外数据协会(Infrared Data Association,简称IrDA)技术,超宽带(Ultra Wideband,简称UWB)技术,蓝牙技术和其他技术来实现。The communication component 116 is configured to facilitate wired or wireless communication between the apparatus 100 and other devices. The device 100 can access a wireless network based on a communication standard, such as WiFi (Wireless-Fidelity, wireless fidelity). In the embodiment of the present application, the communication component 116 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In this embodiment of the present application, the communication component 116 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth technology and other technologies. .
在示例性实施例中,装置100可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,简称ASIC)、数字信号处理器、数字信号处理设备、可编程逻辑器件、现场可编程门阵列、控制器、微控制器、微处理器或其他电子元件实现,用于执行下述方法。In an exemplary embodiment, the apparatus 100 may be implemented by one or more Application Specific Integrated Circuits (ASIC for short), digital signal processors, digital signal processing equipment, programmable logic devices, field programmable gate arrays, The controller, microcontroller, microprocessor or other electronic components are implemented to perform the following methods.
实施例二Example two
请参阅图2,图2是本申请实施例公开的一种三维MRA医学图像拼接方法的流程示意图。如图2所示该三维MRA医学图像拼接方法可以包括以下步骤:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a method for stitching three-dimensional MRA medical images disclosed in an embodiment of the present application. As shown in FIG. 2, the 3D MRA medical image stitching method may include the following steps:
201、实时接收扫描设备发送的相邻两个待拼接三维MRA医学图像。201. Receive two adjacent three-dimensional MRA medical images to be spliced from the scanning device in real time.
需要说明的是,其中待拼接三维MRA医学图像的格式应为医学数字成像和通信(Digital Imaging and Communications in Medicine,DICOM)格式,即可用于数据交换的医学图像格式。It should be noted that the format of the three-dimensional MRA medical image to be spliced should be Digital Imaging and Communications in Medicine (DICOM) format, that is, the medical image format used for data exchange.
202、对相邻两个待拼接三维MRA医学图像进行拉普拉斯去噪、增强和不规则平滑处理,获得第一图像和第二图像。202. Perform Laplacian denoising, enhancement and irregular smoothing processing on two adjacent three-dimensional MRA medical images to be spliced to obtain a first image and a second image.
本申请实施例中,由于MRA设备的限制,获得的待拼接三维MRA医学图像不可避免的存在噪声。因此,需要对待拼接三维MRA医学图像进行预处理。首先对相邻两个待拼接三维MRA医学图像进行拉普拉斯去噪,去除多余无用的干扰信号,然后对去噪后的图像进行增强处理,最后将增强后的图像进行不规则的图像平滑处理,尽可能为下一步提供优质的第一图像和第二图像。In the embodiments of the present application, due to the limitation of the MRA equipment, the obtained three-dimensional MRA medical images to be stitched inevitably have noise. Therefore, it is necessary to preprocess the 3D MRA medical images to be stitched. First, perform Laplacian denoising on two adjacent 3D MRA medical images to be spliced to remove unnecessary and useless interference signals, then perform enhancement processing on the denoised image, and finally perform irregular image smoothing on the enhanced image Processing, as far as possible to provide high-quality first image and second image for the next step.
作为另一种可选的实施方式,还可以采用加权邻域平均法对待拼接三维MRA医学图像进行平滑去噪。其中,加权邻域平均法是指给邻域内各像素乘以不同的系数,对较重要的像素乘以较大的权值。举例来说,假设医学影像为,如果取邻域S,则加权邻域平均的计算公式为:As another optional implementation manner, a weighted neighborhood averaging method may also be used to smoothly denoise the three-dimensional MRA medical image to be spliced. Among them, the weighted neighborhood average method refers to multiplying different coefficients for each pixel in the neighborhood, and multiplying the more important pixels with a larger weight. For example, assuming that the medical image is, if the neighborhood S is taken, the calculation formula of the weighted neighborhood average is:
其中,∑为求和符号,用于指示求和操作;a为第一求和操作的上界,-a为第一求和操作的下界,a可以是指定常数,用以指示s的取值范围为[-a,a],从而限定第一求和操 作的自变量取值范围。同理,b为第二求和操作的上界,-b为第二求和操作的下界,b可以是指定常数,用以指示t的取值范围为[-b,b],从而限定第二求和操作的自变量取值范围。其中,为权值函数,属于一种常用的权值函数,是以邻域内各点与中心点的距离为变量的函数,在该函数中,中心点具有最大的权值,表明该点对加权邻域平均值的决策贡献程度与其到中心点的距离成反比。其中,(s,t)是邻域内各点的坐标,w是该点对应的权值。Among them, ∑ is the summation symbol, used to indicate the summation operation; a is the upper bound of the first summation operation, -a is the lower bound of the first summation operation, and a can be a specified constant to indicate the value of s The range is [-a, a], which limits the value range of the argument of the first summation operation. In the same way, b is the upper bound of the second summation operation, -b is the lower bound of the second summation operation, and b can be a designated constant to indicate that the value range of t is [-b, b], thus limiting the first 2. The value range of the argument of the summation operation. Among them, is a weight function, which belongs to a commonly used weight function. It is a function with the distance between each point in the neighborhood and the center point as a variable. In this function, the center point has the largest weight, indicating that the point is weighted The decision contribution of the neighborhood average is inversely proportional to the distance from the center point. Among them, (s, t) is the coordinate of each point in the neighborhood, and w is the weight corresponding to the point.
实施该实施方式,能够增加去噪处理速度。Implementation of this embodiment can increase the speed of denoising processing.
203、分别对第一图像和第二图像进行重叠层探测,以确定第一图像中的第一重合区域和第二图像中的第二重合区域。203. Perform overlapping layer detection on the first image and the second image respectively to determine the first overlapping area in the first image and the second overlapping area in the second image.
本申请实施例中,由于MRA设备的限制,无法一次性扫描得到全景三维医学图像,通常需要进行分段成像,再对每每相邻的两个分段进行拼接,才能获得全景三维医学图像。需要说明的是,在本申请实施例中所描述的第一图像和第二图像本质上均为三维MRA医学图像,但相对于全景三维医学图像而言,第一图像和第二图像均指的是分段成像所得的分段。In the embodiments of the present application, due to the limitation of the MRA equipment, a panoramic three-dimensional medical image cannot be obtained by scanning at one time. It is usually necessary to perform segmented imaging, and then stitch every two adjacent segments to obtain a panoramic three-dimensional medical image. It should be noted that the first image and the second image described in the embodiments of this application are essentially three-dimensional MRA medical images, but compared to panoramic three-dimensional medical images, both the first image and the second image refer to Is the segment obtained by segment imaging.
可以理解,由于三维MRA医学图像用于显示病人的病灶情况,为了避免扫描的信息遗漏缺失,第一图像与第二图像之间存在重合区域,且这两个重合区域分别存在于两个图像的衔接处的两端。其中,两个图像的衔接处可以是任意一个图像的任意一边的边界。It can be understood that because the three-dimensional MRA medical image is used to display the patient’s lesions, in order to avoid the omission of scanned information, there is an overlap area between the first image and the second image, and these two overlap areas exist in the two images respectively. Both ends of the junction. Among them, the junction of the two images can be the boundary of any side of any image.
其中,第一图像与第二图像可以是同个扫描设备在不同条件下获取的图像,不同条件可以包括不同天候、照度、摄像位置和角度等。Wherein, the first image and the second image may be images acquired by the same scanning device under different conditions, and the different conditions may include different weather, illuminance, camera position and angle, etc.
需要说明的是,由于重合区域一般具有相同或接近的重叠层数,因此对第一图像和第二图像进行重叠层探测,可确定重合区域。It should be noted that, since the overlapped area generally has the same or close number of overlapped layers, the overlapped layer detection on the first image and the second image can determine the overlapped area.
204、利用加权平均法对第一重合区域和第二重合区域进行融合拼接处理,获得融合拼接后的第三图像。204. Perform a fusion splicing process on the first coincidence area and the second coincidence area by using a weighted average method to obtain a third image after fusion and splicing.
本申请实施例中,利用加权平均法分别对第一重合区域和第二重合区域中的像素进行加权后再叠加平均,每个像素按照自身在整个图像中的重要程度被赋予不同的权值,从而可以实现图像平滑过渡,有效消除图像中的缝合线。In the embodiment of this application, the weighted average method is used to weight the pixels in the first overlap area and the second overlap area respectively, and then superimpose and average them. Each pixel is given a different weight according to its importance in the entire image. Thereby, a smooth transition of the image can be realized, and the stitching in the image can be effectively eliminated.
可见,实施图2所描述的方法,通过分别对实时接收到的相邻两个待拼接三维MRA医学图像进行预处理后进行重叠层探测,以确定两个待拼接三维MRA医学图像中的重合区域,并利用加权平均法对两个重合区域进行融合拼接,能够提高图像中重合区域的确定效率,进而提高图像拼接效率。It can be seen that the method described in Figure 2 is implemented, and two adjacent three-dimensional MRA medical images to be spliced are respectively preprocessed in real time and then overlapped layer detection is performed to determine the overlap area in the two three-dimensional MRA medical images to be spliced. , And use the weighted average method to merge and splice the two overlapping areas, which can improve the efficiency of determining the overlapping areas in the image, thereby improving the efficiency of image splicing.
实施例三Example three
请参阅图3,图3是本申请实施例公开的另一种三维MRA医学图像拼接方法的流程示意图。如图3所示,该三维MRA医学图像拼接方法可以包括以下步骤:Please refer to FIG. 3, which is a schematic flowchart of another three-dimensional MRA medical image stitching method disclosed in an embodiment of the present application. As shown in Fig. 3, the 3D MRA medical image stitching method may include the following steps:
301~303。其中,针对步骤301~303的描述请参照实施例二中步骤201~203的详细描述,本申请在此不再赘述。301~303. For the description of steps 301 to 303, please refer to the detailed description of steps 201 to 203 in the second embodiment, which will not be repeated in this application.
304、将第一重合区域分成多个第一待融合列区域,以及将第二重合区域分成多个第二待融合列区域,第一待融合列区域与第二待融合列区域一一对应。304. Divide the first overlapping area into a plurality of first to-be-fused column areas, and divide the second overlapping area into a plurality of second-to-be-fused column areas, where the first to-be-fused column area and the second to-be-fused column area correspond one-to-one.
其中,一一对应的第一待融合列区域与第二待融合列区域具有重合关系。Wherein, the one-to-one correspondence between the first row area to be fused and the second row area to be fused has an overlapping relationship.
305、按照各个第一待融合列区域与第二重合区域的距离从小到大的顺序,依次获取 每一个第一待融合列区域的第一预设权重系数,其中第一预设权重系数随着其对应的第一待融合列区域与第二重合区域的距离变大而变小。305. Obtain the first preset weight coefficient of each first column area to be fused in sequence in the descending order of the distance between each first column area to be merged and the second overlapping area, where the first preset weight coefficient increases with The distance between the corresponding first column area to be fused and the second overlapping area becomes larger and smaller.
可以理解,在第一重合区域中,越靠近第二重合区域的第一待融合列区域的决策贡献程度越大,因此预设权重系数应该更大。同理在第二重合区域中,越靠近第一重合区域的第二待融合列区域的决策贡献程度越大,因此预设权重系数应该更大。可选地,可根据第一待融合列区域与第二重合区域的距离,为第一待融合列区域预设第一预设权重系数。It can be understood that, in the first overlapping area, the closer to the second overlapping area the first column area to be fused has a greater contribution to decision making, and therefore the preset weight coefficient should be larger. Similarly, in the second coincidence area, the closer to the first coincidence area the second column area to be merged has a greater contribution to decision making, and therefore the preset weight coefficient should be larger. Optionally, a first preset weight coefficient can be preset for the first column area to be merged according to the distance between the first column area to be merged and the second overlapping area.
举例来说,若第一重合区域中有2个第一待融合列区域,分别为A和B,第一待融合列区域B比第一待融合列区域A更靠近第一重合区域的边缘,也更靠近第二重合区域,那么可设第一待融合列区域A的第一预设权重系数为0.8,第一待融合列区域B的第一预设权重系数为0.6。当然,也可以设定其它数值,比如0.4或0.5等,在此不作限定。For example, if there are two first to-be-melted column areas in the first overlapping area, namely A and B, the first to-be-fused column area B is closer to the edge of the first overlapping area than the first to-be-fused column area A, It is also closer to the second overlap area, so the first preset weight coefficient of the first row area A to be fused is 0.8, and the first preset weight coefficient of the first row area B to be fused is 0.6. Of course, other values can also be set, such as 0.4 or 0.5, which is not limited here.
306、根据第一预设权重系数,获得第一待融合列区域对应的第二待融合列区域的第二预设权重系数,其中第一预设权重系数与第二预设权重系数的和值等于一。306. According to the first preset weight coefficient, obtain a second preset weight coefficient of the second column area to be fused corresponding to the first column area to be fused, wherein the sum of the first preset weight coefficient and the second preset weight coefficient Equal to one.
基于上述的例子,第二重合区域中也有2个第二待融合列区域,分别为C和D,第二待融合列区域C比第二待融合列区域D更靠近第二重合区域的边缘,也更靠近第一重合区域,那么第二重合区域中与第一待融合列区域A所对应的第二待融合列区域C的第二预设权重系数为1-0.8=0.2,第二重合区域中与第一待融合列区域B所对应的第二待融合列区域D的第二预设权重系数为1-0.6=0.4。Based on the above example, there are also two second column regions to be blended in the second overlapping area, namely C and D. The second column area to be blended C is closer to the edge of the second overlapping area than the second column area to be blended D. It is also closer to the first overlap area, then the second preset weight coefficient of the second row area C corresponding to the first row area A to be fused in the second overlap area is 1-0.8=0.2, and the second overlap area The second preset weight coefficient of the second column region D corresponding to the first column region B to be fused is 1-0.6=0.4.
307、根据第一预设权重系数和第二预设权重系数,将各个第一待融合列区域与对应的第二待融合列区域进行像素值相加计算,获得融合像素值,以获得融合拼接后的第三图像。307. According to the first preset weight coefficient and the second preset weight coefficient, add the pixel values of each first column area to be fused and the corresponding second column area to be fused to obtain a fused pixel value to obtain a fusion splicing After the third image.
实施步骤304~307,通过将重合区域分成多个待融合列区域,并根据待融合列区域的重要程度,对其配置不同的权重系数,任意相邻两个待融合列区域的预设权重系数不同,可以对第一图像和第二图像进行平滑无缝拼接,使图像过度更加自然,改善拼接效果,提升视觉效果。 Steps 304 to 307 are implemented, by dividing the overlapping area into multiple column areas to be fused, and according to the importance of the column areas to be fused, different weight coefficients are configured for them, and the preset weight coefficients of any two adjacent column areas to be fused Different, the first image and the second image can be smoothly and seamlessly spliced, making the image transition more natural, improving the splicing effect, and enhancing the visual effect.
308、利用低通滤波器对第三图像进行平滑滤波处理,获得目标平滑图像。308. Perform smoothing filtering processing on the third image by using a low-pass filter to obtain a target smooth image.
可见,实施图3所描述的方法,能够提高图像中重合区域的确定效率,进而提高图像拼接效率,还能够实时接收扫描设备发送的相邻两个待拼接三维MRA医学图像,以及对待拼接三维MRA医学图像进行预处理,为下一步提供优质的第一图像和第二图像。此外,通过将重合区域分成多个待融合列区域,并根据待融合列区域的重要程度,对其配置不同的权重系数,任意相邻两个待融合列区域的预设权重系数不同,可以对第一图像和第二图像进行平滑无缝拼接,使图像过度更加自然,改善拼接效果,提升视觉效果。It can be seen that the implementation of the method described in Figure 3 can improve the efficiency of determining the overlap area in the image, thereby improving the efficiency of image stitching. It can also receive in real time two adjacent three-dimensional MRA medical images to be spliced from the scanning device and the three-dimensional MRA to be spliced. Medical images are preprocessed to provide high-quality first and second images for the next step. In addition, by dividing the overlapping area into multiple column areas to be fused, and according to the importance of the column area to be fused, different weight coefficients are configured for it, and the preset weight coefficients of any two adjacent column areas to be fused are different. The first image and the second image are stitched smoothly and seamlessly to make the image transition more natural, improve the stitching effect, and enhance the visual effect.
实施例四Example four
请参阅图4,图4是本申请实施例公开的又一种三维MRA医学图像拼接方法的流程示意图。如图4所示该三维MRA医学图像拼接方法可以包括以下步骤:Please refer to FIG. 4. FIG. 4 is a schematic flowchart of another three-dimensional MRA medical image stitching method disclosed in an embodiment of the present application. As shown in FIG. 4, the 3D MRA medical image stitching method may include the following steps:
401~402。其中,针对步骤401~402的描述请参照实施例二中步骤201~202的详细描述,本申请在此不再赘述。401~402. For the description of steps 401 to 402, please refer to the detailed description of steps 201 to 202 in the second embodiment, which will not be repeated in this application.
403、将第一图像和第二图像各自的最大密度投影成像进行对比,以确定出第一图像中的第一重合片段和第二图像中的第二重合片段。403. Compare the respective maximum density projection imaging of the first image and the second image to determine the first overlap segment in the first image and the second overlap segment in the second image.
其中,最大密度投影(Maximal Intensity Projection,MIP)是一种应用广泛的三维MRA 医学图像处理技术。MIP运用透视法获得二维图像,即通过计算沿着被扫描物每条射线上所遇到的最大密度像素而产生的。当光纤束通过一段组织的原始图像时,图像中密度最大的像素被保留,并被投影到一个二维平面上,从而形成MIP重建图像。MIP能反应相应像素的X线衰减值,较小的密度变化也能在MIP图像上显示,能很好地显示血管的狭窄、扩张、充盈缺损及区分血管壁上的钙化与血管腔内的对比剂。因此,通过最大密度投影成像,可初步确定第一图像中的第一重合片段和第二图像中的第二重合片段。Among them, the maximum intensity projection (Maximal Intensity Projection, MIP) is a widely used 3D MRA medical image processing technology. MIP uses perspective to obtain two-dimensional images, which are generated by calculating the maximum density pixels encountered along each ray along the scanned object. When the fiber bundle passes through the original image of a piece of tissue, the pixels with the highest density in the image are retained and projected onto a two-dimensional plane to form a MIP reconstructed image. MIP can reflect the X-ray attenuation value of the corresponding pixel, and small density changes can also be displayed on the MIP image, which can well show the stenosis, expansion, filling defect of the blood vessel and distinguish the calcification on the blood vessel wall from the contrast in the blood vessel cavity Agent. Therefore, through the maximum intensity projection imaging, the first overlapping segment in the first image and the second overlapping segment in the second image can be preliminarily determined.
404、将第一重合片段分成多个第一待测区域,以及将第二重合片段分成多个第二待测区域,第一待测区域与第二待测区域一一对应。404. Divide the first overlapping segment into a plurality of first regions to be tested, and divide the second overlapping segment into a plurality of second regions to be tested, where the first region to be tested corresponds to the second region to be tested one-to-one.
405、依次判断每一个第一待测区域与对应的第二待测区域的重叠层的数量差值是否小于预设数值。若是,执行步骤406;反之,结束本流程。405. Determine in sequence whether the difference in the number of overlapping layers between each first area to be tested and the corresponding second area to be tested is less than a preset value. If yes, go to step 406; otherwise, end this process.
其中,预设数值可以是开发人员根据实际情况事先设定。Among them, the preset value may be set in advance by the developer according to actual conditions.
406、将第一待测区域作为第一图像中的第一重合区域的组成部分,将对应的第二待测区域作为第二图像中的第二重合区域的组成部分,以确定第一重合区域和第二重合区域。406. Use the first area to be measured as a component of the first coincidence area in the first image, and use the corresponding second area to be measured as a component of the second coincidence area in the second image to determine the first coincidence area And the second overlap area.
407、根据第一图像和第二图像的图像位置信息,确定采样点。其中,图像位置信息用于描述第一图像和第二图像对应于人体解剖坐标系的位置。407. Determine a sampling point according to the image position information of the first image and the second image. Wherein, the image position information is used to describe the positions of the first image and the second image corresponding to the human anatomical coordinate system.
需要说明的是,图像位置信息可以从第一图像和第二图像的头文件中所提供的设备扫描信息中获取,设备扫描信息包括图像位置、图像方向、像素分辨率、层厚、患者体位和扫描床位等信息。It should be noted that the image location information can be obtained from the device scan information provided in the header files of the first image and the second image. The device scan information includes image location, image direction, pixel resolution, layer thickness, patient position, and Scan information such as beds.
可以理解,通过图像的原点对应于人体解剖坐标系的位置,可求图像中任意一点位于人体解剖坐标系的位置,因此采样点可以是上述的原点,也可以是除上述的原点之外的任意一个重合点。其中,图像的原点位于图像的左上角,这个原点在图像坐标体系中的图像坐标为零,且这个原点对应于人体解剖坐标系中的人体解剖坐标可从图像位置信息中获得,因此,根据第一图像和第二图像各自的原点的人体解剖坐标,还可以描述第一图像和第二图像的位置关系。It can be understood that by the origin of the image corresponding to the position of the human anatomical coordinate system, any point in the image can be found to be in the position of the human anatomical coordinate system. Therefore, the sampling point can be the above-mentioned origin or any other than the above-mentioned origin. A coincidence point. Among them, the origin of the image is located at the upper left corner of the image, the image coordinates of this origin in the image coordinate system are zero, and this origin corresponds to the human anatomical coordinates in the human anatomical coordinate system, which can be obtained from the image position information. Therefore, according to the first The human anatomical coordinates of the origin of the first image and the second image can also describe the positional relationship between the first image and the second image.
其中,人体解剖坐标系指的是医学图像处理技术领域中的解剖学空间坐标体系,也称病人坐标体系。该人体解剖坐标系由三个位面组成,用来描述标准的人体在解剖学上的位置。其中,三个体面包括横断面、冠状面和矢状面;其中,横断面与地面平行,分离人体的头部与脚部;冠状面与地面垂直,分离人体的前部和后部;矢状面与地面垂直,分离人体的左部和右部。Among them, the human anatomical coordinate system refers to the anatomical space coordinate system in the field of medical image processing technology, also called the patient coordinate system. The human anatomical coordinate system is composed of three planes, used to describe the anatomical position of the standard human body. Among them, the three decent planes include a cross section, a coronal plane and a sagittal plane; among them, the cross section is parallel to the ground, separating the head and feet of the human body; the coronal plane is perpendicular to the ground, separating the front and back of the human body; sagittal The face is perpendicular to the ground, separating the left and right parts of the human body.
408、根据采样点的人体解剖坐标、采样点在第一图像中的第一图像坐标以及在第二图像中的第二图像坐标,获得配准变换矩阵。408. Obtain a registration transformation matrix according to the human anatomical coordinates of the sampling points, the first image coordinates of the sampling points in the first image, and the second image coordinates in the second image.
其中,人体解剖坐标指的是采样点对应于人体解剖坐标系的坐标信息;第一图像坐标或第二图像坐标指的是采样点位于图像坐标体系的坐标信息。Among them, the human anatomical coordinates refer to the coordinate information of the sampling point corresponding to the human anatomical coordinate system; the first image coordinates or the second image coordinates refer to the coordinate information of the sampling point in the image coordinate system.
其中,配准变换矩阵用于对第一图像或第二图像进行平移、尺度变换和旋转等操作中的一种或多种。一般地,当知道两个图像相同人体解剖坐标的点,即可以确定配准变换矩阵。例如,[第二图像中采样点的第二图像坐标]*[配准变换矩阵]=[第一图像中采样点的第一图像坐标]。Wherein, the registration transformation matrix is used to perform one or more of operations such as translation, scale transformation, and rotation on the first image or the second image. Generally, when the points of the same human anatomical coordinates in two images are known, the registration transformation matrix can be determined. For example, [the second image coordinates of the sampling points in the second image]*[the registration transformation matrix]=[the first image coordinates of the sampling points in the first image].
409、根据配准变换矩阵,配准第一重合区域和第二重合区域。409. According to the registration transformation matrix, register the first coincidence area and the second coincidence area.
作为一种可选的实施方式,步骤409可以包括:As an optional implementation manner, step 409 may include:
以第一重合区域为基准区域,将第二重合区域中具有相同人体解剖坐标的点通过配准变换矩阵配准到第一重合区域的同一位置;或者,以第二重合区域为基准区域,将第一重合区域中具有相同人体解剖坐标的点通过配准变换矩阵配准到第二重合区域的同一位置。Using the first overlapping area as the reference area, the points with the same human anatomical coordinates in the second overlapping area are registered to the same position in the first overlapping area through the registration transformation matrix; or, taking the second overlapping area as the reference area, The points with the same human anatomical coordinates in the first coincidence area are registered to the same position in the second coincidence area through the registration transformation matrix.
实施该实施方式,相对于现有技术中手动确定图像重合区域的方式,在节省时间、提高效率的同时,还能够增加图像拼接的准确性。The implementation of this embodiment, compared with the method of manually determining the image overlap area in the prior art, saves time and improves efficiency while also increasing the accuracy of image stitching.
作为另一种可选的实施方式,在执行步骤409之前,还可以根据预先选取的图像处理算子的大小分别对第一重合区域和第二重合区域进行扩展处理,获得第一待配准区域和第二待配准区域。进一步可选地,步骤409可以包括:基于互信息最大化方法获得配准系数,根据配准系数将第一待配准区域和第二待配准区域中相同特征的点通过配准系数配准到同一位置。其中,图像处理算子包括但不限于利用局部差分算子寻找边缘的罗伯茨算子(又称Roberts算子)、用于边缘检测的Sobel算子、用于一阶微分算子的边缘检测的Prewitt算子、用于二阶微分的Laplacian算子或高斯-拉普拉斯算子等。As another optional implementation manner, before step 409 is performed, the first overlap area and the second overlap area may be expanded according to the size of the pre-selected image processing operator to obtain the first area to be registered And the second area to be registered. Further optionally, step 409 may include: obtaining a registration coefficient based on a mutual information maximization method, and registering points with the same feature in the first area to be registered and the second area to be registered by the registration coefficient according to the registration coefficient To the same location. Among them, image processing operators include but are not limited to Roberts operator (also known as Roberts operator) that uses local difference operators to find edges, Sobel operators for edge detection, and Prewitt for edge detection of first-order differential operators. Operator, Laplacian operator or Gauss-Laplacian operator for second-order differentiation.
实施该实施方式,通过对确定的第一重合区域和第二重合区域进行扩展处理,基于扩展后的第一待配准区域和第二待配准区域进行配准,可以提高图像配准的准确性,同时提高图像处理的效果。By implementing this embodiment, by performing expansion processing on the determined first coincident area and second coincident area, the registration is performed based on the expanded first area to be registered and the second area to be registered, which can improve the accuracy of image registration. Performance, while improving the effect of image processing.
410、利用加权平均法对第一重合区域和第二重合区域进行融合拼接处理,获得融合拼接后的第三图像。410. Perform a fusion splicing process on the first coincidence area and the second coincidence area by using a weighted average method to obtain a third image after fusion and splicing.
可见,实施图4所描述的方法,能够提高图像中重合区域的确定效率,进而提高图像拼接效率。除此之外,通过以一个重合区域为基准区域,将另一个重合区域中具有相同人体解剖坐标的点通过配准变换矩阵配准到同一位置,相对于现有技术中手动确定图像重合区域的方式,在节省时间、提高效率的同时,还能够增加图像拼接的准确性。It can be seen that implementing the method described in FIG. 4 can improve the efficiency of determining the overlapping area in the image, thereby improving the efficiency of image stitching. In addition, by taking one overlapping area as the reference area, the points with the same human anatomical coordinates in the other overlapping area are registered to the same position through the registration transformation matrix, which is compared with the manual determination of the image overlapping area in the prior art. This way, while saving time and improving efficiency, it can also increase the accuracy of image stitching.
实施例五Example five
请参阅图5,图5是本申请实施例公开的另一种三维MRA医学图像拼接装置的结构示意图。如图5所示,该三维MRA医学图像拼接装置可以包括接收单元501、去噪单元502、探测单元503和拼接单元504,其中,Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of another 3D MRA medical image splicing device disclosed in an embodiment of the present application. As shown in Fig. 5, the 3D MRA medical image splicing device may include a receiving unit 501, a denoising unit 502, a detecting unit 503, and a splicing unit 504, where:
接收单元501,用于实时接收扫描设备发送的相邻两个待拼接三维MRA医学图像。The receiving unit 501 is configured to receive two adjacent three-dimensional MRA medical images to be spliced from the scanning device in real time.
去噪单元502,用于对相邻两个待拼接三维MRA医学图像进行拉普拉斯去噪、增强和不规则平滑处理,获得第一图像和第二图像。The denoising unit 502 is configured to perform Laplacian denoising, enhancement and irregular smoothing processing on two adjacent three-dimensional MRA medical images to be spliced to obtain a first image and a second image.
探测单元503,用于分别对第一图像和第二图像进行重叠层探测,以确定第一图像中的第一重合区域和第二图像中的第二重合区域。The detection unit 503 is configured to perform overlap layer detection on the first image and the second image to determine the first overlap area in the first image and the second overlap area in the second image.
拼接单元504,用于利用加权平均法对第一重合区域和第二重合区域进行融合拼接处理,获得融合拼接后的第三图像。The splicing unit 504 is configured to perform fusion splicing processing on the first overlapping area and the second overlapping area by using a weighted average method to obtain a third image after fusion splicing.
可见,实施图5所示的装置,通过分别对实时接收到的相邻两个待拼接三维MRA医学图像进行预处理后进行重叠层探测,以确定两个待拼接三维MRA医学图像中的重合区域,并利用加权平均法对两个重合区域进行融合拼接,能够提高图像中重合区域的确定效率,进而提高图像拼接效率。It can be seen that the implementation of the device shown in Fig. 5 is used to preprocess the two adjacent three-dimensional MRA medical images to be spliced received in real time and then perform overlapping layer detection to determine the overlapping area in the two three-dimensional MRA medical images to be spliced. , And use the weighted average method to merge and splice the two overlapping areas, which can improve the efficiency of determining the overlapping areas in the image, thereby improving the efficiency of image splicing.
实施例六Example Six
请参阅图6,图6是本申请实施例公开的另一种三维MRA医学图像拼接装置的结构示意图。图6所示的三维MRA医学图像拼接装置是由图5所示的三维MRA医学图像拼接装置进行优化得到的。与图5所示的三维MRA医学图像拼接装置相比较,图6所示的三维MRA医学图像拼接装置中:Please refer to FIG. 6, which is a schematic structural diagram of another three-dimensional MRA medical image splicing device disclosed in an embodiment of the present application. The three-dimensional MRA medical image splicing device shown in FIG. 6 is optimized by the three-dimensional MRA medical image splicing device shown in FIG. 5. Compared with the three-dimensional MRA medical image splicing device shown in Figure 5, in the three-dimensional MRA medical image splicing device shown in Figure 6:
上述的去噪单元502,还用于在拼接单元504利用加权平均法对第一重合区域和第二重合区域进行融合拼接处理,获得融合拼接后的第三图像之后,利用低通滤波器对第三图像进行平滑滤波处理,获得目标平滑图像。The above-mentioned denoising unit 502 is further configured to perform fusion stitching processing on the first and second overlapping regions by the weighted average method in the stitching unit 504 to obtain the fused and stitched third image, and then use a low-pass filter to Three images are smoothed and filtered to obtain a target smooth image.
作为一种可选的实施方式,图6所示的装置中,拼接单元504可以包括:As an optional implementation manner, in the device shown in FIG. 6, the splicing unit 504 may include:
划分子单元5041,用于将第一重合区域分成多个第一待融合列区域,以及将第二重合区域分成多个第二待融合列区域,第一待融合列区域与第二待融合列区域一一对应。The dividing subunit 5041 is used to divide the first overlapping area into a plurality of first to-be-merged column areas, and divide the second overlapping area into a plurality of second to-be-merged column areas, the first to-be-merged column area and the second to-be-fused column area The regions correspond one to one.
第一获取子单元5042,用于按照各个第一待融合列区域与第二重合区域的距离从小到大的顺序,依次获取每一个第一待融合列区域的第一预设权重系数,其中第一预设权重系数随着其对应的第一待融合列区域与第二重合区域的距离变大而变小。The first obtaining subunit 5042 is configured to sequentially obtain the first preset weight coefficient of each first column area to be merged in the descending order of the distance between each first column area to be merged and the second overlapping area, where the first A preset weight coefficient becomes smaller as the distance between the corresponding first column area to be fused and the second overlap area increases.
第二获取子单元5043,用于根据第一预设权重系数,获得第一待融合列区域对应的第二待融合列区域的第二预设权重系数,其中第一预设权重系数与第二预设权重系数的和值等于一。The second obtaining subunit 5043 is configured to obtain, according to the first preset weight coefficient, the second preset weight coefficient of the second column area to be fused corresponding to the first column area to be fused, where the first preset weight coefficient and the second The sum of the preset weight coefficients is equal to one.
拼接子单元5044,用于根据第一预设权重系数和第二预设权重系数,将各个第一待融合列区域与对应的第二待融合列区域进行像素值相加计算,获得融合像素值,以获得融合拼接后的第三图像。The splicing subunit 5044 is configured to add the pixel values of each first column area to be fused and the corresponding second column area to be fused according to the first preset weight coefficient and the second preset weight coefficient to obtain the fused pixel value , To obtain the third image after fusion splicing.
实施该实施方式,通过将重合区域分成多个待融合列区域,并根据待融合列区域的重要程度,对其配置不同的权重系数,任意相邻两个待融合列区域的预设权重系数不同,可以对第一图像和第二图像进行平滑无缝拼接,使图像过度更加自然,改善拼接效果,提升视觉效果。To implement this embodiment, the overlapping area is divided into multiple column areas to be fused, and different weight coefficients are assigned to the column areas to be fused according to the importance of the column areas to be fused, and the preset weight coefficients of any two adjacent column areas to be fused are different , Can smoothly and seamlessly splice the first image and the second image, make the image transition more natural, improve the splicing effect, and enhance the visual effect.
作为另一种可选的实施方式,上述的去噪单元502,还用于采用加权邻域平均法对待拼接三维MRA医学图像进行平滑去噪。其中,加权邻域平均法是指给邻域内各像素乘以不同的系数,对较重要的像素乘以较大的权值。举例来说,假设医学影像为,如果取邻域S,则加权邻域平均的计算公式为:As another optional implementation manner, the aforementioned denoising unit 502 is further configured to use a weighted neighborhood average method to smoothly denoise the three-dimensional MRA medical image to be spliced. Among them, the weighted neighborhood average method refers to multiplying different coefficients for each pixel in the neighborhood, and multiplying the more important pixels with a larger weight. For example, assuming that the medical image is, if the neighborhood S is taken, the calculation formula of the weighted neighborhood average is:
Figure PCTCN2019118065-appb-000001
Figure PCTCN2019118065-appb-000001
其中,∑为求和符号,用于指示求和操作;a为第一求和操作的上界,-a为第一求和操作的下界,a可以是指定常数,用以指示s的取值范围为[-a,a],从而限定第一求和操作的自变量取值范围。同理,b为第二求和操作的上界,-b为第二求和操作的下界,b可以是指定常数,用以指示t的取值范围为[-b,b],从而限定第二求和操作的自变量取值范围。其中,为权值函数,属于一种常用的权值函数,是以邻域内各点与中心点的距离为变量的函数,在该函数中,中心点具有最大的权值,表明该点对加权邻域平均值的决策贡献程度与其到中心点的距离成反比。其中,(s,t)是邻域内各点的坐标,w是该点对应 的权值。Among them, ∑ is the summation symbol, used to indicate the summation operation; a is the upper bound of the first summation operation, -a is the lower bound of the first summation operation, and a can be a specified constant to indicate the value of s The range is [-a, a], which limits the value range of the argument of the first summation operation. In the same way, b is the upper bound of the second summation operation, -b is the lower bound of the second summation operation, and b can be a designated constant to indicate that the value range of t is [-b, b], thus limiting the first 2. The value range of the argument of the summation operation. Among them, is a weight function, which belongs to a commonly used weight function. It is a function with the distance between each point in the neighborhood and the center point as a variable. In this function, the center point has the largest weight, indicating that the point is weighted The decision contribution of the neighborhood average is inversely proportional to the distance from the center point. Among them, (s, t) is the coordinate of each point in the neighborhood, and w is the weight corresponding to the point.
实施该实施方式,能够增加去噪处理速度。Implementation of this embodiment can increase the speed of denoising processing.
可见,实施图6所示的装置,能够提高图像中重合区域的确定效率,进而提高图像拼接效率,还能够通过将重合区域分成多个待融合列区域,并根据待融合列区域的重要程度,对其配置不同的权重系数,任意相邻两个待融合列区域的预设权重系数不同,可以对第一图像和第二图像进行平滑无缝拼接,使图像过度更加自然,改善拼接效果,提升视觉效果。It can be seen that the implementation of the device shown in Figure 6 can improve the efficiency of determining the overlapping area in the image, thereby improving the efficiency of image stitching. It can also divide the overlapping area into multiple column areas to be fused, and according to the importance of the column areas to be fused, It is configured with different weight coefficients, and the preset weight coefficients of any two adjacent column areas to be fused are different. The first image and the second image can be smoothly and seamlessly stitched, making the image transition more natural, improving the stitching effect, and improving Visual effect.
实施例七Example Seven
请参阅图7,图7是本申请实施例公开的又一种三维MRA医学图像拼接装置的结构示意图。图7所示的三维MRA医学图像拼接装置是由图6所示的三维MRA医学图像拼接装置进行优化得到的。与图6所示的三维MRA医学图像拼接装置相比较,图7所示的三维MRA医学图像拼接装置还可以包括:对比单元505、确定单元506、获取单元507和配准单元508,其中,Please refer to FIG. 7. FIG. 7 is a schematic structural diagram of another three-dimensional MRA medical image splicing device disclosed in an embodiment of the present application. The three-dimensional MRA medical image splicing device shown in FIG. 7 is optimized by the three-dimensional MRA medical image splicing device shown in FIG. 6. Compared with the three-dimensional MRA medical image splicing device shown in FIG. 6, the three-dimensional MRA medical image splicing device shown in FIG. 7 may further include: a comparison unit 505, a determination unit 506, an acquisition unit 507, and a registration unit 508, wherein,
对比单元505,用于在探测单元503分别对第一图像和第二图像进行重叠层探测,以确定第一图像中的第一重合区域和第二图像中的第二重合区域之前,将第一图像和第二图像各自的最大密度投影成像进行对比,以确定出第一图像中的第一重合片段和第二图像中的第二重合片段。The comparison unit 505 is configured to detect the overlap layer of the first image and the second image by the detection unit 503 to determine the first overlap area in the first image and the second overlap area in the second image, and compare the first The respective maximum density projection imaging of the image and the second image are compared to determine the first overlap segment in the first image and the second overlap segment in the second image.
相应地,上述的探测单元503用于分别对第一图像和第二图像进行重叠层探测,以确定第一图像中的第一重合区域和第二图像中的第二重合区域的方式具体可以是:Correspondingly, the above-mentioned detection unit 503 is used to detect the overlapping layer of the first image and the second image respectively to determine the first overlapping area in the first image and the second overlapping area in the second image. :
上述的探测单元503,用于对第一重合片段和第二重合片段进行重叠层探测,以确定第一图像中的第一重合区域和第二图像中的第二重合区域。The aforementioned detection unit 503 is configured to perform overlap layer detection on the first overlap segment and the second overlap segment to determine the first overlap area in the first image and the second overlap area in the second image.
进一步可选地,上述的探测单元503用于对第一重合片段和第二重合片段进行重叠层探测,以确定第一图像中的第一重合区域和第二图像中的第二重合区域的方式具体可以是:Further optionally, the aforementioned detection unit 503 is configured to perform overlap layer detection on the first overlap segment and the second overlap segment to determine the manner of the first overlap area in the first image and the second overlap area in the second image Specifically:
上述的探测单元503,用于将第一重合片段分成多个第一待测区域,以及将第二重合片段分成多个第二待测区域,第一待测区域与第二待测区域一一对应;以及,依次判断每一个第一待测区域与对应的第二待测区域的重叠层的数量差值是否小于预设数值;若差值小于预设数值,将第一待测区域作为第一图像中的第一重合区域的组成部分,将对应的第二待测区域作为第二图像中的第二重合区域的组成部分,以确定第一重合区域和第二重合区域。The aforementioned detection unit 503 is used to divide the first overlapping segment into a plurality of first areas to be measured, and to divide the second overlapping segment into a plurality of second areas to be measured, the first area to be measured and the second area to be measured one by one Corresponding; and sequentially determine whether the difference in the number of overlapping layers between each first area to be tested and the corresponding second area to be tested is less than a preset value; if the difference is less than the preset value, the first area to be tested is taken as the first For the component part of the first overlapping area in an image, the corresponding second area to be measured is used as the component part of the second overlapping area in the second image to determine the first overlapping area and the second overlapping area.
确定单元506,用于在上述的探测单元503将第一待测区域作为第一图像中的第一重合区域的组成部分,将对应的第二待测区域作为第二图像中的第二重合区域的组成部分以确定第一重合区域和第二重合区域之后,以及上述的拼接单元504利用加权平均法对第一重合区域和第二重合区域进行融合拼接处理,获得融合拼接后的第三图像之前,根据第一图像和第二图像的图像位置信息,确定采样点。其中,图像位置信息用于描述第一图像和第二图像对应于人体解剖坐标系的位置。The determining unit 506 is configured to use the first to-be-measured area as a component of the first overlapping area in the first image and the corresponding second to-be-measured area as the second overlapping area in the second image in the aforementioned detecting unit 503 After determining the first overlapping area and the second overlapping area, and the above-mentioned splicing unit 504 uses the weighted average method to perform the fusion splicing process on the first and second overlapping areas to obtain the fused and spliced third image , Determine the sampling point according to the image location information of the first image and the second image. Wherein, the image position information is used to describe the positions of the first image and the second image corresponding to the human anatomical coordinate system.
获取单元507,用于根据采样点的人体解剖坐标、采样点在第一图像中的第一图像坐标以及在第二图像中的第二图像坐标,获得配准变换矩阵。The obtaining unit 507 is configured to obtain the registration transformation matrix according to the human anatomical coordinates of the sampling points, the first image coordinates of the sampling points in the first image, and the second image coordinates in the second image.
配准单元508,用于根据配准变换矩阵,配准第一重合区域和第二重合区域。The registration unit 508 is configured to register the first coincidence area and the second coincidence area according to the registration transformation matrix.
作为一种可选的实施方式,配准单元508用于根据配准变换矩阵,配准第一重合区域 和第二重合区域的方式具体可以是:As an optional implementation manner, the registration unit 508 is configured to register the first coincidence area and the second coincidence area according to the registration transformation matrix:
配准单元508,用于以第一重合区域为基准区域,将第二重合区域中具有相同人体解剖坐标的点通过配准变换矩阵配准到第一重合区域的同一位置;或者,以第二重合区域为基准区域,将第一重合区域中具有相同人体解剖坐标的点通过配准变换矩阵配准到第二重合区域的同一位置。The registration unit 508 is used to register the points with the same human anatomical coordinates in the second overlap area to the same position in the first overlap area through the registration transformation matrix using the first overlap area as the reference area; or The overlapping area is the reference area, and the points with the same human anatomical coordinates in the first overlapping area are registered to the same position in the second overlapping area through the registration transformation matrix.
实施该实施方式,相对于现有技术中手动确定图像重合区域的方式,在节省时间、提高效率的同时,还能够增加图像拼接的准确性。The implementation of this embodiment, compared with the method of manually determining the image overlap area in the prior art, saves time and improves efficiency while also increasing the accuracy of image stitching.
作为另一种可选的实施方式,配准单元508用于根据配准变换矩阵,配准第一重合区域和第二重合区域的方式具体可以是:As another optional implementation manner, the registration unit 508 is configured to register the first coincidence area and the second coincidence area according to the registration transformation matrix:
配准单元508,用于根据预先选取的图像处理算子的大小分别对第一重合区域和第二重合区域进行扩展处理,获得第一待配准区域和第二待配准区域;以及,基于互信息最大化方法获得配准系数,根据配准系数将第一待配准区域和第二待配准区域中相同特征的点通过配准系数配准到同一位置。其中,图像处理算子包括但不限于利用局部差分算子寻找边缘的罗伯茨算子(又称Roberts算子)、用于边缘检测的Sobel算子、用于一阶微分算子的边缘检测的Prewitt算子、用于二阶微分的Laplacian算子或高斯-拉普拉斯算子等。The registration unit 508 is configured to perform expansion processing on the first coincidence area and the second coincidence area respectively according to the size of the preselected image processing operator to obtain the first area to be registered and the second area to be registered; and, based on The mutual information maximization method obtains the registration coefficient, and according to the registration coefficient, the points of the same feature in the first area to be registered and the second area to be registered are registered to the same position through the registration coefficient. Among them, image processing operators include but are not limited to Roberts operator (also known as Roberts operator) that uses local difference operators to find edges, Sobel operators for edge detection, and Prewitt for edge detection of first-order differential operators. Operator, Laplacian operator or Gauss-Laplacian operator for second-order differentiation.
实施该实施方式,通过对确定的第一重合区域和第二重合区域进行扩展处理,基于扩展后的第一待配准区域和第二待配准区域进行配准,可以提高图像配准的准确性,同时提高图像处理的效果。By implementing this embodiment, by performing expansion processing on the determined first coincident area and second coincident area, the registration is performed based on the expanded first area to be registered and the second area to be registered, which can improve the accuracy of image registration. Performance, while improving the effect of image processing.
可见,实施图7所示的装置,能够提高图像中重合区域的确定效率,进而提高图像拼接效率。除此之外,通过以一个重合区域为基准区域,将另一个重合区域中具有相同人体解剖坐标的点通过配准变换矩阵配准到同一位置,相对于现有技术中手动确定图像重合区域的方式,在节省时间、提高效率的同时,还能够增加图像拼接的准确性。It can be seen that implementing the device shown in FIG. 7 can improve the efficiency of determining the overlapping area in the image, thereby improving the efficiency of image stitching. In addition, by taking one overlapping area as the reference area, the points with the same human anatomical coordinates in the other overlapping area are registered to the same position through the registration transformation matrix, which is compared with the manual determination of the image overlapping area in the prior art. This way, while saving time and improving efficiency, it can also increase the accuracy of image stitching.
本申请还提供一种电子设备,该电子设备包括:This application also provides an electronic device, which includes:
处理器;processor;
存储器,该存储器上存储有计算机可读指令,该计算机可读指令被处理器执行时,实现如前所示的三维MRA医学图像拼接方法。A memory storing computer-readable instructions, and when the computer-readable instructions are executed by the processor, the three-dimensional MRA medical image splicing method as shown above is realized.
该电子设备可以是图1所示装置100。The electronic device may be the apparatus 100 shown in FIG. 1.
在一示例性实施例中,本申请还提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时,实现如前所示的三维MRA医学图像拼接方法。In an exemplary embodiment, the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the three-dimensional MRA medical image splicing method as shown above is realized.
在一示例性实施例中,本申请还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如前所示的三维MRA医学图像拼接方法。所述计算机程序产品包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行本说明书上述“示例性方法”部分中描述的根据本申请各种示例性实施方式的步骤。In an exemplary embodiment, the present application also provides a computer program product. The computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute the above The three-dimensional MRA medical image stitching method shown. The computer program product includes program code, and when the program product runs on a terminal device, the program code is used to make the terminal device execute the various methods described in the “exemplary method” section of this specification. Steps of an exemplary embodiment.
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围执行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It should be understood that the present application is not limited to the precise structure that has been described above and shown in the drawings, and various modifications and changes can be performed without departing from its scope. The scope of the application is only limited by the appended claims.

Claims (22)

  1. 一种三维MRA医学图像拼接方法,所述方法包括:A three-dimensional MRA medical image stitching method, the method includes:
    实时接收扫描设备发送的相邻两个待拼接三维MRA医学图像;Receive two adjacent 3D MRA medical images to be spliced from the scanning device in real time;
    对所述相邻两个待拼接三维MRA医学图像进行拉普拉斯去噪、增强和不规则平滑处理,获得第一图像和第二图像;Performing Laplacian denoising, enhancement and irregular smoothing processing on the two adjacent three-dimensional MRA medical images to be spliced to obtain a first image and a second image;
    分别对所述第一图像和所述第二图像进行重叠层探测,以确定所述第一图像中的第一重合区域和所述第二图像中的第二重合区域;Performing overlapping layer detection on the first image and the second image respectively to determine a first overlapping area in the first image and a second overlapping area in the second image;
    利用加权平均法对所述第一重合区域和所述第二重合区域进行融合拼接处理,获得融合拼接后的第三图像。A weighted average method is used to perform fusion splicing processing on the first overlapping area and the second overlapping area to obtain a third image after fusion splicing.
  2. 根据权利要求1所述的方法,其中,所述利用加权平均法对所述第一重合区域和所述第二重合区域进行融合拼接处理,获得融合拼接后的第三图像之后,所述方法还包括:The method according to claim 1, wherein the method performs a fusion splicing process on the first coincident area and the second coincident area using a weighted average method, and after obtaining a third image after fusion splicing, the method further include:
    利用低通滤波器对所述第三图像进行平滑滤波处理,获得目标平滑图像。A low-pass filter is used to perform smoothing filtering processing on the third image to obtain a target smooth image.
  3. 根据权利要求2所述的方法,其中,所述分别对所述第一图像和所述第二图像进行重叠层探测,以确定所述第一图像中的第一重合区域和所述第二图像中的第二重合区域之前,所述方法还包括:3. The method according to claim 2, wherein the detection of overlapping layers is performed on the first image and the second image respectively to determine the first overlap area in the first image and the second image Before the second coincidence area in, the method further includes:
    将所述第一图像和所述第二图像各自的最大密度投影成像进行对比,以确定出所述第一图像中的第一重合片段和所述第二图像中的第二重合片段;Comparing the respective maximum density projection imaging of the first image and the second image to determine the first overlapping segment in the first image and the second overlapping segment in the second image;
    以及,所述分别对所述第一图像和所述第二图像进行重叠层探测,以确定所述第一图像中的第一重合区域和所述第二图像中的第二重合区域,包括:And, the performing overlapping layer detection on the first image and the second image respectively to determine the first overlapping area in the first image and the second overlapping area in the second image includes:
    对所述第一重合片段和所述第二重合片段进行重叠层探测,以确定所述第一图像中的第一重合区域和所述第二图像中的第二重合区域。Perform overlap layer detection on the first overlap segment and the second overlap segment to determine the first overlap area in the first image and the second overlap area in the second image.
  4. 根据权利要求3所述的方法,其中,所述对所述第一重合片段和所述第二重合片段进行重叠层探测,以确定所述第一图像中的第一重合区域和所述第二图像中的第二重合区域,包括:The method according to claim 3, wherein said detecting the overlapping layer of the first overlapping segment and the second overlapping segment to determine the first overlapping area and the second overlapping area in the first image The second overlap area in the image includes:
    将所述第一重合片段分成多个第一待测区域,以及将所述第二重合片段分成多个第二待测区域,所述第一待测区域与所述第二待测区域一一对应;Divide the first overlapping segment into a plurality of first regions to be tested, and divide the second overlapping segment into a plurality of second regions to be tested, the first region to be tested and the second region to be tested one by one correspond;
    依次判断每一个所述第一待测区域与对应的所述第二待测区域的重叠层的数量差值是否小于预设数值;Sequentially determining whether the difference in the number of overlapping layers between each of the first area to be tested and the corresponding second area to be tested is less than a preset value;
    若所述差值小于所述预设数值,将所述第一待测区域作为所述第一图像中的第一重合区域的组成部分,将对应的所述第二待测区域作为所述第二图像中的第二重合区域的组成部分,以确定所述第一重合区域和所述第二重合区域。If the difference is less than the preset value, the first area to be measured is taken as a component of the first overlapping area in the first image, and the corresponding second area to be measured is taken as the first The component parts of the second overlapping area in the two images are used to determine the first overlapping area and the second overlapping area.
  5. 根据权利要求4所述的方法,其中,所述将所述第一待测区域作为所述第一图像中的第一重合区域的组成部分,将对应的所述第二待测区域作为所述第二图像中的第二重合区域的组成部分,以确定所述第一重合区域和所述第二重合区域之后,以及所述利用加权平均法对第一重合区域和第二重合区域进行融合拼接处理,获得融合拼接后的第三图像之前,所述方法还包括:The method according to claim 4, wherein the first area to be measured is used as a component of the first overlapping area in the first image, and the corresponding second area to be measured is used as the After determining the components of the second overlapping area in the second image, the first overlapping area and the second overlapping area are determined, and the first overlapping area and the second overlapping area are merged and spliced using the weighted average method Before processing, before obtaining the fused and spliced third image, the method further includes:
    根据所述第一图像和所述第二图像的图像位置信息,确定采样点;其中,所述图像位置信息用于描述所述第一图像和所述第二图像对应于人体解剖坐标系的位置;Determine the sampling point according to the image position information of the first image and the second image; wherein the image position information is used to describe the position of the first image and the second image corresponding to the human anatomical coordinate system ;
    根据所述采样点的人体解剖坐标、所述采样点在所述第一图像中的第一图像坐标以 及在所述第二图像中的第二图像坐标,获得配准变换矩阵;Obtaining a registration transformation matrix according to the human anatomical coordinates of the sampling point, the first image coordinates of the sampling point in the first image, and the second image coordinates in the second image;
    根据所述配准变换矩阵,配准所述第一重合区域和所述第二重合区域。According to the registration transformation matrix, the first coincidence area and the second coincidence area are registered.
  6. 根据权利要求5所述的方法,其中,所述根据所述配准变换矩阵,配准所述第一重合区域和所述第二重合区域,包括:The method according to claim 5, wherein the registering the first coincidence area and the second coincidence area according to the registration transformation matrix comprises:
    以所述第一重合区域为基准区域,将所述第二重合区域中具有相同人体解剖坐标的点通过所述配准变换矩阵配准到所述第一重合区域的同一位置;或者,Using the first overlapping area as a reference area, the points with the same human anatomical coordinates in the second overlapping area are registered to the same position in the first overlapping area through the registration transformation matrix; or,
    以所述第二重合区域为基准区域,将所述第一重合区域中具有相同人体解剖坐标的点通过所述配准变换矩阵配准到所述第二重合区域的同一位置。Using the second overlapping area as a reference area, the points with the same human anatomical coordinates in the first overlapping area are registered to the same position in the second overlapping area through the registration transformation matrix.
  7. 根据权利要求1~6任一项所述的方法,其中,所述利用加权平均法对所述第一重合区域和所述第二重合区域进行融合拼接处理,获得融合拼接后的第三图像,包括:7. The method according to any one of claims 1 to 6, wherein the weighted average method is used to perform fusion splicing processing on the first coincident area and the second coincident area to obtain a third image after fusion splicing, include:
    将所述第一重合区域分成多个第一待融合列区域,以及将所述第二重合区域分成多个第二待融合列区域,所述第一待融合列区域与所述第二待融合列区域一一对应;The first overlapping area is divided into a plurality of first to-be-merged column areas, and the second overlapping area is divided into a plurality of second to-be-merged column areas, the first to-be-fused column area and the second to-be-fused column area One-to-one correspondence between column areas;
    按照各个所述第一待融合列区域与所述第二重合区域的距离从小到大的顺序,依次获取每一个所述第一待融合列区域的第一预设权重系数,其中所述第一预设权重系数随着其对应的所述第一待融合列区域与所述第二重合区域的距离变大而变小;According to the order of the distance between each of the first to-be-fused column regions and the second overlapping region, the first preset weight coefficient of each of the first to-be-fused column regions is sequentially obtained, wherein the first The preset weight coefficient becomes smaller as the distance between the corresponding first column area to be fused and the second overlapping area increases;
    根据所述第一预设权重系数,获得所述第一待融合列区域对应的所述第二待融合列区域的第二预设权重系数,其中所述第一预设权重系数与所述第二预设权重系数的和值等于一;According to the first preset weight coefficient, a second preset weight coefficient of the second column area to be fused corresponding to the first column area to be fused is obtained, wherein the first preset weight coefficient and the first column area are 2. The sum of the preset weight coefficients is equal to one;
    根据所述第一预设权重系数和所述第二预设权重系数,将各个所述第一待融合列区域与对应的所述第二待融合列区域进行像素值相加计算,获得融合像素值,以获得融合拼接后的第三图像。According to the first preset weight coefficient and the second preset weight coefficient, add the pixel values of each of the first column area to be fused and the corresponding second column area to be fused to obtain a fused pixel Value to obtain the third image after fusion splicing.
  8. 一种三维MRA医学图像拼接装置,所述装置包括:A three-dimensional MRA medical image splicing device, the device comprising:
    接收单元,用于实时接收扫描设备发送的相邻两个待拼接三维MRA医学图像;The receiving unit is used to receive two adjacent three-dimensional MRA medical images to be spliced from the scanning device in real time;
    去噪单元,用于对所述相邻两个待拼接三维MRA医学图像进行拉普拉斯去噪、增强和不规则平滑处理,获得第一图像和第二图像;A denoising unit, configured to perform Laplacian denoising, enhancement and irregular smoothing processing on the two adjacent three-dimensional MRA medical images to be spliced to obtain a first image and a second image;
    探测单元,用于分别对所述第一图像和所述第二图像进行重叠层探测,以确定所述第一图像中的第一重合区域和所述第二图像中的第二重合区域;A detection unit, configured to perform overlap layer detection on the first image and the second image respectively to determine the first overlap area in the first image and the second overlap area in the second image;
    拼接单元,用于利用加权平均法对所述第一重合区域和所述第二重合区域进行融合拼接处理,获得融合拼接后的第三图像。The stitching unit is configured to perform fusion stitching processing on the first overlapping area and the second overlapping area using a weighted average method to obtain a third image after fusion stitching.
  9. 根据权利要求8所述的装置,在所述拼接单元用于利用加权平均法对所述第一重合区域和所述第二重合区域进行融合拼接处理,获得融合拼接后的第三图像之后,所述去噪单元进一步被配置为:The device according to claim 8, after the splicing unit is configured to use a weighted average method to perform a fusion splicing process on the first overlapping area and the second overlapping area to obtain a third image after fusion splicing, The denoising unit is further configured as:
    利用低通滤波器对所述第三图像进行平滑滤波处理,获得目标平滑图像。A low-pass filter is used to perform smoothing filtering processing on the third image to obtain a target smooth image.
  10. 根据权利要求9所述的装置,在所述探测单元用于分别对所述第一图像和所述第二图像进行重叠层探测,以确定所述第一图像中的第一重合区域和所述第二图像中的第二重合区域之前,还包括:The device according to claim 9, wherein the detection unit is used to detect the overlapping layer of the first image and the second image respectively to determine the first overlap area in the first image and the Before the second overlapping area in the second image, it also includes:
    对比单元,用于将所述第一图像和所述第二图像各自的最大密度投影成像进行对比,以确定出所述第一图像中的第一重合片段和所述第二图像中的第二重合片段;The comparison unit is configured to compare the respective maximum density projection imaging of the first image and the second image to determine the first overlapped segment in the first image and the second overlapped segment in the second image Coincident fragments
    以及,所述探测单元被配置为:And, the detection unit is configured to:
    对所述第一重合片段和所述第二重合片段进行重叠层探测,以确定所述第一图像中的第一重合区域和所述第二图像中的第二重合区域。Perform overlap layer detection on the first overlap segment and the second overlap segment to determine the first overlap area in the first image and the second overlap area in the second image.
  11. 根据权利要求10所述的装置,所述探测单元被配置为:The apparatus according to claim 10, wherein the detection unit is configured to:
    将所述第一重合片段分成多个第一待测区域,以及将所述第二重合片段分成多个第二待测区域,所述第一待测区域与所述第二待测区域一一对应;Divide the first overlapping segment into a plurality of first regions to be tested, and divide the second overlapping segment into a plurality of second regions to be tested, the first region to be tested and the second region to be tested one by one correspond;
    依次判断每一个所述第一待测区域与对应的所述第二待测区域的重叠层的数量差值是否小于预设数值;Sequentially determining whether the difference in the number of overlapping layers between each of the first area to be tested and the corresponding second area to be tested is less than a preset value;
    若所述差值小于所述预设数值,将所述第一待测区域作为所述第一图像中的第一重合区域的组成部分,将对应的所述第二待测区域作为所述第二图像中的第二重合区域的组成部分,以确定所述第一重合区域和所述第二重合区域。If the difference is less than the preset value, the first area to be measured is taken as a component of the first overlapping area in the first image, and the corresponding second area to be measured is taken as the first The component parts of the second overlapping area in the two images are used to determine the first overlapping area and the second overlapping area.
  12. 根据权利要求11所述的装置,在所述探测单元用于将所述第一待测区域作为所述第一图像中的第一重合区域的组成部分,将对应的所述第二待测区域作为所述第二图像中的第二重合区域的组成部分,以确定所述第一重合区域和所述第二重合区域之后,以及所述拼接单元用于利用加权平均法对所述第一重合区域和所述第二重合区域进行融合拼接处理,获得融合拼接后的第三图像之前,还包括:The device according to claim 11, wherein the detection unit is configured to use the first area to be measured as a component of the first overlapping area in the first image, and to set the corresponding second area to be measured As a component of the second coincidence area in the second image, after the first coincidence area and the second coincidence area are determined, and the splicing unit is used to perform a weighted average method on the first coincidence area. Before performing fusion splicing processing on the region and the second overlapping region, and before obtaining the fused and spliced third image, the method further includes:
    确定单元,用于根据所述第一图像和所述第二图像的图像位置信息,确定采样点;其中,所述图像位置信息用于描述所述第一图像和所述第二图像对应于人体解剖坐标系的位置;The determining unit is configured to determine sampling points according to the image location information of the first image and the second image; wherein the image location information is used to describe that the first image and the second image correspond to a human body The position of the anatomical coordinate system;
    获取单元,用于根据所述采样点的人体解剖坐标、所述采样点在所述第一图像中的第一图像坐标以及在所述第二图像中的第二图像坐标,获得配准变换矩阵;An obtaining unit, configured to obtain a registration transformation matrix according to the human anatomical coordinates of the sampling point, the first image coordinates of the sampling point in the first image, and the second image coordinates in the second image ;
    配准单元,用于根据所述配准变换矩阵,配准所述第一重合区域和所述第二重合区域。The registration unit is configured to register the first coincidence area and the second coincidence area according to the registration transformation matrix.
  13. 根据权利要求12所述的装置,所述配准单元被配置为:The device according to claim 12, the registration unit is configured to:
    以所述第一重合区域为基准区域,将所述第二重合区域中具有相同人体解剖坐标的点通过所述配准变换矩阵配准到所述第一重合区域的同一位置;或者,Using the first overlapping area as a reference area, the points with the same human anatomical coordinates in the second overlapping area are registered to the same position in the first overlapping area through the registration transformation matrix; or,
    以所述第二重合区域为基准区域,将所述第一重合区域中具有相同人体解剖坐标的点通过所述配准变换矩阵配准到所述第二重合区域的同一位置。Using the second overlapping area as a reference area, the points with the same human anatomical coordinates in the first overlapping area are registered to the same position in the second overlapping area through the registration transformation matrix.
  14. 根据权利要求8~13所述的装置,所述拼接单元被配置为:The device according to claims 8-13, the splicing unit is configured to:
    将所述第一重合区域分成多个第一待融合列区域,以及将所述第二重合区域分成多个第二待融合列区域,所述第一待融合列区域与所述第二待融合列区域一一对应;The first overlapping area is divided into a plurality of first to-be-merged column areas, and the second overlapping area is divided into a plurality of second to-be-merged column areas, the first to-be-fused column area and the second to-be-fused column area One-to-one correspondence between column areas;
    按照各个所述第一待融合列区域与所述第二重合区域的距离从小到大的顺序,依次获取每一个所述第一待融合列区域的第一预设权重系数,其中所述第一预设权重系数随着其对应的所述第一待融合列区域与所述第二重合区域的距离变大而变小;According to the order of the distance between each of the first to-be-fused column regions and the second overlapping region, the first preset weight coefficient of each of the first to-be-fused column regions is sequentially obtained, wherein the first The preset weight coefficient becomes smaller as the distance between the corresponding first column area to be fused and the second overlapping area increases;
    根据所述第一预设权重系数,获得所述第一待融合列区域对应的所述第二待融合列区域的第二预设权重系数,其中所述第一预设权重系数与所述第二预设权重系数的和值等于一;According to the first preset weight coefficient, a second preset weight coefficient of the second column area to be fused corresponding to the first column area to be fused is obtained, wherein the first preset weight coefficient and the first column area are 2. The sum of the preset weight coefficients is equal to one;
    根据所述第一预设权重系数和所述第二预设权重系数,将各个所述第一待融合列区域与对应的所述第二待融合列区域进行像素值相加计算,获得融合像素值,以获得融合拼接后的第三图像。According to the first preset weight coefficient and the second preset weight coefficient, add the pixel values of each of the first column area to be fused and the corresponding second column area to be fused to obtain a fused pixel Value to obtain the third image after fusion splicing.
  15. 一种电子设备,包括:处理器;以及存储器,用于存储所述处理器的三维MRA 医学图像拼接程序;其中,所述处理器配置为经由执行所述三维MRA医学图像拼接程序来执行以下处理:An electronic device comprising: a processor; and a memory for storing a three-dimensional MRA medical image stitching program of the processor; wherein the processor is configured to execute the following processing by executing the three-dimensional MRA medical image stitching program :
    实时接收扫描设备发送的相邻两个待拼接三维MRA医学图像;Receive two adjacent 3D MRA medical images to be spliced from the scanning device in real time;
    对所述相邻两个待拼接三维MRA医学图像进行拉普拉斯去噪、增强和不规则平滑处理,获得第一图像和第二图像;Performing Laplacian denoising, enhancement and irregular smoothing processing on the two adjacent three-dimensional MRA medical images to be spliced to obtain a first image and a second image;
    分别对所述第一图像和所述第二图像进行重叠层探测,以确定所述第一图像中的第一重合区域和所述第二图像中的第二重合区域;Performing overlapping layer detection on the first image and the second image respectively to determine a first overlapping area in the first image and a second overlapping area in the second image;
    利用加权平均法对所述第一重合区域和所述第二重合区域进行融合拼接处理,获得融合拼接后的第三图像。A weighted average method is used to perform fusion splicing processing on the first overlapping area and the second overlapping area to obtain a third image after fusion splicing.
  16. 根据权利要求15所述的电子设备,其中,所述分别对所述第一图像和所述第二图像进行重叠层探测,以确定所述第一图像中的第一重合区域和所述第二图像中的第二重合区域之前,所述方法还包括:The electronic device according to claim 15, wherein said detecting the overlapping layer of the first image and the second image respectively to determine the first overlapping area and the second overlapping area in the first image Before the second overlapping area in the image, the method further includes:
    将所述第一图像和所述第二图像各自的最大密度投影成像进行对比,以确定出所述第一图像中的第一重合片段和所述第二图像中的第二重合片段;Comparing the respective maximum density projection imaging of the first image and the second image to determine the first overlapping segment in the first image and the second overlapping segment in the second image;
    以及,所述分别对所述第一图像和所述第二图像进行重叠层探测,以确定所述第一图像中的第一重合区域和所述第二图像中的第二重合区域,包括:And, the performing overlapping layer detection on the first image and the second image respectively to determine the first overlapping area in the first image and the second overlapping area in the second image includes:
    对所述第一重合片段和所述第二重合片段进行重叠层探测,以确定所述第一图像中的第一重合区域和所述第二图像中的第二重合区域。Perform overlap layer detection on the first overlap segment and the second overlap segment to determine the first overlap area in the first image and the second overlap area in the second image.
  17. 根据权利要求16所述的电子设备,其中,所述对所述第一重合片段和所述第二重合片段进行重叠层探测,以确定所述第一图像中的第一重合区域和所述第二图像中的第二重合区域,包括:The electronic device according to claim 16, wherein the detection of the overlapping layer of the first overlapping segment and the second overlapping segment is performed to determine the first overlapping area and the first overlapping area in the first image The second overlap area in the second image includes:
    将所述第一重合片段分成多个第一待测区域,以及将所述第二重合片段分成多个第二待测区域,所述第一待测区域与所述第二待测区域一一对应;Divide the first overlapping segment into a plurality of first regions to be tested, and divide the second overlapping segment into a plurality of second regions to be tested, the first region to be tested and the second region to be tested one by one correspond;
    依次判断每一个所述第一待测区域与对应的所述第二待测区域的重叠层的数量差值是否小于预设数值;Sequentially determining whether the difference in the number of overlapping layers between each of the first area to be tested and the corresponding second area to be tested is less than a preset value;
    若所述差值小于所述预设数值,将所述第一待测区域作为所述第一图像中的第一重合区域的组成部分,将对应的所述第二待测区域作为所述第二图像中的第二重合区域的组成部分,以确定所述第一重合区域和所述第二重合区域。If the difference is less than the preset value, the first area to be measured is taken as a component of the first overlapping area in the first image, and the corresponding second area to be measured is taken as the first The component parts of the second overlapping area in the two images are used to determine the first overlapping area and the second overlapping area.
  18. 根据权利要求17所述的电子设备,其中,所述将所述第一待测区域作为所述第一图像中的第一重合区域的组成部分,将对应的所述第二待测区域作为所述第二图像中的第二重合区域的组成部分,以确定所述第一重合区域和所述第二重合区域之后,以及所述利用加权平均法对第一重合区域和第二重合区域进行融合拼接处理,获得融合拼接后的第三图像之前,所述方法还包括:The electronic device according to claim 17, wherein the first area to be measured is used as a component of the first overlapping area in the first image, and the corresponding second area to be measured is used as the After determining the components of the second overlapping area in the second image, the first overlapping area and the second overlapping area are determined, and the weighted average method is used to fuse the first overlapping area and the second overlapping area Before the splicing process to obtain the third image after fusion splicing, the method further includes:
    根据所述第一图像和所述第二图像的图像位置信息,确定采样点;其中,所述图像位置信息用于描述所述第一图像和所述第二图像对应于人体解剖坐标系的位置;Determine the sampling point according to the image position information of the first image and the second image; wherein the image position information is used to describe the position of the first image and the second image corresponding to the human anatomical coordinate system ;
    根据所述采样点的人体解剖坐标、所述采样点在所述第一图像中的第一图像坐标以及在所述第二图像中的第二图像坐标,获得配准变换矩阵;Obtaining a registration transformation matrix according to the human anatomical coordinates of the sampling point, the first image coordinates of the sampling point in the first image, and the second image coordinates in the second image;
    根据所述配准变换矩阵,配准所述第一重合区域和所述第二重合区域。According to the registration transformation matrix, the first coincidence area and the second coincidence area are registered.
  19. 根据权利要求18所述的电子设备,其中,所述根据所述配准变换矩阵,配准所 述第一重合区域和所述第二重合区域,包括:The electronic device according to claim 18, wherein the registering the first coincidence area and the second coincidence area according to the registration transformation matrix comprises:
    以所述第一重合区域为基准区域,将所述第二重合区域中具有相同人体解剖坐标的点通过所述配准变换矩阵配准到所述第一重合区域的同一位置;或者,Using the first overlapping area as a reference area, the points with the same human anatomical coordinates in the second overlapping area are registered to the same position in the first overlapping area through the registration transformation matrix; or,
    以所述第二重合区域为基准区域,将所述第一重合区域中具有相同人体解剖坐标的点通过所述配准变换矩阵配准到所述第二重合区域的同一位置。Using the second overlapping area as a reference area, the points with the same human anatomical coordinates in the first overlapping area are registered to the same position in the second overlapping area through the registration transformation matrix.
  20. 根据权利要求15所述的电子设备,其中,所述获取每个所述第一分数范围的用户特征组合与每个第二分数范围的用户特征组合的用户特征区别,得到多个用户特征区别,包括:15. The electronic device according to claim 15, wherein said obtaining the user characteristic differences between each of the user characteristic combinations in the first score range and the user characteristic combinations in each second score range to obtain multiple user characteristic differences, include:
    获取每个所述第一分数范围的用户特征组合的第一用户特征组合要素;Acquiring the first user feature combination element of each user feature combination in the first score range;
    获取每个所述第二分数范围的用户特征组合的第二用户特征组合要素;Acquiring a second user feature combination element of each user feature combination in the second score range;
    获取每个所述第一用户特征组合要素与每个所述第二用户特征组合要素的区别特征,得到每个所述第一分数范围的用户特征组合与每个第二分数范围的用户特征组合的用户特征区别。Obtain the distinguishing features of each of the first user feature combination elements and each of the second user feature combination elements, and obtain each user feature combination of the first score range and each user feature combination of the second score range The difference in user characteristics.
  21. 根据权利要求15~20所述的电子设备,其中,所述利用加权平均法对所述第一重合区域和所述第二重合区域进行融合拼接处理,获得融合拼接后的第三图像,包括:The electronic device according to claims 15-20, wherein said using a weighted average method to perform fusion splicing processing on said first coincident area and said second coincident area to obtain a third image after fusion splicing comprises:
    将所述第一重合区域分成多个第一待融合列区域,以及将所述第二重合区域分成多个第二待融合列区域,所述第一待融合列区域与所述第二待融合列区域一一对应;The first overlapping area is divided into a plurality of first to-be-merged column areas, and the second overlapping area is divided into a plurality of second to-be-merged column areas, the first to-be-fused column area and the second to-be-fused column area One-to-one correspondence between column areas;
    按照各个所述第一待融合列区域与所述第二重合区域的距离从小到大的顺序,依次获取每一个所述第一待融合列区域的第一预设权重系数,其中所述第一预设权重系数随着其对应的所述第一待融合列区域与所述第二重合区域的距离变大而变小;According to the order of the distance between each of the first to-be-fused column regions and the second overlapping region, the first preset weight coefficient of each of the first to-be-fused column regions is sequentially obtained, wherein the first The preset weight coefficient becomes smaller as the distance between the corresponding first column area to be fused and the second overlapping area increases;
    根据所述第一预设权重系数,获得所述第一待融合列区域对应的所述第二待融合列区域的第二预设权重系数,其中所述第一预设权重系数与所述第二预设权重系数的和值等于一;According to the first preset weight coefficient, a second preset weight coefficient of the second column area to be fused corresponding to the first column area to be fused is obtained, wherein the first preset weight coefficient and the first column area are 2. The sum of the preset weight coefficients is equal to one;
    根据所述第一预设权重系数和所述第二预设权重系数,将各个所述第一待融合列区域与对应的所述第二待融合列区域进行像素值相加计算,获得融合像素值,以获得融合拼接后的第三图像。According to the first preset weight coefficient and the second preset weight coefficient, add the pixel values of each of the first column area to be fused and the corresponding second column area to be fused to obtain a fused pixel Value to obtain the third image after fusion splicing.
  22. 一种计算机可读存储介质,其上存储有三维MRA医学图像拼接程序,其特征在于,所述三维MRA医学图像拼接程序被处理器执行时实现以下处理:A computer-readable storage medium storing a three-dimensional MRA medical image splicing program, wherein the three-dimensional MRA medical image splicing program is executed by a processor to implement the following processing:
    实时接收扫描设备发送的相邻两个待拼接三维MRA医学图像;Receive two adjacent 3D MRA medical images to be spliced from the scanning device in real time;
    对所述相邻两个待拼接三维MRA医学图像进行拉普拉斯去噪、增强和不规则平滑处理,获得第一图像和第二图像;Performing Laplacian denoising, enhancement and irregular smoothing processing on the two adjacent three-dimensional MRA medical images to be spliced to obtain a first image and a second image;
    分别对所述第一图像和所述第二图像进行重叠层探测,以确定所述第一图像中的第一重合区域和所述第二图像中的第二重合区域;Performing overlapping layer detection on the first image and the second image respectively to determine a first overlapping area in the first image and a second overlapping area in the second image;
    利用加权平均法对所述第一重合区域和所述第二重合区域进行融合拼接处理,获得融合拼接后的第三图像。A weighted average method is used to perform fusion splicing processing on the first overlapping area and the second overlapping area to obtain a third image after fusion splicing.
PCT/CN2019/118065 2019-07-23 2019-11-13 Three-dimensional mra medical image splicing method and apparatus, and electronic device and computer-readable storage medium WO2021012520A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910666640.9A CN110473143B (en) 2019-07-23 2019-07-23 Three-dimensional MRA medical image stitching method and device and electronic equipment
CN201910666640.9 2019-07-23

Publications (1)

Publication Number Publication Date
WO2021012520A1 true WO2021012520A1 (en) 2021-01-28

Family

ID=68508969

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/118065 WO2021012520A1 (en) 2019-07-23 2019-11-13 Three-dimensional mra medical image splicing method and apparatus, and electronic device and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN110473143B (en)
WO (1) WO2021012520A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116958104A (en) * 2023-07-28 2023-10-27 上海感图网络科技有限公司 Material surface image processing method, device and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111145092A (en) * 2019-12-16 2020-05-12 华中科技大学鄂州工业技术研究院 Method and device for processing infrared blood vessel image on leg surface
CN111612690B (en) * 2019-12-30 2023-04-07 苏州纽迈分析仪器股份有限公司 Image splicing method and system
CN113902657A (en) * 2021-08-26 2022-01-07 北京旷视科技有限公司 Image splicing method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855613A (en) * 2011-07-01 2013-01-02 株式会社东芝 Image processing device and image processing method
CN104050713A (en) * 2013-03-15 2014-09-17 株式会社东芝 medical image processing device and medical image processing method
CN104318604A (en) * 2014-10-21 2015-01-28 四川华雁信息产业股份有限公司 3D image stitching method and apparatus
CN107146201A (en) * 2017-05-08 2017-09-08 重庆邮电大学 A kind of image split-joint method based on improvement image co-registration

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102551717B (en) * 2010-12-31 2016-01-20 深圳迈瑞生物医疗电子股份有限公司 The method and apparatus of blood vessel splicing artifact is eliminated in nuclear magnetic resonance
WO2017087821A2 (en) * 2015-11-18 2017-05-26 Lightlab Imaging, Inc. X-ray image feature detection and registration systems and methods

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102855613A (en) * 2011-07-01 2013-01-02 株式会社东芝 Image processing device and image processing method
CN104050713A (en) * 2013-03-15 2014-09-17 株式会社东芝 medical image processing device and medical image processing method
CN104318604A (en) * 2014-10-21 2015-01-28 四川华雁信息产业股份有限公司 3D image stitching method and apparatus
CN107146201A (en) * 2017-05-08 2017-09-08 重庆邮电大学 A kind of image split-joint method based on improvement image co-registration

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116958104A (en) * 2023-07-28 2023-10-27 上海感图网络科技有限公司 Material surface image processing method, device and storage medium

Also Published As

Publication number Publication date
CN110473143A (en) 2019-11-19
CN110473143B (en) 2023-11-10

Similar Documents

Publication Publication Date Title
WO2021012520A1 (en) Three-dimensional mra medical image splicing method and apparatus, and electronic device and computer-readable storage medium
US11253171B2 (en) System and method for patient positioning
CN106056537B (en) A kind of medical image joining method and device
CN107886508B (en) Differential subtraction method and medical image processing method and system
Kolar et al. Hybrid retinal image registration using phase correlation
US7840050B2 (en) System and method for piecewise registration of timepoints
Weibel et al. Graph based construction of textured large field of view mosaics for bladder cancer diagnosis
US20120121154A1 (en) Method and System for Propagation of Myocardial Infarction from Delayed Enhanced Cardiac Imaging to Cine Magnetic Resonance Imaging Using Hybrid Image Registration
US9311717B2 (en) Processing and displaying a breast image with overlaid glandular contour
US20080123912A1 (en) Purpose-driven enhancement filtering of anatomical data
CN109452941B (en) Limb circumference measuring method and system based on image orthodontics and boundary extraction
US9754366B2 (en) Computer-aided identification of a tissue of interest
WO2021259391A2 (en) Image processing method and apparatus, and electronic device and storage medium
CN111080583B (en) Medical image detection method, computer device, and readable storage medium
US20210118551A1 (en) Device to enhance and present medical image using corrective mechanism
US20180064409A1 (en) Simultaneously displaying medical images
JP2020523107A (en) System and method for automatic distortion correction and/or simultaneous registration of three-dimensional images using artificial landmarks along bone
US9019272B2 (en) Curved planar reformation
US20090154782A1 (en) Dual-magnify-glass visualization for soft-copy mammography viewing
US9142017B2 (en) TNM classification using image overlays
Rosado et al. 12 From Dermoscopy to Mobile Teledermatology
US20130072782A1 (en) System and method for automatic magnetic resonance volume composition and normalization
US10832420B2 (en) Dynamic local registration system and method
Ali et al. Robust bladder image registration by redefining data-term in total variational approach
CN113012207A (en) Image registration method and device

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: 19938983

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19938983

Country of ref document: EP

Kind code of ref document: A1