2d/trait.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_2d_trait_hh
#define mia_2d_trait_hh
#include <mia/template/dimtrait.hh>
#include <mia/2d/transformfactory.hh>
#include <mia/2d/multicost.hh>
#include <mia/2d/filter.hh>
#include <mia/2d/interpolator.hh>
NS_MIA_BEGIN
template <>
struct dimension_traits<2> {
typedef C2DTransformation Transformation;
typedef C2DTransformation::Pointer PTransformation;
typedef C2DBounds Size;
typedef C2DImage Image;
typedef C2DImage::Pointer PImage;
typedef std::vector<PImage> ImageSeries;
typedef P2DTransformationFactory PTransformationFactory;
typedef C2DFullCostList FullCostList;
typedef C2DFullCost::Pointer PFullCost;
typedef C2DFilter Filter;
typedef P2DFilter PFilter;
typedef C2DFilterPluginHandler FilterPluginHandler;
typedef C2DInterpolatorFactory InterpolatorFactory;
};
NS_MIA_END
#endif
filter.hh
interpolator.hh
multicost.hh
C2DFullCostList
TFullCostList< C2DTransformation > C2DFullCostList
Definition 2d/multicost.hh:29
transformfactory.hh
C2DBounds
T2DVector< unsigned int > C2DBounds
unsigned int valued 2D vector - used as 2D size parameter
Definition 2d/vector.hh:540
C2DImage::Pointer
std::shared_ptr< C2DImage > Pointer
2D Image pointer type
Definition 2d/image.hh:58
C2DTransformation::Pointer
std::shared_ptr< C2DTransformation > Pointer
pointer type of this transformation
Definition 2d/transform.hh:64
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
dimtrait.hh
P2DFilter
std::shared_ptr< C2DFilter > P2DFilter
Definition 2d/filter.hh:48
C2DFilterPluginHandler
THandlerSingleton< TFactoryPluginHandler< C2DFilterPlugin > > C2DFilterPluginHandler
Definition 2d/filter.hh:54
C2DFilter
TDataFilter< C2DImage > C2DFilter
Definition 2d/filter.hh:36
P2DTransformationFactory
std::shared_ptr< C2DTransformCreator > P2DTransformationFactory
Pointer type to the transformation factory.
Definition 2d/transformfactory.hh:43