Let us denote by
the image manifold and its metric and by
the space-feature manifold and its metric, then the map
has the following measure:
This is a natural generalization of the
norm to manifolds.
As an example, a grey level volume of images can be treated as a
manifold embedded in
, i.e. a mapping
| (2) |
Many scale-space methods, linear and non-linear can be shown to be a gradient descent flows of this functional with appropriately chosen metric of the image manifold.
The gradient descent equation is
![]() |
(3) |
As shown in [3], minimizing the area action in equation (1), with respect to the feature coordinate
, is equivalent to solving the following equation,
As noted by Weickert in [1], the classical nonlinear diffusion equation can be re-written as the following reaction-diffusion partial differential equation
where
is the edge indicator function.
In this form, the Beltrami flow equation is not a ``pure'' diffusion equation.
It has both a parabolic edge-preserving and a hyperbolic edge-sharpening terms.
Another modification is to replace
in equation (6).
This enable to replace the discretization of
by a second order derivative term.
Therefore the resulting linear system will be a tri-diagonal matrix, thus more stable than a system with no value on the diagonal.
In addition, the reaction-diffusion form of equation (6) hides the mixed derivatives, thereby making it conducive to the AOS approach.
In other words, the equation can be rearranged into the form
, where
and
are the following differential operators:
Applying the backward difference formula to the equation (7) we get
The superscript
is related to the present and
to the next time step.
The subscripts
index the discrete pixel location;
are known values, and
are to be found.
Using
on the right side of equation (8) makes the integration scheme implicit and unconditionally stable, namely
where
is the identity matrix.
Before proceeding in time, we calculate the values of the edge indicator function
, using the known values of
.
Thus, the scheme is only semi-implicit.
Although
depends on the gradient of
, we treat it like a given function of
, making the governing PDE ``quasi-linear''.
Note that equation (9) includes a large bandwidth matrix, because all equations, related to new pixel values
are coupled.
Our aim is to decouple the set in equation (9) so that each row and each column of pixels can be handled separately.
For this, we re-arrange the equations into the following form:
Of course, we do not intend to invert the matrix to solve the linear set.
This is only a symbolic form used for further derivation.
For a small value of
, the matrix in the brackets on the right side of Equation (10) is close to the identity
.
Thus, its inverse can be expanded into the Taylor series in the proximity of
:
,
where the linear term is retained and the high order terms are neglected.
Introducing this form into equation (10), we get
| (11) |
Introducing the notations
,
and
the solution is simply
| (12) |
In order to get an implicit scheme, we apply the differential matrix operators
and
to
(and not to
), namely
| (13) |
Following the procedure of expanding the matrix inverses into Taylor series and applying the linearization for small
, we finally obtain the equation sets for
and
as follows:
| (14) |
This leads for
to the following numerical scheme
| (16) |
These equations can be solved with either the Dirichlet or Neumann boundary conditions; these and other details are described in [17].
We ran a series of numerical simulations to demonstrate the performance of the implicit scheme for the Beltrami flow on a 3D medical dataset. The original dataset, represented in figure 1 is a 3D X-Ray Angiography of the head of a patient.
A dye product has been injected in an artery of the patient before acquisition. This product is radio-active and enhance the contrast between the arteries and the neighboring tissues of the brain. With this image, a clinician can visually inspect the region of the Circle-of-Willis where cerebral aneurysms occur. An aneurysm ([18]) is an abnormal dilatation of the artery wall. Under high pressures, it can burst, leading to a stroke. To study this pathology, the clinician can use the three orthogonal slices of the data represented in figure 1. He can also use a Maximum-Intensity-Projection (MIP) image, and we are going to filter out the noise inside this scanned data in order to visualize this projection image.
Considering the Courant-Friedrich-Levy (CFL) condition [19] for the explicit scheme, int the case of an anisotropic cubic grid the maximum time step allowed should be
.
The unconditionally stable scheme that we are using here enables us to multiply this time step by an acceleration factor
.
In the following test, we are varying this acceleration factor, and displaying the MIP image in each case.
The results are shown in figure 2.
|
The MIP images represent a volume of interest around the Circle-of-Willis.
As we see, the implicit scheme is always stable, but for
, the resulting accuracy may be insufficient for certain applications.
At the same time it is important to notice that small vessels cleared for a small acceleration factor like
are enhanced for bigger
.
The reason is that due to accumulated errors, the problem with
seems like it is run to a slightly lower scale than the same problem with
, thus giving different results.
Finally, observation of this dataset clearly depicts a particularity in the region of the Circle-of-Willis: the upper part of the cerebral arteries and the lower part do not seem connected.
This observation should help the clinician in proper visualization and interpretation of this data.
The next series of numerical simulations are carried out to study the edge enhancement effect on gray level images.
We fix the acceleration factor to
and, inspired by the decomposition of equation (5) which leads to the reaction-diffusion form of equation (6), we solve the following normalized reaction-diffusion equation in this series:
The first term on the right side of equation (17) is a reaction term, while the second is a diffusion term and
is a parameter controlling the relative contribution of these opposing effects.
The reaction term is responsible for edge enhancement, while the diffusion term smooths the noise away from the edges.
Notice that for
, this reaction-diffusion equation (17) is equivalent to the Beltrami flow (4), multiplied by a factor of
.
Results of varying
between
and
are shown in figure 3.
|
The first row in figure 3, presents the initial image and the results for
(high reaction) and
.
The reason why the image for
looks smoother than for
is rather simple: due to the instability of the pure reaction process, the image needs to be smoothed for small values of
.
The second row presents the results for
(a nonlinear diffusion flow equation),
(the Beltrami flow), and
(scaled ``linear'' diffusion).
According to equation (17), the edge enhancement effect should decay with increasing
.
Indeed, we see that the edge enhancement is stronger for the nonlinear diffusion flow (
) than for the Beltrami flow (
).
Notice that due to the additional component in
in the denominator of the scheme 4, the
Beltrami flow is slower than the corresponding
flow studied in [20].
This means that to achieve the same degree of noise reduction and edge enhancement, larger scale values should be employed in
.