Commit 9b0c75f1 authored by Kasper Marstal's avatar Kasper Marstal
Browse files

COMP: Use space between double right angled brackets

parent 78776fb4
......@@ -40,7 +40,7 @@ class MonolithicElastixComponent :
itkImageMovingInterface< Dimensionality, TPixel >
>,
Providing<
elastixTransformParameterObjectInterface< itk::Image< TPixel, Dimensionality >, itk::Image< TPixel, Dimensionality >>,
elastixTransformParameterObjectInterface< itk::Image< TPixel, Dimensionality >, itk::Image< TPixel, Dimensionality > >,
itkImageInterface< Dimensionality, TPixel >,
RunRegistrationInterface
>
......@@ -72,7 +72,7 @@ public:
typedef elxParameterObjectType::Pointer elxParameterObjectPointer;
typedef typename elastixTransformParameterObjectInterface< itk::Image< TPixel, Dimensionality >,
itk::Image< TPixel, Dimensionality >>::elastixTransformParameterObject elastixTransformParameterObject;
itk::Image< TPixel, Dimensionality > >::elastixTransformParameterObject elastixTransformParameterObject;
// Accepting Interfaces:
virtual int Set( itkImageFixedInterface< Dimensionality, TPixel > * ) override;
......
......@@ -38,7 +38,7 @@ class MonolithicTransformixComponent :
Accepting<
itkImageDomainFixedInterface< Dimensionality >,
itkImageMovingInterface< Dimensionality, TPixel >,
elastixTransformParameterObjectInterface< itk::Image< TPixel, Dimensionality >, itk::Image< TPixel, Dimensionality >>
elastixTransformParameterObjectInterface< itk::Image< TPixel, Dimensionality >, itk::Image< TPixel, Dimensionality > >
>,
Providing<
itkImageInterface< Dimensionality, TPixel >,
......@@ -68,7 +68,7 @@ public:
typedef elastix::TransformixFilter< MovingImageType > TransformixFilterType;
typedef elastixTransformParameterObjectInterface< itk::Image< TPixel, Dimensionality >,
itk::Image< TPixel, Dimensionality >> elastixTransformParameterObjectInterfaceType;
itk::Image< TPixel, Dimensionality > > elastixTransformParameterObjectInterfaceType;
// Accepting Interfaces:
virtual int Set( itkImageDomainFixedInterface< Dimensionality > * ) override;
......
......@@ -34,7 +34,7 @@ MonolithicTransformixComponent< Dimensionality, TPixel >::MonolithicTransformixC
//TODO m_elastixFilter returns a nullptr GetTransformParameterObject instead of a valid object. However, we need this object to satisfy the input conditions of m_transformixFilter
elxParameterObjectPointer trxParameterObject = elxParameterObjectType::New();
//typename elxParameterObjectType::ParameterMapType defaultParameters = elxParameterObject->GetDefaultParameterMap("rigid");
//typename elxParameterObjectType::ParameterMapType defaultParameters = elxParameterObject->Get ParameterMap("rigid");
//elxParameterObject->SetParameterMap(defaultParameters);
//m_transformixFilter->SetTransformParameterObject(m_elastixFilter->GetTransformParameterObject());
m_transformixFilter->SetTransformParameterObject( trxParameterObject ); // supply a dummy object
......@@ -108,7 +108,7 @@ MonolithicTransformixComponent< Dimensionality, TPixel >::Set( itkImageMovingInt
{
auto movingImage = component->GetItkImageMoving();
// connect the itk pipeline
this->m_transformixFilter->SetInput( movingImage );
this->m_transformixFilter->SetMovingImage( movingImage );
return 0;
}
......
......@@ -58,7 +58,7 @@ public:
ItkImageSourceMovingComponent< 2, float >,
ItkImageSourceFixedComponent< 3, double >,
ItkImageSourceMovingComponent< 3, double >,
RegistrationControllerComponent< >> RegisterComponents;
RegistrationControllerComponent< > > RegisterComponents;
typedef SuperElastixFilter< RegisterComponents > SuperElastixFilterType;
......
......@@ -31,8 +31,8 @@ namespace selx
template< int Dimensionality, class TPixel >
class ItkSmoothingRecursiveGaussianImageFilterComponent :
public SuperElastixComponent<
Accepting< itkImageInterface< Dimensionality, TPixel >>,
Providing< itkImageInterface< Dimensionality, TPixel >>
Accepting< itkImageInterface< Dimensionality, TPixel > >,
Providing< itkImageInterface< Dimensionality, TPixel > >
>
{
public:
......@@ -46,7 +46,7 @@ public:
typedef TPixel PixelType;
typedef itk::SmoothingRecursiveGaussianImageFilter< itk::Image< PixelType, Dimensionality >,
itk::Image< PixelType, Dimensionality >> TheItkFilterType;
itk::Image< PixelType, Dimensionality > > TheItkFilterType;
typedef itk::Image< PixelType, Dimensionality > ItkImageType;
typedef typename ItkImageType::Pointer
ItkImagePointer;
......
......@@ -33,7 +33,7 @@ namespace selx
template< int Dimensionality, class TPixel >
class DisplacementFieldItkImageFilterSinkComponent :
public SuperElastixComponent<
Accepting< DisplacementFieldItkImageSourceInterface< Dimensionality, TPixel >>,
Accepting< DisplacementFieldItkImageSourceInterface< Dimensionality, TPixel > >,
Providing< SinkInterface >
>
{
......
......@@ -34,7 +34,7 @@ namespace selx
template< int Dimensionality, class TPixel >
class ItkImageSinkComponent :
public SuperElastixComponent<
Accepting< itkImageInterface< Dimensionality, TPixel >>,
Accepting< itkImageInterface< Dimensionality, TPixel > >,
Providing< SinkInterface >
>
{
......
......@@ -33,7 +33,7 @@ template< int Dimensionality, class TPixel >
class ItkImageSourceComponent :
public SuperElastixComponent<
Accepting< >,
Providing< SourceInterface, itkImageInterface< Dimensionality, TPixel >>
Providing< SourceInterface, itkImageInterface< Dimensionality, TPixel > >
>
{
public:
......
......@@ -35,7 +35,7 @@ class ItkImageSourceFixedComponent :
Accepting< >,
Providing< SourceInterface,
itkImageFixedInterface< Dimensionality, TPixel >,
itkImageDomainFixedInterface< Dimensionality >>
itkImageDomainFixedInterface< Dimensionality > >
>
{
public:
......
......@@ -33,7 +33,7 @@ template< int Dimensionality, class TPixel >
class ItkImageSourceMovingComponent :
public SuperElastixComponent<
Accepting< >,
Providing< SourceInterface, itkImageMovingInterface< Dimensionality, TPixel >>
Providing< SourceInterface, itkImageMovingInterface< Dimensionality, TPixel > >
>
{
public:
......
......@@ -33,7 +33,7 @@ namespace selx
template< int Dimensionality, class TPixel >
class ItkMeshSinkComponent :
public SuperElastixComponent<
Accepting< itkMeshInterface< Dimensionality, TPixel >>,
Accepting< itkMeshInterface< Dimensionality, TPixel > >,
Providing< SinkInterface, AfterRegistrationInterface >
>
{
......
......@@ -34,7 +34,7 @@ template< int Dimensionality, class TPixel >
class ItkMeshSourceComponent :
public SuperElastixComponent<
Accepting< >,
Providing< SourceInterface, itkMeshInterface< Dimensionality, TPixel >>
Providing< SourceInterface, itkMeshInterface< Dimensionality, TPixel > >
>
{
public:
......
......@@ -31,7 +31,7 @@ template< int Dimensionality, class TPixel >
class ItkANTSNeighborhoodCorrelationImageToImageMetricv4Component :
public SuperElastixComponent<
Accepting< >,
Providing< itkMetricv4Interface< Dimensionality, TPixel >>
Providing< itkMetricv4Interface< Dimensionality, TPixel > >
>
{
public:
......
......@@ -31,7 +31,7 @@ template< class InternalComputationValueType, int Dimensionality >
class ItkAffineTransformComponent :
public SuperElastixComponent<
Accepting< >,
Providing< itkTransformInterface< InternalComputationValueType, Dimensionality >>
Providing< itkTransformInterface< InternalComputationValueType, Dimensionality > >
>
{
public:
......
......@@ -30,7 +30,7 @@ namespace selx
template< class InternalComputationValueType, int Dimensionality >
class ItkGaussianExponentialDiffeomorphicTransformComponent :
public SuperElastixComponent<
Accepting< itkImageDomainFixedInterface< Dimensionality >>,
Accepting< itkImageDomainFixedInterface< Dimensionality > >,
Providing< itkTransformInterface< InternalComputationValueType, Dimensionality >,
RunRegistrationInterface >
>
......
......@@ -31,7 +31,7 @@ template< class InternalComputationValueType >
class ItkGradientDescentOptimizerv4Component :
public SuperElastixComponent<
Accepting< >,
Providing< itkOptimizerv4Interface< InternalComputationValueType >>
Providing< itkOptimizerv4Interface< InternalComputationValueType > >
>
{
public:
......
......@@ -31,7 +31,7 @@ template< int Dimensionality, class TPixel >
class ItkMeanSquaresImageToImageMetricv4Component :
public SuperElastixComponent<
Accepting< >,
Providing< itkMetricv4Interface< Dimensionality, TPixel >>
Providing< itkMetricv4Interface< Dimensionality, TPixel > >
>
{
public:
......
......@@ -99,7 +99,7 @@ public:
ItkTransformDisplacementFilterComponent< 3, double, double >,
ItkResampleFilterComponent< 2, float, double >,
ItkResampleFilterComponent< 3, double, double >,
RegistrationControllerComponent< >> RegisterComponents;
RegistrationControllerComponent< > > RegisterComponents;
typedef SuperElastixFilter< RegisterComponents > SuperElastixFilterType;
......
......@@ -76,7 +76,7 @@ public:
ItkGaussianExponentialDiffeomorphicTransformComponent< double, 2 >,
ItkTransformDisplacementFilterComponent< 2, float, double >,
ItkResampleFilterComponent< 2, float, double >,
RegistrationControllerComponent< >> RegisterComponents;
RegistrationControllerComponent< > > RegisterComponents;
typedef SuperElastixFilter< RegisterComponents > SuperElastixFilterType;
......
......@@ -98,7 +98,7 @@ public:
ItkTransformDisplacementFilterComponent< 3, double, double >,
ItkResampleFilterComponent< 2, float, double >,
ItkResampleFilterComponent< 3, double, double >,
RegistrationControllerComponent< >> RegisterComponents;
RegistrationControllerComponent< > > RegisterComponents;
typedef SuperElastixFilter< RegisterComponents > SuperElastixFilterType;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment