A method for obtaining optimal transmission mapping in a high-dimensional region and related products

By constructing a linear constant coefficient elliptic partial differential equation and using fast Fourier transform to solve it, the problem of computational complexity of high-dimensional optimal transmission mapping is solved, and efficient and accurate optimal transmission mapping is achieved, which is suitable for a variety of technical applications.

CN114842101BActive Publication Date: 2024-09-17DALIAN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210411282.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-04-19
Filing Date
2022-04-19
Publication Date
2024-09-17
Estimated Expiration
2042-04-19

AI Technical Summary

Technical Problem

Existing algorithms are difficult to achieve high efficiency and accuracy when calculating high-dimensional optimal transmission mapping, especially due to the high computational complexity due to the nonlinear nature of the Monge-Ampere equation, and the Sinkhorn algorithm has approximation errors.

Method used

By constructing the discrete Monge-Ampere equation based on the source density and target density, simplifying it into a linear constant coefficient elliptic partial differential equation, and using fast Fourier transform to solve it to determine the Brenier potential energy function, thereby obtaining optimal transmission in the high-dimensional region mapping.

Benefits of technology

It reduces the computational complexity, improves the computational efficiency, and achieves accurate optimal transmission mapping in high-dimensional areas. It is suitable for technologies such as virtual magnifying glass and image registration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114842101B_ABST
    Figure CN114842101B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method for obtaining an optimal transmission mapping in a high-dimensional region and a related product. The method is performed by a computing device and includes: obtaining a source density in a high-dimensional region and a target density in a target region in the high-dimensional region; determining a discrete Monge-Ampere equation associated with the optimal transmission mapping based on the source density and the target density, wherein the discrete Monge-Ampere equation includes a Brenier potential function; constructing a linear constant coefficient elliptic partial differential equation according to the discrete Monge-Ampere equation; solving the linear constant coefficient elliptic partial differential equation using a fast Fourier transform to determine the Brenier potential function; and obtaining an optimal transmission mapping from the source density to the target density based on the Brenier potential function. Using the solution of the present disclosure, the optimal transmission mapping in a high-dimensional region can be obtained quickly and accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to the field of optimal transmission technology. More specifically, the present disclosure relates to a method, device and computer-readable storage medium for obtaining an optimal transmission mapping in a high-dimensional region. Background Art

[0002] In recent years, optimal transportation has developed rapidly and has been widely used in fields such as vision, deep learning, and medical imaging. According to research, optimal transportation (OT) mapping is the most economical way to transform one probability measure to another probability measure, and its total transmission cost is regarded as the Wasserstein distance between the two probability measures. Therefore, OT mapping can be used to measure the difference between probability distributions and for virtual magnifiers, image registration, etc.

[0003] In practical applications, the OT mapping with a cost function of the square of the Euclidean distance can be reduced to solving the Monge-Ampere equation. However, due to the strong nonlinearity of the Monge-Ampere equation, it is very challenging to calculate the OT mapping. At present, researchers have developed a variety of algorithms to solve this problem, such as the geometric variation algorithm based on the Brenier potential and the Sinkhorn algorithm based on the Kantorovich potential. Among them, the geometric variation algorithm based on the Brenier potential can achieve high accuracy on low-dimensional problems, but it requires a complex geometric data structure and its storage complexity increases exponentially with the increase in the dimension, which reduces the computational efficiency. The Sinkhorn algorithm based on the Kantorovich potential adds an entropy regularization term. Although it can handle high-dimensional tasks, it has inherent approximation errors, which makes the calculation accuracy low. It can be seen that it is difficult for existing algorithms to effectively calculate high-dimensional OT problems. Summary of the invention

[0004] In order to at least partially solve the technical problems mentioned in the background technology, the solution of the present disclosure provides a solution for obtaining an optimal transmission mapping in a high-dimensional region. Using the solution of the present disclosure, the optimal transmission mapping in a high-dimensional region can be obtained efficiently and accurately, so as to achieve transmission from a source region to a target region with a minimum transmission cost. To this end, the present disclosure provides solutions in the following aspects.

[0005] In a first aspect, the present disclosure provides a method for obtaining an optimal transmission mapping in a high-dimensional region, the method being executed by a computing device and comprising: obtaining a source density in a high-dimensional region and a target density in a target region in the high-dimensional region; determining a discrete Monge-Ampere equation associated with the optimal transmission mapping based on the source density and the target density, wherein the discrete Monge-Ampere equation includes a Brenier potential function; constructing a linear constant coefficient elliptic partial differential equation based on the discrete Monge-Ampere equation; solving the linear constant coefficient elliptic partial differential equation using a fast Fourier transform to determine the Brenier potential function; and obtaining an optimal transmission mapping from the source density to the target density based on the Brenier potential function.

[0006] In one embodiment, constructing a linear constant coefficient elliptic partial differential equation based on the discrete Monge-Ampere equation includes: constructing an auxiliary density function based on the discrete Monge-Ampere equation; performing a linearization operation on the discrete Monge-Ampere equation to obtain a linear variable coefficient elliptic partial differential equation; and constructing the linear constant coefficient elliptic partial differential equation based on the auxiliary density function and the linear variable coefficient elliptic partial differential equation.

[0007] In another embodiment, constructing the linear constant coefficient elliptic partial differential equation based on the auxiliary density function and the linear variable coefficient elliptic partial differential equation includes: initializing the Brenier potential function and calculating the Hessian matrix corresponding to the Brenier potential function of the current iteration in the linear variable coefficient elliptic partial differential equation; determining the auxiliary density function of the current iteration based on the corresponding Hessian matrix; responding to the L between the source density and the auxiliary density function of the current iteration 2 If the distance is less than a preset error, the Brenier potential function of the current iteration is returned; and in response to the L between the source density and the auxiliary density function of the current iteration 2 The distance is greater than or equal to a preset error, and the linear constant coefficient elliptic partial differential equation is constructed according to the corresponding Hessian matrix and the auxiliary density function of the current iteration.

[0008] In another embodiment, constructing the linear elliptic partial differential equation with constant coefficients according to the corresponding Hessian matrix and the auxiliary density function of the current iteration includes: calculating the initial adjoint matrix of the corresponding Hessian matrix according to the auxiliary density function of the current iteration; determining the mean adjoint matrix of the Hessian matrix according to the initial adjoint matrix and the auxiliary density function of the current iteration; and constructing the linear elliptic partial differential equation with constant coefficients based on the mean adjoint matrix and the auxiliary density function of the current iteration.

[0009] In yet another embodiment, constructing the linear constant coefficient elliptic partial differential equation based on the mean adjoint matrix and the auxiliary density function of the current iteration includes: constructing the linear constant coefficient elliptic partial differential equation based on the following formula:

[0010]

[0011] in, represents the mean adjoint matrix, v n (x) represents the variable function of the current iteration, f(x) represents the source density, ρ n (x) represents the auxiliary density of the current iteration, and τ represents the step size parameter.

[0012] In another embodiment, using fast Fourier transform to solve the linear constant coefficient elliptic partial differential equation to determine the Brenier potential function includes: discretizing the linear constant coefficient elliptic partial differential equation to obtain a discrete constant coefficient elliptic partial differential equation; and using fast Fourier transform to solve the discrete constant coefficient elliptic partial differential equation to determine the Brenier potential function.

[0013] In another embodiment, using fast Fourier transform to solve the discrete constant coefficient elliptic partial differential equation to determine the Brenier potential function includes: using fast Fourier transform to calculate the frequency domain coefficients of the discrete density function in the discrete constant coefficient elliptic partial differential equation; calculating the correlation factor coefficients related to the variable function of the current iteration; determining the frequency domain coefficients of the variable function of the current iteration based on the ratio of the frequency domain coefficients and the correlation factor coefficients; based on the frequency domain coefficients of the variable function of the current iteration, using inverse fast Fourier transform to calculate the variable function of the current iteration; and determining the Brenier potential function based on the variable function of the current iteration, the step size parameter and the Brenier potential function of the current iteration.

[0014] In another embodiment, determining the Brenier potential energy function based on the variable function of the current iteration, the step size parameter and the Brenier potential energy function of the current iteration includes: calculating the product of the variable function of the current iteration and the step size parameter; and adding the product of the variable function of the current iteration and the step size parameter to the Brenier potential energy function of the current iteration to determine the Brenier potential energy function of the next iteration, so as to obtain the Brenier potential energy function.

[0015] In a second aspect, the present disclosure also provides a device for obtaining an optimal transmission mapping in a high-dimensional region, comprising: a processor; and a memory storing program instructions for obtaining an optimal transmission mapping in a high-dimensional region, wherein when the program instructions are executed by the processor, the device implements the aforementioned multiple embodiments.

[0016] In a third aspect, the present disclosure further provides a computer-readable storage medium having stored thereon computer-readable instructions for obtaining an optimal transmission mapping in a high-dimensional region, wherein when the computer-readable instructions are executed by one or more processors, the aforementioned multiple embodiments are implemented.

[0017] Through the scheme of the present disclosure, a linear constant coefficient elliptic partial differential equation is constructed by discrete Monge-Ampere equations determined based on source density and target density, and the linear constant coefficient elliptic partial differential equation is solved by fast Fourier transform to determine the Brenier potential function, and then the optimal transmission mapping in the high-dimensional region is quickly and accurately obtained based on the gradient of the Brenier potential function. That is, the present disclosure reduces the computational complexity by simplifying the highly nonlinear Monge-Ampere problem into a linear constant coefficient equation. Furthermore, the present disclosure greatly improves the computational efficiency by using fast Fourier transform to solve the linear constant coefficient elliptic partial differential equation. Based on this, using the scheme of the present disclosure, technologies such as virtual magnifiers and image registration can be implemented, thereby making the scheme of the present disclosure have the characteristics of strong versatility, strong scalability, high computational efficiency and low computational complexity. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present disclosure will become readily understood. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0019] Figure 1 is an exemplary flowchart showing a method for obtaining an optimal transmission mapping in a high-dimensional region according to an embodiment of the present disclosure;

[0020] Figure 2 is an exemplary flow chart illustrating construction of a linear constant coefficient elliptic partial differential equation according to an embodiment of the present disclosure;

[0021] Figure 3 is a specific exemplary flow chart showing the construction of a linear constant coefficient elliptic partial differential equation according to an embodiment of the present disclosure;

[0022] Figure 4 is an exemplary flow chart showing how to determine the Brenier potential energy function by solving a discrete constant coefficient elliptic partial differential equation using a fast Fourier transform according to an embodiment of the present disclosure;

[0023] Figure 5 is an exemplary flowchart showing an overall method for obtaining an optimal transmission map in a high-dimensional region according to an embodiment of the present disclosure;

[0024] Figure 6 is an exemplary schematic diagram showing enlarging an aneurysm on a blood vessel based on optimal transmission mapping according to an embodiment of the present disclosure; and

[0025] Figure 7 is a block diagram showing a device for obtaining an optimal transmission mapping in a high-dimensional area according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] The technical solutions in the embodiments of the present disclosure will be described clearly and completely below in conjunction with the accompanying drawings. It should be understood that the embodiments described in this specification are only some embodiments provided by the present disclosure to facilitate a clear understanding of the solutions and to comply with legal requirements, and are not all embodiments that can implement the present disclosure. Based on the embodiments disclosed in this specification, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0027] Figure 1 1 is an exemplary flowchart of a method 100 for obtaining an optimal transmission mapping in a high-dimensional region according to an embodiment of the present disclosure. Based on the following description, those skilled in the art will understand that the method 100 herein can be performed by a computing device. According to different implementations, the computing device can be a general computing device including a processor and a memory, or an artificial intelligence device including a dedicated processor (e.g., an artificial intelligence processor) and a memory.

[0028] like Figure 1 As shown in, at step S102, the source density of the high-dimensional region and the target density of the target region in the high-dimensional region are obtained. In one embodiment, the aforementioned high-dimensional region may be, for example, a region in a high-dimensional image domain, and the high-dimensional image domain includes but is not limited to high-dimensional medical image regions (e.g., CT images, MRI images). In an implementation scenario, according to a given high-dimensional region, the source density of the high-dimensional region and the target density of the target region in the high-dimensional region may be obtained. Based on the source density and target density obtained above, at step S104, a discrete Monge-Ampere equation associated with the optimal transmission mapping is determined based on the source density and the target density. In an implementation scenario, the discrete Monge-Ampere equation includes a Brenier potential energy function. The following will describe in detail how to determine the discrete Monge-Ampere equation.

[0029] As an example, assume that the source density and target density are dμ = f(x)dx and dυ = g(y)dy, respectively, and their total masses are equal, that is, ∫ Ω f(x)dx=∫ Ω* g(y)dy. Next, assume that there exists a mapping T:Ω→Ω * C 1 Smooth, and satisfies the Jacobi equation: Then we can say that the mapping T is measure-preserving and denote it as T # μ=υ. The above Ω represents the high-dimensional source region, Ω * represents the target area, DT represents the Jacobian matrix in the aforementioned Jacobian equation. Further, assuming that the cost function c is: And c(x,y) represents the cost of transferring unit mass from x to y, then the total transmission cost of the mapping is C(T): = ∫ Ω c(x,T(x))f(x)dx. Thus, the optimal transmission problem can be expressed as That is, among all the mappings that preserve the measure, the mapping that minimizes the total transmission cost is the optimal transmission mapping (i.e., OT mapping).

[0030] Furthermore, based on Brenier's theorem, assuming Then there exists a convex function (that is, the Brenier potential energy function of the embodiment of the present disclosure) u: The optimal transport map is equal to the gradient of the Brenier potential function: By substituting the Brenier potential energy function into the above Jacobi equation, the discrete Monge-Ampere equation can be obtained, which can be expressed as follows:

[0031]

[0032] Among them, det(*) represents the determinant of matrix *, D 2 u(x) represents the Hessian matrix of u(x) with respect to x, f(x) represents the source density, g represents the target density, represents the gradient of the Brenier potential energy function, and ° represents the composite of the function.

[0033] Based on the discrete Monge-Ampere equation determined above, at step S106, a linear constant coefficient elliptic partial differential equation is constructed according to the discrete Monge-Ampere equation. In one embodiment, an auxiliary density function may be first constructed according to the discrete Monge-Ampere equation, and then a linearization operation may be performed on the discrete Monge-Ampere equation to obtain a linear variable coefficient elliptic partial differential equation, and then a linear constant coefficient elliptic partial differential equation may be constructed based on the auxiliary density function and the linear variable coefficient elliptic partial differential equation. Specifically, assuming that the above high-dimensional region Ω and the target region Ω *coincide with each other, and the target density g≡1 in the target area, the above discrete Monge-Ampere equation (e.g., formula (1)) can be simplified to detD 2 u(x)=f(x), from which the auxiliary density function ρ(x,t) can be constructed, and the auxiliary density function ρ(x,t)=(1-t)+tf(x), where t∈[0,1]. In this scenario, the corresponding Brenier potential energy function u(x,t) and the auxiliary function have the following expressions:

[0034]

[0035] In the linearization operation of the discrete Monge-Ampere equation, a Monge-Ampere operator MA[u] can be first defined, and MA[u] = detD 2 u. Furthermore, the discrete Monge-Ampere equation is linearized by adding the variable function v to the aforementioned Monge-Ampere operator MA[u] to obtain a linear variable coefficient elliptic partial differential equation, which can be specifically expressed as follows:

[0036] MA[u+εv]=det(D 2 u+εD 2 v)

[0037] =det D 2 u+εTrace(Adj(D 2 u)·D 2 v)+O(ε 2 ) (3)

[0038] Where Adj(*) represents the adjoint matrix of *, and Adj(*) := det(*)* -T , so the above formula (3), that is, the linear variable coefficient elliptic partial differential equation can be transformed into the following formula:

[0039]

[0040] Among them, (u pq )=Adj(D 2 u), that is (u pq ) represents the adjoint matrix of the Hessian matrix of u with respect to x,

[0041] It can be understood that for formula (1), it has the second type of boundary conditions: It is assumed that the boundaries of the support set θΩ and θΩ * C 1 smooth, then the optimal mapping satisfies the tilt condition, that is, the external normal vector at the boundary point of the region satisfies And x∈θΩ, T(x)∈θΩ *That is, the external normal vector n(x) at the boundary point of the high-dimensional region and the external normal vector at the boundary point of the target region The inner product of is non-negative. In addition, assuming that Ω is a cube with 6 faces, if for any boundary point x θΩ is located on a face, according to the cyclic monotonicity of the mapping and the strict convexity of the convex function, its image point must be on the same plane as x, that is In this scenario, the Brenier potential function can be rewritten to obtain Therefore, v(x) in the above formula (4) satisfies the Newman boundary condition, that is,

[0042] Based on the auxiliary density function constructed above and the linear variable coefficient elliptic partial differential equation obtained by linearizing the discrete Monge-Ampere equation, a linear constant coefficient elliptic partial differential equation can be constructed. For example, the Brenier potential function can be initialized first and the Hessian matrix corresponding to the Brenier potential function of the current iteration in the linear variable coefficient elliptic partial differential equation can be calculated, and then the auxiliary density function of the current iteration can be determined based on the corresponding Hessian matrix. Furthermore, by comparing the L between the source density and the auxiliary density of the current iteration 2 Distance, and then according to the comparison result, a linear constant coefficient elliptic partial differential equation is constructed based on the source density and the auxiliary density function of the current iteration. Figure 2-Figure 3 Describe in detail how to formulate linear constant coefficient elliptic partial differential equations.

[0043] After obtaining the linear constant coefficient elliptic partial differential equation, at step S108, the linear constant coefficient elliptic partial differential equation is solved by fast Fourier transform to determine the Brenier potential function. The linear constant coefficient elliptic partial differential equation includes a variable function, and the Brenier potential function is determined by the variable function obtained by solving the fast Fourier transform. In an implementation scenario, the linear constant coefficient elliptic partial differential equation can be discretized first to obtain a discrete constant coefficient elliptic partial differential equation, and then the discrete constant coefficient elliptic partial differential equation is solved by fast Fourier transform to determine the Brenier potential function. Specifically, firstly, the frequency domain coefficients of the discrete functions in the discrete constant coefficient elliptic partial differential equation are calculated by fast Fourier transform, and then the correlation factor coefficients related to the variable function of the current iteration are calculated, and the frequency domain coefficients of the variable function of the current iteration are determined according to the ratio of the frequency domain coefficients and the correlation factor coefficients. Next, based on the frequency domain coefficients of the variable function of the current iteration, the inverse fast Fourier transform is used to calculate the variable function of the current iteration, so as to update the variable function of the next iteration based on the variable function of the current iteration, the step size parameter and the Brenier potential function of the current iteration to determine the Brenier potential function. Figure 4Describe in detail how to determine the Brenier potential function.

[0044] Further, at step S110, an optimal transmission mapping from source density to target density is obtained based on the Brenier potential function. In an implementation scenario, the gradient of the Brenier potential function is used to obtain the optimal transmission mapping from source density to target density.

[0045] Combined with the above description, it can be seen that the embodiment of the present disclosure reduces the complexity of the operation by simplifying the discrete Monge-Ampere equation determined by the source density and the target density into a linear constant coefficient elliptic partial differential equation. Furthermore, the linear constant coefficient elliptic partial differential equation is solved by fast Fourier transform, and the Brenier potential function is determined by continuous iteration to obtain the optimal transmission mapping in the high-dimensional region, which can greatly improve the operation efficiency.

[0046] Figure 2 is an exemplary flow chart showing the construction of a linear constant coefficient elliptic partial differential equation according to an embodiment of the present disclosure. It should be understood that Figure 2 is the above Figure 1 A specific embodiment of the method 100, therefore, the above Figure 1 The description also applies to Figure 2 .

[0047] like Figure 2 As shown in , at step S202, the Brenier potential function is initialized and the Hessian matrix corresponding to the Brenier potential function of the current iteration in the linear variable coefficient elliptic partial differential equation is calculated. In an exemplary scenario, the Brenier potential function can be expressed as To perform the iterative operation. Before the iterative operation, the Brenier potential function is initialized, and the initialized u0(x) = 0. Then, based on the above formula (2), the initialized auxiliary function ρ0(x) = 0 can be obtained. In the iterative operation, firstly, based on the Brenier potential function of the current iteration in the linear variable coefficient elliptic partial differential equation The corresponding Hessian matrix, that is, the Hessian matrix D of the Brenier potential energy function 2 u n (x). Based on the corresponding Hessian matrix D 2 u n (x), in step S204, the auxiliary density function of the current iteration is determined based on the corresponding Hessian matrix. Based on the above formula (2), the auxiliary density function of the current iteration can be obtained as n (x) = det(I + D 2 u n (x)), where I represents the identity transformation.

[0048] After obtaining the auxiliary density function ρ of the current iteration n (x), at step S206, the L between the source density and the auxiliary density function of the current iteration is compared. 2 The distance is calculated, and the next operation is performed based on the comparison result. In an implementation scenario, when the source density f(x) and the auxiliary density function ρ of the current iteration are n (x) between 2 The distance is less than the preset error σ, that is, ‖f(x)-ρ n When (x)‖<σ, the iteration operation is exited and the Brenier potential function of the current iteration is returned. The Brenier potential function of the current iteration obtained at this time is the final Brenier potential function. By calculating the gradient of the Brenier potential function of the current iteration, the optimal transmission mapping in the high-dimensional region can be obtained.

[0049] In another implementation scenario, when the source density f(x) and the auxiliary density function ρ of the current iteration n (x) between 2 The distance is greater than or equal to the preset error σ, that is, ‖f(x)-ρ n When (x)‖≥σ, in step S208, a linear constant coefficient elliptic partial differential equation is constructed according to the corresponding Hessian matrix and the auxiliary density function of the current iteration. Based on the constructed linear constant coefficient elliptic partial differential equation, the Brenier potential function is obtained by solving it using the fast Fourier transform, and then the optimal transmission mapping in the high-dimensional region is obtained. Figure 3 Detailed description of the formulation of linear constant coefficient elliptic partial differential equations in more detail.

[0050] Figure 3 FIG. 1 is a specific exemplary flow chart showing the construction of a linear constant coefficient elliptic partial differential equation according to an embodiment of the present disclosure. Figure 3 As shown in , at step S302, the initial adjoint matrix of the corresponding Hessian matrix is ​​calculated according to the auxiliary density function of the current iteration. In one embodiment, it is assumed that the aforementioned initial adjoint matrix is ​​recorded as Then the Next, at step S304, the mean adjoint matrix of the Hessian matrix is ​​determined according to the initial adjoint matrix and the auxiliary density function of the current iteration. Specifically, the mean adjoint matrix of the Hessian matrix can be determined based on the following formula:

[0051]

[0052] in, represents the mean adjoint matrix of the Hessian matrix (that is, the mean adjoint matrix of the Hessian matrix of the Brenier potential energy function), represents the initial adjoint matrix, ρ n(x) represents the auxiliary density function of the current iteration.

[0053] Further, at step S306, a linear constant coefficient elliptic partial differential equation is constructed based on the mean adjoint matrix and the auxiliary density function of the current iteration. In one embodiment, the linear constant coefficient elliptic partial differential equation can be constructed based on the following formula:

[0054]

[0055] in, represents the mean adjoint matrix (that is, the mean adjoint matrix of the Hessian matrix of the Brenier potential energy function), θ p θ q is a constant coefficient, and v n (x) represents the variable function of the current iteration, f(x) represents the source density, ρ n (x) represents the auxiliary density of the current iteration, and τ represents the step size parameter.

[0056] As mentioned above, based on the linear constant coefficient elliptic partial differential equation obtained above, the fast Fourier transform is used to solve it, so that the Brenier potential function can be obtained. In the implementation scenario, the linear constant coefficient elliptic partial differential equation can be discretized first to obtain the following discrete constant coefficient elliptic partial differential equation:

[0057]

[0058] in, represents the discrete density function, a p,q represents the constant coefficient term. Next, the Brenier potential function is determined by solving the discrete constant coefficient elliptic partial differential equation using the fast Fourier transform. Figure 4 Describe in detail how to obtain and determine the Brenier potential energy function.

[0059] Figure 4 FIG. 1 is an exemplary flow chart showing how to determine the Brenier potential energy function by solving a discrete constant coefficient elliptic partial differential equation using a fast Fourier transform according to an embodiment of the present disclosure. Figure 4 As shown in , at step S402, the frequency domain coefficients of the discrete density function in the discrete constant coefficient elliptic partial differential equation are calculated using fast Fourier transform. In one embodiment, assuming that in a three-dimensional region (e.g., M*N*L), the discrete density function in the discrete constant coefficient elliptic partial differential equation (e.g., as shown in the above formula (7)) can be expressed as Where i = 0, ..., M-1, j = 0, ..., N-1, k = 0, ..., L-1. In this scenario, the discrete density function in the discrete constant coefficient elliptic partial differential equation can be subjected to discrete cosine transform (Discrete Cosine Transform, "DCT") based on the following formula and using fast Fourier transform to obtain the frequency domain coefficients of the discrete density function

[0060]

[0061] Based on the obtained frequency domain coefficients In the implementation scenario, the above formula (7) can be rewritten as follows:

[0062]

[0063]

[0064] in, Represents the frequency domain coefficients of the variable function of the current iteration; represents the correlation factor coefficient. Thus, in obtaining and After that, you can get

[0065] At step S404, the correlation factor coefficient related to the variable function of the current iteration is calculated. In one embodiment, the correlation factor coefficient can be calculated based on the following formula: Right now:

[0066]

[0067] Among them, h x 、h y 、h z corresponds to the step size in the x, y and z directions respectively, and h x 、h y 、h z They are as well as In one embodiment, when the correlation factor coefficient When it is zero, the frequency domain coefficient of the variable function of the current iteration When the correlation factor coefficient When it is not zero, based on the obtained correlation factor coefficient At step S406, the frequency domain coefficient of the variable function of the current iteration is determined according to the ratio of the frequency domain coefficient to the correlation factor coefficient. Right now:

[0068]

[0069] After obtaining the frequency domain coefficients of the variable function of the current iteration, at step S408, the variable function of the current iteration is calculated using an inverse fast Fourier transform based on the frequency domain coefficients of the variable function of the current iteration. Specifically, the frequency domain coefficients of the variable function of the current iteration can be inversely transformed by DCT using the fast Fourier transform based on the following formula to obtain the variable function of the current iteration:

[0070]

[0071] Further, at step S410, the Brenier potential function is determined based on the variable function of the current iteration, the step size parameter and the Brenier potential function of the current iteration. Specifically, the product of the variable function of the current iteration and the step size parameter is first calculated, that is, τv is calculated. n (x). Here v n (x) is the variable function of the current iteration obtained based on the above formula (12), and τ represents the step size parameter. For example, in a three-dimensional region, the step size parameter τ is expressed as (h x ,h y ,h z ).

[0072] Next, the product of the variable function of the current iteration and the step size parameter is added to the Brenier potential function of the current iteration to determine the Brenier potential function of the next iteration to obtain the Brenier potential function. For example, assuming that the Brenier potential function of the next iteration is recorded as u n+1 (x), then use u n (x)+τv n (x) to update u n+1 (x), and then based on the next iteration of the Brenier potential function u n+1 (x) Calculate its corresponding Hessian matrix, and according to the above Figure 2-Figure 4 The described steps iteratively solve the Brenier potential function until the L between the source density and the auxiliary density function of the current iteration is 2 When the distance is less than the preset error, the iteration stops, and the Brenier potential function is obtained. By solving the gradient of the obtained Brenier potential function, the optimal transmission mapping from source density to target density in the high-dimensional region can be obtained.

[0073] Figure 5 FIG. 1 is a flowchart showing an overall exemplary process for obtaining an optimal transmission mapping in a high-dimensional region according to an embodiment of the present disclosure. Figure 5As shown in , at step S502, the source density f(x) of the high-dimensional region and the target density g of the target region in the high-dimensional region are obtained. As described above, the discrete Monge-Ampere equation can be determined based on the source density f(x) and the target density g, wherein the discrete Monge-Ampere equation includes a Brenier potential function, and the gradient of the Brenier potential function is the optimal transmission mapping. Since the discrete Monge-Ampere equation has a highly nonlinear characteristic, the embodiment of the present disclosure simplifies it into a linear constant coefficient elliptic partial differential equation, and solves the linear constant coefficient elliptic partial differential equation by iteration and using fast Fourier transform to obtain the Brenier potential function, thereby obtaining the optimal transmission mapping in the high-dimensional region.

[0074] When constructing a linear constant coefficient elliptic partial differential equation, at step S504, an auxiliary density function is constructed based on the discrete Monge-Ampere equation and a linearization operation is performed on the discrete Monge-Ampere equation to obtain a linear variable coefficient elliptic partial differential equation (such as shown in the above formula (4)), and an iterative operation is entered based on the obtained linear variable coefficient elliptic partial differential equation and the constructed auxiliary density function. Specifically, before the iteration starts, the Brenier potential function is initialized, and the initialized Brenier potential function u0(x)=0, and the auxiliary function ρ0(x)=0. At the beginning of the iteration, at step S506, the Hessian matrix D corresponding to the Brenier potential function of the current iteration is calculated 2 u n (x). Based on the corresponding Hessian matrix D 2 u n (x), in step S508, the auxiliary density function ρ of the current iteration is calculated based on the corresponding Hessian matrix n (x), where ρ n (x) = det(I + D 2 u n (x)).

[0075] Based on the obtained auxiliary density function of the current iteration, at step S510, the L between the source density and the auxiliary density function of the current iteration is determined. 2 Is the distance less than the preset error? That is, judging ‖f(x)-ρ n (x)‖<σ holds true when ‖f(x)-ρ n When ‖f(x)‖<σ holds, at step S512, the iteration is exited and the Brenier potential function of the current iteration is returned. The Brenier potential function of the current iteration obtained at this time is the log Brenier potential function, and the optimal transmission mapping in the high-dimensional region can be obtained by calculating its gradient. nWhen (x)‖≥σ, at step S514, the initial adjoint matrix of the Hessian matrix corresponding to the Brenier potential energy function of the current iteration (that is, the Hessian matrix of the Brenier potential energy function) is calculated. Assume that the initial adjoint matrix is ​​recorded as but Next, at step S516, the mean adjoint matrix of the Hessian matrix is ​​calculated Specifically, the above formula (5) can be used to calculate the mean adjoint matrix According to the mean adjoint matrix obtained above and the auxiliary density function of the current iteration, at step S518, a linear constant coefficient elliptic partial differential equation (eg, the above formula (6)) can be constructed.

[0076] Furthermore, at step S520, the linear constant coefficient elliptic partial differential equation is solved by fast Fourier transform to obtain the variable function v of the current iteration. n Specifically, the linear constant coefficient elliptic partial differential equation is first discretized, and then, based on the above formula (8) and using the fast Fourier transform, the discrete density function in the discrete constant coefficient elliptic partial differential equation is subjected to DCT transformation to obtain its corresponding frequency domain coefficient In order to obtain the frequency domain coefficients Then, the correlation factor coefficient related to the variable function of the current iteration is solved by the above formula (10): Based on Get the frequency domain coefficients of the variable function of the current iteration Based on the frequency domain coefficients of the variable function obtained for the current iteration By using the above formula (12) and using the inverse DCT transform, the variable function v of the current iteration is obtained n (x). Further, in step S522, using u n (x)+τv n (x) to update the Brenier potential function u in the next iteration n+1 (x), based on the obtained Brenier potential function of the next iteration, return to the above step S506 to iterate again until ‖f(x)-ρ n (x)‖<σ, return to the Brenier potential function, and solve the gradient of the Brenier potential function to obtain the optimal transmission mapping from source density to target density in the high-dimensional region.

[0077] In one implementation scenario, the optimal transmission mapping of the embodiment of the present disclosure can be used to magnify the region of interest in a high-dimensional medical image (such as an MRI image and a CT image). For example, assuming that the region of interest is a spherically symmetric region, its center point And the radius is σ, then its density function f can be located as: That is, the optimal transmission mapping from the density f to another density g (uniformly distributed) is calculated based on the solution of the embodiment of the present disclosure. Similar to the aforementioned three-dimensional adaptive sampling, by ijk )} is subjected to Delaunay triangulation, and then represented as a piecewise linear mapping through its optimal transmission mapping. Correspondingly, its inverse optimal transmission mapping is also piecewise linear. For this image {T(x ijk )}, find the corresponding original image for each grid point on the grid generated by , and use linear interpolation to calculate the corresponding intensity. Based on this, the magnification factor of the new region of interest can be obtained, and then the region of interest of the image can be magnified based on the magnification factor and the optimal transmission mapping, for example Figure 6 shown.

[0078] Figure 6 FIG. 1 is an exemplary schematic diagram showing the aneurysm on a blood vessel being magnified based on the optimal transmission mapping according to an embodiment of the present disclosure. Figure 6 As shown in , the first column of the upper and lower figures show two images of different densities, and the masses concentrated on the aneurysm are shown. Furthermore, the last three figures above the figure show the original volume aneurysm images at different angles, and the last three figures below the figure show the aneurysm images magnified at the same angle. It can be seen that the scheme of the embodiment of the present disclosure can be used to sample from a complex three-dimensional density function and magnify the region of interest, and the operation rate is relatively fast.

[0079] Figure 7 7 is a block diagram showing a device 700 for obtaining an optimal transmission mapping in a high-dimensional region according to an embodiment of the present disclosure. It is understood that the device implementing the solution of the present disclosure may be a single device (eg, a computing device) or a multifunctional device including various peripheral devices.

[0080] like Figure 7 As shown in , the device of the present disclosure may include a central processing unit or central processing unit ("CPU") 711, which may be a general-purpose CPU, a dedicated CPU, or other information processing and program execution unit. Further, the device 700 may also include a large-capacity memory 712 and a read-only memory ("ROM") 713, wherein the large-capacity memory 712 may be configured to store various types of data, including high-dimensional image regions and their densities, algorithm data, intermediate results, and various programs required to run the device 700. The ROM 713 may be configured to store data and instructions required for power-on self-test of the device 700, initialization of various functional modules in the system, drivers for basic input / output of the system, and booting the operating system.

[0081] Optionally, the device 700 may also include other hardware platforms or components, such as the tensor processing unit ("TPU") 714, graphics processing unit ("GPU") 715, field programmable gate array ("FPGA") 716, and machine learning unit ("MLU") 717 shown. It is understood that although a variety of hardware platforms or components are shown in the device 700, they are merely exemplary and not restrictive, and those skilled in the art may add or remove corresponding hardware according to actual needs. For example, the device 700 may include only a CPU, related storage devices, and interface devices to implement the method for obtaining the optimal transmission mapping in a high-dimensional region disclosed in the present invention.

[0082] In some embodiments, in order to facilitate the transmission and interaction of data with an external network, the device 700 of the present disclosure further includes a communication interface 718, so that it can be connected to a local area network / wireless local area network ("LAN / WLAN") 705 through the communication interface 718, and then connected to a local server 706 or to the Internet ("Internet") 707 through the LAN / WLAN. Alternatively or additionally, the device 700 of the present disclosure can also be directly connected to the Internet or a cellular network through the communication interface 718 based on wireless communication technology, such as wireless communication technology based on the third generation ("3G"), the fourth generation ("4G") or the fifth generation ("5G") . In some application scenarios, the device 700 of the present disclosure can also access a server 708 and a database 709 of an external network as needed to obtain various known image models, data and modules, and can remotely store various data, such as various types of data or instructions for presenting, for example, iteration results, optimal transmission mapping results, etc.

[0083] The peripheral devices of the device 700 may include a display device 702, an input device 703, and a data transmission interface 704. In one embodiment, the display device 702 may include, for example, one or more speakers and / or one or more visual displays, which are configured to perform voice prompts and / or image video display for the transmission from the high-dimensional area to the target area of ​​the present disclosure. The input device 703 may include other input buttons or controls such as a keyboard, a mouse, a microphone, a gesture capture camera, etc., which are configured to receive input and / or user instructions for the corresponding density of the high-dimensional area and the target area. The data transmission interface 704 may include, for example, a serial interface, a parallel interface or a universal serial bus interface ("USB"), a small computer system interface ("SCSI"), a serial ATA, a FireWire ("FireWire"), a PCI Express, and a high-definition multimedia interface ("HDMI"), etc., which are configured for data transmission and interaction with other devices or systems. According to the scheme of the present disclosure, the data transmission interface 704 can receive high-dimensional area images from, for example, MRI or CT medical images and other image acquisitions, and transmit data or results including high-dimensional area images or various other types to the device 700.

[0084] The CPU 711, mass storage 712, ROM 713, TPU 714, GPU 715, FPGA 716, MLU 717 and communication interface 718 of the device 700 of the present disclosure can be interconnected through a bus 719, and data interaction with peripheral devices can be achieved through the bus. In one embodiment, through the bus 719, the CPU 711 can control other hardware components in the device 700 and its peripheral devices.

[0085] Combination of the above Figure 7 The device for obtaining the optimal transmission mapping in a high-dimensional region that can be used to perform the present disclosure is described. It should be understood that the device structure or architecture here is only exemplary, and the implementation method and implementation entity of the present disclosure are not limited thereto, but can be changed without departing from the spirit of the present disclosure.

[0086] According to the above description in combination with the accompanying drawings, those skilled in the art can also understand that the embodiments of the present disclosure can also be implemented by a software program. Therefore, the present disclosure also provides a computer program product. The computer program product can be used to implement the embodiments of the present disclosure in combination with the accompanying drawings. Figure 1-Figure 5 The described method is used to obtain the optimal transport map in a high-dimensional region.

[0087] It should be noted that although the operations of the disclosed method are described in a particular order in the accompanying drawings, this does not require or imply that the operations must be performed in this particular order, or that all the operations shown must be performed to achieve the desired results. On the contrary, the steps depicted in the flow chart can be performed in a different order. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple steps.

[0088] It should be understood that when the terms "first", "second", "third" and "fourth" etc. are used in the claims, the specification and the drawings of the present disclosure, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the specification and claims of the present disclosure indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections.

[0089] It should also be understood that the terms used in this disclosure are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure. As used in this disclosure and claims, the singular forms of "a", "an", and "the" are intended to include the plural forms unless the context clearly indicates otherwise. It should also be further understood that the term "and / or" used in this disclosure and claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations.

[0090] Although the embodiments of the present disclosure are as described above, the contents are only examples used to facilitate understanding of the present disclosure, and are not intended to limit the scope and application scenarios of the present disclosure. Any technician in the technical field described in the present disclosure may make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the present disclosure, but the scope of patent protection of the present disclosure shall still be based on the scope defined in the attached claims.

Claims

1. A method for obtaining an optimal transmission mapping in a high-dimensional region, wherein the high-dimensional region is a region in a high-dimensional image domain, wherein the method is performed by a computing device, and include: Acquire a source density of a high-dimensional region and a target density of a target region in the high-dimensional region; Determining a discrete Monge-Ampere equation associated with an optimal transport map based on the source density and the target density, wherein the discrete Monge-Ampere equation includes a Brenier potential function; Constructing a linear constant coefficient elliptic partial differential equation based on the discrete Monge-Ampere equation; Solving the linear constant coefficient elliptic partial differential equation using fast Fourier transform to determine the Brenier potential function; and obtaining an optimal transmission mapping from the source density to the target density based on the Brenier potential function, Wherein constructing a linear constant coefficient elliptic partial differential equation according to the discrete Monge-Ampere equation comprises: constructing an auxiliary density function according to the discrete Monge-Ampere equation; performing a linearization operation on the discrete Monge-Ampere equation to obtain a linear variable coefficient elliptic partial differential equation; Initializing the Brenier potential function and calculating the Hessian matrix corresponding to the Brenier potential function of the current iteration in the linear variable coefficient elliptic partial differential equation; Determine the auxiliary density function of the current iteration based on the corresponding Hessian matrix; In response to the difference between the source density and the auxiliary density function of the current iteration If the distance is less than a preset error, the Brenier potential energy function of the current iteration is returned; and In response to the difference between the source density and the auxiliary density function of the current iteration The distance is greater than or equal to a preset error, and the linear constant coefficient elliptic partial differential equation is constructed according to the corresponding Hessian matrix and the auxiliary density function of the current iteration.

2. The method according to claim 1, wherein the linear constant coefficient elliptic partial differential equation is constructed according to the corresponding Hessian matrix and the auxiliary density function of the current iteration include: Calculate the initial adjoint matrix of the corresponding Hessian matrix according to the auxiliary density function of the current iteration; Determine the mean adjoint matrix of the Hessian matrix according to the initial adjoint matrix and the auxiliary density function of the current iteration; as well as The linear constant coefficient elliptic partial differential equation is constructed based on the mean adjoint matrix and the auxiliary density function of the current iteration.

3. The method according to claim 2, wherein the linear constant coefficient elliptic partial differential equation is constructed based on the mean adjoint matrix and the auxiliary density function of the current iteration include: The linear constant coefficient elliptic partial differential equation is constructed based on the following formula: in, represents the mean adjoint matrix, , represents the variable function of the current iteration, represents the source density, represents the auxiliary density of the current iteration, Represents the step size parameter.

4. The method according to claim 3, wherein the Brenier potential function is determined by solving the linear constant coefficient elliptic partial differential equation using a fast Fourier transform include: Discretizing the linear constant coefficient elliptic partial differential equation to obtain a discrete constant coefficient elliptic partial differential equation; as well as The Brenier potential energy function is determined by solving the discrete constant coefficient elliptic partial differential equation using fast Fourier transform.

5. The method according to claim 4, wherein the Brenier potential function is determined by solving the discrete constant coefficient elliptic partial differential equation using a fast Fourier transform include: Calculating the frequency domain coefficients of the discrete density function in the discrete constant coefficient elliptic partial differential equation using fast Fourier transform; Calculating a correlation factor coefficient associated with the variable function of the current iteration; Determining the frequency domain coefficient of the variable function of the current iteration according to the ratio of the frequency domain coefficient to the correlation factor coefficient; Calculating the variable function of the current iteration using an inverse fast Fourier transform based on the frequency domain coefficients of the variable function of the current iteration; as well as The Brenier potential function is determined based on the variable function of the current iteration, the step size parameter, and the Brenier potential function of the current iteration.

6. The method of claim 5, wherein the Brenier potential function is determined based on the variable function of the current iteration, the step size parameter, and the Brenier potential function of the current iteration. include: Calculating the product of the variable function of the current iteration and the step size parameter; as well as The product of the variable function of the current iteration and the step size parameter is added to the Brenier potential energy function of the current iteration to determine the Brenier potential energy function of the next iteration, so as to obtain the Brenier potential energy function.

7. A device for obtaining an optimal transmission map in a high-dimensional region, include: processor; as well as A memory storing program instructions for obtaining an optimal transmission mapping in a high-dimensional region, wherein when the program instructions are executed by the processor, the device implements the method according to any one of claims 1-6.

8. A computer-readable storage medium storing computer-readable instructions for obtaining an optimal transmission mapping in a high-dimensional region, wherein the computer-readable instructions, when executed by one or more processors, implement the method according to any one of claims 1 to 6.