3d/cost.hh
Go to the documentation of this file.
/* -*- mia-c++ -*-
*
* This file is part of MIA - a toolbox for medical image analysis
* Copyright (c) Leipzig, Madrid 1999-2017 Gert Wollny
*
* MIA is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with MIA; if not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef mia_3d_cost_hh
#define mia_3d_cost_hh
#include <mia/core/cost.hh>
#include <mia/3d/image.hh>
NS_MIA_BEGIN
extern template class EXPORT_3D TCost<C3DImage, C3DFVectorfield>;
typedef TCost<C3DImage, C3DFVectorfield> C3DImageCost;
typedef std::shared_ptr<C3DImageCost > P3DImageCost;
typedef TFactory<C3DImageCost> C3DImageCostPlugin;
typedef THandlerSingleton<TFactoryPluginHandler<C3DImageCostPlugin>> C3DImageCostPluginHandler;
template <> const char *const TPluginHandler<C3DImageCostPlugin>::m_help;
extern template class EXPORT_3D THandlerSingleton<TFactoryPluginHandler<C3DImageCostPlugin>>;
FACTORY_TRAIT(C3DImageCostPluginHandler);
NS_MIA_END
#endif
image.hh
TCost
The generic cost function interface.
Definition core/cost.hh:65
TFactory
This is tha base of all plugins that create "things", like filters, cost functions time step operator...
Definition factory.hh:51
THandlerSingleton
the singleton that a plug-in handler really is
Definition handler.hh:159
cost.hh
EXPORT_3D
#define EXPORT_3D
Definition defines3d.hh:45
NS_MIA_BEGIN
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
Definition defines.hh:33
NS_MIA_END
#define NS_MIA_END
conveniance define to end the mia namespace
Definition defines.hh:36
C3DImageCostPlugin
TFactory< C3DImageCost > C3DImageCostPlugin
plug-in for the image-to-image cost function base class
Definition 3d/cost.hh:47
C3DImageCostPluginHandler
THandlerSingleton< TFactoryPluginHandler< C3DImageCostPlugin > > C3DImageCostPluginHandler
plug-in handler for the image-to-image cost function base class
Definition 3d/cost.hh:53
P3DImageCost
std::shared_ptr< C3DImageCost > P3DImageCost
pointer type of the image-to-image cost function base class
Definition 3d/cost.hh:41
C3DImageCost
TCost< C3DImage, C3DFVectorfield > C3DImageCost
the image-to-image cost function base class
Definition 3d/cost.hh:35
FACTORY_TRAIT
#define FACTORY_TRAIT(F)
Definition factory_trait.hh:69