My Project
modelsolverreg.hh
Go to the documentation of this file.
1/* -*- mia-c++ -*-
2 *
3 * This file is part of MIA - a toolbox for medical image analysis
4 * Copyright (c) Leipzig, Madrid 1999-2017 Gert Wollny
5 *
6 * MIA is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with MIA; if not, see <http://www.gnu.org/licenses/>.
18 *
19 */
20
21#if 0
22#ifndef mia_2d_model_solve_register_hh
23#define mia_2d_model_solve_register_hh
24
25#include <mia/2d/model.hh>
26#include <mia/2d/timestep.hh>
27#include <mia/2d/cost.hh>
28#include <mia/2d/multicost.hh>
30
32
43class CModelSolverRegistration
44{
45
55 CModelSolverRegistration(P2DRegModel model,
56 P2DRegTimeStep time_step,
58 size_t start_size,
59 size_t max_iter,
60 float outer_epsilon);
61
65 P2DTransformation operator ()(C2DFullCostList& cost) const;
66
67private:
68
69 std::unique_ptr<struct CModelSolverRegistrationImpl> m_impl;
70};
71
73#endif
74#endif
std::shared_ptr< C2DRegModel > P2DRegModel
Pointer type for the registration model.
Definition: 2d/model.hh:52
std::shared_ptr< C2DRegTimeStep > P2DRegTimeStep
pointer type for the 2D registration time step
Definition: 2d/timestep.hh:121
A accumulation of cost functions that are weigted against each other.
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
Definition: defines.hh:33
#define NS_MIA_END
conveniance define to end the mia namespace
Definition: defines.hh:36
std::shared_ptr< C2DTransformCreator > P2DTransformationFactory
Pointer type to the transformation factory.
C2DTransformation::Pointer P2DTransformation
Pointer type for the 2D transformation.