Disclosure of Invention
In view of the above, it is necessary to provide a data fusion method, apparatus, computer device and readable storage medium for solving the above problems.
A method of data fusion, comprising:
registering the functional image of the target object and the anatomical image of the target object to obtain a registration result;
acquiring a first target image and a second target image according to the anatomical image, wherein the second target image comprises blood vessels, and the first target image comprises residual organs;
determining mapping data of functional parameters on the outer contour of the remaining organ contained in the first target image; wherein the functional parameters are used for characterizing the activity condition of the residual organs in the registration result;
acquiring an outer contour image of the residual organ according to the mapping data;
acquiring simulation data according to the second target image, wherein the simulation data represent the distribution condition of preset parameters in the blood vessel;
and fusing the outer contour image and the simulation data.
In one embodiment, the acquiring simulation data according to the second target image includes:
constructing a second target simulation model according to the second target image;
and carrying out computational fluid dynamics simulation according to the second target simulation model to obtain the simulation data.
In one embodiment, the determining the mapping data of the functional parameter on the outer contour of the remaining organ contained in the first target image comprises:
determining a center point of the remaining organ;
acquiring rays from the central point to the outer contour of the residual organ;
determining a functional parameter set according to the functional image and the ray included in the registration result, wherein the parameters included in the functional parameter set are parameters corresponding to the part of the ray passing through the residual organ;
and determining the mapping data according to the function parameter set.
In one embodiment, the obtaining an outer contour image of the remaining organ according to the mapping data includes:
determining an intersection point of the ray and the outer contour;
mapping the mapping data to the intersection point;
and acquiring the outer contour image of the residual organ according to the intersection point.
In one embodiment, the determining the mapping data of the functional parameter on the outer contour of the remaining organ contained in the first target image comprises:
determining a central axis of the remaining organ;
determining a second point closest to the first point on the central axis according to the first point on the outer contour, wherein the first point is any point on the outer contour;
acquiring a target line segment connecting the first point and the second point;
determining a functional parameter set according to the functional image and the target line segment contained in the registration result, wherein the parameters contained in the functional parameter set are parameters corresponding to the part of the target line segment passing through the residual organ;
and determining the mapping data according to the function parameter set.
In one embodiment, the obtaining an outer contour image of the remaining organ according to the mapping data includes:
mapping the mapping data to the first point;
and acquiring the outer contour image of the residual organ according to the first point.
In one embodiment, the determining the mapping data according to the set of functional parameters includes:
determining a maximum value from the functional parameters contained in the functional parameter set, and taking the maximum value as the mapping data;
or,
determining an average value of the functional parameters contained in the functional parameter set, and taking the average value as the mapping data;
or,
and determining an integral value of the functional parameter contained in the functional parameter set, and using the integral value as the mapping data.
A data fusion apparatus comprising:
the registration module is used for registering the functional image of the target object and the anatomical image of the target object to obtain a registration result;
the processing module is used for acquiring a first target image and a second target image according to the anatomical image, wherein the second target image comprises blood vessels, and the first target image comprises residual organs;
a determining module, configured to determine mapping data of the functional parameter on an outer contour of a remaining organ included in the first target image; wherein the functional parameters are used for characterizing the activity condition of the residual organs in the registration result;
the outer contour image acquisition module is used for acquiring outer contour images of the residual organs according to the mapping data;
the simulation data acquisition module is used for acquiring simulation data according to the second target image, wherein the simulation data represents the distribution condition of preset parameters in the blood vessel;
and the fusion module is used for fusing the outer contour image and the simulation data.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the method as described above when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method as set forth above.
According to the data fusion method, the data fusion device, the computer equipment and the readable storage medium, a registration result is obtained by registering the functional image of the target object and the anatomical image of the target object, and the first target image and the second target image are obtained according to the anatomical image. Then, determining mapping data of functional parameters on the outer contour of the residual organ contained in the first target image, and acquiring an outer contour image of the residual organ according to the mapping data. And simultaneously, acquiring simulation data according to the second target image. And finally fusing the outer contour image and the simulation data. The data fusion method, the data fusion device, the computer equipment and the readable storage medium provided by the embodiment of the application can take the functional image and the anatomical image of the target object as input, obtain the outer contour image and the simulation data containing functional parameters, and fuse the outer contour image and the simulation data, so that the obtained image not only contains the functional parameters, but also contains the simulation data, a user can visually obtain the corresponding relation between a diseased blood vessel and the remaining organs dominated by the diseased blood vessel, the severity of a lesion can be evaluated from multiple angles, and the evaluation efficiency and effect are improved.
Detailed Description
The data fusion method provided by the application can be applied to the computer device shown in fig. 1, and the computer device comprises a processor, a memory, a network interface and a database which are connected through a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing video files and the like in the embodiment of the application. The network interface of the computer device is used for communicating with an external terminal through a network connection. Optionally, the computer device may be a server, may be a PC, a personal digital assistant, other terminal devices such as a PAD, a mobile phone, and the like, or a cloud or a remote server, and the specific form of the computer device is not limited in the embodiment of the present application.
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application are further described in detail by the following embodiments in combination with the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not limiting of the application.
The data fusion method provided by the embodiment of the application can be applied to processing of image data in the medical field. The medical image fusion and processing of human or animal organs or tissues are mainly used for further reflecting the function condition of the organs or tissues, so that doctors are assisted to make more reasonable diagnosis.
Referring to fig. 2, an embodiment of the present application provides a data fusion method, including:
s10, registering the functional image of the target object and the anatomical image of the target object to obtain a registration result. Wherein the target object is included in the functional image and the anatomical image.
The target object refers to an organ or tissue whose function needs to be evaluated and understood. For example, the target object may be a heart, a brain, a liver, or the like.
The functional image is an image capable of reflecting the functional parameters of the target object from the microcirculation level. The acquisition of the functional images includes, but is not limited to, PET, SPET (single photon emission tomography), CT perfusion, MR perfusion, and the like. The functional image may be a 3D image. The number of the functional images may be 1, or may be multiple, that is, the functional image may be an image sequence representing a certain functional parameter of the target object.
The anatomical image is an image that can reflect the anatomical form of the target object from a morphological level. The acquisition of the anatomical image includes, but is not limited to, CT, MR, etc. The anatomical image may be a 3D image.
And registering the functional image containing the target object and the target object, wherein the registering method is not specifically limited in the application and can be selected according to actual requirements. The registration result obtained by registration comprises the functional parameters in the functional image and also comprises the anatomical morphology in the anatomical image, so that the morphological lesion and the functional lesion of the target object can be visually reflected.
S20, acquiring a first target image and a second target image according to the anatomical image. Wherein the second target image includes a blood vessel. The first target image includes a remaining organ therein. The vessels in the second target image are used to serve the remaining organs in the first target.
Specifically, the anatomical image is processed, and the target object in the anatomical image is segmented into the blood vessel and the remaining organ, so as to obtain the first target image and the second target image. The remaining organ refers to a portion of the target subject from which the blood vessel is removed. For example, the target object is a heart. And processing the anatomical image of the heart to obtain a heart chamber image and a coronary artery image, namely the first target image and the second target image.
S30, determining the mapping data of the functional parameters on the outer contour of the residual organ contained in the first target image. Wherein the functional parameters are used for characterizing the activity condition of the remaining organs in the registration result.
And taking the registration result and the first target image as input, and corresponding the functional parameters in the registration result to the outer contour of the residual organ in the first target image. The mapping data characterizes the correspondence of the functional parameters to the outer contours of the remaining organs. The registration result includes the functional parameter, and therefore the mapping data is obtained according to the registration result and the first target image.
And S40, acquiring the outer contour image of the residual organ according to the mapping data.
That is, the functional parameter is mapped to the outer contour image of the remaining organ according to the corresponding relationship between the functional parameter and the outer contour of the remaining organ, so that the outer contour of the remaining organ includes the functional parameter. The functional parameters can be intuitively obtained through the outer contour image.
And S50, acquiring simulated data according to the second target image, wherein the simulated data represent the distribution condition of preset parameters in the blood vessel.
And constructing a three-dimensional model of the blood vessel based on the anatomical image of the blood vessel, and simulating to obtain the distribution condition of preset parameters in the blood vessel. The preset parameter may be one or more of hemodynamic parameters. The simulated data can represent the condition of the blood vessel. The mode of obtaining the simulation data is not limited in the present application and can be selected according to actual requirements.
And S60, fusing the outline image and the simulation data.
Specifically, the outline image and the simulation data may be superimposed to form a fusion map. The method for fusion and superposition is not limited in the present application. The fusion graph comprises the functional parameters of the target object and also comprises the simulation data of the target object.
In this embodiment, a registration result is obtained by registering a functional image of a target object and an anatomical image of the target object, and a first target image and a second target image are obtained according to the anatomical image. Then, determining mapping data of functional parameters on the outer contour of the residual organ contained in the first target image, and acquiring an outer contour image of the residual organ according to the mapping data. And simultaneously, acquiring simulation data according to the second target image. And finally fusing the outer contour image and the simulation data. According to the method provided by the embodiment of the application, the functional image and the anatomical image of the target object are used as input, the outer contour image and the simulation data containing functional parameters are obtained, and the outer contour image and the simulation data are fused, so that the obtained image not only contains the functional parameters, but also contains the simulation data, a user can visually obtain the corresponding relation between a diseased blood vessel and the remaining organs dominated by the diseased blood vessel, the severity of a lesion can be evaluated from multiple angles, and the evaluation efficiency and effect are improved.
Referring to fig. 3, in one embodiment, S50 includes:
s510, constructing a second target simulation model according to the second target image;
s520, according to the second target simulation model, carrying out computational fluid dynamics simulation, and obtaining the simulation data.
And constructing a 3D solving model based on the second target image obtained by the vessel segmentation, namely the second target simulation model. And performing Computational Fluid Dynamics (CFD) simulation according to the second simulation model. And acquiring the distribution condition of the preset parameters in the blood vessel according to the simulation result. The preset parameters may include, but are not limited to, FFR (Fractional coronary Flow Reserve), wall shear stress (WWS), blood Flow pressure, blood Flow velocity, etc. Segmenting the anatomical image (such as a magnetic resonance contrast image) and acquiring a blood vessel result (such as a blood vessel mask), then constructing a mesh of the blood vessel according to the segmentation result to acquire the second target simulation model, determining the boundary conditions of the blood flow inlet and outlet according to the second target simulation model, and performing simulation on the blood flow of the blood vessel by calculating hydrodynamics to acquire a simulation result.
In this embodiment, a second target simulation model is constructed according to the second target image, and computational fluid dynamics simulation is performed according to the second target simulation model to obtain the simulation data. The method for acquiring the simulation data is simple and effective, and the speed and the accuracy of acquiring the simulation data are guaranteed.
Referring to fig. 4, in one embodiment, S30 includes:
S310A, determining a center point of the remaining organ;
S320A, obtaining the ray from the central point to the outer contour of the residual organ;
S330A, determining a functional parameter set according to the functional image and the ray included in the registration result, wherein the parameters included in the functional parameter set are parameters corresponding to the part of the ray passing through the residual organ;
S340A, determining the mapping data according to the function parameter set.
In the second target image, rays are emitted from a center point of the remaining organ to an outer contour of the remaining organ. And acquiring data points of functional parameters in the functional image, through which the ray passes, based on the corresponding relation between the residual organ in the second target image and the organ in the registration result image. The data points of the functional parameters are multiple, and the data points of the functional parameters are the functional parameter set. And calculating the functional parameter set to obtain the corresponding relation between the functional parameter data points and the residual organ outline, namely the mapping data.
By the method, rays are emitted to the directions of all points on the outer contour of the residual organ from the central point of the residual organ, and the mapping data of all functional parameters can be obtained. That is, the innumerable plurality of rays emitted from the center of the remaining organ to all directions cover all points of the outer contour of the remaining organ. Thus, all functional parameters in the functional image may be mapped.
Referring to fig. 5, in one embodiment, S40 includes:
S410A, determining the intersection point of the ray and the outer contour;
S420A, mapping the mapping data to the intersection;
S430A, acquiring the outline image of the residual organ according to the intersection point.
And according to the mapping data, mapping the data on the functional parameter data points to the intersection points of the rays and the outer contour, and completing the mapping of all the functional parameter data points by the method to obtain the outer contour image of the residual organ.
Referring to fig. 6, in an embodiment, S30 can also be implemented by the following steps, S30 includes:
s310, determining a central axis of the residual organ;
S320B, according to a first point on the outer contour, determining a second point closest to the first point on the central axis, wherein the first point is any point on the outer contour;
S330B, acquiring a target line segment connecting the first point and the second point;
S340B, determining a functional parameter set according to the functional image and the target line segment included in the registration result, where the parameters included in the functional parameter set are parameters corresponding to a portion of the target line segment passing through the remaining organ;
S340A, determining the mapping data according to the function parameter set.
And determining a central axis of the residual organ, and for a first point in the outer contour of the residual organ, finding a point on the central axis, which is closest to the first point, and determining the point as the second point. The first point and the second point form the target line segment. Functional parameter data points in the functional image through which the target line segment passes. The functional parameter data points in the functional image through which the target line segment passes are multiple, and a set of the multiple functional parameter data points is the functional parameter set. And calculating the functional parameter set to obtain the corresponding relation between the functional parameter data points and the residual organ outline, namely the mapping data.
And finding out the functional parameter data points corresponding to each point in the outer contour of the residual organ by the method, and obtaining the mapping data of each point. And mapping each point on the outer contour of the residual organ, so as to complete the mapping of all the functional parameters.
Referring to fig. 7, in one embodiment, S40 includes:
S410B, mapping the mapping data to the first point;
S420B, acquiring the outer contour image of the residual organ according to the first point.
According to the mapping data, mapping the data on the functional parameter data points to the outer contour points of the remaining organ corresponding thereto, i.e. to the first point. The first point is any point on the outer contour of the residual organ. Therefore, by the method, functional parameter data points corresponding to all the points can be mapped, and the outer contour image of the residual organ can be obtained.
The mapping data of the functional parameters on the outer contour of the residual organ contained in the first target image is determined through the embodiment, the outer contour image of the residual organ is obtained according to the mapping data, the functional parameters in the target object are also mapped to the outer contour of the target object, and therefore the internal functional parameters can be visually displayed through the outer contour of the target object. The method provided by the embodiment improves the intuitiveness of data display and improves the display effect.
In one embodiment, S340A includes:
s341, determining a maximum value from the functional parameters included in the functional parameter set, and using the maximum value as the mapping data; or,
s342, determining an average value of the functional parameters contained in the functional parameter set, and taking the average value as the mapping data; or,
s343, determining an integrated value of the function parameter included in the set of function parameters, and using the integrated value as the mapping data.
That is to say, in the functional parameter set, a plurality of functional parameter data points can be obtained through the functional image by a line between each ray and the intersection point of the outer contour of the remaining organ, and then, a maximum value, an average value or an integral value is calculated for the plurality of functional parameter data points, so as to obtain one data, and the data corresponds to the intersection points on the outer contour of the remaining organ one by one, so as to obtain the mapping data.
Similarly, the target line segment can also obtain \35764Begfunctional parameter data points through the functional image, and the data is obtained by performing maximum value or averaging or integral value calculation on the functional parameter data points, and is in one-to-one correspondence with the first points on the outer contours of the remaining organs, so that the mapping data is obtained.
In this embodiment, the maximum value, the average value, or the integral value is determined from the functional parameters included in the functional parameter set, and the maximum value, the average value, or the integral value is determined as the mapping data, so that the accuracy of data mapping is improved.
Referring to fig. 8, an embodiment of the present application provides a data fusion apparatus 10, where the data fusion apparatus 10 includes: a registration module 100, a processing module 200, a determination module 300, an outer contour image acquisition module 400, a simulation data acquisition module 500, and a fusion module 600. Wherein,
the registration module 100 is configured to register a functional image of a target object and an anatomical image of the target object to obtain a registration result;
the processing module 200 is configured to obtain a first target image and a second target image according to the anatomical image, where the second target image includes a blood vessel, and the first target image includes a remaining organ;
the determining module 300 is configured to determine mapping data of the functional parameter on the outer contour of the remaining organ included in the first target image; wherein the functional parameters are used for characterizing the activity condition of the residual organs in the registration result;
the outer contour image obtaining module 400 is configured to obtain an outer contour image of the remaining organ according to the mapping data;
the simulated data obtaining module 500 is configured to obtain simulated data according to the second target image, where the simulated data represents a distribution condition of a preset parameter in the blood vessel;
the fusion module 600 is configured to fuse the outer contour image and the simulation data.
In one embodiment, the simulation data acquisition module 500 includes a model building unit and a simulation unit. The model building unit is used for building a second target simulation model according to the second target image. And the simulation unit is used for carrying out computational fluid dynamics simulation according to the second target simulation model to obtain the simulation data.
In one embodiment, the determining module 300 includes: the device comprises a central point determining unit, a ray acquiring unit, a first function parameter determining unit and a mapping data determining unit. Wherein the central point determination unit is configured to determine a central point of the remaining organ. The ray acquisition unit is used for acquiring rays from the central point to the outer contour of the residual organ. The first functional parameter determining unit is configured to determine a functional parameter set according to the functional image and the ray included in the registration result, where the parameters included in the functional parameter set are parameters corresponding to a portion of the ray passing through the remaining organ. The mapping data determining unit is used for determining the mapping data according to the function parameter set.
In one embodiment, the outer contour image acquisition module 400 comprises an intersection point determination unit, a mapping unit and an image acquisition unit. Wherein the intersection point determining unit is configured to determine an intersection point of the ray and the outer contour. The mapping unit is configured to map the mapping data to the intersection point. The image acquisition unit is used for acquiring the outer contour image of the residual organ according to the intersection point.
In one embodiment, the determining module 300 further comprises: the device comprises a central axis determining unit, a second point determining unit, a target line segment acquiring unit and a second function parameter set determining unit. The central axis determining unit is used for determining the central axis of the residual organ. The second point determining unit is configured to determine a second point closest to the first point on the central axis according to the first point on the outer contour, where the first point is any point on the outer contour. The target line segment acquisition unit is used for acquiring a target line segment connecting the first point and the second point. The second functional parameter set determining unit is configured to determine a functional parameter set according to the functional image and the target line segment included in the registration result, where parameters included in the functional parameter set are parameters corresponding to a portion of the target line segment passing through the remaining organ.
In one embodiment, the outer contour image obtaining module 400 further comprises a first point mapping unit. The first point mapping unit is configured to map the mapping data to the first point. The image acquisition unit is further used for acquiring the outer contour image of the residual organ according to the first point.
In one embodiment, the mapping data determining unit is further configured to determine a maximum value from the functional parameters included in the set of functional parameters, and use the maximum value as the mapping data; or determining an average value of the functional parameters contained in the functional parameter set, and taking the average value as the mapping data; alternatively, an integrated value of the functional parameter included in the set of functional parameters is determined, and the integrated value is used as the mapping data.
For specific limitations of the data fusion device, reference may be made to the above limitations of the data fusion method, which are not described herein again. The various modules in the data fusion device may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
One embodiment of the present application provides a computer apparatus comprising a memory and a processor, the memory storing a computer program. The processor, when executing the computer program, implements the steps of:
registering the functional image of the target object and the anatomical image of the target object to obtain a registration result;
acquiring a first target image and a second target image according to the anatomical image, wherein the second target image comprises blood vessels, and the first target image comprises residual organs;
determining mapping data of functional parameters on the outer contour of the remaining organ contained in the first target image; wherein the functional parameters are used for characterizing the activity condition of the residual organs in the registration result;
acquiring an outer contour image of the residual organ according to the mapping data;
acquiring simulation data according to the second target image, wherein the simulation data represent the distribution condition of preset parameters in the blood vessel;
and fusing the outer contour image and the simulation data.
The implementation principle and technical effect of the computer device provided by the above embodiment are similar to those of the above method embodiment, and are not described herein again.
One embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. The computer program when executed by a processor implementing the steps of:
registering the functional image of the target object and the anatomical image of the target object to obtain a registration result;
acquiring a first target image and a second target image according to the anatomical image, wherein the second target image comprises blood vessels, and the first target image comprises residual organs;
determining mapping data of functional parameters on the outer contour of the remaining organ contained in the first target image; wherein the functional parameters are used for characterizing the activity condition of the residual organs in the registration result;
acquiring an outer contour image of the residual organ according to the mapping data;
acquiring simulation data according to the second target image, wherein the simulation data represent the distribution condition of preset parameters in the blood vessel;
and fusing the outer contour image and the simulation data.
The implementation principle and technical effect of the computer-readable storage medium provided by the above embodiments are similar to those of the above method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.