CN115249290A - Spatial data processing method, spatial positioning method and equipment for unilateral temporal bone - Google Patents
Spatial data processing method, spatial positioning method and equipment for unilateral temporal bone Download PDFInfo
- Publication number
- CN115249290A CN115249290A CN202210657336.XA CN202210657336A CN115249290A CN 115249290 A CN115249290 A CN 115249290A CN 202210657336 A CN202210657336 A CN 202210657336A CN 115249290 A CN115249290 A CN 115249290A
- Authority
- CN
- China
- Prior art keywords
- plane
- point
- model
- bone
- unilateral
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
- 210000003582 temporal bone Anatomy 0.000 title claims abstract description 110
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000003672 processing method Methods 0.000 title claims abstract description 17
- 210000002480 semicircular canal Anatomy 0.000 claims abstract description 146
- 210000000988 bone and bone Anatomy 0.000 claims abstract description 128
- 230000002146 bilateral effect Effects 0.000 claims abstract description 20
- 230000001720 vestibular Effects 0.000 claims description 18
- 239000013598 vector Substances 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 10
- 230000004044 response Effects 0.000 claims description 9
- 230000001960 triggered effect Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 9
- 210000003484 anatomy Anatomy 0.000 description 7
- 238000011160 research Methods 0.000 description 6
- 210000003625 skull Anatomy 0.000 description 6
- 238000002591 computed tomography Methods 0.000 description 5
- 210000001699 lower leg Anatomy 0.000 description 4
- 238000010801 machine learning Methods 0.000 description 4
- 238000003062 neural network model Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 210000000056 organ Anatomy 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 239000003708 ampul Substances 0.000 description 1
- 210000001367 artery Anatomy 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 210000004204 blood vessel Anatomy 0.000 description 1
- 210000004004 carotid artery internal Anatomy 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 210000003027 ear inner Anatomy 0.000 description 1
- 210000000256 facial nerve Anatomy 0.000 description 1
- 210000003128 head Anatomy 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 210000000103 occipital bone Anatomy 0.000 description 1
- 210000003455 parietal bone Anatomy 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 230000000306 recurrent effect Effects 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 210000002474 sphenoid bone Anatomy 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000001356 surgical procedure Methods 0.000 description 1
- 238000003325 tomography Methods 0.000 description 1
- 210000000752 vestibulocochlear nerve Anatomy 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
- G06T7/68—Analysis of geometric attributes of symmetry
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
- G06T7/73—Determining position or orientation of objects or cameras using feature-based methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2200/00—Indexing scheme for image data processing or generation, in general
- G06T2200/04—Indexing scheme for image data processing or generation, in general involving 3D image data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10072—Tomographic images
- G06T2207/10081—Computed x-ray tomography [CT]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20084—Artificial neural networks [ANN]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30004—Biomedical image processing
- G06T2207/30008—Bone
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2210/00—Indexing scheme for image generation or computer graphics
- G06T2210/41—Medical
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Mathematical Optimization (AREA)
- Mathematical Analysis (AREA)
- Computational Mathematics (AREA)
- Pure & Applied Mathematics (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Computer Graphics (AREA)
- Software Systems (AREA)
- Apparatus For Radiation Diagnosis (AREA)
- Image Analysis (AREA)
Abstract
本申请实施例提供一种针对单侧颞骨的空间数据处理方法、空间定位方法及设备。该方案在基于第一三维重建模型中双侧对称外半规管骨管模型确定出参照线面角,及基于第二三维重建模型中单侧外半规管骨管模型的体素点信息确定出第一横轴面后,可根据单侧外半规管骨管模型的第一中心线的端点在第一横轴面上的第一垂点、第一横轴面及参照线面角,确定出坐标原点及处于单侧外半规管骨管模型一侧的第一矢状面;进一步地,可以根据第一横轴面及第一矢状面确定出冠状面,从而也就能够基于坐标原点、第一横轴面、第一矢状面及冠状面建立出单侧颞骨空间坐标系,以使得参照单侧颞骨空间坐标系能更加精确的标定出单侧颞骨影像图中一点的坐标,以展示给用户。
Embodiments of the present application provide a spatial data processing method, a spatial positioning method, and a device for a unilateral temporal bone. In this solution, the reference plane angle is determined based on the bilateral symmetric lateral semicircular canal bone canal model in the first three-dimensional reconstruction model, and the first lateral surface angle is determined based on the voxel point information of the unilateral lateral semicircular canal bone canal model in the second three-dimensional reconstruction model. After the axial plane, the origin of the coordinates and the angle of the reference line can be determined according to the first vertical point of the end point of the first center line of the bone canal model of the unilateral lateral semicircular canal on the first transverse plane, the first transverse plane and the plane angle of the reference line. The first sagittal plane on one side of the unilateral lateral semicircular canal bone canal model; further, the coronal plane can be determined according to the first transverse plane and the first sagittal plane, so that the origin of the coordinates and the first transverse plane can also be determined. , The first sagittal plane and coronal plane establish a unilateral temporal bone spatial coordinate system, so that the coordinates of a point in the unilateral temporal bone image map can be more accurately calibrated with reference to the unilateral temporal bone spatial coordinate system to display to the user.
Description
技术领域technical field
本申请涉及计算机技术领域,尤其涉及一种针对单侧颞骨的空间数据处理方法、空间定 位方法及设备。The present application relates to the field of computer technology, in particular to a spatial data processing method, spatial positioning method and equipment for unilateral temporal bone.
背景技术Background technique
头颅是人体重要组成部分,其内含有成对的、位于头颅左右两侧的两块颞骨,即左侧颞 骨和右侧颞骨。颞骨是人体骨骼中结构和功能最精细、最复杂的骨结构,内涵有重要的听觉 系统、血管、动脉等精细结构。在相关的手术过程中,通常要求医生不但具有丰富手术经验 和技巧,同时还必须对颞骨解剖拥有全面、透彻的认识,以免在手术中对颞骨内部的精细结 构造成损伤。目前,医生主要是通过颞骨的三维重建模型来提高对颞骨的认识与其相关的手 术技能。而在研究颞骨的三维模型过程中,常需要依据一空间坐标系来分析颞骨结构或空间 点的绝对定位问题。The skull is an important part of the human body, which contains a pair of two temporal bones located on the left and right sides of the skull, namely the left temporal bone and the right temporal bone. The temporal bone is the most delicate and complex bone structure in terms of structure and function in human bones, and contains important fine structures such as the auditory system, blood vessels, and arteries. In the relevant surgical procedures, doctors are usually required not only to have rich surgical experience and skills, but also to have a comprehensive and thorough understanding of the anatomy of the temporal bone, so as to avoid damage to the fine structure inside the temporal bone during the operation. At present, doctors mainly use the three-dimensional reconstruction model of the temporal bone to improve their understanding of the temporal bone and its related surgical skills. In the process of studying the three-dimensional model of the temporal bone, it is often necessary to analyze the absolute positioning of the temporal bone structure or spatial points based on a spatial coordinate system.
现有技术中,多研究的是双侧对称颞骨(即左侧颞骨和右侧颞骨在头颅内呈对称分布) 空间坐标系的建立,缺乏对单侧称颞骨空间坐标系的建立研究。In the prior art, much research has been done on the establishment of a spatial coordinate system for bilaterally symmetrical temporal bones (ie, the left and right temporal bones are symmetrically distributed in the skull), but there is a lack of research on the establishment of a spatial coordinate system for unilateral temporal bones.
发明内容SUMMARY OF THE INVENTION
鉴于上述问题,本申请提供一种解决上述问题或至少部分地解决上述问题的针对单 侧颞骨的空间数据处理方法、空间定位方法及设备。In view of the above problems, the present application provides a spatial data processing method, spatial positioning method and equipment for unilateral temporal bone that solve the above problems or at least partially solve the above problems.
在本申请的一个实施例中,提供了一种针对单侧颞骨的空间数据处理方法。该方法 包括:In one embodiment of the present application, a spatial data processing method for unilateral temporal bone is provided. The method includes:
基于第一三维重建模型中双侧对称外半规管骨管模型,确定参照线面角;Based on the bone canal model of the bilaterally symmetrical outer semicircular canal in the first three-dimensional reconstruction model, determine the plane angle of the reference line;
获取第二三维重建模型中单侧外半规管骨管模型的体素点信息,以基于所述体素点 信息确定第一横轴面;Obtaining voxel point information of the unilateral lateral semicircular canal bone canal model in the second three-dimensional reconstruction model, so as to determine the first transverse axis plane based on the voxel point information;
确定所述单侧外半规管骨管模型的第一中心线的端点在第一横轴面上的第一垂点;determining the first perpendicular point of the end point of the first centerline of the unilateral lateral semicircular canal bone canal model on the first transverse plane;
根据所述第一垂点、所述第一横轴面及所述参照线面角,确定第一矢状面及坐标原 点;其中,所述第一矢状面处于所述单侧外半规管骨管模型一侧;According to the first vertical point, the first transverse plane and the angle of the reference line, determine the first sagittal plane and the coordinate origin; wherein, the first sagittal plane is located in the unilateral outer semicircular canal bone pipe model side;
根据所述第一横轴面及所述第一矢状面,确定冠状面;determining a coronal plane according to the first transverse plane and the first sagittal plane;
基于所述坐标原点、所述第一横轴面、所述第一矢状面及所述冠状面,建立单侧颞骨空间坐标系,以便于参照所述单侧颞骨空间坐标系标定单侧颞骨影像图中一点的坐标,用以展示给用户。Establish a unilateral temporal bone spatial coordinate system based on the coordinate origin, the first transverse axis plane, the first sagittal plane, and the coronal plane, so as to calibrate the unilateral temporal bone with reference to the unilateral temporal bone spatial coordinate system The coordinates of a point in the image map are used to display to the user.
在本申请的另一实施例中,提供了一种空间定位方法。该方法包括:In another embodiment of the present application, a spatial positioning method is provided. The method includes:
获取并显示一单侧颞骨影像图;Obtain and display a unilateral temporal bone image;
响应于用户针对所述单侧颞骨影像图中的一待标定点触发的获取请求,利用所述单 侧颞骨空间坐标系,确定所述待标定点的坐标值;其中,所述单侧颞骨空间坐标系为通过本申请一实施例提供的针对单侧颞骨的空间数据处理方法建立的坐标系;In response to an acquisition request triggered by the user for a point to be calibrated in the unilateral temporal bone image map, using the unilateral temporal bone space coordinate system to determine the coordinate value of the point to be calibrated; wherein, the unilateral temporal bone space The coordinate system is a coordinate system established by the spatial data processing method for unilateral temporal bone provided by an embodiment of the present application;
在所述单侧颞骨影像图中,将所述坐标值与所述待标定点进行关联显示,以供用户 基于所述坐标值执行与所述待标定点相关的操作。In the unilateral temporal bone image map, the coordinate values are displayed in association with the points to be marked, so that users can perform operations related to the points to be marked based on the coordinate values.
在本申请的一个实施例中,提供了一种电子设备。该电子设备包括:存储器和处理器,其中,所述存储器,用于存储一条或多条计算机程序;所述处理器,与所述存储器 耦合,用于执行所述存储器中存储的所述一条或多条计算机程序,以用于实现上述本申 请实施例提供的针对单侧颞骨的空间数据处理方法中的步骤或者空间定位方法中的步骤。In one embodiment of the present application, an electronic device is provided. The electronic device includes: a memory and a processor, wherein the memory is used to store one or more computer programs; the processor is coupled to the memory and is used to execute the one or more computer programs stored in the memory. A plurality of computer programs are used to implement the steps in the spatial data processing method for unilateral temporal bone or the steps in the spatial positioning method provided in the above embodiments of the present application.
本申请各实施例提供的技术方案,在基于第一三维重建模型中双侧对称外半规管骨 管模型确定出参照线面角,以及基于第二三维重建模型中单侧外半规管骨管模型的体素 点信息确定出第一横轴面的基础上,可以根据单侧外半规管骨管模型的第一中心线的端 点在第一横轴面上的第一垂点、第一横轴面及参照线面角,来确定出坐标原点及处于单侧外半规管骨管模型一侧的第一矢状面;进一步地,也就可以根据第一横轴面及第一矢 状面确定出冠状面,从而也就能够基于坐标原点、第一横轴面、第一矢状面及冠状面建 立出单侧颞骨空间坐标系,以使得参照单侧颞骨空间坐标系能更加精确的标定出单侧颞 骨影像图中一点的坐标,以展示给用户(如临床医生),即换句话也就是说,用户在触 发了针对单侧颞骨影像图中某一待标定点的获取请求后,便能自动的利用单侧颞骨空间 坐标系确定出该待标定点的坐标值,并将坐标值与单侧颞骨影像图中的待标定点关联显 示处理,用户可以很直观的看到该待标定点的精确位置,这为后续的医学研究提供了良 好的基础。综上,本方案所建立的单侧颞骨空间坐标系,可以有效解决单侧颞骨结构或 空间点的绝对定位问题,以便于为研究颞骨空间位置建立基础。According to the technical solution provided by each embodiment of the present application, the reference line-plane angle is determined based on the bilateral symmetric external semicircular canal bone canal model in the first three-dimensional reconstruction model, and the volume of the unilateral external semicircular canal bone canal model in the second three-dimensional reconstruction model is determined. On the basis of determining the first transverse axis plane based on the prime point information, the first vertical point on the first transverse axis plane of the endpoint of the first center line of the unilateral lateral semicircular canal bone canal model, the first transverse axis plane and the reference Line-plane angle to determine the coordinate origin and the first sagittal plane on one side of the unilateral lateral semicircular canal bone canal model; further, the coronal plane can also be determined according to the first transverse axis plane and the first sagittal plane, Therefore, a unilateral temporal bone spatial coordinate system can be established based on the coordinate origin, the first transverse axis plane, the first sagittal plane and the coronal plane, so that the unilateral temporal bone image can be more accurately calibrated with reference to the unilateral temporal bone spatial coordinate system The coordinates of a point in the picture are displayed to the user (such as a clinician). In other words, after the user triggers a request for a certain point to be calibrated in the unilateral temporal bone image, the user can automatically use the The unilateral temporal bone spatial coordinate system determines the coordinate value of the point to be calibrated, and correlates the coordinate value with the point to be calibrated in the image of the unilateral temporal bone for display processing. The user can intuitively see the precise position of the point to be calibrated. This provides a good foundation for subsequent medical research. In summary, the unilateral temporal bone spatial coordinate system established by this program can effectively solve the problem of absolute positioning of unilateral temporal bone structures or spatial points, so as to establish a basis for the study of temporal bone spatial position.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术 描述中所需要利用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些 实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附 图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings that need to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本申请一实施例提供的包含半规管骨管模型的颞骨模型的结构示意图;Fig. 1 is a schematic structural view of a temporal bone model comprising a semicircular canal bone model provided by an embodiment of the present application;
图2为本申请一实施例提供的人体解剖学中对应的矢状面、横轴面及冠状面这三面的 结构示意图;Fig. 2 is a structural representation of the corresponding sagittal plane, transverse axis plane and coronal plane in the human anatomy provided by an embodiment of the present application;
图3为本申请一实施例提供的针对单侧颞骨的空间数据处理方法的流程示意图;FIG. 3 is a schematic flowchart of a spatial data processing method for unilateral temporal bone provided by an embodiment of the present application;
图4为本申请一实施例提供的计算机断层扫描系统;Fig. 4 is a computed tomography system provided by an embodiment of the present application;
图5为本申请一实施例提供的双侧半规管骨管模型各自对应的中心线的结构示意图;Fig. 5 is a structural schematic diagram of the respective centerlines of the bilateral semicircular canal bone canal models provided by an embodiment of the present application;
图6为本申请一实施例提供包括双侧半规管骨管模型各自对应的中心线、第二横轴面及 第二矢状面的俯视图;Fig. 6 provides a top view including the respective centerlines, the second transverse axis plane and the second sagittal plane of the bilateral semicircular canal bone canal model according to an embodiment of the present application;
图7为本申请一实施例提供的包含单侧半规管骨管结构的二维断面扫描影像图;Fig. 7 is a two-dimensional cross-sectional scanning image of the bony canal structure including the unilateral semicircular canal provided by an embodiment of the present application;
图8为本申请一实施例提供包括单侧半规管骨管模型的第一中心线、以及第一横轴面和 第一矢状面第的俯视图;Fig. 8 provides an embodiment of the present application including the first centerline of the unilateral semicircular canal bone canal model, and a top view of the first transverse plane and the first sagittal plane;
图9为本申请一实施例提供的空间定位方法的流程示意图;FIG. 9 is a schematic flowchart of a spatial positioning method provided by an embodiment of the present application;
图10为本申请一实施例提供的针对单侧颞骨的空间数据处理装置的结构示意图;Fig. 10 is a schematic structural diagram of a spatial data processing device for unilateral temporal bone provided by an embodiment of the present application;
图11为本申请一实施例提供的空间定位装置的结构示意图;Fig. 11 is a schematic structural diagram of a space positioning device provided by an embodiment of the present application;
图12为本申请一实施例提供的电子设备的结构示意图。FIG. 12 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
在介绍本申请各实施例提供的技术方案之前,先对本文中涉及到专有名词进行简单 的介绍。Before introducing the technical solutions provided by the various embodiments of this application, a brief introduction will be made to the proper nouns involved in this article.
颞骨:属于颅骨中成对的脑颅骨之一,位于头颅的左右两侧,界于蝶骨、顶骨及枕骨之间,体积小且形状不规则,内部结构及毗邻关系复杂,内藏有位觉器、听觉器、面 神经、前庭蜗神经及颈内动脉,是颅骨中最精细、最复杂的结构。Temporal bone: one of the paired cranial bones in the skull. It is located on the left and right sides of the skull, between the sphenoid bone, parietal bone and occipital bone. It is small in size and irregular in shape, with complex internal structures and adjacent relationships. The organ, auditory organ, facial nerve, vestibulocochlear nerve and internal carotid artery are the most delicate and complex structures in the skull.
半规管骨管:是骨迷路的组成部分,为三个相互垂直的半圆形小管。如参见图1示出的一颞骨的结构示意图,该颞骨中包含有三个半规管骨管01,其中,位置最高的半规 管骨管称为前半规管骨管011,位置靠后的半规管骨管称为后半规管骨管012,大致呈水 平位的半规管骨管称为外半规管骨管013。每个半规管骨管均有一个单骨脚和一个壶腹 骨脚,后者在近前庭02处的膨大称骨壶腹,前后半规管骨管的单骨脚合成一总骨脚。Semicircular canal: It is a part of the bony labyrinth, consisting of three semicircular small tubes perpendicular to each other. As shown in Figure 1, a structural schematic diagram of a temporal bone, the temporal bone contains three
矢状面、横轴面及冠状面为解剖学术语,其相关定义可具体参见图2示出的人体解剖学中对应的矢状面、横轴面及冠状面的结构示意图。如图2所示,所述矢状面11是将 人体按前后方向纵切为左、右两部分的所有断面,其中,将人体分为左、右对等两半的 断面被称作正中矢状面;所述横轴面12(又称水平面)是与地平面平行,将人体分为上、 下两部的平面;所述冠状面13(又称额状面)是沿左、右方向将人体纵切为前后两部分的 断面。所述矢状面11、所述横轴面12及所述冠状面13两两相交且相互垂直。The sagittal plane, transverse axis plane and coronal plane are anatomical terms, and their relevant definitions can be specifically referred to the corresponding structural diagrams of the sagittal plane, transverse axis plane and coronal plane in human anatomy shown in FIG. 2 . As shown in Figure 2, the
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附 图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solutions of the present application, the following will clearly and completely describe the technical solutions in the embodiments of the present application in conjunction with the drawings in the embodiments of the present application.
在本申请的说明书、权利要求书及上述附图中描述的一些流程中,包含了按照特定 顺序出现的多个操作,这些操作可以不按照其在本文中出现的顺序来执行或并行执行。操作的序号如101、102等,仅仅是用于区分各个不同的操作,序号本身不代表任何的执 行顺序。另外,这些流程可以包括更多或更少的操作,并且这些操作可以按顺序执行或 并行执行。需要说明的是,本文中的“第一”、“第二”等描述,是用于区分不同的消 息、设备、模块等,不代表先后顺序,也不限定“第一”和“第二”是不同的类型。而 本申请中术语“或/和”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系, 例如:A或/和B,表示可以单独存在A,同时存在A和B,单独存在B这三种情况;本 申请中字符“/”,一般表示前后关联对象是一种“或”关系。还需要说明的是,术语“包 括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要 素的商品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还 包括为这种商品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一 个……”限定的要素,并不排除在包括所述要素的商品或者系统中还存在另外的相同要 素。此外,下述的各实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本 申请中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施 例,都属于本申请保护的范围。Some of the processes described in the specification, claims, and above-mentioned drawings of this application contain multiple operations that appear in a specific order, and these operations may not be executed in the order in which they appear herein or executed in parallel. The serial numbers of operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. Additionally, these processes can include more or fewer operations, and these operations can be performed sequentially or in parallel. It should be noted that the descriptions of "first" and "second" in this article are used to distinguish different messages, devices, modules, etc. are different types. However, the term "or/and" in this application is only an association relationship describing associated objects, indicating that there may be three relationships, such as: A or/and B, indicating that A may exist alone, and A and B may exist simultaneously. There are three cases of B; the character "/" in this application generally indicates that the contextual objects are an "or" relationship. It should also be noted that the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a good or system comprising a set of elements includes not only those elements but also includes items not expressly listed. other elements of the product, or elements inherent in the commodity or system. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the article or system comprising said element. In addition, the following embodiments are only some of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.
图3示出了本申请一实施例提供的针对单侧颞骨的空间数据处理方法的流程示意图。 本申请实施例提供的所述方法的执行主体可以是一装置,所述装置可以为但不限于集成 于智能手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、智能电视、膝上型便携计算机、台式计算机、智能穿戴设备等任意终端设备上的装置。如图3所示, 该针对单侧颞骨的空间数据处理方法包括以下步骤:Fig. 3 shows a schematic flowchart of a spatial data processing method for unilateral temporal bone provided by an embodiment of the present application. The execution body of the method provided in the embodiment of the present application may be a device, and the device may be, but not limited to, integrated in a smart phone, a tablet computer, a PDA (Personal Digital Assistant, a personal digital assistant), a smart TV, a laptop Devices on any terminal equipment such as portable computers, desktop computers, and smart wearable devices. As shown in Figure 3, the spatial data processing method for unilateral temporal bone includes the following steps:
101、基于第一三维重建模型中双侧对称外半规管骨管模型,确定参照线面角;101. Based on the bilaterally symmetrical outer semicircular canal bone canal model in the first three-dimensional reconstruction model, determine the plane angle of the reference line;
102、获取第二三维重建模型中单侧外半规管骨管模型的体素点信息,以基于所述体素 点信息确定第一横轴面;102. Obtain voxel point information of the unilateral lateral semicircular canal bone canal model in the second three-dimensional reconstruction model, so as to determine the first transverse axis plane based on the voxel point information;
103、确定所述单侧外半规管骨管模型的中心线的端点在所述第一横轴面上的第一垂点;103. Determine the first perpendicular point of the end point of the centerline of the unilateral lateral semicircular canal model on the first transverse axis plane;
104、根据所述第一垂点、所述第一横轴面及所述参照线面角,确定第一矢状面及坐标 原点;其中,所述第一矢状面处于所述单侧外半规管骨管模型一侧;104. Determine the first sagittal plane and the origin of coordinates according to the first vertical point, the first transverse axis plane, and the angle of the reference line; wherein, the first sagittal plane is located outside the unilateral One side of the semicircular canal bone model;
105、根据所述第一横轴面及所述第一矢状面,确定冠状面;105. Determine a coronal plane according to the first transverse plane and the first sagittal plane;
106、基于所述坐标原点、所述第一横轴面、所述第一矢状面及所述冠状面,建立单侧颞骨空间坐标系,以便于参照所述单侧颞骨空间坐标系标定单侧颞骨影像图中一点的坐标,用以展示给用户。106. Based on the coordinate origin, the first transverse axis plane, the first sagittal plane and the coronal plane, establish a unilateral temporal bone spatial coordinate system, so as to refer to the unilateral temporal bone spatial coordinate system to calibrate the unit The coordinates of a point in the image of the lateral temporal bone, used to display to the user.
上述101中,第一三维重建模型可以是基于一系列从不同角度针对双侧对称外半规 管骨管采集到的多个二维断层图像,利用现有三维重建技术(如3D打印机、三维重建软件)通过对多个二维断面图像图进行相关处理而获得的。具体地,可通过以下相关处理 步骤来获得:In the above 101, the first three-dimensional reconstruction model can be based on a series of multiple two-dimensional tomographic images collected from different angles for the bilateral symmetrical outer semicircular canal bone canal, using existing three-dimensional reconstruction technology (such as 3D printer, three-dimensional reconstruction software) It is obtained by correlating multiple two-dimensional cross-sectional image maps. Specifically, it can be obtained through the following related processing steps:
001、获取针对双侧对称外半规管骨管采集到的多个图像;001. Acquiring multiple images of bilateral symmetrical external semicircular canals;
002、对所述多个图像进行图像识别,以获得所述双侧对称外半规管骨管的三维建模 参数;002. Perform image recognition on the multiple images to obtain the three-dimensional modeling parameters of the bilaterally symmetrical outer semicircular canal;
003、基于所述三维建模参数,构建所述第一三维重建模型。003. Based on the 3D modeling parameters, construct the first 3D reconstruction model.
具体实施时,上述多个图像可以是双侧对称外半规管骨管的多个第一断层扫描影像 图,第一断层扫描影像图可以是从存档数据库中存储的供医学研究的基础数据中获得。具体实施时,多个第一断层扫描影像图可以是通过外部设备导入本实施例提供的方法执行主体的,其中,外部设备导入可以为但不限于:存储有存档数据的服务器,存储介质 (如U盘、移动硬盘等)、扫描设备(如图4示出的CT扫描设备10)。进一步地,在 获得多个断层扫描影像图后,可以利用人工智能的方式,比如预先训练好的机器学习模 型(如神经网络模型),对多个断层扫描影像图进行图像识别以获得相应的三维建模参 数,从而基于三维建模参数来构建所述第一三维重建模型。基于上述内容,上述步骤 001~003所描述的方案,还可以表征为如下步骤:During specific implementation, the above-mentioned multiple images may be a plurality of first tomographic images of bilaterally symmetrical outer semicircular canal bone canals, and the first tomographic images may be obtained from basic data stored in an archive database for medical research. During specific implementation, the plurality of first tomographic images may be imported into the subject performing the method provided in this embodiment through an external device, wherein the import of the external device may be, but not limited to: a server storing archived data, a storage medium (such as U disk, mobile hard disk, etc.), scanning equipment (such as the
004、接收外部设备导入的重建所述第一三维模型所需的多个第一断层扫描影像图。004. Receive a plurality of first tomographic images imported by an external device and required to reconstruct the first three-dimensional model.
005、利用预先训练好的机器学习模型,对所述多个第一断层扫描影像图进行处理, 以获得三维建模参数;005. Using a pre-trained machine learning model, process the plurality of first tomographic images to obtain three-dimensional modeling parameters;
006、基于所述三维建模参数,构建所述第一三维重建模型。006. Based on the 3D modeling parameters, construct the first 3D reconstruction model.
具体实施时,机器学习模型可以为但不限于神经网络模型,比如深度学习神经网络 模型、循环神经网络模型等。获得的三维建模参数可以为三维几何元素的大小(如长度、半径、角度)、位置、方向、形状等。在构建第一三维重建模型时,可以采用调用相应 的建模软件(如CAD、),由人工手动根据三维建模参数在建模软件提供的三维建模交 互空间中进行建模;或者,也可以直接调用所开发的建模程序,将三维建模参数作为建 模程序的输入,通过执行建模程序进行自动建模,此处不作限定。During specific implementation, the machine learning model may be, but not limited to, a neural network model, such as a deep learning neural network model, a recurrent neural network model, and the like. The obtained 3D modeling parameters may be the size (such as length, radius, angle), position, direction, shape, etc. of the 3D geometric elements. When constructing the first 3D reconstruction model, corresponding modeling software (such as CAD) can be called, and the modeling can be performed manually in the 3D modeling interactive space provided by the modeling software according to the 3D modeling parameters; or, The developed modeling program can be called directly, and the three-dimensional modeling parameters can be used as the input of the modeling program, and automatic modeling can be performed by executing the modeling program, which is not limited here.
结合图4举一示例。参见图4示出的计算机断层扫描系统(即CT系统),用户(如 扫描设备操作者)可通过终端设备20(也可称为计算机操作控制台)来设置CT扫描设 备10的扫描参数,比如层厚、扫描方式、矩阵、管电流、管电流量等,进而控制CT扫 描设备对志愿者进行扫描,获取针对所述双侧外半规管骨管采集到的多个断面的数据信 息。之后,CT扫描设备会将数据信息发送至终端设备20,由终端设备20对数据信息进 行处理得到相应的多个断层扫描影像图;多个断层扫描影像图可显示在终端设备20的显 示器上,也可以被拍成照片通过打印设备30打印出来或通过网络传输到其他显示终端, 以便于供其他人员进一步分析处理。另外,用户也可以通过终端设备20上的应用(如三 维重建软件),利用其内涵的机器学习模型对多个断层扫描影像图进行识别以获得相应的 三维建模参数,从而基于该三维建模参数来自动构建第一三维重建模型。An example is given in conjunction with FIG. 4 . Referring to the computerized tomography system (i.e. CT system) shown in FIG. 4 , the user (such as the operator of the scanning device) can set the scanning parameters of the
在一种可实现的技术方案中,上述101“基于第一三维重建模型中双侧对称外半规管骨管模型,确定参照线面角”,可具体包括:In an achievable technical solution, the above-mentioned 101 "determine the reference line-plane angle based on the bilaterally symmetrical outer semicircular canal bone canal model in the first three-dimensional reconstruction model" may specifically include:
1011、基于所述双侧对称外半规管骨管模型,确定第二矢状面及第二横轴面;其中, 所述双侧对称外半规管骨管模型包括:左侧外半规管骨管模型、右侧外半规管骨管模型, 所述第二矢状面为过所述左侧外半规管骨管模型对应的最外侧点与所述右侧外半规管骨 管模型对应的最外侧点连线的中点且与所述连线垂直的正中平面;所述第二横轴面与所 述第二矢状面垂直,且所述双侧对称外半规管骨管模型上所有体素点到所述第二横轴面 的距离和最小;1011. Based on the bilaterally symmetrical external semicircular canal bone canal model, determine the second sagittal plane and the second transverse axis plane; wherein, the bilaterally symmetrical external semicircular canal bone canal model includes: left external semicircular canal bone canal model, right The bone canal model of the lateral semicircular canal, the second sagittal plane is the midpoint of the line passing through the outermost point corresponding to the left lateral semicircular canal bone canal model and the outermost point corresponding to the right lateral semicircular canal bone canal model And the median plane perpendicular to the connecting line; the second transverse axis plane is perpendicular to the second sagittal plane, and all voxel points on the bilaterally symmetrical outer semicircular canal bone canal model reach the second transverse axis The distance and minimum of the axial surface;
1012、确定所述左侧外半规管骨管模型的第二中心线的两个第二左端点在所述第二 横轴面上的两个第二左垂点,以及所述右侧外半规管骨管模型的第三中心线的两个第二 右端点在所述第二横轴面上的两个第二右垂点;1012. Determine the two second left vertical points of the two second left endpoints of the second centerline of the left lateral semicircular canal bone model on the second transverse plane, and the right lateral semicircular canal bone Two second right vertical points of the two second right end points of the third center line of the pipe model on the second transverse axis plane;
1013、获取所述两个第二左垂点连线与所述第二矢状面的第一线面角,以及所述两 个第二右垂点与所述第二矢状面的第二线面角;1013. Acquire the first line-plane angle between the two second left perpendicular points and the second sagittal plane, and the second line between the two second right perpendicular points and the second sagittal plane face angle;
1014、将所述第一线面角或所述第二线面角作为所述参照线面角;其中,所述第一线面角与所述第二线面角大小相等。1014. Use the first line angle or the second line angle as the reference line angle; wherein, the first line angle is equal to the second line angle.
上述101中,在一具体实施例中,左侧外半规管骨管模型和右侧外半规管骨管模型各自 对应的最外侧点,可以是但不限于基于左侧外半规管骨管模型及右侧外半规管骨管模型各自 对应的中心线进行确定的,具体地,可以采用如下步骤来确定:In the above 101, in a specific embodiment, the outermost points corresponding to the bone canal model of the left lateral semicircular canal and the bone canal model of the right lateral semicircular canal can be, but not limited to, based on the bone canal model of the left lateral semicircular canal and the right lateral The corresponding centerlines of the semicircular canal bone canal models are determined. Specifically, the following steps can be used to determine:
1010、获取所述左侧外半规管骨管模型的第二中心线及所述右侧外半规管骨管模型的第 三中心线;1010. Obtain the second centerline of the left lateral semicircular canal bone canal model and the third centerline of the right lateral semicircular canal bone canal model;
1011、在所述第二中心线上,获取一左侧点;1011. Acquire a left point on the second center line;
1012、在所述第三中心线上,获取一右侧点;1012. Acquire a right point on the third center line;
1013、基于所述左侧点及所述右侧点,确定参照面;1013. Determine a reference plane based on the left point and the right point;
1014、在所述第二中心线上,查找距所述参照面最远的点作为所述左侧点;1014. On the second centerline, find the point farthest from the reference surface as the left point;
1015、在所述第三中心线上,查找距所述参照面最远的点作为所述右侧点;1015. On the third center line, find the point farthest from the reference surface as the right point;
1016、基于步骤1014中查找的左侧点以及步骤1015中查找到的右侧点,重新确定所述 参照面;1016. Based on the left point found in step 1014 and the right point found in step 1015, re-determine the reference plane;
1017、重复步骤1014~1016,直至找到最优的左侧点及右侧点;1017. Repeat steps 1014-1016 until the optimal left and right points are found;
1018、将所述最优的左侧点及所述最优的右侧点,分别作为所述双侧外半规管骨管模型 各自对应的最外侧点;其中,所述最优的左侧点为所述左侧外半规管骨管模型对应的左最外 侧点;所述最优的右侧点为所述右侧外半规管骨管模型对应的右最外侧点。1018. Use the optimal left point and the optimal right point as the outermost points corresponding to the bilateral lateral semicircular canal bone canal models respectively; wherein, the optimal left point is The left outermost point corresponding to the left outer semicircular canal bone canal model; the optimal right point is the right outermost point corresponding to the right outer semicircular canal bone canal model.
上述1010中,由于双侧外半规管骨管模型为半圆形小管,其可以看作由一固定半径的半 球体沿某一曲线(即中心线)滚动而形成的半圆形管道。因此,获取双侧外半规管骨管模型各 自对应的中心线时,可以基于其各自对应的多个横截面来获得。即,在一具体可实现的方案 中,上述1010中“获取所述左侧外半规管骨管模型的第二中心线”,具体可以采用如下方式:In the above-mentioned 1010, since the bone canal model of the bilateral external semicircular canal is a semicircular small canal, it can be regarded as a semicircular canal formed by rolling a hemisphere with a fixed radius along a certain curve (ie, the center line). Therefore, when obtaining the respective centerlines of the bilateral lateral semicircular canal bone canal models, they can be obtained based on their corresponding multiple cross-sections. That is, in a specific and achievable solution, "acquire the second centerline of the left lateral semicircular canal bone canal model" in the above-mentioned 1010, specifically, the following methods can be adopted:
10101、获取所述左侧外半规管骨管模型的多个横截面的中心点坐标;10101. Obtain the center point coordinates of multiple cross-sections of the left lateral semicircular canal bone canal model;
10102、基于所述多个横截面的中心点坐标,生成所述左侧外半规管骨管模型对应的第二 中心线;10102. Based on the coordinates of the center points of the plurality of cross-sections, generate a second centerline corresponding to the bone canal model of the left lateral semicircular canal;
具体实施时,上述中心点坐标可通过对多个横截面进行中心点采样获得,其中,采样频 率可以根据实际情况灵活设置,此处不作限定。基于所述中心点坐标,即可拟合出左侧外半 规管骨管模型对应的第二中心线。其中,因左侧外半规管骨管模型为半圆形小管,故所拟合 出的第二中心线应接近于半圆弧。During specific implementation, the above-mentioned center point coordinates can be obtained by sampling the center points of multiple cross-sections, wherein the sampling frequency can be flexibly set according to the actual situation, which is not limited here. Based on the center point coordinates, the second centerline corresponding to the bone canal model of the left lateral semicircular canal can be fitted. Among them, because the bone canal model of the left lateral semicircular canal is a semicircular small canal, the fitted second centerline should be close to a semicircular arc.
同理,上述1010中“获取所述右侧外半规管骨管模型的第三中心线”的具体实现,可以 参见上述步骤10101及10102,此处就不再做具体赘述。Similarly, for the specific implementation of "obtaining the third centerline of the right lateral semicircular canal bone canal model" in the above step 1010, refer to the above steps 10101 and 10102, and will not be described in detail here.
图5中示出了的左侧外半规管骨管模型对应的第二中心线22及右侧外半规管骨管模型对 应的第三中心线23。The
下面结合图5,基于上述步骤1011~10108所描述的内容,举一具体示例以说明一下左侧 外半规管骨管模型和右侧外半规管骨管模型各自对应的最外侧点的确定过程。具体地,Next, in conjunction with Fig. 5, based on the content described in the above steps 1011-10108, a specific example is given to illustrate the process of determining the outermost points corresponding to the bone canal model of the left lateral semicircular canal and the bone canal model of the right lateral semicircular canal. specifically,
假定双侧外半规管骨管模型各自对应的最外侧点存在,分别在图5示出的第二中心线22 上任取一点a1作为一左侧点及在第三中心线23上任取一点b1作为一右侧点;然后,过所述 左侧点a1和所述右侧点b1连线的中心点O1做垂直于左侧点a1和右侧点b1连线的平面α1, 令该平面α1为参照面;接着,分别获取与左侧点a1相邻的点a2、a3(图中未示出)及与右 侧点b1相邻的点b2、b3(图中未示出)到平面α1的垂距,以垂距最长的点为新的左侧点和右侧点。如若点a2和b2到平面α1的垂距最长,则以点a2为新的所述左侧点,以点b2为新 的所述右侧点。其中,相邻点的个数可以为2个、4个或更多,此处不作限定。继续过新的 左侧点a2和右侧b2连线的中心点,重新确定参照面;重复上述步骤1014~1016,直至找到 最优的左侧点及右侧点(如图5中的点L和点R);将最优的左侧点及最优的右侧点,分别作 为所述双侧外半规管骨管模型各自对应的左最外侧点和右最外侧点。即,最优的左侧点为左 侧外半规管骨管模型对应的左最外侧点,最优的右侧点为右侧外半规管骨管模型对应的右最外侧点。需要说明的是,由于双侧外半规管模型各自对应的中心线接近于半圆弧,所以上述在“重复步骤1014~1016,直至找到最优的左侧点及右侧点”的过程中,也可以只查找中心线上中间弧段(如图5中第二中心线22上的中间弧段L1L2以及第三中心线23上的中间弧段R1R2)对应的点到所述参照面的距离。Assuming that the respective outermost points of the bilateral lateral semicircular canal bone canal models exist, a point a1 is randomly selected on the
确定出双侧外半规管模型各自对应的最外侧点后,如图5示出的过左侧外半规管骨管模 型对应的左最外侧点L与右侧外半规管骨管模型对应的右最外侧点R连线LR的中点O2、且 与连线LR垂直的正中平面α2(也叫正中矢状面),即为第二矢状面112。After determining the outermost points corresponding to the bilateral outer semicircular canal models, as shown in Figure 5, the left outermost point L corresponding to the left outer semicircular canal bone canal model and the right outermost point corresponding to the right outer semicircular canal bone canal model The midpoint O2 of the connecting line LR and the median plane α2 (also called the median sagittal plane) perpendicular to the connecting line LR is the second
基于确定出的第二矢状面,可以根据左侧外半规管骨管模型对应的体素点信息和右侧外 半规管骨管模型对应的体素点信息,利用诸如最小二乘法,经过左侧外半规管骨管模型和右 侧外半规管骨管模型各自对应的最外侧点拟合出一与第二矢状面垂直的横向平面(如图5示 出的平面β)以作为第二横轴面122;其中,所述双侧外半规管骨管模型上所有体素点距第二 横轴面122的距离和最小。Based on the determined second sagittal plane, according to the voxel point information corresponding to the bone canal model of the left lateral semicircular canal and the voxel point information corresponding to the bone canal model of the right lateral semicircular canal, the left lateral The outermost points corresponding to the semicircular canal bone canal model and the right lateral semicircular canal bone canal model respectively fit a transverse plane perpendicular to the second sagittal plane (plane β as shown in FIG. 5 ) as the second
考虑到上述第一三维重建模型除了包含有双侧对称外半规管骨管模型之外,通常还 会包含有其它模型,比如与双侧对称外半规管骨管模型各自对应的双侧对称前庭模型,具体地,与左侧外半规管骨管模型对应的左前庭模型、与右侧外半规管骨管模型对应的 右前庭模型);其中,左侧外半规管骨管模型是与左前庭模型相交的,右侧外半规管骨 管模型是与右前庭模型相交的,为此相应的,左侧外半规管骨管模型的第二中心线也会 与左前庭模型相交,右侧外半规管骨管模型的第三中心线也会与右前庭模型相交。基于 此,上述1012中,可以基于双侧外半规管骨管模型的中心线与各自对应的前庭模型的交点, 来获取双侧外半规管骨管模型各自中心线的两个端点,从而再经过端点向第二横轴面引垂线 方式来确定双侧外半规管骨管模型各自中心线的两个端点在第二横轴面的垂点。即,在一具体实施例中,上述1012中的“确定所述左侧外半规管骨管模型的第二中心线的两个第二左端 点在所述第二横轴面上的两个第二左垂点,以及所述右侧外半规管骨管模型的第三中心线的 两个第二右端点在所述第二横轴面上的两个第二右垂点”,具体可采用如下步骤来实现:Considering that the above-mentioned first three-dimensional reconstruction model usually includes other models besides the bilaterally symmetrical external semicircular canal bone canal model, such as bilaterally symmetrical vestibular models corresponding to the bilaterally symmetrical external semicircular canal bone canal models, specifically ground, the left vestibular model corresponding to the left external semicircular canal bone canal model, and the right vestibular model corresponding to the right external semicircular canal bone canal model); wherein, the left external semicircular canal bone canal model intersects with the left vestibular model, and the right The bone canal model of the outer semicircular canal intersects with the right vestibular model, correspondingly, the second centerline of the bone canal model of the left outer semicircular canal also intersects with the left vestibular model, and the third centerline of the bone canal model of the right outer semicircular canal Also intersects the right vestibular model. Based on this, in the above-mentioned 1012, the two endpoints of the centerlines of the bilateral lateral semicircular canal bone canal models can be obtained based on the intersection points of the centerlines of the bilateral lateral semicircular canal bone canal models and the respective vestibular models, and then pass through the endpoints to The method of drawing a vertical line on the second transverse axis plane is used to determine the perpendicular points of the two endpoints of the respective centerlines of the bilateral lateral semicircular canal bone canal models on the second transverse axis plane. That is, in a specific embodiment, in the above step 1012, "determine the two second left end points of the second centerline of the left lateral semicircular canal bone canal model on the second transverse plane." The left vertical point, and the two second right vertical points of the third center line of the right lateral semicircular canal bone canal model on the second transverse axis plane, the specific steps are as follows to fulfill:
10121、获取所述第二中心线与对应的左前庭模型的两个交点,作为所述第二中心线的两 个第二左端点;10121. Obtain two intersection points of the second centerline and the corresponding left vestibular model as the two second left end points of the second centerline;
10122、分别过所述两个第二左端点向所述第二横轴面引左垂线,以根据所述左垂线与所 述第二横轴面的交点得到所述两个第二左端点在所述第二横轴面上的两个第二左垂点。10122. Draw a left perpendicular line to the second transverse plane through the two second left endpoints, so as to obtain the two second left ends according to the intersection of the left perpendicular line and the second transverse plane Point on the two second left vertical points on the second transverse plane.
10123、获取所述第三中心线与对应的右前庭模型的两个交点,作为所述第三中心线的两 个第二右端点;10123. Obtain two intersection points of the third centerline and the corresponding right vestibular model as the two second right end points of the third centerline;
10124、分别过所述两个第二右端点向所述第二横轴面引右垂线,以根据所述右垂线与 所述第二横轴面的交点得到所述两个第二右端点在所述第二横轴面上的两个第二右垂点。10124. Draw a right perpendicular line to the second transverse plane through the two second right endpoints, so as to obtain the two second right ends according to the intersection of the right perpendicular line and the second transverse plane Point on the two second right vertical points on the second transverse plane.
具体实施时,上述左垂线与第二横轴面的交点即为第二左端点在第二横轴面上的第 二左垂点,以及右垂线与第二横轴面的交点即为第二右端点在第二横轴面上的第二右垂 点。在上述步骤10122和10124中,针对第二左端点向第二横轴面引左垂线以得到相应的第二左垂点,以及针对第二右端点向第二横轴面引右垂线以得到相应的第二右垂点时,可以采用但不限于垂直投影方式进行实现;其中,垂直投影指的是将一点沿垂线投射到 第二横轴面上,以此得到该点在第二横轴面的位置。During specific implementation, the intersection point of the above-mentioned left perpendicular line and the second transverse axis plane is the second left perpendicular point of the second left end point on the second transverse axis plane, and the intersection point of the right perpendicular line and the second transverse axis plane is The second right vertical point of the second right end point on the second transverse axis plane. In the above steps 10122 and 10124, draw a left perpendicular line to the second transverse axis plane for the second left end point to obtain the corresponding second left perpendicular point, and draw a right perpendicular line to the second transverse axis plane for the second right end point to obtain When obtaining the corresponding second right vertical point, it can be realized by using but not limited to the vertical projection method; wherein, the vertical projection refers to projecting a point along the vertical line onto the second horizontal axis plane, so as to obtain the point on the second horizontal axis. The position of the transverse axis.
图6示出了包含双侧外半规管骨管模型各自对应的中心线(即第二中心线22、第三中心线23)、以及第二矢状面112及第二横轴面122的俯视图。在该图6中,点a'10及 点a'11即为第二中心线22的两个第二左端点(即点a10及点a11)在第二横轴面122上 的两个第二左垂点,以及点b'10及点b'11即为第三中心线23的两个第二右端点(即点 b10及点b11)在第二横轴面122上的两个第二右垂点。FIG. 6 shows a top view including the respective centerlines (ie, the
上述1013及1014中,第一线面角是指两个第二左垂点的连线与该连线在平面内的射影所形成的角。例如,第一线面角即为如图6中示出的线段a'10a'11与线段a”10a”11所形成的角θ1,具体实施时,可以采用但不限于求解几何三角形的方式来得到角θ1。同 理,参照第一线面角的获得方式,也可以获取到第二线面角(如图6中示出的角θ2)。 第二中心线与第三中心线是关于第二矢状面对称的,所以计算出的第一线面角的大小与 第二线面角的大小一般会相等,或者第一线面角与第二线面角之间具有可以忽视的极小 差值,因此可以将第一线面角和第二线面角中的任一个线面角作为参照线面角,该参照 线面角将用于后续第一矢状面的确定,关于第一矢状面的确定将在下述内容中进行详细 介绍。In the above-mentioned 1013 and 1014, the first line-plane angle refers to the angle formed by the line connecting the two second left perpendicular points and the projection of the line in the plane. For example, the first line angle is the angle θ1 formed by the line segment a' 10 a' 11 and the line segment a" 10 a" 11 as shown in Figure 6. During specific implementation, it can be used but not limited to solving geometric triangles way to get the angle θ1. Similarly, referring to the manner of obtaining the first line-plane angle, the second line-plane angle (the angle θ2 as shown in FIG. 6 ) can also be obtained. The second centerline and the third centerline are symmetrical about the second sagittal plane, so the calculated first-line angle and the second-line angle are generally equal, or the first line-angle and the second There is a negligible minimum difference between the second line and face angles, so any one of the first line and face angles and the second line and face angles can be used as a reference line and face angle, and this reference line and face angle will be used for the subsequent Determination of the first sagittal plane, the determination of the first sagittal plane will be described in detail in the following content.
上述102中,第二三维重建模型可以是指基于一系列从不同角度针对单侧外半规管 骨管采集到的多个二维断层图像(如图7示出的图像),利用三维重建技术(如3D打印机、三维重建软件)通过对多个二维断面映像图进行相关处理而获得的。第二三维重建 模型的具体获得过程,可参见上文所描述的第一三维重建模型的获得过程,此处就不再 作具体赘述。In the above 102, the second three-dimensional reconstruction model may refer to a series of multiple two-dimensional tomographic images (such as the image shown in FIG. 3D printer, 3D reconstruction software) obtained by correlating multiple 2D cross-sectional images. For the specific process of obtaining the second 3D reconstruction model, refer to the process of obtaining the first 3D reconstruction model described above, and details will not be repeated here.
基于获得的第二三维重建模型,也就可以获取到第二三维重建模型中单侧外半规管骨管 模型对应的体素点信息,进而可以利用诸如基于最小二乘法得到的拟合模型,对侧外半规管 骨管模型对应的体素点信息进行拟合处理以拟合出一横向的平面,并使得单侧外半规管骨管 模型上所有体素点到该平面的距离和最小,从而将该平面作为第一横轴面,比如图8中示出 的第一横轴面121。换句话也就是说,第一横轴面平行于经过单侧外半规管骨管模型横向切 割面面积最大的一层。基于此,在一具体实施例中,上述102中的“基于所述体素点信息, 确定第一横轴面”,可具体包括:Based on the obtained second 3D reconstruction model, the voxel point information corresponding to the bone canal model of the unilateral lateral semicircular canal in the second 3D reconstruction model can also be obtained, and then the fitting model obtained based on the least squares method can be used, and the contralateral The voxel point information corresponding to the outer semicircular canal bone canal model is fitted to fit a transverse plane, and the distance sum of all voxel points on the unilateral outer semicircular canal bone canal model to the plane is minimized, so that the plane As the first transverse axis plane, for example, the first
1021、根据所述体素点信息,拟合出一横向的平面;1021. Fit a horizontal plane according to the voxel point information;
1022、将所述平面作为所述第一横轴面;其中,所述单侧外半规管骨管模型上所有体素点距所述第一横轴面的距离和最小。1022. Use the plane as the first transverse axis plane; wherein, the distance sum of all voxel points on the unilateral lateral semicircular canal bone canal model to the first transverse axis plane is the smallest.
进一步地,上述1021“根据所述体素点信息,拟合出一横向的平面”的一具体可实现技术方案为:Further, a specific achievable technical solution of the above-mentioned 1021 "fitting a horizontal plane according to the voxel point information" is as follows:
10211、获取拟合模型;10211. Obtain the fitting model;
10212、利用所述拟合模型,对所述体素点信息进行拟合处理,以拟合出一横向的平面。10212. Using the fitting model, perform fitting processing on the voxel point information to fit a horizontal plane.
具体实施时,可以先用一方程f(x,y,z)表示出一横向的平面,然后利用拟合模型对 所述体素点信息进行拟合处理,得到该平面的平面参数,进而根据平面参数来确定拟合出的 横向平面。上述拟合模型除了可以是基于最小二乘法算法得到的之外,还可以基于其它算法 来得到,此处不作限定。During specific implementation, an equation f(x, y, z) can be used to represent a transverse plane, and then the fitting model is used to fit the voxel point information to obtain the plane parameters of the plane, and then according to Plane parameter to determine the fitted transverse plane. In addition to the above-mentioned fitting model can be obtained based on the least squares algorithm, it can also be obtained based on other algorithms, which is not limited here.
上述第二三维重建模型中除了包含有单侧外半规管骨管模型外,还包含有与单侧外 半规管骨管模型对应的单侧前庭模型,且该单侧外半规管骨管模型的两端与其对应的单 侧前庭模型相交,相应地,单侧外半规管骨管模型的第一中心线的两个端点也会与对应的单侧前庭模型相交。基于此,在一种可实现的技术方案中,上述103“确定所述单侧外 半规管骨管模型的中心线的端点在所述第一横轴面上的第一垂点”,可具体包括:In addition to the unilateral lateral semicircular canal model, the second three-dimensional reconstruction model also includes a unilateral vestibular model corresponding to the unilateral lateral semicircular canal model, and the two ends of the unilateral lateral semicircular canal model are The corresponding unilateral vestibular model intersects, and correspondingly, the two endpoints of the first central line of the unilateral lateral semicircular canal bone canal model also intersect with the corresponding unilateral vestibular model. Based on this, in an achievable technical solution, the above-mentioned 103 "determine the first vertical point of the endpoint of the centerline of the unilateral lateral semicircular canal model on the first transverse axis plane" may specifically include :
1031、获取所述第一中心线与所述单侧前庭模型的两个交点,作为所述第一中心线 的两个第一端点;1031. Obtain two intersection points of the first centerline and the unilateral vestibular model as the two first endpoints of the first centerline;
1032、分别过所述两个第一端点向所述第一横轴面引垂线,以根据所述垂线与所述 第一横轴面的交点得到所述两个第一端点在所述第一横轴面上的两个第一垂点。1032. Draw a perpendicular line to the first transverse axis plane through the two first end points, so as to obtain the two first end points at the intersection of the perpendicular line and the first transverse axis plane Two first vertical points on the first transverse axis.
有关上述步骤1031~1032的具体实现,可参见上文所描述的与上述步骤1012相关的 内容,此处不作作具体赘述。For the specific implementation of the above steps 1031-1032, please refer to the content related to the above step 1012 described above, and details will not be repeated here.
图8中示出了包含有第一中心线21及第一横轴面121的俯视图。在该图8中,点a'20及点a'21这两个点,即表示为第一中心线的两个第一端点(即点a20及点a21)在第一横 轴面121上的两个第一垂点。FIG. 8 shows a top view including the
上述104中,因横轴面与矢状面具有垂直关系,为此,可以将垂直于第一横轴面、且与两个第一垂点连线的线面角为参照线面角的平面,作为确定出的第一矢状面;而在 确定坐标原点时,可以根据第一矢状面,从两个第一垂点中选择一个垂点来进行确定。 即,上述104“根据所述第一垂点、所述第一横轴面及所述参照线面角,确定第一矢状面及 坐标原点”,可具体包括如下步骤:In the above 104, because the transverse axis plane and the sagittal plane have a vertical relationship, therefore, the line-plane angle perpendicular to the first transverse-axis plane and connecting the two first perpendicular points can be used as the plane of reference line-plane angle , as the determined first sagittal plane; when determining the origin of the coordinates, one vertical point can be selected from two first vertical points according to the first sagittal plane for determination. That is, the above-mentioned 104 "according to the first vertical point, the first transverse axis plane and the plane angle of the reference line, determine the first sagittal plane and the coordinate origin" may specifically include the following steps:
1041、将垂直于所述第一横轴面、且与所述两个第一垂点连线的线面角为所述参照 线面角的平面,作为所述第一矢状面;1041. Taking a plane perpendicular to the first transverse plane and having a line-plane angle connecting the two first perpendicular points as the reference line-plane angle as the first sagittal plane;
1042、根据所述第一矢状面,从所述两个第一垂点中选择一个垂点作为目标垂点;1042. According to the first sagittal plane, select a vertical point from the two first vertical points as a target vertical point;
1043、根据所述目标垂点,确定所述坐标原点。1043. Determine the coordinate origin according to the target vertical point.
上述1041中,例如,承接上述103中的示例,继续参见图8,记参照线面角为θ, 确定出的垂直于第一横轴面121且与两个第一垂点(即点a'20及点a'21)连线的线面角为 θ的平面为平面g1,则平面g1即为第一矢状面111。In the above-mentioned 1041, for example, following the example in the above-mentioned 103, continue to refer to FIG. 8, record the angle of the reference line plane as θ, which is determined to be perpendicular to the first
基于确定出的第一矢状面111,可以根据两个垂点分别距第一矢状面的距离,从两个第一垂点中选择出一个垂点作为目标垂点,以便后续根据目标垂点来确定坐标原点。 例如,可以将距第一矢状面最远距离的垂点作为目标垂点。基于此,在一具体可实现技 术方案中,上述1042“根据所述第一矢状面,从所述两个第一垂点中选择一个垂点作为 目标垂点”,可具体采用如下步骤来实现:Based on the determined first
10421、确定所述两个第一垂点各自与所述第一矢状面的距离;10421. Determine the respective distances between the two first perpendicular points and the first sagittal plane;
10422、根据所述距离,从所述两个第一垂点中选择出一个距所述第一矢状面最远的 垂点作为所述目标垂点。10422. According to the distance, select a vertical point farthest from the first sagittal plane from the two first vertical points as the target vertical point.
例如,继续参见图8,两个第一垂点(即点a'20及点a'21)中,点a'20距第一矢状面111的距离大于点a'21距第一矢状面111的距离,则点a'20即为目标垂点。For example, continue to refer to FIG. 8 , among the two first vertical points (namely point a' 20 and point a' 21 ), the distance between point a' 20 and the first
上述1043“根据所述目标垂点,确定所述坐标原点”的一具体可实现技术方案为:A specific achievable technical solution of the above-mentioned 1043 "determining the origin of the coordinates according to the vertical point of the target" is as follows:
10431、将过所述目标垂点,且与所述第一矢状面平行的面作为参照面;10431. Taking the plane passing through the target vertical point and parallel to the first sagittal plane as a reference plane;
10432、在所述单侧外半规管骨管模型对应的点集中,查找距所述参照面最远的点作 为所述坐标原点。10432. In the point set corresponding to the unilateral lateral semicircular canal bone canal model, find the point farthest from the reference plane as the origin of the coordinates.
图8示出的点O即为在单侧外半规管骨管模型对应的点集中,查找到的距参照面g2最远的点,也就是说,点O即为坐标原点。The point O shown in FIG. 8 is the point farthest from the reference plane g2 found in the point set corresponding to the unilateral lateral semicircular canal bone canal model, that is to say, point O is the coordinate origin.
上述105中,如图2所示,因横轴面、矢状面和冠状面具有两两垂直关系,基于此,可以结合第一横轴面和第一矢状面的法向量,利用右螺旋定则确定冠状面的法向量的方式, 来确定冠状面。即,上述105中“根据所述第一横轴面及所述第一矢状面,确定冠状面”,可具体为:获取所述第一横轴面和所述第一矢状面各自对应的法向量;根据所述第一横 轴面和所述第一矢状面各自对应的法向量,利用右螺旋定则,确定所述冠状面对应的法 向量;基于所述冠状面对应的法向量,确定所述冠状面。In the above 105, as shown in Figure 2, because the transverse axis plane, sagittal plane and coronal plane have two-two vertical relations, based on this, the normal vectors of the first transverse axis plane and the first sagittal plane can be combined to use the right helical The way to determine the normal vector of the coronal plane is to determine the coronal plane. That is, in the above 105, "determine the coronal plane based on the first transverse plane and the first sagittal plane" may specifically be: obtain the respective correspondence between the first transverse plane and the first sagittal plane. normal vector; according to the respective normal vectors corresponding to the first transverse axis plane and the first sagittal plane, use the right spiral rule to determine the normal vector corresponding to the coronal plane; based on the coronal plane corresponding The normal vector, determines the coronal plane.
进一步地,结合图2不难看出,矢状面、横轴面和冠状面三者之间两两相交、相互垂直,且利用其交线直线可形成一空间坐标系。基于此,在本实施例提供的技术方案中, 上述106可以基于坐标原点及平行于第一矢状面、第一横轴面和冠状面两两相交所形成 交线的平行直线,来构建单侧颞骨空间坐标系。即,在一种可实现技术方案中,上述106 “基于所述坐标原点、所述第一横轴面、所述第一矢状面及所述冠状面,建立单侧颞骨 空间坐标系”,可具体包括如下步骤:Further, it is not difficult to see from Fig. 2 that the sagittal plane, the transverse axis plane and the coronal plane intersect in pairs and are perpendicular to each other, and a space coordinate system can be formed by using the straight lines of their intersections. Based on this, in the technical solution provided by this embodiment, the above-mentioned 106 can be based on the coordinate origin and the parallel straight line parallel to the intersection line formed by the intersection of the first sagittal plane, the first transverse axis plane and the coronal plane. The spatial coordinate system of the lateral temporal bone. That is, in an achievable technical solution, the above 106 "establish a unilateral temporal bone space coordinate system based on the coordinate origin, the first transverse axis plane, the first sagittal plane and the coronal plane", It may specifically include the following steps:
1061、获取过所述坐标原点、且与所述冠状面与所述第一横轴面相交形成的直线平 行的第一直线,以所述第一直线作为X轴;1061. Obtain the first straight line that has obtained the origin of the coordinates and is parallel to the straight line formed by the intersection of the coronal plane and the first transverse axis plane, and use the first straight line as the X axis;
1062、获取过所述坐标原点、且与所述第一矢状面与所述冠状面相交形成的直线平 行的第二直线,以所述第二直线作为Y轴;1062. Obtain a second straight line that has obtained the coordinate origin and is parallel to the straight line formed by the intersection of the first sagittal plane and the coronal plane, and uses the second straight line as the Y axis;
1062、获取过所述坐标原点、且与所述第一横轴面与所述第一矢状面相交形成的直 线平行的第三直线,以所述第三直线作为Z轴。1062. Obtain a third straight line that has passed the coordinate origin and is parallel to the straight line formed by the intersection of the first transverse axis plane and the first sagittal plane, and uses the third straight line as the Z axis.
下面结合一实际应用场景对上述步骤106进行说明。参照图2中示出的解剖学中相关的轴方向并结合图8,可将获取到的过坐标原点O、且与冠状面(图8中未示出)与第 一横轴面相交形成的直线平行的第一直线作为X轴,并以解剖学中冠状轴的正方向(即右 侧方向,或者说第一矢状面的法向量方向)为X轴的正方向;然后,将过坐标原点O、 且与第一矢状面与冠状面相交形成的直线平行的第二直线作为Y轴,且以解剖学中垂直 轴的正方向(即上方或头部方向,或者说第一横轴面的法向量方向)为Y轴正方向;最后, 将获取过坐标原点O、且与第一横轴面与第一矢状面相交形成的直线平行的第三直线作 为Z轴,且以解剖学中矢状轴的正方向(即前方,或者说冠状面的法向量方向)为Z轴正 方向。The foregoing
本实施例提供技术方案,在基于第一三维重建模型中双侧对称外半规管骨管模型确 定出参照线面角,以及基于第二三维重建模型中单侧外半规管骨管模型的体素点信息确 定出第一横轴面的基础上,可以根据单侧外半规管骨管模型的第一中心线的端点在第一 横轴面上的第一垂点、第一横轴面及参照线面角,来确定出坐标原点及处于单侧外半规管骨管模型一侧的第一矢状面;进一步地,也就可以根据第一横轴面及第一矢状面确定 出冠状面,从而也就能够基于坐标原点、第一横轴面、第一矢状面及冠状面建立出单侧 颞骨空间坐标系,以使得参照单侧颞骨空间坐标系能更加精确的标定出单侧颞骨影像图 中一点的坐标,以展示给用户(如临床医生),即换句话也就是说,用户在触发了针对 单侧颞骨影像图中某一待标定点的获取请求后,便能自动的利用单侧颞骨空间坐标系确 定出该待标定点的坐标值,并将坐标值与单侧颞骨影像图中的待标定点关联显示处理, 用户可以很直观的看到该待标定点的精确位置,这为后续的医学研究提供了良好的基础。 综上,本方案所建立的单侧颞骨空间坐标系,可以有效解决单侧颞骨结构或空间点的绝 对定位问题,以便于为研究颞骨空间位置建立基础。This embodiment provides a technical solution to determine the reference line plane angle based on the bilaterally symmetrical lateral semicircular canal bone canal model in the first 3D reconstruction model, and the voxel point information of the unilateral lateral semicircular canal bone canal model based on the second 3D reconstruction model On the basis of determining the first transverse axis plane, the first vertical point on the first transverse axis plane of the end point of the first centerline of the unilateral lateral semicircular canal bone canal model, the first transverse axis plane and the angle of the reference line plane can be , to determine the coordinate origin and the first sagittal plane on one side of the unilateral lateral semicircular canal bone canal model; furthermore, the coronal plane can also be determined according to the first transverse axis plane and the first sagittal plane, thus also A unilateral temporal bone spatial coordinate system can be established based on the coordinate origin, the first transverse axis plane, the first sagittal plane and the coronal plane, so that a point in the unilateral temporal bone image can be more accurately calibrated with reference to the unilateral temporal bone spatial coordinate system The coordinates of the unilateral temporal bone can be displayed to the user (such as a clinician), in other words, after the user triggers a request for a certain point to be calibrated in the unilateral temporal bone image, the user can automatically use the unilateral temporal bone The spatial coordinate system determines the coordinate value of the point to be calibrated, and correlates the coordinate value with the point to be calibrated in the unilateral temporal bone image for display processing. Medical research provides a good foundation. In summary, the unilateral temporal bone spatial coordinate system established by this program can effectively solve the problem of absolute positioning of unilateral temporal bone structures or spatial points, so as to establish a basis for the study of temporal bone spatial position.
进一步地,本实施例提供的所述方法还可包括如下步骤:Further, the method provided in this embodiment may also include the following steps:
107、获取并显示一单侧颞骨影像图;107. Obtain and display a unilateral temporal bone image;
108、响应于用户针对所述单侧颞骨影像图中的一待标定点触发的获取请求,利用所述单 侧颞骨空间坐标系,确定所述待标定点的坐标值;108. In response to an acquisition request triggered by the user for a point to be calibrated in the unilateral temporal bone image map, use the unilateral temporal bone spatial coordinate system to determine the coordinate value of the point to be calibrated;
109、所述单侧颞骨影像图中,将所述坐标值与所述待标定点进行关联显示,以供用户基 于所述坐标值执行与所述待标定点相关的操作。109. In the image of the unilateral temporal bone, the coordinate value is displayed in association with the point to be marked, so that the user can perform operations related to the point to be marked based on the coordinate value.
具体实施时,可以将待标定点及待标定点对应的坐标值在单侧颞骨影像图中进行关联突 出显示。突出显示的方式可以为但不限于对待标定点及相应的坐标值进行颜色提亮或加粗等。 其中,坐标值可以通过(x,y,z)的方式进行显示。另外,用户基于坐标值所执行的操作可 以是为了科学研究进行的统计操作、标记操作等,此处不作限定。During specific implementation, the points to be marked and the coordinate values corresponding to the points to be marked can be associated and highlighted in the unilateral temporal bone image map. The way of highlighting may be, but not limited to, highlighting or bolding the points to be calibrated and corresponding coordinate values. Wherein, the coordinate value can be displayed in the form of (x, y, z). In addition, the operations performed by the user based on the coordinate values may be statistical operations, marking operations, etc. for scientific research, which are not limited here.
基于上文内容,本申请一实施例还提供了一种空间定位方法的流程示意图。具体地, 如图9示出的空间定位方法的流程示意图,该方法包括如下步骤:Based on the above content, an embodiment of the present application also provides a schematic flowchart of a spatial positioning method. Specifically, as shown in FIG. 9, a schematic flowchart of a spatial positioning method, the method includes the following steps:
201、获取并显示一单侧颞骨影像图;201. Obtain and display a unilateral temporal bone image;
202、响应于用户针对所述单侧颞骨影像图中的一待标定点触发的获取请求,利用所 述单侧颞骨空间坐标系,确定所述待标定点的坐标值;其中,所述单侧颞骨空间坐标系为通过如图3示出的针对单侧颞骨的空间数据处理方法建立的坐标系;202. In response to an acquisition request triggered by the user for a point to be calibrated in the unilateral temporal bone image map, determine the coordinate value of the point to be calibrated using the unilateral temporal bone spatial coordinate system; wherein, the unilateral temporal bone The temporal bone spatial coordinate system is the coordinate system established by the spatial data processing method for the unilateral temporal bone as shown in Figure 3;
203、在所述单侧颞骨影像图中,将所述坐标值与所述待标定点进行关联显示,以供 用户基于所述坐标值执行与所述待标定点相关的操作。203. In the image of the unilateral temporal bone, display the coordinates in association with the points to be marked, so that the user can perform operations related to the points to be marked based on the coordinates.
有关上述201~203的具体描述,可参见上文各实施例中的相关内容。For the specific description of the foregoing 201-203, reference may be made to relevant content in the foregoing embodiments.
图10示出了本申请一实施例提供的针对单侧颞骨的空间数据处理装置的结构示意 图。如图10所示,该针对单侧颞骨的空间数据处理装置包括:确定模块31、获取确定 模块32、建立模块33;其中,Fig. 10 shows a schematic structural diagram of a spatial data processing device for unilateral temporal bone provided by an embodiment of the present application. As shown in Figure 10, this spatial data processing device for unilateral temporal bone includes: a
确定模块31,用于基于第一三维重建模型中双侧对称外半规管骨管模型,确定参照 线面角;Determining
获取确定模块32,用于获取第二三维重建模型中单侧外半规管骨管模型的体素点信 息,以基于所述体素点信息确定第一横轴面;Obtaining and determining
确定模块31,还用于确定所述单侧外半规管骨管模型的第一中心线的端点在第一横 轴面上的第一垂点;根据所述第一垂点、所述第一横轴面及所述参照线面角,确定第一矢状面及坐标原点;其中,所述第一矢状面处于所述单侧外半规管骨管模型一侧;以及, 根据所述第一横轴面及所述第一矢状面,确定冠状面;The
建立模块33,用于基于所述坐标原点、所述第一横轴面、所述第一矢状面及所述冠状面,建立单侧颞骨空间坐标系,以便于参照所述单侧颞骨空间坐标系标定单侧颞骨影 像图中一点的坐标,用以展示给用户。The
进一步地,上述第二三维重建模型中包含与所述单侧外半规管骨管模型对应的单侧 前庭模型;以及,上述确定模块31,在用于基于确定所述单侧外半规管骨管模型的第一中心线的端点在所述第一横轴面上的第一垂点时,具体用于:获取所述第一中心线与所 述单侧前庭模型的两个交点,作为所述第一中心线的两个第一端点;分别过所述两个第 一端点向所述第一横轴面引垂线,以根据所述垂线与所述第一横轴面的交点得到所述两 个第一端点在所述第一横轴面上的两个第一垂点。Further, the above-mentioned second three-dimensional reconstruction model includes a unilateral vestibular model corresponding to the unilateral lateral semicircular canal bone canal model; When the end point of the first centerline is on the first vertical point on the first transverse axis plane, it is specifically used to: obtain two intersection points between the first centerline and the unilateral vestibular model as the first The two first end points of the center line; draw a vertical line to the first transverse axis plane through the two first end points respectively, so as to obtain the Two first perpendicular points of the two first endpoints on the first transverse axis plane.
进一步地,上述确定模块31,在用于根据所述第一垂点、所述第一横轴面及所述参照线面角,确定第一矢状面及坐标原点时,具体用于:将垂直于所述第一横轴面、且与 所述两个第一垂点连线的线面角为所述参照线面角的平面,作为所述第一矢状面;根据 所述第一矢状面,从所述两个第一垂点中选择一个垂点作为目标垂点;根据所述目标垂 点,确定所述坐标原点。Further, when the
进一步地,上述确定模块31,在用于根据所述第一矢状面,从所述两个第一垂点中选择一个垂点作为目标垂点时,具体用于:确定所述两个第一垂点各自与所述第一矢状 面的距离;根据所述距离,从所述两个第一垂点中选择出一个距所述第一矢状面最远的 垂点作为所述目标垂点。Further, when the
进一步地,上述确定模块31,在用于根据所述目标垂点,确定所述坐标原点时,具体用于:将过所述目标垂点,且与所述第一矢状面平行的面作为参照面;在所述单侧外 半规管骨管模型对应的点集中,查找距所述参照面最远的点作为所述坐标原点。Further, when the
进一步地,上述获取确定模块32,在用于基于所述体素点信息确定第一横轴面时,具体用于:根据所述体素点信息,拟合出一横向的平面;将所述平面作为所述第一横轴 面;其中,所述单侧外半规管骨管模型上所有体素点距所述第一横轴面的距离和最小。Further, when the
进一步地,上述获取确定模块32,在用于根据所述体素点信息,拟合出一横向的平面时,具体用于:获取拟合模型;利用所述拟合模型,对所述体素点信息进行拟合处理, 以拟合出一横向的平面。Further, when the above acquisition and
进一步地,上述确定模块31,在用于根据所述第一横轴面及所述第一矢状面,确定冠状面时,具体用于:获取所述第一横轴面和所述第一矢状面各自对应的法向量;根据 所述第一横轴面和所述第一矢状面各自对应的法向量,利用右螺旋定则,确定所述冠状 面对应的法向量;基于所述冠状面对应的法向量,确定所述冠状面。Further, when the
进一步地,上述建立模块33,在用于基于所述坐标原点、所述第一横轴面、所述第一矢状面及所述冠状面,建立单侧颞骨空间坐标系时,具体用于:获取过所述坐标原点、 且与所述冠状面与所述第一横轴面相交形成的直线平行的第一直线,以所述第一直线作 为X轴;获取过所述坐标原点、且与所述第一矢状面与所述冠状面相交形成的直线平行 的第二直线,以所述第二直线作为Y轴;获取过所述坐标原点、且与所述第一横轴面与 所述第一矢状面相交形成的直线平行的第三直线,以所述第三直线作为Z轴。Further, when the above-mentioned
进一步地,上述确定模块31,在用于基于第一三维重建模型中双侧对称外半规管骨 管模型,确定参照线面角时,具体用于:Further, when the above-mentioned
基于所述双侧对称外半规管骨管模型,确定第二矢状面及第二横轴面;其中,所述双侧对称外半规管骨管模型包括:左侧外半规管骨管模型、右侧外半规管骨管模型,所 述第二矢状面为过所述左侧外半规管骨管模型对应的最外侧点与所述右侧外半规管骨管 模型对应的最外侧点连线的中点且与所述连线垂直的正中平面;所述第二横轴面与所述 第二矢状面垂直,且所述双侧对称外半规管骨管模型上所有体素点到所述第二横轴面的 距离和最小;Based on the bilaterally symmetrical lateral semicircular canal bone canal model, the second sagittal plane and the second transverse plane are determined; wherein, the bilaterally symmetrical lateral semicircular canal bone canal model includes: the left lateral semicircular canal bone canal model, the right lateral lateral semicircular canal Semicircular canal bone canal model, the second sagittal plane is the midpoint of the line passing through the outermost point corresponding to the left lateral semicircular canal bone canal model and the outermost point corresponding to the right lateral semicircular canal bone canal model and The median plane perpendicular to the connecting line; the second transverse axis plane is perpendicular to the second sagittal plane, and all voxel points on the bilaterally symmetrical outer semicircular canal bone model reach the second transverse axis plane The distance and the minimum;
确定所述左侧外半规管骨管模型的第二中心线的两个第二左端点在所述第二横轴面 上的两个第二左垂点,以及所述右侧外半规管骨管模型的第三中心线的两个第二右端点 在所述第二横轴面上的两个第二右垂点;Determine the two second left vertical points of the second centerline of the left lateral semicircular canal bone canal model on the second transverse plane, and the right lateral semicircular canal bone canal model The two second right vertical points of the two second right end points of the third center line on the second transverse axis plane;
获取所述两个第二左垂点连线与所述第二矢状面的第一线面角,以及所述两个第二 右垂点与所述第二矢状面的第二线面角;Obtain a first line-plane angle between the two second left perpendicular points and the second sagittal plane, and a second line-plane angle between the two second right perpendicular points and the second sagittal plane ;
将所述第一线面角或所述第二线面角作为所述参照线面角;其中,所述第一线面角 与所述第二线面角大小相等。Using the first line angle or the second line angle as the reference line angle; wherein, the first line angle is equal to the second line angle.
进一步地,本实施例提供的所述装置还包括:Further, the device provided in this embodiment also includes:
获取显示模块,用于获取并显示一单侧颞骨影像图;Obtaining a display module, configured to acquire and display a unilateral temporal bone image;
响应模块,用于响应于用户针对所述单侧颞骨影像图中的一待标定点触发的获取请 求,利用所述单侧颞骨空间坐标系,确定所述待标定点的坐标值;A response module, configured to respond to a user's acquisition request triggered by a point to be calibrated in the unilateral temporal bone image map, using the unilateral temporal bone spatial coordinate system to determine the coordinate value of the point to be calibrated;
关联显示模块,用于所述单侧颞骨影像图中,将所述坐标值与所述待标定点进行关 联显示,以供用户基于所述坐标值执行与所述待标定点相关的操作。The associated display module is used in the unilateral temporal bone image map to associate and display the coordinate value and the point to be marked, so that the user can perform operations related to the point to be marked based on the coordinate value.
这里需要说明的是:上述实施例提供的针对单侧颞骨的空间数据处理装置,可实现 上述图3示出的针对单侧颞骨的空间数据处理方法实施例中描述的技术方案,上述各模块或单元具体实现的原理可参见上述图3示出的针对单侧颞骨的空间数据处理方法实施例中的相应内容,此处不再赘述。What needs to be explained here is: the spatial data processing device for unilateral temporal bone provided by the above-mentioned embodiment can realize the technical solution described in the embodiment of the spatial data processing method for unilateral temporal bone shown in FIG. For the specific implementation principle of the unit, please refer to the corresponding content in the embodiment of the spatial data processing method for unilateral temporal bone shown in FIG. 3 above, which will not be repeated here.
图11示出了本申请一实施例提供的空间定位装置的结构示意图。如图11所示,该空间定位装置包括:获取显示模块41、响应模块42、关联显示模块43;其中,Fig. 11 shows a schematic structural diagram of a spatial positioning device provided by an embodiment of the present application. As shown in Figure 11, the spatial positioning device includes: an
获取显示模块41,用于获取并显示一单侧颞骨影像图;An acquisition and
响应模块42,用于响应于用户针对所述单侧颞骨影像图中的一待标定点触发的获取 请求,利用所述单侧颞骨空间坐标系,确定所述待标定点的坐标值;其中,所述单侧颞骨空间坐标系为通过如图3示出的针对单侧颞骨的空间数据处理方法建立的坐标系;The
关联显示模块43,用于在所述单侧颞骨影像图中,将所述坐标值与所述待标定点进 行关联显示,以供用户基于所述坐标值执行与所述待标定点相关的操作。An associated
这里需要说明的是:上述实施例提供的空间定位装置,可实现上述图9示出的空间定 位方法实施例中描述的技术方案,上述各模块或单元具体实现的原理可参见上述图9示出的空间定位方法实施例中的相应内容,此处不再赘述。What needs to be explained here is: the space positioning device provided by the above-mentioned embodiment can realize the technical solution described in the above-mentioned space positioning method embodiment shown in FIG. The corresponding content in the embodiment of the spatial positioning method will not be repeated here.
图12示出了本申请一实施例提供的电子设备的原理性结构示意图。所述电子设备包 括处理器52及存储器51。其中,所述存储器51用于存储一条或多条计算机指令;所述 处理器52,与所述存储器51耦合,用于一条或多条计算机指令(如实现数据存储逻辑 的计算机指令),以用于实现上述图3示出的针对单侧颞骨的空间数据处理方法实施例 中的步骤,或者上述图9示出的空间定位方法实施例中的步骤。Fig. 12 shows a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device includes a
存储器51可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静 态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编 程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存 储器,快闪存储器,磁盘或光盘。
进一步,如图12所示,电子设备还包括:通信组件53、电源组件55及显示器54 等其它组件。图12中仅示意性给出部分组件,并不意味着电子设备只包括图12所示组 件。Further, as shown in FIG. 12 , the electronic device further includes: a
本申请还有一实施例提供一种计算机程序产品。该计算机程序产品包括计算机程序或指 令,当所述计算机程序或指令被处理器执行时,致使所述处理器能够实现上述各方法实施例 中的步骤。Another embodiment of the present application provides a computer program product. The computer program product includes computer programs or instructions, which, when executed by a processor, cause the processor to implement the steps in the above-mentioned method embodiments.
相应地,本申请实施例还提供一种存储有计算机程序的计算机可读存储介质,所述计算 机程序被计算机执行时能够实现上述各实施例提供的方法步骤或功能。Correspondingly, the embodiments of the present application also provide a computer-readable storage medium storing a computer program, and when the computer program is executed by a computer, the method steps or functions provided by the above-mentioned embodiments can be realized.
通过以上实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件 加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方 案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件 产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以 使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者 实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照 前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前 述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修 改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, rather than limiting them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present application.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210657336.XA CN115249290B (en) | 2022-06-10 | 2022-06-10 | Spatial data processing method, spatial positioning method and device for unilateral temporal bone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210657336.XA CN115249290B (en) | 2022-06-10 | 2022-06-10 | Spatial data processing method, spatial positioning method and device for unilateral temporal bone |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115249290A true CN115249290A (en) | 2022-10-28 |
CN115249290B CN115249290B (en) | 2023-05-16 |
Family
ID=83697910
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210657336.XA Active CN115249290B (en) | 2022-06-10 | 2022-06-10 | Spatial data processing method, spatial positioning method and device for unilateral temporal bone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115249290B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116630427A (en) * | 2023-07-24 | 2023-08-22 | 杭州键嘉医疗科技股份有限公司 | Method and device for automatically positioning hip bone and femur in CT image |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107016666A (en) * | 2017-02-28 | 2017-08-04 | 四川大学华西医院 | Image post-processing method for pelvis CT three-dimensional reconstruction based on coordinate system |
CN111354073A (en) * | 2019-12-23 | 2020-06-30 | 首都医科大学附属北京友谊医院 | Construction method, spatial positioning method and equipment of unilateral temporal bone spatial coordinate system |
CN112509119A (en) * | 2019-12-23 | 2021-03-16 | 首都医科大学附属北京友谊医院 | Spatial data processing and positioning method and device for temporal bone and electronic equipment |
-
2022
- 2022-06-10 CN CN202210657336.XA patent/CN115249290B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107016666A (en) * | 2017-02-28 | 2017-08-04 | 四川大学华西医院 | Image post-processing method for pelvis CT three-dimensional reconstruction based on coordinate system |
CN111354073A (en) * | 2019-12-23 | 2020-06-30 | 首都医科大学附属北京友谊医院 | Construction method, spatial positioning method and equipment of unilateral temporal bone spatial coordinate system |
CN112308964A (en) * | 2019-12-23 | 2021-02-02 | 首都医科大学附属北京友谊医院 | Spatial data processing and localization method, device and equipment for unilateral temporal bone |
CN112509119A (en) * | 2019-12-23 | 2021-03-16 | 首都医科大学附属北京友谊医院 | Spatial data processing and positioning method and device for temporal bone and electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116630427A (en) * | 2023-07-24 | 2023-08-22 | 杭州键嘉医疗科技股份有限公司 | Method and device for automatically positioning hip bone and femur in CT image |
CN116630427B (en) * | 2023-07-24 | 2023-10-31 | 杭州键嘉医疗科技股份有限公司 | Method and device for automatically positioning hip bone and femur in CT image |
Also Published As
Publication number | Publication date |
---|---|
CN115249290B (en) | 2023-05-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112509119B (en) | Spatial data processing and positioning method and device for temporal bone and electronic equipment | |
CN112308964B (en) | Spatial data processing and localization method, device and equipment for unilateral temporal bone | |
US10535187B2 (en) | Voxelization techniques | |
CN103971403B (en) | The method and system being imaged for Curve Reconstruction | |
CN110276408B (en) | 3D image classification method, device, equipment and storage medium | |
WO2005069227A1 (en) | Mesh models with internal discrete elements | |
WO2024187937A1 (en) | Blood vessel reconstruction method and apparatus, computer device, and readable storage medium | |
CN115249290B (en) | Spatial data processing method, spatial positioning method and device for unilateral temporal bone | |
CN107615337A (en) | A kind of three-dimensional scalp electroacupuncture method and device | |
CN115731232A (en) | Blood vessel image processing method and device, readable storage medium and electronic equipment | |
CN110706780A (en) | Radiotherapy plan generation system and storage medium | |
CN113012249B (en) | Method, device and storage medium for generating focus on CT image | |
US20220391548A1 (en) | Filling a mesh hole | |
CN107392976A (en) | Data processing method, device and equipment | |
CN109242962A (en) | The 3D display method, apparatus and electronic equipment of Lung neoplasm | |
WO2021081839A1 (en) | Vrds 4d-based method for analysis of condition of patient, and related products | |
Pascual et al. | Computerized three-dimmensional craniofacial reconstruction from skulls based on landmarks | |
JP4318580B2 (en) | 3D tree shape generator | |
Ueng et al. | Layered manufacturing for medical imaging data | |
CN115063556B (en) | A method of constructing a skull model of a car crash dummy | |
US11928123B2 (en) | Systems and methods for network explainability | |
CN116630326B (en) | Intracranial tumor positioning system based on nasosinusitis system | |
CN110428489B (en) | Arc-shaped channel planning method and device | |
CN118097003A (en) | Method and device for constructing three-dimensional facial model for facial surgery | |
CN118941698A (en) | Data processing method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |