• Keine Ergebnisse gefunden

Image Processing

N/A
N/A
Protected

Academic year: 2022

Aktie "Image Processing"

Copied!
14
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Image Processing

Continuous Energy Minimization

(2)

Idea

Instead to say what should be done (algorithms), it is formulated what for properties the result should have (model).

Realization of an object is represented by mappings (e.g. )

The desired properties of the model are represented by the Energy

− a “function” that penalizes inappropriate mappings.

The problem becomes an optimization task – search for the solution of the optimal energy.

Cases:

Domain of definition: continuous, discrete Range: continuous, discrete

(3)

Discrete domain of definition

Example – denoising

− the set of pixels, − the neighborhood structure − the initial image (gray-valued for simplicity)

− the unknown (e.g. the restored image)

The energy (usually) consists of two terms:

• The data term:

(the solution should be as similar as possible to the original)

• The model term:

(the solution should be smooth)

(4)

Discrete domain of definition

The optimization task is:

(search for an agreement)

Solution – derive, set to zero, resolve …

For a particular pixel : consider parts (addends) of the energy that depend on

It follows:

(5)

Discrete domain of definition

The system of linear equations with variables and equations

with

– the solution

– the original image

Elements of the matrix are:

and if the corresponding pixels are neighbors, zero otherwise.

The system can be in principle solved by standard methods, e.g.

Gaussian elimination, LU-decomposition etc.

It is however obviously too slow 

(6)

Discrete domain of definition

The matrix A is sparse → iterative methods.

For instance the Jacobi method: the matrix is decomposed into the diagonal part and the rest:

→ the iterative procedure:

 extremely simple, parallelizable

 still too slow, converges at but only if the matrix is strictly diagonal dominant, i.e. (fortunately, just the case here)

(7)

Other methods

Conjugate gradients: better convergence is achieved by an appropriate choice of the gradient direction

Successive over-relaxation (special case – Gauss-Seidel method):

faster convergence by appropriately chosen gradient step

Multi-grid methods: the domain is coarsened (downscaled), the solution is done very fast → serves as initialization for the more detailed resolution levels (much faster but complicated),

(8)

, the mapping is a function.

The energy becomes an energy functional Example – again the denoising:

data term + model term (smoothness – gradients are penalized) The “problem” – how to derive?

The framework: Calculus of variations

Continuous domain of definition

(9)

Gâteaux-derivative:

a generalization of the directional derivative on function spaces,

“direction” is a function too.

Euler-Lagrange equations: in the optimum all Gâteaux-derivatives (i.e. for all ) are zero.

Calculus of variations

(10)

Gâteaux-derivatives

(11)

Comparison with the discrete domain

Euler-Lagrange equations:

Let us discretize it:

→ the same system of linear equations:

Other discretization schemes, other model-terms

→ other systems

(12)

Comparison with diffusion

Gradient descent method to minimize the energy :

Compare with the homogenous diffusion:

Very similar, up to the term that keeps the solution close to the original image.

(13)

Extensions

with a regularizer :

− Tikhonov

− Total Variation

− Perona-Malik

− Potts model

Euler-Lagrange equations (non-linear in general):

(14)

Summary

Energy Minimization is a sound way to model and solve Computer Vision tasks – they are casted as optimization problems.

(Almost) no hidden assumptions, transparent formulations.

The considered example (denoising) is very simple: quadratic penalizer → system of linear equations → approaches are very similar to each other and the solution is simple as well.

In general, the problem is “easy” if the subject is convex.

Today: continuous energy minimization

Next time: discrete energy minimization (both range and domain)

Referenzen

ÄHNLICHE DOKUMENTE

In the aftermath of any agreement, the United States (and the international community) must also maintain the will and capability to take effec- tive action, including the use

For a research paper, this involves deter- mining if the work presented is correct, if the problem studied and the results obtained are new and significant, if the quality of

Since the failure intensity is related to the size and the number of the defects this information can be used in the estimation of failure intensity at each inspection

INTERNATIONAL INSTITUTE FOR APPLIED SYSTEMS ANALYSIS A-2361 Laxenburg, Austria... We shall make two

The goal of air quality management is to minimize exposure of man and environment to pollutants released in the atmosphere. Although it is generally possible to reduce pollution

Managers who are responsible for making a decision about introducing a DPS into an organization have to choose an appro- priate system among those available on the market. Every

The image processing pipeline comprises a preprocessing stage where the image stack data is filtered and the nucleus of interest is segmentedI. Afterwards, the images are registered

The principle of the analysis procedure is simple: the coordinates Rad and Theta, of those accumulator cells the entries of which exceed the threshold Thres, represent a straight