[go: up one dir, main page]

CN101520817A - Massive medical image three-dimensional visualization processing system - Google Patents

Massive medical image three-dimensional visualization processing system Download PDF

Info

Publication number
CN101520817A
CN101520817A CN200810199009A CN200810199009A CN101520817A CN 101520817 A CN101520817 A CN 101520817A CN 200810199009 A CN200810199009 A CN 200810199009A CN 200810199009 A CN200810199009 A CN 200810199009A CN 101520817 A CN101520817 A CN 101520817A
Authority
CN
China
Prior art keywords
image
hard disk
module
disk cache
dimensional visualization
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.)
Pending
Application number
CN200810199009A
Other languages
Chinese (zh)
Inventor
鲍苏苏
方驰华
丘文峰
黄燕鹏
彭丰平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
South China Normal University
Southern Medical University Zhujiang Hospital
Original Assignee
South China Normal University
Southern Medical University Zhujiang Hospital
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by South China Normal University, Southern Medical University Zhujiang Hospital filed Critical South China Normal University
Priority to CN200810199009A priority Critical patent/CN101520817A/en
Publication of CN101520817A publication Critical patent/CN101520817A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Apparatus For Radiation Diagnosis (AREA)
  • Medical Treatment And Welfare Office Work (AREA)
  • Processing Or Creating Images (AREA)

Abstract

一种海量医学图像三维可视化处理系统,包括依次连接的医学图片导入模块数据库、医学图像三维可视化处理模块和三维模型显示模块;所述医学图像三维可视化处理模块包括客户端、服务端和硬盘缓存器,所述客户端通过服务端与硬盘缓存器连接,所述硬盘缓冲器与客户端和三维模型显示模块连接。本发明利用硬盘缓存器,把每个数据处理器通过硬盘缓存器来相连,这样就可以使得在流水线中存在活动的图像数据为最低。本发明能够解决当前无法处理的医学海量图像数据三维可视化问题,使得一般图像处理算法在不需要改动的情况下能够支持达上GB以上的DICOM图像处理。对于当前普遍仅能处理部分脏器的小数据处理是创新的突破。

A massive medical image three-dimensional visualization processing system, comprising a sequentially connected medical image import module database, a medical image three-dimensional visualization processing module and a three-dimensional model display module; the medical image three-dimensional visualization processing module includes a client, a server and a hard disk cache , the client is connected to the hard disk buffer through the server, and the hard disk buffer is connected to the client and the three-dimensional model display module. The present invention utilizes the hard disk cache to connect each data processor through the hard disk cache, so that the active image data in the pipeline can be kept to a minimum. The invention can solve the problem of three-dimensional visualization of massive medical image data that cannot be processed at present, so that the general image processing algorithm can support DICOM image processing of more than GB without modification. It is an innovative breakthrough for the small data processing that can only process part of the organs.

Description

一种海量医学图像三维可视化处理系统 A 3D visualization processing system for massive medical images

技术领域 technical field

本发明涉及一种海量图像的可视化处理系统,特别涉及一种海量医学图像三维可视化处理系统。The invention relates to a visualization processing system for massive images, in particular to a three-dimensional visualization processing system for massive medical images.

技术背景 technical background

随着数字图像技术及多媒体信息技术的发展,海量图像数据的应用越来越普遍,比如说医学图像领域已经普遍运用了海量图像数据,并且随着医学数字图像采集设备的改进,原始图像数据的精细程度的提高,需要处理的数据量也越来越大。然而,与此相对应的是硬件方面计算机内存的增加速度永远赶不上数据量的增长速度;软件方面计算机系统的设计使得32位软件最多拥有3GB数据处理能力。即使采用64位设计软件,要将海量医学图像的全部数据读入至内存中处理也是不现实的。With the development of digital image technology and multimedia information technology, the application of massive image data is becoming more and more common. For example, in the field of medical imaging, massive image data has been widely used. As the degree of refinement increases, the amount of data that needs to be processed is also increasing. However, corresponding to this is that the increase rate of computer memory in terms of hardware can never catch up with the increase rate of data volume; the design of computer systems in terms of software enables 32-bit software to have a maximum data processing capacity of 3GB. Even if 64-bit design software is used, it is unrealistic to read all the data of massive medical images into memory for processing.

在医学图像处理领域,将医学图像中具有特殊含义的感兴趣区域提取,并进行三维重建,这在医学应用中具有特殊的重要意义。在上述各种不同的图像处理中都会直接或间接对海量医学图像数据进行处理,并会生成相应中间结果,因此如何科学有效地表示和存储医学图像数据使之适于医学图像处理操作便成为解决海量医学图像处理的关键。In the field of medical image processing, extracting regions of interest with special meanings in medical images and performing 3D reconstruction is of special significance in medical applications. In the various image processing mentioned above, massive medical image data will be processed directly or indirectly, and corresponding intermediate results will be generated. Therefore, how to scientifically and effectively represent and store medical image data to make it suitable for medical image processing operations becomes a solution. The key to massive medical image processing.

实现海量图像处理的关键就在于如何解决内存与硬盘之间数据通信,以大的硬盘空间来弥补内存空间的不足,同时又要保证在大量的数据通信下软件仍能满足用户需求。目前主要有以下四种方法:The key to realizing massive image processing is how to solve the data communication between memory and hard disk, make up for the lack of memory space with large hard disk space, and at the same time ensure that the software can still meet user needs under a large amount of data communication. Currently there are four main methods:

方法一:使得程序可以访问超过3GB的内存地址。例如现有技术中的,医疗三维重建研究软VG Studio Max,采用处理模型是开发基于64位处理器的软件,在64位处理器下,程序可以访问的地址几十GB。Method 1: Allow the program to access memory addresses exceeding 3GB. For example, in the prior art, the medical 3D reconstruction research software VG Studio Max uses a processing model to develop software based on a 64-bit processor. Under a 64-bit processor, the address that the program can access is tens of gigabytes.

方法二:采用内存图像数据分块处理,并进行结果汇总的方法。广东威创日新电子有限公司提出一种海量图像数据压缩,存储和显示方法。专利申请号:200710027386.5。此方案将海量图像数据分块,将分块数据读取并存放在内存缓存,经压缩生成各种分辨率级别的分层数据,并保存为中间图像文件,然后释放该内存缓存;在对海量图像进行显示时,将存储在磁盘中的中间图像文件读取到内存缓冲中,然后拷贝到显示缓冲区,将该显示区域范围内的图像显示出来。Method 2: Use memory image data to process in blocks and summarize the results. Guangdong Weichuang Rixin Electronics Co., Ltd. proposed a method for compressing, storing and displaying massive image data. Patent application number: 200710027386.5. This solution divides massive image data into blocks, reads the block data and stores it in the memory cache, generates layered data of various resolution levels after compression, and saves them as intermediate image files, and then releases the memory cache; When the image is displayed, the intermediate image file stored in the disk is read into the memory buffer, and then copied to the display buffer, and the image within the range of the display area is displayed.

方法三:采用每次处理立即释放内存空间的方法;Method 3: Use the method of immediately releasing the memory space for each processing;

方法四:采用图像尺寸缩小方法来减少要处理数据量。Method 4: Use the image size reduction method to reduce the amount of data to be processed.

以上方法都存在如下不足:方法1要针对不同操作系统进行自主内存管理,方法不便于移植,复杂,而且不能充分利用已有操作系统高效的内存管理。特别是医疗三维重建研究软VG Studio Max对处理器,内存等硬件和操作系统都有要求,而当前主流仍以32位处理器为主,VG Studio Max在32位处理器上不能进行海量图像数据处理。The above methods all have the following disadvantages: Method 1 requires independent memory management for different operating systems, which is not easy to transplant, is complicated, and cannot make full use of the efficient memory management of existing operating systems. In particular, the medical 3D reconstruction research software VG Studio Max has requirements for processors, memory and other hardware and operating systems, but the current mainstream is still dominated by 32-bit processors, and VG Studio Max cannot process massive image data on 32-bit processors. deal with.

方法2要针对现有不同的图像处理算法进行相应的分块,合并操作,而不同的图像处理算法各不相同,工作量大,同时有些图像处理算法不能进行分块处理,这就意味着采用这种方式就不能进行某些不支持图像分块的数据处理。专利申请号为200710027386.5,名称为一种海量图像数据压缩,存储和显示方法的专利申请主要用于图像显示,并不涉及数字图像处理,如平滑、分割、三维重建等。同时采用分块的方式,正如前面所述,对于类似医学图像处理中涉及到三维体数据处理中部分算法不能进行。Method 2 needs to carry out corresponding block and merge operations for different existing image processing algorithms, but different image processing algorithms are different, and the workload is heavy. At the same time, some image processing algorithms cannot perform block processing, which means using In this way, some data processing that does not support image segmentation cannot be performed. The patent application number is 200710027386.5, and the patent application titled a mass image data compression, storage and display method is mainly used for image display, and does not involve digital image processing, such as smoothing, segmentation, 3D reconstruction, etc. At the same time, the block method is adopted. As mentioned above, some algorithms that involve three-dimensional volume data processing in similar medical image processing cannot be performed.

方法3仅是通过临时释放数据的方法来腾出空间,并不是真正解决问题,而且动态释放内存会降低处理的效率。Method 3 only frees up space by temporarily releasing data, and does not really solve the problem, and dynamically releasing memory will reduce processing efficiency.

方法4为最常用方法,但缩小意味着图像有不同程序的失真,而医学图像往往要求精细度很高,这种方法不能达到医学图像精细的要求。Method 4 is the most commonly used method, but the reduction means that the image is distorted by different procedures, and medical images often require high fineness, this method cannot meet the fine requirements of medical images.

发明内容 Contents of the invention

本发明的目的就是针对上述现有技术不足,设计一种能对海量医学图像进行三维可视化处理,并能有效利用内存空间,以求在内存空间和内存处理效率中取得最佳平衡点的海量医学图像三维可视化处理系统。The purpose of the present invention is to address the above-mentioned deficiencies in the prior art, to design a mass medical image that can perform three-dimensional visualization processing on massive medical images, and can effectively use memory space, in order to achieve the best balance between memory space and memory processing efficiency. Image 3D visualization processing system.

为了解决上述技术问题,本发明包括如下技术方案:一种海量医学图像三维可视化处理系统,包括依次连接的图片导入模块、数据库、图像三维可视化处理模块和三维模型显示模块;所述图像三维可视化处理模块包括客户端、服务端和硬盘缓存器,所述客户端通过服务端与硬盘缓存器连接,所述硬盘缓冲器与客户端和三维模型显示模块连接。In order to solve the above-mentioned technical problems, the present invention includes the following technical solutions: a massive medical image three-dimensional visualization processing system, including a picture import module, a database, an image three-dimensional visualization processing module and a three-dimensional model display module connected in sequence; the image three-dimensional visualization processing The module includes a client, a server and a hard disk buffer, the client is connected to the hard disk buffer through the server, and the hard disk buffer is connected to the client and the three-dimensional model display module.

所述服务端包括图像平滑模块、图像分割模块、三维重建模块;所述硬盘缓存器包括平滑结果硬盘缓存、分割结果硬盘缓存和三维重建结果硬盘缓存;所述图像平滑模块、平滑结果硬盘缓存、图像分割模块、分割结果硬盘缓存、三维重建模块、三维重建结果硬盘缓存依次连接。The server includes an image smoothing module, an image segmentation module, and a three-dimensional reconstruction module; the hard disk cache includes a smoothing result hard disk cache, a segmentation result hard disk cache, and a three-dimensional reconstruction result hard disk cache; the image smoothing module, smoothing result hard disk cache, The image segmentation module, the hard disk cache of the segmentation result, the three-dimensional reconstruction module, and the hard disk cache of the three-dimensional reconstruction result are connected in sequence.

由于需要大量的内存与硬盘缓存操作,本发明采用游程编码用于压缩图像分割后的结果,来减少对硬盘缓存的需求,所述分割结果硬盘缓存包括依次连接的文件头信息生成单元、游程编码压缩单元、硬盘缓存器和游程编码解压单元。Due to the need for a large amount of memory and hard disk cache operations, the present invention uses run-length coding to compress the results of image segmentation to reduce the demand for hard disk caching. A compression unit, a hard disk buffer and a run-length encoding decompression unit.

为方便后续处理,把同一系列的断层图像合并成3维体数据以单个DICOM文件格式保存,所述图片导入模块包括依次连接的文件头信息读入单元和图片排序单元。For the convenience of subsequent processing, the same series of tomographic images are merged into 3D volume data and stored in a single DICOM file format. The image import module includes a file header information reading unit and an image sorting unit connected in sequence.

为了让用户选择是否应该缩小图像尺寸使得处理结果和效率都能满足用户要求,所述图像导入模块包括图像尺寸缩放选择单元。In order to allow the user to choose whether to reduce the size of the image so that the processing result and efficiency can meet the user's requirements, the image importing module includes an image size scaling selection unit.

所述图像尺寸缩放选择单元包括依次连接的缩放命令执行器和文件信息修改器。The image size scaling selection unit includes a scaling command executor and a file information modifier connected in sequence.

为了支持数据管理,避免重复处理,所述的数据库包括依次连接的数据管理单元和数据存储单元。In order to support data management and avoid repeated processing, the database includes a sequentially connected data management unit and data storage unit.

所述数据管理单元包括记录查询器,与记录查询器连接的记录生成器,所述的记录生成器与数据存储单元连接。The data management unit includes a record queryer and a record generator connected with the record queryer, and the record generator is connected with the data storage unit.

与现有技术相比,本发明具有如下优点:通过本发明,能够解决当前无法处理的医学海量图像数据三维可视化问题。使得一般图像处理算法在不需要改动的情况下能够支持达上GB以上的DICOM图像处理。对于当前普遍仅能处理部分脏器的小数据处理是创新的突破。Compared with the prior art, the present invention has the following advantages: through the present invention, the problem of three-dimensional visualization of massive medical image data that cannot be processed currently can be solved. The general image processing algorithm can support DICOM image processing of more than GB without modification. It is an innovative breakthrough for small data processing that can only process part of the organs.

附图说明 Description of drawings

图1现有技术对海量图像数据处理的流程示意图;Fig. 1 is a schematic flow chart of processing massive image data in the prior art;

图2为本发明的海量图像数据处理模型意图;Fig. 2 is the massive image data processing model intention of the present invention;

图3为本发明的海量图像处理流程图;Fig. 3 is the massive image processing flowchart of the present invention;

图4为本发明的海量医学图像数据导入流程图;Fig. 4 is the flow chart of massive medical image data import of the present invention;

图5为本发明的数据库管理流程图;Fig. 5 is the database management flowchart of the present invention;

图6为本发明的文件头信息生成单元生成的海量图像中间数据格式。Fig. 6 is a mass image intermediate data format generated by the file header information generation unit of the present invention.

具体实施方式 Detailed ways

本发明基于图像数据处理流水线的原理,即各种不同的图像数据处理都可以抽象看作是一数据处理器,数据传入,并通过以结果的方式流出。这样,我们就要以把图像数据处理的任务看作把数据送入流水线,把不同的处理以输入输出的方法连接,最终即可得到我们想要的结果。The present invention is based on the principle of the image data processing pipeline, that is, various image data processing can be abstracted as a data processor, and the data is input and output in the form of results. In this way, we have to regard the task of image data processing as sending data into the pipeline, and connect different processes with input and output methods, and finally we can get the results we want.

图1是现有技术对海量图像数据处理的流程示意图,为了满足对医学图片处理的需求,需要进行DICOM原始采集数据,然后通过数据导入模块得到体数据,将体数据依次通过图像去噪平滑模块、图像分割模块和三维重建模块的处理,得到的结果进入三维模型处理模块,所述三维模型处理模块处理的结果送到模型库或者到显示模块进行显示。但是,假设原始采集DICOM数据为600张,每张图片大小为512*512,则大约为400MB左右,若单纯采用内存保存数据进行处理,设每个模块至少生成一个中间结果,则所需要的空间接近2GB,而一般32位程序无法支持如此大的内存操作限于内存无法一次性载入多个海量图像数据,因此,通过把硬盘缓存器,把每个数据处理器的连接通过硬盘缓冲来相连,这样就可以使得在流水线中存在活动的图像数据为最低。使得海量图像数据处理成为可能。Figure 1 is a schematic diagram of the processing flow of massive image data in the prior art. In order to meet the needs of medical image processing, it is necessary to collect raw DICOM data, then obtain volume data through the data import module, and pass the volume data through the image denoising and smoothing module in turn. 1. Processing by the image segmentation module and the three-dimensional reconstruction module, the result obtained enters the three-dimensional model processing module, and the result processed by the three-dimensional model processing module is sent to the model library or displayed by the display module. However, assuming that the original collected DICOM data is 600 pieces, and the size of each picture is 512*512, it is about 400MB. It is close to 2GB, and the general 32-bit program cannot support such a large memory operation. The memory cannot load multiple massive image data at one time. Therefore, by connecting the hard disk cache and connecting each data processor through the hard disk buffer, This keeps the amount of active image data in the pipeline to a minimum. It makes it possible to process massive image data.

图2为本发明的海量图像数据处理模型意图。医学图像三维可视化处理模块24包括客户端25、服务端26和硬盘缓存器27,所述客户端25通过服务端26与硬盘缓存器27连接,所述硬盘缓冲器27与客户端和三维模型显示模块9连接。本发明主要采用类似提供服务的方式细化每个图像处理执行流程:Fig. 2 is a schematic diagram of a massive image data processing model of the present invention. The medical image three-dimensional visualization processing module 24 includes a client 25, a server 26 and a hard disk buffer 27, the client 25 is connected to the hard disk buffer 27 through the server 26, and the hard disk buffer 27 is connected to the client and the three-dimensional model display Module 9 is connected. The present invention mainly adopts a method similar to providing services to refine each image processing execution flow:

(1)把不同的图像处理作为服务端26,每次处理由程序发送命令给相应服务端26;(1) Different image processing is used as the server 26, and each processing is sent to the corresponding server 26 by the program;

(2)服务端26收到命令,执行相应图像处理请求;(2) The server 26 receives the command and executes the corresponding image processing request;

(3)命令完成,服务端26把结果进行压缩写入硬盘缓存器27,并生成相应记录,返回客户端25;(3) order is finished, and service end 26 compresses result and writes hard disk buffer 27, and generates corresponding record, returns client 25;

(4)客户端25查询服务端26返回记录,进行处理结果管理,并执行后续图像处理操作。(4) The client 25 queries the records returned by the server 26, manages the processing results, and executes subsequent image processing operations.

其中,客户端25主要工作是负责管理导入的数据及由服务端26生成的操作结果。服务端26主要是细化和完成图像处理流程.。Among them, the main job of the client 25 is to manage the imported data and the operation results generated by the server 26 . The server 26 mainly refines and completes the image processing flow.

图3为本发明的海量图像处理流程图。其中,数据库中的图片经过依次连接的图像平滑模块3、平滑结果硬盘缓存4、图像分割模块5、分割结果硬盘缓存6、三维重建模块7、三维重建结果硬盘缓存8以及三维模型显示模块9最终得到处理结果。因此,不同于一般的图像处理流程,这里使用内存仅是不同处理模块的所需内存最大值,而不是所有模块需要内存之和。这里主要通过硬盘缓存来解决有限内存寻址的问题目。例如,一般图像处理流程假设包含图像平滑,分割及三维重建模块,现有原始采集DICOM数据为600张,每张图片大小为512*512,则大约为400MB左右,则内存为能进行图像处理一般要求包含原始数据,平滑后数据,分割结果,及三维重建模,其内存需求大于4*400MB,接近2GB,操作系统无法承受如此大的内存访问。而通过采用硬盘缓存及模块划分,每个模块独立,均可寻址2GB,这样,每个模块所需内存仅为数据输入和数据输出,若上述倒子,仅2*400MB,这样就间接提高内存能处理数据的效率。Fig. 3 is a flow chart of massive image processing in the present invention. Among them, the pictures in the database are connected sequentially through image smoothing module 3, smoothing result hard disk cache 4, image segmentation module 5, segmentation result hard disk cache 6, 3D reconstruction module 7, 3D reconstruction result hard disk cache 8 and 3D model display module 9. Get the processing result. Therefore, unlike the general image processing process, the memory used here is only the maximum memory required by different processing modules, not the sum of memory required by all modules. Here, the hard disk cache is mainly used to solve the problem of limited memory addressing. For example, the general image processing process is assumed to include image smoothing, segmentation and 3D reconstruction modules. The existing original collected DICOM data is 600 pieces, and the size of each picture is 512*512, which is about 400MB. It is required to include original data, smoothed data, segmentation results, and 3D reconstruction. The memory requirement is greater than 4*400MB, which is close to 2GB. The operating system cannot bear such a large memory access. By adopting hard disk cache and module division, each module is independent and can address 2GB. In this way, the memory required by each module is only data input and data output. If the above is reversed, it is only 2*400MB, which indirectly improves The efficiency with which memory can process data.

图4为本发明的海量医学图像数据导入流程图。本发明通过图像导入模块1实现海量医学图像数据的导入,所述的医学图片导入模块1包括依次连接的文件头信息读入单元14、图片排序单元15和图像尺寸缩放选择单元16,所述图像尺寸缩放选择单元16包括依次连接的缩放命令执行器17和文件信息修改器18。Fig. 4 is a flow chart of importing massive medical image data according to the present invention. The present invention realizes the import of a large amount of medical image data through the image import module 1, and the medical image import module 1 includes a sequentially connected file header information read-in unit 14, a picture sorting unit 15 and an image size scaling selection unit 16, the image The size scaling selection unit 16 includes a scaling command executor 17 and a file information modifier 18 connected in sequence.

图像数据导入是进行数据处理的第一步,由于医学图像数据以DICOM格式保存,一个个体一般包含上至几百张断层图像,为方便后续处理,数据导入完成的主要任务就是把同一系列的断层图像合并成三维体数据以单个DICOM文件格式保存。每张DICOM文件头都包含相关的信息,例如病人名,系列ID,图像空间位置,图像精确度等。本发明利用DICOM头信息解决自动划分系列和排序断层文件的问题。同时能由用户选择让程序是否应该缩小图像尺寸使得处理结果和效率都能满足用户要求,而缩减的过程应该同时修改DICOM头文件的空间信息使得数据不会因图像尺寸改变而不可读。Image data import is the first step in data processing. Because medical image data is stored in DICOM format, an individual generally contains up to several hundred slice images. To facilitate subsequent processing, the main task of data import is to combine the same series of slice images The images are merged into 3D volume data and saved in a single DICOM file format. Each DICOM file header contains relevant information, such as patient name, series ID, image spatial position, image accuracy, etc. The invention uses DICOM header information to solve the problems of automatically dividing series and sorting fault files. At the same time, the user can choose whether the program should reduce the image size so that the processing results and efficiency can meet the user's requirements, and the reduction process should simultaneously modify the spatial information of the DICOM header file so that the data will not be unreadable due to the change of the image size.

其中,文件头信息读入单元14读入并分析DICOM头文件信息(例如病人名,系列ID,图像空间位置,图像精确度等),图片排序单元15利用DICOM头信息解决自动划分系列和排序断层文件的问题。Among them, the file header information read-in unit 14 reads in and analyzes the DICOM header file information (such as patient name, series ID, image spatial position, image accuracy, etc.), and the picture sorting unit 15 uses the DICOM header information to solve automatic division of series and sort faults. file problem.

根据用户的需求,图像尺寸缩放选择单元16根据用户的选择对图片进行缩放操作,当接受到用户选择缩放图片的命令时,缩放命令执行器17根据用户要求对图片进行缩放,文件信息修改器18同时修改DICOM头文件的空间信息,使得图片不会因图像的尺寸改变而不可读。经过排序和缩放选择处理的图片,生成DICOM体数据并被导入数据库。According to the needs of the user, the image size zoom selection unit 16 zooms the picture according to the user's selection. When receiving the user's order to select the zoom picture, the zoom command executor 17 zooms the picture according to the user's request, and the file information modifier 18 At the same time, modify the spatial information of the DICOM header file, so that the image will not be unreadable due to the size change of the image. After sorting and zooming selected processed images, DICOM volume data is generated and imported into the database.

图5为本发明的数据库管理流程图。一般来说,海量数据的导入和处理是十分耗时的,而用户对同一个体的数据操作又是频繁的,因此,如何有效管理数据就是海量数据处理首要解决的问题。本发明采用XML文件作为简易的数据库,记录当前所有海量医学图像数据的位置及处理结果,使得处理能够持久化,即程序能够自动记录用户的以往操作,避免重复处理。为支持数据管理,需提供相关接口,自动生成记录标记,查询记录项,插入记录项,删除记录项。Fig. 5 is a flow chart of database management in the present invention. Generally speaking, the import and processing of massive data is very time-consuming, and users frequently operate on the data of the same individual. Therefore, how to effectively manage data is the primary problem to be solved in massive data processing. The present invention uses XML files as a simple database to record the locations and processing results of all current massive medical image data, so that the processing can be persisted, that is, the program can automatically record the user's previous operations and avoid repeated processing. In order to support data management, it is necessary to provide relevant interfaces to automatically generate record marks, query record items, insert record items, and delete record items.

所述的数据库包括依次连接的数据管理单元19和数据存储单元20。所述数据管理单元19包括记录查询器21,与记录查询器21连接的记录生成器22,所述的记录生成器22与数据存储单元20连接。The database includes a data management unit 19 and a data storage unit 20 connected in sequence. The data management unit 19 includes a record queryer 21 and a record generator 22 connected to the record queryer 21 , and the record generator 22 is connected to the data storage unit 20 .

经过图像导入模块1处理的图片,首先生成记录标记,记录查询器21查询该记录标记,如果已经存在数据,则结束操作;如果没有读取到已存在数据,则执行操作,添加操作记录项到数据存储单元20,也就是本发明实施例中的XML数据库,同时,通过记录生成器22生成本次操作的记录项,为下次记录查询器21查询时查询。The picture processed by the image import module 1 first generates a record mark, and the record query device 21 inquires about the record mark, and if there is data, the operation is ended; if the existing data is not read, the operation is performed, and the operation record item is added to The data storage unit 20, that is, the XML database in the embodiment of the present invention, at the same time, generates the record item of this operation through the record generator 22, which will be queried for the next time the record queryer 21 inquires.

图6为本发明的文件头信息生成单元生成的海量图像中间数据格式。由于需要大量的内存与硬盘缓存操作,本发明采用游程编码用于保存图像分割后的结果,来减少对硬盘缓冲的需求。文件格式包括两个部分,头文件信息和游程编码,为了更好的记录病人信息,头文件信息包括病人ID、扫描ID、文件名、创建日期、作者、程序、模块、图像尺寸、和图像空间信息等。Fig. 6 is a mass image intermediate data format generated by the file header information generation unit of the present invention. Since a large amount of memory and hard disk cache operations are required, the present invention uses run-length coding to save the result of image segmentation to reduce the demand for hard disk buffering. The file format includes two parts, header file information and run-length encoding. In order to better record patient information, header file information includes patient ID, scan ID, file name, creation date, author, program, module, image size, and image space information etc.

所述的游程编码用于保存图像分割后的结果通过分割结果硬盘缓存6完成,其包括依次连接的文件头信息生成单元、游程编码压缩单元、硬盘缓存器和游程编码解压单元。由于分割后的结果均为二值图像,即只包含前景色和背景色。在这里以0,1表示,因此,可以仅对1进行游程编码。并改进原始游程编码,加入相关DICOM头信息,以保存在后续数据处理中能引用相关DICOM头信息。The run-length encoding is used to save the result of image segmentation through the segmented result hard disk cache 6, which includes a sequentially connected file header information generation unit, run-length encoding compression unit, hard disk buffer, and run-length encoding decompression unit. Since the results after segmentation are all binary images, that is, only foreground and background colors are included. It is represented by 0 and 1 here, therefore, only 1 can be run-length coded. And improve the original run-length encoding, add relevant DICOM header information, so as to save and reference the relevant DICOM header information in subsequent data processing.

其具体的步骤为分为压缩流程和解压流程,图像经过分割后,首先通过头文件头信息生成单元生成图像的头信息,包括病人ID、扫描ID、文件名、创建日期、作者、程序、模块、图像尺寸、和图像空间信息等。然后游程编码压缩单元遍历图像像素值,当遇到1则记录当前图像下标(x,y,z),并步进至遇到0值,记录过程中出现1的个数作为游程,记为r.并写(x,y,z,r)写入到硬盘缓存器中。The specific steps are divided into compression process and decompression process. After the image is divided, the header information of the image is first generated by the header file header information generation unit, including patient ID, scan ID, file name, creation date, author, program, module , image size, and image space information, etc. Then the run-length encoding and compression unit traverses the image pixel values, and when it encounters 1, it records the current image subscript (x, y, z), and steps until it encounters a value of 0, and the number of 1s that appear during the recording process is used as the run length, which is recorded as r. and write (x, y, z, r) into the hard disk buffer.

解压缩时,游程编码解压单元首先读入硬盘缓存器中的压缩文件头信息,生成相应图像大小,接着依次读入之前保存的(x,y,z,r)值,把图像下标为(x,y,z)及其后r个像素的值设为1。When decompressing, the run-length coding decompression unit first reads the header information of the compressed file in the hard disk buffer to generate the corresponding image size, then reads in the previously saved (x, y, z, r) values in sequence, and subscripts the image as ( x, y, z) and the values of the following r pixels are set to 1.

Claims (8)

1.一种海量医学图像三维可视化处理系统,包括依次连接的图片导入模块(1)、数据库、图像三维可视化处理模块(24)和三维模型显示模块(9);所述图像三维可视化处理模块(24)包括客户端(25)、服务端(26)和硬盘缓存器(27),所述客户端(25)通过服务端(26)与硬盘缓存器(27)连接,所述硬盘缓冲器(27)与客户端和三维模型显示模块(9)连接。1. a large amount of medical image three-dimensional visualization processing system, comprising picture import module (1), database, image three-dimensional visualization processing module (24) and three-dimensional model display module (9) connected successively; described image three-dimensional visualization processing module ( 24) comprise client (25), service end (26) and hard disk cache (27), described client (25) is connected with hard disk cache (27) by server (26), described hard disk cache ( 27) Connect with the client and the three-dimensional model display module (9). 2.根据权利要求1所述的海量医学图像三维可视化处理系统,其特征在于:所述服务端(26)包括图像平滑模块(3)、图像分割模块(5)、三维重建模块(7);所述硬盘缓存器(27)包括平滑结果硬盘缓存(4)、分割结果硬盘缓存(6)和三维重建结果硬盘缓存(8);所述图像平滑模块(3)、平滑结果硬盘缓存(4)、图像分割模块(5)、分割结果硬盘缓存(6)、三维重建模块(7)、三维重建结果硬盘缓存(8)依次连接。2. The massive medical image three-dimensional visualization processing system according to claim 1, characterized in that: the server (26) includes an image smoothing module (3), an image segmentation module (5), and a three-dimensional reconstruction module (7); The hard disk cache (27) includes a smoothing result hard disk cache (4), a segmentation result hard disk cache (6) and a three-dimensional reconstruction result hard disk cache (8); the image smoothing module (3), the smoothing result hard disk cache (4) , the image segmentation module (5), the segmentation result hard disk cache (6), the three-dimensional reconstruction module (7), and the three-dimensional reconstruction result hard disk cache (8) are sequentially connected. 3.根据权利要求2所述的海量医学图像三维可视化处理系统,其特征在于:所述分割结果硬盘缓存(6)包括依次连接的文件头信息生成单元、游程编码压缩单元、硬盘缓存器和游程编码解压单元。3. The three-dimensional visualization processing system for massive medical images according to claim 2, characterized in that: the segmentation result hard disk cache (6) includes a sequentially connected file header information generation unit, a run-length encoding compression unit, a hard disk buffer and a run-length Code decompression unit. 4.根据权利要求3所述的海量医学图像三维可视化处理系统,其特征在于:所述图片导入模块(1)包括依次连接的文件头信息读入单元(14)和图片排序单元(15)。4. The three-dimensional visualization processing system for massive medical images according to claim 3, characterized in that: the picture import module (1) includes a sequentially connected file header information reading unit (14) and picture sorting unit (15). 5.根据权利要求4所述的海量医学图像三维可视化处理系统,其特征在于:所述图像导入模块(1)包括图像尺寸缩放选择单元(16)。5. The three-dimensional visualization processing system for massive medical images according to claim 4, characterized in that: the image import module (1) includes an image size scaling selection unit (16). 6.根据权利要求5所述的海量医学图像三维可视化处理系统,其特征在于:所述图像尺寸缩放选择单元(16)包括依次连接的缩放命令执行器(17)和文件信息修改器(18)。6. The three-dimensional visualization processing system for massive medical images according to claim 5, characterized in that: the image size scaling selection unit (16) includes a scaling command executor (17) and a file information modifier (18) connected in sequence . 7.根据权利要求6所述的海量医学图像三维可视化处理系统,其特征在于:所述的数据库包括依次连接的数据管理单元(19)和数据存储单元(20)。7. The three-dimensional visualization processing system for massive medical images according to claim 6, characterized in that: said database includes a data management unit (19) and a data storage unit (20) connected in sequence. 8.根据权利要求7所述的海量医学图像三维可视化处理系统,其特征在于:数据管理单元(19)包括记录查询器(21),与记录查询器(21)连接的记录生成器(22),所述的记录生成器(22)与数据存储单元(20)连接。8. The massive medical image three-dimensional visualization processing system according to claim 7, characterized in that: the data management unit (19) includes a record queryer (21), a record generator (22) connected to the record queryer (21) , the record generator (22) is connected to the data storage unit (20).
CN200810199009A 2008-10-07 2008-10-07 Massive medical image three-dimensional visualization processing system Pending CN101520817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810199009A CN101520817A (en) 2008-10-07 2008-10-07 Massive medical image three-dimensional visualization processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810199009A CN101520817A (en) 2008-10-07 2008-10-07 Massive medical image three-dimensional visualization processing system

Publications (1)

Publication Number Publication Date
CN101520817A true CN101520817A (en) 2009-09-02

Family

ID=41081404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810199009A Pending CN101520817A (en) 2008-10-07 2008-10-07 Massive medical image three-dimensional visualization processing system

Country Status (1)

Country Link
CN (1) CN101520817A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102157016A (en) * 2011-04-26 2011-08-17 南通大学 IDL based method for three-dimensionally visualizing medical images
CN102360390A (en) * 2011-10-24 2012-02-22 浙江大学 Knowledge cloud database retrieval method and system based on medical keywords
CN103810370A (en) * 2012-11-08 2014-05-21 王靖维 Real-time image cloud system and management method thereof
CN105574148A (en) * 2015-12-16 2016-05-11 麦克奥迪(厦门)医疗诊断系统有限公司 Digital slide storage system and digital slide browsing method
CN105844693A (en) * 2016-04-29 2016-08-10 青岛大学附属医院 Liver 3D CT reconstruction data information processing system
CN110287388A (en) * 2019-06-05 2019-09-27 中国科学院计算机网络信息中心 Data visualization method and device
CN110559007A (en) * 2019-07-23 2019-12-13 北京赛迈特锐医疗科技有限公司 Intelligent diagnosis system and method for skull CT flat scan image
CN111145190A (en) * 2019-12-27 2020-05-12 之江实验室 A single organ interaction method based on medical image processing and visualization
CN112950459A (en) * 2021-03-23 2021-06-11 贵州航天云网科技有限公司 3D model rapid multiplexing system and method based on micro-service technology
CN113538253A (en) * 2020-04-21 2021-10-22 杭州普健医疗科技有限公司 Medical image processing method, medium and CT device
CN116052850A (en) * 2023-02-01 2023-05-02 南方医科大学珠江医院 CTMR imaging anatomical annotation and 3D modeling mapping teaching system based on artificial intelligence

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102157016A (en) * 2011-04-26 2011-08-17 南通大学 IDL based method for three-dimensionally visualizing medical images
CN102360390A (en) * 2011-10-24 2012-02-22 浙江大学 Knowledge cloud database retrieval method and system based on medical keywords
CN103810370A (en) * 2012-11-08 2014-05-21 王靖维 Real-time image cloud system and management method thereof
CN105574148A (en) * 2015-12-16 2016-05-11 麦克奥迪(厦门)医疗诊断系统有限公司 Digital slide storage system and digital slide browsing method
CN105844693A (en) * 2016-04-29 2016-08-10 青岛大学附属医院 Liver 3D CT reconstruction data information processing system
CN110287388B (en) * 2019-06-05 2021-07-13 中国科学院计算机网络信息中心 Data visualization method and device
CN110287388A (en) * 2019-06-05 2019-09-27 中国科学院计算机网络信息中心 Data visualization method and device
CN110559007A (en) * 2019-07-23 2019-12-13 北京赛迈特锐医疗科技有限公司 Intelligent diagnosis system and method for skull CT flat scan image
CN111145190A (en) * 2019-12-27 2020-05-12 之江实验室 A single organ interaction method based on medical image processing and visualization
CN111145190B (en) * 2019-12-27 2022-06-17 之江实验室 Single organ interaction method based on medical image processing and visualization
CN113538253A (en) * 2020-04-21 2021-10-22 杭州普健医疗科技有限公司 Medical image processing method, medium and CT device
CN113538253B (en) * 2020-04-21 2023-09-15 杭州普健医疗科技有限公司 Medical image processing method, medium and CT device
CN112950459A (en) * 2021-03-23 2021-06-11 贵州航天云网科技有限公司 3D model rapid multiplexing system and method based on micro-service technology
CN116052850A (en) * 2023-02-01 2023-05-02 南方医科大学珠江医院 CTMR imaging anatomical annotation and 3D modeling mapping teaching system based on artificial intelligence

Similar Documents

Publication Publication Date Title
CN101520817A (en) Massive medical image three-dimensional visualization processing system
JP6033241B2 (en) Backup and restore strategies for data deduplication
US7411693B2 (en) Image data dissemination system and method
JP7748215B2 (en) Systems and methods for generating dynamic media
US20020126914A1 (en) Image reproduction apparatus, image processing apparatus, and method therefor
CN102667864A (en) Image file generation device, image processing device, image file generation method, image processing method, and data structure for image files
US10438092B2 (en) Systems and methods for converting massive point cloud datasets to a hierarchical storage format
Noguera et al. Mobile volume rendering: past, present and future
US9728001B2 (en) Processing and rendering of large image files
CN115022670B (en) Video file storage method, restoration method, device, equipment and storage medium
US20240137608A1 (en) Partial frame replacement enabling multiple versions in an integrated video package
CN109089120A (en) Analyze auxiliaring coding
CN115809956B (en) Graphics processor performance analysis method, device, computer equipment and storage medium
Banterle et al. Real-Time High Fidelity Inverse Tone Mapping for Low Dynamic Range Content.
Mayer Virtual texturing
CN112802134A (en) Coding method and device of three-dimensional model and terminal
KR20090124177A (en) Massive image processing device and method
KR20210134947A (en) Cooperative access method and system of external memory, cooperative access architecture
WO2007021135A1 (en) Processing method of data structure for real-time image processing
WO2024159555A1 (en) Video processing method and apparatus, and computer readable storage medium
CN113035306A (en) Method, system, equipment and medium for remotely browsing images
CN119960684B (en) Internet data compression storage method and system
Hota VaaS: Visualization as a Service
US12038571B2 (en) Scalable and efficient whole slide image reader for deep learning and viewer applications
CN117544821A (en) Video merging method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20090902