Method and apparatus for determining the midsagittal plane in magnetic resonance images

The midsagittal plane of the brain is automatically determined through 3D mask images and semantic segmentation technology, which solves the problem of long and inaccurate manual determination and improves the accuracy and efficiency of surgical path planning.

CN112950648BActive Publication Date: 2024-09-06KOHYOUNG TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011345752.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-11-26
Filing Date
2020-11-26
Publication Date
2024-09-06
Estimated Expiration
2040-11-26

AI Technical Summary

Technical Problem

In head and neck surgery, manual determination of the midsagittal plane of the brain is time-consuming and inaccurate, affecting the accuracy of path planning.

Method used

The volume is measured based on the 3D mask image of the anterior commissure, posterior commissure and third ventricular area. The pre-trained segmentation model is used to determine the midsagittal plane in the 3D coordinate space. The semantic segmentation and skeleton division methods are used to automatically determine the candidate plane. to specify the midsagittal plane.

Benefits of technology

Significantly reduces the time spent manually determining the midsagittal plane, improves its accuracy and consistency, simplifies the path planning process, and enhances surgical precision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112950648B_ABST
    Figure CN112950648B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for determining a midsagittal plane from a plurality of magnetic resonance images of a brain by measuring volume, which is executed by a computer. A plurality of MR images are received and converted into a 3D volume image defined in a 3D coordinate space. The anterior commissure region, the posterior commissure region, and the third ventricle region in the 3D volume image are semantically segmented based on a pre-trained segmentation model to generate a 3D mask image labeled with the anterior commissure region, the posterior commissure region, and the third ventricle region. Based on the labeled 3D mask image, a 3D volume image of the segmented third ventricle region is constructed. The midsagittal plane is determined based on the 3D volume image of the third ventricle region.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application is based upon and claims the benefit of priority of U.S. Provisional Patent Application No. 62 / 940,576, filed on November 26, 2019, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present invention relates generally to magnetic resonance imaging and, more particularly, to determining the midsagittal plane in magnetic resonance images of the brain.

[0004] The present invention arises from research conducted as part of technology development support under the WC300 project of the Ministry of SMEs and Entrepreneurship of Korea.

[0005] [Project No.: S2482672, Project Name: Development of a surgical navigation fusion head and neck surgical robot system with a matching accuracy of 1 mm or less]. Background Art

[0006] The brain is considered the most complex organ in the human body. Therefore, when it is necessary to perform a surgery that requires access to the inside of a patient's brain, doctors usually perform path planning before the surgery to plan the accurate placement of surgical instruments on the scalp and insertion into the brain. For example, in the case of deep brain stimulation surgery to treat Parkinson's disease, surgical instruments such as electrodes may be inserted into the patient's brain in order to apply electrical pulses to a target area of ​​the brain during surgery.

[0007] During path planning, a magnetic resonance (MR) image of the patient's brain may be displayed to the physician on a computer monitor along with a means for selecting the anterior commissure (AC) and the posterior commissure (PC) in the brain. The AC and PC are bundles of neural tissue that connect the two hemispheres of the brain. Therefore, the AC and PC are often used as anatomical landmarks or reference frames in brain imaging to help physicians accurately identify target areas in the brain and determine the location, angle, depth, etc., of inserting surgical instruments into the brain.

[0008] In conventional methods, doctors can examine MR images of the brain and manually determine the central plane of the brain to align the image with the estimated plane. Such a central plane is also called the midline (ML) plane, the median plane, or the midsagittal plane (MSP), and can be used as a landmark during path planning for surgical treatment. However, manually determining the MSP can be time-consuming, thereby prolonging the path planning process. In addition, the manually determined MSP may vary greatly between doctors or may not be accurate enough. Summary of the invention

[0009] The present invention provides a method and apparatus for determining the midsagittal plane by measuring volume based on 3D mask images of the AC region, the PC region, and the third ventricle region.

[0010] According to one aspect of the present invention, a method for determining a midsagittal plane (MSP) from a plurality of magnetic resonance (MR) images of a brain by measuring volumes, which is performed by a computer, is disclosed. In the method, a plurality of MR images are received and converted into a 3D volume image defined in a 3D coordinate space. Based on a pre-trained segmentation model, the anterior commissure (AC) region, the posterior commissure (PC) region, and the third ventricle region in the 3D volume image are semantically segmented to generate a 3D mask image labeled with the AC region, the PC region, and the third ventricle region. Based on the labeled 3D mask image, a segmented 3D volume image of the third ventricle region is constructed. The MSP is determined based on the 3D volume image of the third ventricle region.

[0011] According to another aspect of the present invention, an image processing device for determining MSP from a plurality of MR images of a brain to measure volume is disclosed. The image processing device includes a processor configured to: receive a plurality of MR images; convert the plurality of MR images into a 3D volume image defined in a 3D coordinate space; semantically segment an anterior commissure (AC) region, a posterior commissure (PC) region, and a third ventricle region in the 3D volume image based on a pre-trained segmentation model to generate a 3D mask image labeled with the AC region, the PC region, and the third ventricle region; construct a 3D blob of the segmented third ventricle region based on the labeled 3D mask image; and determine MSP based on the 3D blob of the third ventricle region.

[0012] According to another aspect of the present invention, a non-transitory computer-readable storage medium is disclosed, which includes instructions for determining MSP from a plurality of MR images of a brain to measure volume. The instructions cause a processor to perform operations including: receiving a plurality of MR images; converting the plurality of MR images into a 3D volume image defined in a 3D coordinate space; semantically segmenting anterior commissure (AC) region, posterior commissure (PC) region, and third ventricle region in the 3D volume image based on a pre-trained segmentation model to generate a 3D mask image labeled with the AC region, PC region, and third ventricle region; constructing a 3D blob of the segmented third ventricle region based on the labeled 3D mask image; and determining MSP based on the 3D blob of the third ventricle region.

[0013] In one embodiment, semantic segmentation of a 3D volume image can be performed in the following manner: normalizing multiple pixels of each of multiple slices of the 3D volume image to intensity values ​​within a predetermined range; extracting multiple pixel sets from a target central region of each of the multiple slices of the 3D volume image; segmenting the AC region, PC region, and third ventricle region of the standardized and extracted 3D volume image based on a pre-trained segmentation model to generate a 3D mask image labeled with the AC region, PC region, and third ventricle region; determining the center of mass of each of the AC region and the PC region in the 3D mask image; and, in the 3D mask image, marking the AC point corresponding to the center of mass of the AC region as the AC region, and marking the PC point corresponding to the center of mass of the PC region as the PC region.

[0014] In one embodiment, determining the MSP may include determining a candidate plane that symmetrically divides the 3D volume image of the third ventricle region based on a skeleton of the 3D volume image of the third ventricle region, and designating the candidate plane as the MSP.

[0015] In one embodiment, information indicating the MSP may be output, as well as a 3D mask image with the AC region, PC region, and third ventricle region marked.

[0016] In one embodiment, the information indicative of the MSP may be a set of coordinates or an equation defining the MSP.

[0017] In one embodiment, a set of coordinates defining the MSP may include a first coordinate indicating an AC region, a second coordinate indicating a PC region, and a third coordinate indicating a point defining the MSP with the first and second coordinates.

[0018] In one embodiment, the first coordinate indicating the AC region may correspond to the centroid of the AC region, and the second coordinate indicating the PC region may correspond to the centroid of the PC region.

[0019] In one embodiment, determining the MSP may include: dividing the 3D volume image of the third ventricle region into a first part and a second part through a candidate plane starting from the skeleton of the 3D volume image of the third ventricle region; determining whether the candidate plane symmetrically divides the 3D volume image based on the shape and number of voxels in the first part and the shape and number of voxels in the second part; and, after determining that the candidate plane symmetrically divides the 3D volume image, designating the candidate plane as the MSP.

[0020] In one embodiment, the candidate plane may be aligned with a line connecting the AC region and the PC region.

[0021] In one embodiment, determining the MSP may include starting from a skeleton of the 3D volume image of the third ventricle region, sequentially dividing the 3D volume image of the third ventricle region through multiple candidate planes until one of the multiple candidate planes is determined to symmetrically divide the 3D volume image of the third ventricle region, and designating the plane among the multiple candidate planes as the MSP. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention.

[0023] Figure 1 A block diagram showing an image processing apparatus configured to determine a mid-sagittal plane from a plurality of magnetic resonance (MR) images of a brain in a measured volume according to an embodiment of the present invention.

[0024] Figure 2 A block diagram of an image reader configured to convert a plurality of MR images into a 3D volume image is shown according to an embodiment of the present invention.

[0025] Figure 3 A block diagram showing a semantic segmentation unit configured to segment the AC, PC and third ventricle regions in a 3D volumetric image of the brain according to an embodiment of the present invention.

[0026] FIG. 4A to FIG. 4C Schematic representation of an exemplary slice of a 3D volume image that may be processed in a semantic segmentation unit according to an embodiment of the present invention.

[0027] Figure 5 A flowchart of a method for generating a 3D mask image with AC, PC and third ventricle region marked from multiple MR images of the brain and determining the midsagittal plane by measuring volume based on the segmented 3D volume image of the third ventricle region according to an embodiment of the present invention is shown.

[0028] Figure 6 A flowchart of a method for generating a 3D mask image labeled with AC, PC and third ventricle regions and determining MSP by measuring volume, performed by a semantic segmentation unit according to an embodiment of the present invention, is shown.

[0029] Figure 7 A block diagram of a MSP detection unit configured to determine the mid-sagittal plane from a labeled 3D mask according to an embodiment of the present invention is shown.

[0030] Fig. 8A A 3D volume image of the third ventricle region based on the labeled 3D mask image is shown.

[0031] Figure 8B An example of a skeleton of a 3D volume image of the third ventricle region according to an embodiment of the present invention is shown.

[0032] Figure 8C Shows a slice of a 3D volume image and a skeleton displayed therein according to an embodiment of the present invention.

[0033] Fig.8D Exemplary slices of a 3D volume image and exemplary MSPs determined by an MSP estimation unit according to an embodiment of the present invention are shown.

[0034] Figures 9A to 9C An exemplary 3D image of a 3D volume image divided into two parts is shown.

[0035] Fig.10 A flow chart of a method executed by an MSP detection unit for determining a median sagittal plane of a 3D volume image that symmetrically divides a third ventricle region according to one embodiment of the present invention is shown. DETAILED DESCRIPTION

[0036] Reference will now be made in detail to various embodiments, examples of which are illustrated in the accompanying drawings. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to one of ordinary skill in the art that the present invention may be practiced without these specific details. In other cases, well-known methods, processes, systems, and components are not described in detail to avoid unnecessary confusion of various aspects of the various embodiments.

[0037] Unless otherwise specified, all technical or scientific terms used herein have the meanings commonly understood by those of ordinary skill in the art to which the invention belongs. The terms used herein are selected only to more clearly illustrate the invention and are not intended to limit the scope of the claims according to the invention.

[0038] Unless otherwise specified, a singular expression may include a plural meaning, and the same applies to the singular expression described in the claims.

[0039] As used herein, the term "unit" refers to a software component or a hardware component, such as a field programmable gate array (FPGA) and an application specific integrated circuit (ASIC). However, a "unit" is not limited to software and hardware, and it can be configured as an addressable storage medium or can be configured to run on one or more processors. For example, a "unit" may include components such as software components, object-oriented software components, class components, and task components, as well as processors, functions, attributes, processes, subroutines, program code segments, drivers, firmware, microcodes, circuits, data, databases, data structures, tables, arrays, and variables. The functions provided in components and "units" can be combined into a smaller number of components and "units", or can be further subdivided into other components and "units".

[0040] The term "based on" used herein is used to describe one or more factors that influence a decision, judgment behavior or operation described in a phrase or sentence including a related expression, and the expression does not exclude other factors that influence the decision, judgment action or operation.

[0041] As used herein, the term "region" refers to one or more points, pixels or voxels, and may include a space, area or volume corresponding to one or more consecutive or adjacent points, pixels or voxels within its meaning. The term "mark" in noun form refers to a note, word, name, sign, designation, color, boundary, shape, label, etc. that indicates an object, structure, feature, etc. The term "mark" in verb form refers to the action of marking, annotating, attaching or indicating an object, structure, feature, etc. with a mark.

[0042] As indicated herein, some of the images or screenshots in the accompanying drawings may have been modified in terms of scale, brightness, contrast, etc., in order to improve the visual characteristics for ease of illustration and description, and therefore may not exactly correspond to the original images.

[0043] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the accompanying drawings, identical or related components are represented by identical reference numerals. In the following description of the embodiments, repeated descriptions of identical or related components will be omitted. However, even if the description of a component is omitted, it is not intended to exclude such a component in the embodiments.

[0044] Figure 1A block diagram of an image processing device 100 according to an embodiment of the present invention is shown, and the image processing device 100 is configured to determine (volumetrically determine) a midsagittal plane (MSP) from a plurality of magnetic resonance (MR) images 132 of the brain to measure volume. The term "midsagittal plane" or "MSP" as used herein may also be referred to as a midline (ML) plane or midplane, which may be used as a landmark or reference plane for structures or features in the brain. The image processing device 100 includes a processor 110, an interface 120, and a storage unit 130. The storage unit 130 may store a plurality of MR images 132 (e.g., tomography) of the brain and a pre-trained segmentation model 134. In one embodiment, the MR image 132 may be received from an external picture archiving and communication system (PACS) via the interface 120 through a server 140 and stored in the storage unit 130 for processing or directly provided to the processor 110. The MR image 132 may be received and stored, for example, in a DICOM image format.

[0045] The pre-trained segmentation model 134 may include one or more segmentation models that have been pre-trained with reference MR brain images labeled with the AC, PC, and third ventricle, and thus may be optimized to detect the AC, PC, and third ventricle regions in the MR images. In one embodiment, the pre-trained segmentation model may implement any suitable 2D (two-dimensional) or 3D (three-dimensional) convolutional neural network, and may be trained with one or more sets of MR brain images so that the model parameters of the neural network are configured to detect the AC, PC, and third ventricle regions.

[0046] The interface 120 may be any suitable interface capable of providing a connection to the server 140 through a network or any other computing device, application, or program, and may include a software (S / W) interface, a hardware (H / W) interface, or a combination thereof. For example, the interface 120 may be implemented as a dynamic link library (DLL) or an application programming interface (API) configured to provide a software interface of the image processing device 100.

[0047] In the illustrated embodiment, the image processing apparatus 100 may be connected to the server 140 via a network and receive a request from the server 140 via the interface 120. The request from the server 140 may include a request for MR image data related to the brain of a specific patient. In response, the image processing apparatus 100 may generate a 3D mask image for the MR image labeled with the AC, PC, and third ventricle region, and determine the MSP by constructing a 3D volume image of the segmented third ventricle region to measure the volume.

[0048] The processor 110 includes an image reader 150, a semantic segmentation unit 160, an MSP detection unit 170, and an output unit 180. As described above, the processor 110 may be coupled in a communication manner with the interface 120 and the storage unit 130. Initially, the image reader 150 may receive a request for MR image data from the server 140 through the interface 120 and access the MR image 132 from the storage unit 130. The image reader 150 may format the MR image 132, which may be a raw MR image in a DICOM image format, into a format suitable for volumetric processing. For example, the image reader 150 may convert the MR image 132 into a 3D volumetric image in a 3D coordinate space (e.g., a 3D Cartesian coordinate system defined on x, y, and z axes) by using a suitable mapping and / or transformation method and performing bilinear and / or trilinear interpolation.

[0049] The image reader 150 provides the 3D volume image to the semantic segmentation unit 160 for volume processing. The semantic segmentation unit 160 in the processor 110 is configured to detect and mark the AC, PC, and third ventricle regions in the 3D volume image based on the pre-trained segmentation model 134 accessed from the storage unit 130, and generate a 3D mask image 136 marked with the AC, PC, and third ventricle regions. Then, the semantic segmentation unit 160 can provide the 3D mask image 136 to the MSP detection unit 170 and the image output unit 180 to generate a reply to the server 140.

[0050] Based on the received 3D mask image 136, the MSP detection unit 170 constructs a 3D volume image (e.g., a 3D blob) of the segmented third ventricle region. According to one embodiment, the MSP detection unit 170 then iteratively and sequentially applies one or more candidate planes starting from a candidate plane corresponding to a skeleton (e.g., a principal axis plane) of the 3D volume image of the segmented third ventricle region to divide (e.g., cut, divide, or bisect) the 3D volume image of the segmented third ventricle region into two parts until it is determined that one of the candidate planes symmetrically divides the 3D volume image. For each candidate plane, the MSP detection unit 170 may determine whether the candidate plane symmetrically divides the volume image of the third ventricle region into two symmetrical parts. After determining that the candidate plane symmetrically divides the volume image, the MSP detection unit 170 may designate the candidate plane as an MSP and provide plane information indicating the MSP (i.e., the MSP information 138) to the output unit 180. In one embodiment, the output unit 180 may generate a reply including the MSP information 138 and the 3D mask image 136 to the request from the server 140 and send the reply via the interface 120. In addition, the output unit 180 may store the MSP information 138 and the 3D mask image 136 in the storage unit 130.

[0051] Figure 2 A block diagram of an image reader 150 according to one embodiment of the present invention is shown, which is configured to receive a plurality of MR images 132 and output a 3D volume image 200. The MR images 132 may be tomographic images. In one embodiment, the plurality of MR images 132 may be T1-weighted images, but may also be T2-weighted images.

[0052] After receiving a request for MR image data from the server 140, the image reader 150 may access the MR image 132 from the storage unit 130, and format the MR image 132 into a format suitable for volume processing by converting the MR image 132 (which may be, for example, in DICOM format) into a 3D volume image 200 in a 3D coordinate system (e.g., Talairach coordinate system, world coordinate system, MNI coordinate system, etc.) used in the image processing apparatus 100. In this process, the original MR images 132 may be stacked and interpolation (e.g., bilinear or trilinear interpolation) may be performed to generate the 3D volume image 200, which may be stored in the storage unit 130. The image reader 150 then provides the 3D volume image 200 to the semantic segmentation unit 160.

[0053] In one embodiment, the image reader 150 may construct the 3D volumetric image 200 by mapping the MR images 132 to x and y coordinate planes in a 3D coordinate space and stacking the MR images 132 in an orthogonal z-axis direction. To fill in the gaps in the 3D volumetric image 200, interpolation may be performed using the pixels (e.g., intensity and position) of the stacked MR images 132 to generate pixels or voxels (e.g., intensity and position) of the 3D volumetric image 200. In this manner, a 3D volumetric image 200 of the original MR images 132 may be constructed in a 3D coordinate space.

[0054] Figure 3 1 is a block diagram showing a semantic segmentation unit 160 according to an embodiment of the present invention, which is configured to segment the AC, PC, and third ventricle regions in the 3D volume image 200. The semantic segmentation unit 160 includes a pre-processing unit 310, a patching unit 320, a landmark segmentation unit 330, and a post-processing unit 340. In some embodiments, the pre-processing unit 310 and / or the patching unit 320 are optional units and can be omitted in the semantic segmentation unit 160.

[0055] The pre-processing unit 310 may be configured to enhance the display characteristics of the 3D volume image 200. For example, since the pixels of the original MR image 132 generally have relatively narrow intensity values ​​(e.g., in the range of 70 to 80), the 3D volume image 200 generated from the MR image 132 may appear dark. In order to enhance the image characteristics, the pre-processing unit 310 may enhance the 3D volume image 200 by normalizing the intensity values ​​of the pixels in the 3D volume to grayscale or color intensity values ​​in a predetermined range (e.g., 255 values). In one embodiment, each slice in the 3D volume image may be normalized so that the image characteristics of the slices in the 3D volume image 200 may be enhanced in terms of, for example, brightness, contrast, etc.

[0056] In addition, the patching unit 320 can receive the standardized 3D volume image 200 and perform a patching operation. In this process, pixels of a central region of interest (ROI) in each slice of the 3D volume image 200 necessary for performing semantic segmentation can be extracted to form a 3D volume image 200 for subsequent segmentation processing. The size of the central ROI or the number of pixels therein can be determined based on the percentage of the volume within the neural network that can fit into the pre-trained segmentation model 134. In one embodiment, the percentage of extracted data samples (i.e., pixels or voxels) may be between 2% and 98% of the load capacity of the neural network. Using only the pixels of the central ROI extracted from the original 3D volume image 200 reduces the size of the 3D volume, thereby improving processing load and speed.

[0057] In one embodiment, the extracted 3D volume image 200 may also be filtered to output one of a plurality of output image types. For example, a plurality of output processing schemes may be provided, such as an automatic adjustment mode (e.g., adjusting the image to a desired range), a slice histogram equalization mode, a 3D histogram equalization mode, and a slice adaptive histogram equalization mode. Any one of the four modes or a combination thereof may be selected and applied to the 3D volume image 200 to improve the visual characteristics of the image.

[0058] The landmark segmentation unit 330 is configured to receive the 3D volume image 200 (e.g., the extracted ROI volume image of the 3D volume image 200) from the patching unit 320, and detect and segment the AC, PC, and third ventricle regions to generate the 3D mask image 136. In this process, the landmark segmentation unit 330 detects and segments the AC, PC, and third ventricle regions by using the pre-trained segmentation model 134. For example, a neural network (such as U-Net, MNET, etc.) can be used to generate a pre-trained segmentation model 134, which can be used to detect and segment the AC, PC, and third ventricle regions. Although the landmark segmentation unit 330 is described as performing segmentation of the AC, PC, and third ventricle regions simultaneously, the segmentation of the AC and PC regions can be performed separately from the segmentation of the third ventricle region. For example, the landmark segmentation unit 330 can first segment the AC and PC regions, and then segment the third ventricle region.

[0059] In one embodiment, the landmark segmentation unit 330 may perform semantic segmentation on one or more slices of the 3D volume image 200 sequentially or simultaneously using the pre-trained segmentation model 134 to generate a 3D mask image 136 labeled with the AC, PC, and third ventricle regions. For example, pixels in the 3D coordinate space of the 3D volume image 200 may be labeled with labels indicating correspondence with the AC region (e.g., red or "1"), the PC region (e.g., green or "2"), and the third ventricle region (e.g., blue or "3") or no correspondence (e.g., original pixel value or "0") to generate the 3D mask image 136.

[0060] The post-processing unit 340 may receive the 3D mask image 136 from the landmark segmentation unit 330 and determine the centroid of each detected AC and PC region. In the process, the centroid of the segmented AC region and the centroid of the PC region may be determined from the 3D mask image 136. Instead of marking each of the AC and PC regions as a region consisting of multiple points or multiple pixels, the post-processing unit 340 may designate and mark a single point (e.g., pixel or voxel) corresponding to the centroid of each AC and PC region as AC and PC. In the case of the third ventricle region, it is not necessary to determine the centroid so that the entire segmented region of the third ventricle can be retained in the 3D mask image. In addition, the post-processing unit 340 may convert the labeled 3D mask image 136 back to the original 3D coordinate space.

[0061] FIG. 4A to FIG. 4C Exemplary slices 410 , 420 , and 430 of the 3D volume image 200 that may be processed in the semantic segmentation unit 160 according to an embodiment of the present invention are shown. Figure 4A An exemplary slice 410 of the 3D volume image 200 that has been preprocessed by the preprocessing unit 310 according to an embodiment of the present invention is shown. As shown in the figure, the slice 410 may be a slice from the axial plane of the 3D volume image 200, and the image of the slice 410 has been standardized to enhance image characteristics such as brightness, contrast, etc. For ease of description, an ROI 412 represented by a rectangular dotted line is shown in the slice 410, and the ROI 412 indicates a region in the slice 410 that can be extracted by the inpainting unit 320. Figure 4B An exemplary slice 420 is shown that has been extracted from a ROI 412 in the slice 410 by the inpainting unit 320 .

[0062] Figure 4C An exemplary slice 430 of a 3D mask image 136 of a 3D volume image generated by a landmark segmentation unit 330 from a ROI 412 of a slice 410 according to one embodiment of the present invention is shown. As shown, an AC region 432, a PC region 434, and a third ventricle region 436 are segmented in the slice 430 of the 3D mask image 136. In one embodiment, regions 432, 434, and 436 may be marked with different indicators or colors, such as red, green, and blue, respectively. Alternatively or in addition, regions 432, 434, and 436 may be marked with any suitable markings or indicators for identifying or distinguishing different regions. Although the semantic segmentation unit 160 of the 3D volume image 200 is shown with slices 410, 420, and 430 as examples, it should be understood that any suitable number of slices oriented along any plane of the 3D volume image 200 may be processed to generate the 3D mask image 136.

[0063] Figure 5 A flowchart of a method for generating a 3D mask image 136 marked with AC, PC, and the third ventricle region from a plurality of MR images 132 and determining the MSP based on the segmented 3D volume image of the third ventricle region by measuring the volume, which is executed by the processor 110 according to an embodiment of the present invention, is shown. In the method, a plurality of MR images 132 as original MR images may be received at step 510, and converted to a 3D volume image 200 in a 3D coordinate space at step 520. In the process, the MR images 132 may be mapped to the 3D coordinate space, and interpolation may be performed to generate the 3D volume image 200.

[0064] At step 530, the processor 110 may perform preprocessing including normalization and patching on the 3D volume image 200. For example, the intensity values ​​of the voxels in the 3D volume image 200 may be normalized to values ​​within a predetermined range (e.g., 255 values). In addition, a patching operation may be performed to extract a set of pixels from a central region of interest (ROI) in each slice of the 3D volume image 200 to reduce the size of the 3D volume.

[0065] Then, at step 540, the processor 110 performs semantic segmentation based on the pre-trained segmentation model 134 to detect and mark the AC, PC, and third ventricle regions in the 3D volume image 200, thereby generating a 3D mask image 136 with marked regions. In one embodiment, the AC point and the PC point for the AC region and the PC region may be determined based on the centroids of the AC region and the PC region, respectively, and marked in the 3D mask image 136. At step 550, based on the 3D mask image 136, the processor 110 constructs a 3D volume image of the segmented third ventricle region. After constructing the 3D volume image of the segmented third ventricle region, the processor 110 determines the MSP based on the 3D volume image of the segmented third ventricle region at step 560. In one embodiment, a plane that symmetrically divides the 3D volume image of the third ventricle region is designated as the MSP. Then, at step 570, the 3D mask image 136 and the MSP information 138 indicating the MSP may be output to be sent to the server 140.

[0066] Figure 6 A flowchart of a method for generating a 3D mask image 136 labeled with AC, PC, and third ventricle regions performed by the semantic segmentation unit 160 according to an embodiment of the present invention is shown. In the method, at step 610, upon receiving a 3D volume image 200 defined in a 3D coordinate space and including a plurality of 2D slices, the semantic segmentation unit 160 may normalize pixels in each slice to a predetermined pixel resolution and intensity range, and at step 620 adjust the direction of the coordinate axis for alignment.

[0067] At step 630, 3D pixels may be sampled or extracted from the central region of interest in each slice to reduce the pixel granularity of the 3D volume image 200, thereby facilitating processing speed and reducing processing load. In one embodiment, the central region of interest may include the AC region, the PC region, and the third ventricle region.

[0068] In step 640, the semantic segmentation unit 160 can detect and segment the AC, PC, and third ventricle regions in the extracted 3D volume image 200 based on the pre-trained segmentation model 134 to generate a 3D mask image marked to indicate the AC, PC, and third ventricle regions. Then, in step 650, the semantic segmentation unit 160 can determine the center of mass of each of the AC region and the PC region, and mark the AC region and the PC region in the 3D mask image as AC points and PC points corresponding to their respective centers of mass, respectively. Then, in step 660, the marked 3D mask image 136 marked with the AC point, PC point, and third ventricle region can be converted back to the original 3D coordinate space and provided to the MSP detection unit 170.

[0069] Figure 7 A block diagram of the MSP detection unit 170 according to an embodiment of the present invention is shown, which is configured to determine the MSP from the 3D mask image 136. The MSP detection unit 170 includes a 3D blob construction unit 710, an MSP estimation unit 720, and an MSP output unit 730. The 3D blob construction unit 710 is configured to receive the labeled 3D mask image 136, which includes the labeled AC, PC, and third ventricle region, and construct a 3D volume image (e.g., a 3D blob) of the segmented third ventricle region.

[0070] The constructed 3D volume image is then provided to an MSP estimation unit 720, which determines the MSP based on the 3D volume image of the third ventricle region. In this process, the MSP estimation unit 720 determines the candidate plane that symmetrically divides the 3D volume image as the MSP based on the skeleton of the 3D volume image. The skeleton may be a median plane and may indicate the main axis plane of the 3D volume image of the third ventricle region. The candidate plane may be aligned with or include a line connecting the AC region and the PC region. In one embodiment, the MSP estimation unit 720 may sequentially divide the 3D volume image through a plurality of candidate planes starting from the skeleton of the 3D volume image of the third ventricle region until one of the candidate planes is determined to symmetrically divide the 3D volume image. The candidate plane determined to symmetrically divide the 3D volume image is then designated as the MSP.

[0071] In another embodiment, the 3D volume image of the third ventricle region can be sequentially rotated and translated in angular increments relative to the skeleton of the 3D volume image of the third ventricle region. At each rotation and translation position of the 3D volume image, the 3D volume image can be divided by a candidate plane. If the candidate plane is determined to symmetrically divide the 3D volume image into two symmetrical parts, the candidate plane is designated as the MSP. Then, the MSP output unit 730 can output MSP information indicating the MSP, such as a definition of the MSP, a set of coordinates or an equation of the MSP.

[0072] Fig. 8A A 3D volume image 800 (e.g., a 3D blob) that can be generated by the 3D blob construction unit 710 based on the labeled 3D mask image 136 is shown, wherein the 3D mask image 136 includes a plurality of slices (e.g., slice 430, etc.). The 3D volume image 800 includes a third ventricle region 830, an AC region 810, and a PC region 820. The AC region 810 and the PC region 820 can be two points that define a reference line for determining the MSP, respectively. The AC region 810, the PC region 820, and the third ventricle region 830 can also be marked with indicators or colors such as red, green, and blue, respectively.

[0073] In some embodiments, the third ventricle region 830 of the 3D volumetric image 800 can be modeled or represented as a skeleton. Figure 8B An example of a skeleton 840 according to an embodiment of the present invention is shown. For ease of description, the third ventricle region 830 of the 3D volume image 800 is displayed as a 2D pixelated image, and the MSP estimation unit 720 may generate a skeleton 840 for the third ventricle region 830. For example, the MSP estimation unit 720 may determine the principal axis plane of the third ventricle region 830 in the 3D volume image 800 and identify a pixel set corresponding to the principal axis plane. Then, the identified pixel set may be selected to define the skeleton 840.

[0074] For ease of description, Figure 8C A slice 850 of the 3D volume image 200 including an exemplary image of a skeleton 840 according to one embodiment is shown. Starting from the skeleton 840 of the third ventricle region 830, the MSP estimation unit 720 may sequentially divide the 3D volume image of the third ventricle region 830 with one or more candidate planes by rotating and translating the 3D volume image. When one of the candidate planes is determined to symmetrically divide the 3D volume image of the third ventricle region 830, the MSP estimation unit 720 may determine the candidate plane as an MSP and output a plane equation of the MSP. Fig.8DA slice 850 of the 3D volume image 200 is shown including an MSP 860 that may be determined by the MSP estimation unit 720 according to an embodiment of the present invention.

[0075] Figures 9A to 9C Exemplary 3D images 910 , 920 , and 930 of the third ventricle region 830 of the 3D volume image 800 divided into two parts are respectively shown. Fig. 9A 910, in which the third ventricle region 830 is divided into two parts 910A and 910B. In this case, the MSP estimation unit 720 may first divide the third ventricle region 830 by a candidate plane 912 that conforms to the skeleton 840, and determine that the two parts 910A and 910B are asymmetric with respect to the candidate plane 912. Then, the MSP estimation unit 720 may select another candidate plane by rotating and translating the third ventricle region 830.

[0076] Fig. 9B A 3D image 920 according to one embodiment of the present invention is shown, in which the third ventricle region 830 is divided into two parts 920A and 920B by a candidate plane 922. In this case, the MSP estimation unit 720 may also determine that the two parts 920A and 920B are asymmetric with respect to the candidate plane 922.

[0077] Fig. 9C A 3D image 930 according to one embodiment of the present invention is shown, in which the third ventricle region 830 is divided into two parts 930A and 930B by a candidate plane 932. In this case, the MSP estimation unit 720 may determine that the two parts 930A and 930B are symmetric with respect to the candidate plane 932 and designate the candidate plane 932 as the MSP.

[0078] In one embodiment, the MSP estimation unit 720 may determine whether two divided parts (e.g., two parts 910A and 910B, 920A and 920B, or 930A and 930B) of the third ventricle region 830 are symmetrical by comparing the shape and the number of voxels of one part with the shape and the number of voxels of the other part. Fig. 9A The portions 910A and 910B in FIG. 9 are different from each other in shape and number of voxels, and thus are determined to be asymmetric with respect to the candidate plane 912. As another example, Fig. 9B The portions 920A and 920B in may be similar in number of voxels but not in shape, and thus are determined to be asymmetric with respect to the candidate plane 922. On the other hand, Fig. 9CThe shapes and voxel numbers of portions 930A and 930B in the third ventricle region 830 may be substantially similar, and thus may be determined to be symmetrical with respect to the candidate plane 932. Although the symmetry is determined based on the shapes and voxel numbers of the two divided portions of the third ventricle region 830, it may also be determined based on the shapes without considering the voxel numbers of the two portions. As used herein, the phrase "substantially similar" means within a threshold or a predetermined similarity. Therefore, when two shapes or voxel numbers therein are within a threshold or a predetermined similarity, it may be determined that the two shapes or voxel numbers therein are substantially similar. In addition, as Figures 9A to 9C As shown, candidate planes 912 , 922 , and 932 are shown for convenience of description, and the candidate planes 912 , 920 , and 930 may be included or not included in the 3D images 910 , 920 , and 930 , respectively.

[0079] Fig.10 A flowchart of a method for determining the MSP of a 3D volume image that symmetrically divides the third ventricle region, performed by the MSP detection unit 170 according to one embodiment of the present invention, is shown. Initially, at step 1010, the 3D blob construction unit 710 receives a 3D mask image 136 marked to indicate AC, PC, and the third ventricle region. In one embodiment, the 3D mask image 136 may be marked to indicate the AC point, the PC point, and the third ventricle region. Then, the 3D blob construction unit 710 constructs a 3D volume image (i.e., a 3D blob) of the segmented third ventricle region based on the 3D mask image 136 at step 1020, and provides the 3D volume image to the MSP estimation unit 720.

[0080] After receiving the 3D volume image of the third ventricle region, the MSP estimation unit 720 divides the 3D volume image into two parts through the candidate plane starting from the skeleton of the 3D volume image of the third ventricle region in step 1030. Fig. 9A , the MSP estimation unit 720 may initially divide the 3D volume image of the third ventricle region 830 into two parts 910A and 910B by the candidate plane 912 corresponding to the skeleton 840. Then, in step 1040, it is determined whether the candidate plane 912 symmetrically divides the 3D volume image of the third ventricle region 830 into two equal parts. In one embodiment, when the shapes and the number of voxels of the two parts are substantially similar relative to the candidate plane, it can be determined that the candidate plane symmetrically divides the 3D volume image of the third ventricle region 830. Fig. 9A In the example of the 3D volume image 800 , the MSP estimation unit determines that the two parts 910A and 910B are not similar in shape and number of voxels.

[0081] If the MSP estimation unit 720 determines that the candidate plane does not symmetrically divide the 3D volume image of the third ventricle region, another plane may be selected as a new candidate plane in step 1050, and the 3D volume image of the third ventricle region may be divided by the new candidate plane in step 1030. In one embodiment, the new candidate plane may be selected by rotating the 3D volume image of the third ventricle region 830 around a line connecting AC and PC (AC-PC line) by an angle increment relative to the skeleton 840. Since the candidate plane is selected starting from the skeleton 840, the number of iterations or angle increments required to determine the candidate plane that symmetrically divides the 3D volume image of the third ventricle 830 is reduced compared to the case of starting from a random candidate plane.

[0082] refer to Fig. 9A In the example of step 1050, the MSP estimation unit 720 may continue to select the 3D volume image of the third ventricle region 830 by rotating and translating the 3D volume image of the third ventricle region 830. Fig. 9B The candidate plane 922 shown in FIG. 1 is used as a new candidate plane. Fig. 9B In the 3D volume image 920 of FIG. 1 , the MSP estimation unit 720 determines that the two parts 920A and 920B are asymmetric with respect to the candidate plane 922 because their shapes are not similar. Therefore, in step 1050, the MSP estimation unit 720 can determine that the two parts 920A and 920B are asymmetric with respect to the candidate plane 922 by rotating and translating Fig. 9C The candidate plane 932 is further selected by using the 3D volume image of the third ventricle region 830 in FIG.

[0083] On the other hand, if it is determined in step 1040 that the candidate plane symmetrically divides the 3D volume image of the third ventricle region, the MSP estimation unit 720 may designate the candidate plane as the MSP in step 1060. Fig. 9C In the example of FIG. 1 , at step 1030, the MSP estimating unit 720 divides the 3D volume image of the third ventricle region 830 into two parts 930A and 930B based on the candidate plane 932, and then, at step 1040, determines that the two parts 930A and 930B are symmetric with respect to the candidate plane 932. Therefore, at step 1060, the candidate plane 932 is designated as the MSP.

[0084] Then, the MSP output unit 730 may output MSP information indicating the MSP in step 1070. In one embodiment, the plane information indicating the MSP may be a set of coordinates or equations defining the MSP, which may include a first coordinate indicating the AC region, a second coordinate indicating the PC region, and a third coordinate indicating a point that defines the MSP together with the first coordinate and the second coordinate.

[0085] In one embodiment, the MSP may be determined for each intersection line between an axial plane and a coronal plane from a segmented 3D volume image (e.g., a 3D mass). For example, the MSP detection unit 170 may use a model fitting tool such as RANSAC to estimate a plane starting from a skeleton of a principal axis plane of a 3D volume image such as the third ventricle region that best fits all midsagittal points. Then, using the intrinsic points obtained from the model fitting tool, the MSP detection unit 170 may use a singular value decomposition (SVD) method to estimate a final plane and designate the final plane as the MSP.

[0086] Although the foregoing methods have been described with respect to specific embodiments, these methods may also be implemented as computer-readable codes on a computer-readable recording medium. The computer-readable recording medium includes any kind of data storage device that can be read by a computer system. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc. In addition, the computer-readable recording medium may be distributed to computer systems connected via a network so that the computer-readable codes may be stored and executed in a distributed manner. In addition, a programmer in the field to which the present invention belongs may easily infer the functional programs, codes, and code segments for implementing the foregoing embodiments.

[0087] Although certain embodiments have been described, these embodiments are provided by way of example only and are not intended to limit the scope of the invention. In fact, the embodiments described herein may be implemented in a variety of other forms. In addition, various omissions, substitutions and changes may be made to the forms of the embodiments described herein without departing from the spirit of the invention. The attached claims and their equivalents are intended to cover such forms or modifications that fall within the scope and spirit of the invention.

Claims

1. A computer-implemented method for determining a midsagittal plane from a plurality of magnetic resonance images of a brain to measure a volume, the method comprising: receiving a plurality of magnetic resonance images; converting the plurality of magnetic resonance images into a 3D volume image defined in a 3D coordinate space; Based on the pre-trained segmentation model, semantic segmentation is performed on the anterior commissure region, the posterior commissure region, and the third ventricle region in the 3D volume image to generate a 3D mask image marked with the anterior commissure region, the posterior commissure region, and the third ventricle region; Based on the labeled 3D mask image, a 3D volume image of the segmented third ventricle region is constructed; and The midsagittal plane was determined based on a 3D volume image of the third ventricle region. Wherein, determining the midsagittal plane comprises: Starting from a skeleton of the 3D volume image of the third ventricle region, dividing the 3D volume image of the third ventricle region into a first portion and a second portion by a candidate plane, wherein the candidate plane includes a line connecting a mass center of an anterior commissure region and a mass center of a posterior commissure region; determining whether the candidate plane symmetrically divides the 3D volume image based on a comparison of a shape of the first portion and a shape of the second portion and a comparison of a number of voxels of the first portion and a number of voxels of the second portion; and After determining that the candidate plane symmetrically divides the 3D volume image, the candidate plane is designated as the midsagittal plane.

2. The method according to claim 1, wherein: Semantic segmentation includes: normalizing a plurality of pixels of each of a plurality of slices of the 3D volumetric image to intensity values ​​within a predetermined range; extracting a plurality of sets of pixels from a central region of interest in each of a plurality of slices of the 3D volumetric image; Segmenting the anterior commissure region, the posterior commissure region, and the third ventricle region of the standardized and extracted 3D volume image based on a pre-trained segmentation model to generate a 3D mask image labeled with the anterior commissure region, the posterior commissure region, and the third ventricle region; determining a centroid of each of the anterior commissure region and the posterior commissure region in the 3D mask image; and In the 3D mask image, the anterior commissure point corresponding to the centroid of the anterior commissure region is marked as the anterior commissure region, and the posterior commissure point corresponding to the centroid of the posterior commissure region is marked as the posterior commissure region.

3. The method according to claim 1, wherein: Determining the midsagittal plane involves: determining, based on the skeleton of the 3D volume image of the third ventricle region, a candidate plane that symmetrically divides the 3D volume image of the third ventricle region; and The candidate plane is designated as the midsagittal plane.

4. The method according to claim 2, further comprising: outputting information indicating the midsagittal plane; and The output is a 3D mask image with the anterior commissure region, posterior commissure region and third ventricle region marked.

5. The method according to claim 4, wherein: The information indicating the median sagittal plane is a set of coordinates or an equation defining the median sagittal plane.

6. The method according to claim 5, wherein: A set of coordinates defining the median sagittal plane includes a first coordinate indicating an anterior commissure region, a second coordinate indicating a posterior commissure region, and a third coordinate indicating a point defining the median sagittal plane with the first and second coordinates.

7. The method according to claim 6, wherein: The first coordinate indicating the anterior commissure region corresponds to the centroid of the anterior commissure region, and the second coordinate indicating the posterior commissure region corresponds to the centroid of the posterior commissure region.

8. The method according to claim 1, wherein: Determining the midsagittal plane involves: Starting from the skeleton of the 3D volume image of the third ventricle region, sequentially dividing the 3D volume image of the third ventricle region by a plurality of candidate planes until it is determined that one of the plurality of candidate planes symmetrically divides the 3D volume image of the third ventricle region; and One of the plurality of candidate planes is designated as the midsagittal plane.

9. The method according to claim 8, wherein: The 3D volume image of the third ventricle region is sequentially divided into: sequentially rotating and translating the 3D volumetric image of the third ventricle region in angular increments relative to a skeleton of the 3D volumetric image of the third ventricle region; and At each rotational and translational position of the 3D volume image, dividing the 3D volume image by one of the candidate planes; determining whether one of the candidate planes symmetrically divides the 3D volumetric image; and After determining that one of the candidate planes symmetrically divides the 3D volume image of the third ventricle region, the candidate plane is designated as the midsagittal plane.

10. An image processing apparatus for determining a mid-sagittal plane from a plurality of magnetic resonance images of a brain by measuring a volume, comprising: Processor, which is configured as: receiving a plurality of magnetic resonance images; converting the plurality of magnetic resonance images into a 3D volume image defined in a 3D coordinate space; Performing semantic segmentation on the anterior commissure region, the posterior commissure region, and the third ventricle region in the 3D volume image based on the pre-trained segmentation model to generate a 3D mask image labeled with the anterior commissure region, the posterior commissure region, and the third ventricle region; Based on the labeled 3D mask image, a 3D mass of the segmented third ventricle region was constructed; Starting from the skeleton of the 3D mass of the third ventricle region, dividing the 3D mass of the third ventricle region into a first portion and a second portion by a candidate plane, wherein the candidate plane includes a line connecting a mass center of the anterior commissure region and a mass center of the posterior commissure region; Determining whether the candidate plane symmetrically divides the 3D blob based on a comparison of a shape of the first portion and a shape of the second portion and a comparison of a number of voxels of the first portion and a number of voxels of the second portion; and After determining that a candidate plane divides the 3D mass symmetrically, the candidate plane is designated as the midsagittal plane.

11. The image processing apparatus according to claim 10, wherein: The processor is configured to perform semantic segmentation by: normalizing a plurality of pixels of each of a plurality of slices of the 3D volumetric image to intensity values ​​within a predetermined range; extracting a plurality of sets of pixels from a central region of interest in each of a plurality of slices of the 3D volumetric image; segmenting the anterior commissure region, the posterior commissure region, and the third ventricle region of the standardized and extracted 3D volume image based on a pre-trained segmentation model to generate a 3D mask image labeled with the anterior commissure region, the posterior commissure region, and the third ventricle region; determining a centroid of each of an anterior commissure region and a posterior commissure region in the 3D mask image; and In the 3D mask image, the anterior commissure point corresponding to the centroid of the anterior commissure region is marked as the anterior commissure region, and the posterior commissure point corresponding to the centroid of the posterior commissure region is marked as the posterior commissure region.

12. The image processing apparatus according to claim 10, wherein: The processor is configured to determine the midsagittal plane by: determining a candidate plane that symmetrically divides the 3D blob of the third ventricle region based on the skeleton of the 3D blob of the third ventricle region; and The candidate plane is designated as the midsagittal plane.

13. The image processing apparatus according to claim 12, wherein the processor is further configured to: outputting information indicative of the midsagittal plane; and Output a 3D mask image with the anterior commissure region, posterior commissure region and third ventricle region marked.

14. The image processing apparatus according to claim 13, wherein: The information indicating the median sagittal plane is a set of coordinates or an equation defining the median sagittal plane.

15. The image processing apparatus according to claim 14, wherein: A set of coordinates defining the median sagittal plane includes a first coordinate indicating an anterior commissure region, a second coordinate indicating a posterior commissure region, and a third coordinate indicating a point defining the median sagittal plane with the first and second coordinates.

16. The image processing apparatus according to claim 15, wherein: The first coordinate indicating the anterior commissure region corresponds to the centroid of the anterior commissure region, and the second coordinate indicating the posterior commissure region corresponds to the centroid of the posterior commissure region.

17. The image processing apparatus according to claim 10, wherein: The processor is configured to determine the midsagittal plane by: Starting from the skeleton of the 3D volume image of the third ventricle region, sequentially dividing the 3D mass of the third ventricle region by a plurality of candidate planes until it is determined that one of the plurality of candidate planes symmetrically divides the 3D mass of the third ventricle region; and One of the plurality of candidate planes is designated as the midsagittal plane.

18. A non-transitory computer readable storage medium comprising instructions for determining a midsagittal plane from a plurality of magnetic resonance images of a brain to measure a volume, the instructions causing a processor to: receiving a plurality of magnetic resonance images; converting the plurality of magnetic resonance images into a 3D volume image defined in a 3D coordinate space; Based on the pre-trained segmentation model, semantic segmentation is performed on the anterior commissure region, the posterior commissure region, and the third ventricle region in the 3D volume image to generate a 3D mask image marked with the anterior commissure region, the posterior commissure region, and the third ventricle region; Based on the labeled 3D mask image, a 3D volume image of the segmented third ventricle region is constructed; and The midsagittal plane was determined based on a 3D volume image of the third ventricle region. Wherein, the operation of determining the midsagittal plane includes: Starting from a skeleton of the 3D volume image of the third ventricle region, dividing the 3D volume image of the third ventricle region into a first portion and a second portion by a candidate plane, wherein the candidate plane includes a line connecting a mass center of an anterior commissure region and a mass center of a posterior commissure region; determining whether the candidate plane symmetrically divides the 3D volume image based on a comparison of a shape of the first portion and a shape of the second portion and a comparison of a number of voxels of the first portion and a number of voxels of the second portion; and After determining that the candidate plane symmetrically divides the 3D volume image, the candidate plane is designated as the midsagittal plane.

19. The medium according to claim 18, wherein Semantic segmentation includes: normalizing a plurality of pixels of each of a plurality of slices of the 3D volumetric image to intensity values ​​within a predetermined range; extracting a plurality of sets of pixels from a central region of interest in each of a plurality of slices of the 3D volumetric image; Segmenting the anterior commissure region, the posterior commissure region, and the third ventricle region of the standardized and extracted 3D volume image based on a pre-trained segmentation model to generate a 3D mask image labeled with the anterior commissure region, the posterior commissure region, and the third ventricle region; determining a centroid of each of the anterior commissure region and the posterior commissure region in the 3D mask image; and In the 3D mask image, the anterior commissure point corresponding to the centroid of the anterior commissure region is marked as the anterior commissure region, and the posterior commissure point corresponding to the centroid of the posterior commissure region is marked as the posterior commissure region.

20. The medium of claim 18, wherein: Determining the midsagittal plane involves: determining, based on the skeleton of the 3D volume image of the third ventricle region, a candidate plane that symmetrically divides the 3D volume image of the third ventricle region; and The candidate plane is designated as the midsagittal plane.

21. The medium of claim 18, further comprising: outputting information indicating the midsagittal plane; and The output is a 3D mask image with the anterior commissure region, posterior commissure region and third ventricle region marked.

22. The medium according to claim 21, wherein The information indicating the median sagittal plane is a set of coordinates or an equation defining the median sagittal plane.

23. The medium of claim 22, wherein: A set of coordinates defining the median sagittal plane includes a first coordinate indicating an anterior commissure region, a second coordinate indicating a posterior commissure region, and a third coordinate indicating a point defining the median sagittal plane with the first and second coordinates.

24. The medium of claim 18, wherein: Determining the midsagittal plane involves: Starting from a skeleton of the 3D volume image of the third ventricle region, sequentially dividing the 3D volume image of the third ventricle region by a plurality of candidate planes until it is determined that one of the plurality of candidate planes symmetrically divides the 3D volume image of the third ventricle region; and designating one of the plurality of candidate planes as a midsagittal plane.