3d/maskedcost.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_masked_cost_hh
#define mia_3d_masked_cost_hh
#include <mia/template/masked_cost.hh>
#include <mia/3d/image.hh>
NS_MIA_BEGIN
typedef TMaskedCost<C3DImage, C3DBitImage, C3DFVectorfield> C3DMaskedImageCost;
typedef std::shared_ptr<C3DMaskedImageCost > P3DMaskedImageCost;
typedef TFactory<C3DMaskedImageCost> C3DMaskedImageCostPlugin;
typedef THandlerSingleton<TFactoryPluginHandler<C3DMaskedImageCostPlugin>> C3DMaskedImageCostPluginHandler;
FACTORY_TRAIT(C3DMaskedImageCostPluginHandler);
NS_MIA_END
#endif
image.hh
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
TMaskedCost
The generic cost function interface.
Definition masked_cost.hh:65
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
P3DMaskedImageCost
std::shared_ptr< C3DMaskedImageCost > P3DMaskedImageCost
pointer type of the image-to-image cost function base class
Definition 3d/maskedcost.hh:39
C3DMaskedImageCostPlugin
TFactory< C3DMaskedImageCost > C3DMaskedImageCostPlugin
plug-in for the image-to-image cost function base class
Definition 3d/maskedcost.hh:45
C3DMaskedImageCostPluginHandler
THandlerSingleton< TFactoryPluginHandler< C3DMaskedImageCostPlugin > > C3DMaskedImageCostPluginHandler
plug-in handler for the image-to-image cost function base class
Definition 3d/maskedcost.hh:51
C3DMaskedImageCost
TMaskedCost< C3DImage, C3DBitImage, C3DFVectorfield > C3DMaskedImageCost
the image-to-image cost function base class
Definition 3d/maskedcost.hh:33
FACTORY_TRAIT
#define FACTORY_TRAIT(F)
Definition factory_trait.hh:69
masked_cost.hh