Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
SuperElastix
Commits
9b0c75f1
Commit
9b0c75f1
authored
Sep 15, 2016
by
Kasper Marstal
Browse files
COMP: Use space between double right angled brackets
parent
78776fb4
Changes
27
Hide whitespace changes
Inline
Side-by-side
Modules/Components/Elastix/include/selxMonolithicElastix.h
View file @
9b0c75f1
...
...
@@ -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
;
...
...
Modules/Components/Elastix/include/selxMonolithicTransformix.h
View file @
9b0c75f1
...
...
@@ -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
;
...
...
Modules/Components/Elastix/include/selxMonolithicTransformix.hxx
View file @
9b0c75f1
...
...
@@ -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->Get
Default
ParameterMap("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
->
Set
Input
(
movingImage
);
this
->
m_transformixFilter
->
Set
MovingImage
(
movingImage
);
return
0
;
}
...
...
Modules/Components/Elastix/test/selxElastixComponentTest.cxx
View file @
9b0c75f1
...
...
@@ -58,7 +58,7 @@ public:
ItkImageSourceMovingComponent
<
2
,
float
>
,
ItkImageSourceFixedComponent
<
3
,
double
>
,
ItkImageSourceMovingComponent
<
3
,
double
>
,
RegistrationControllerComponent
<
>>
RegisterComponents
;
RegistrationControllerComponent
<
>
>
RegisterComponents
;
typedef
SuperElastixFilter
<
RegisterComponents
>
SuperElastixFilterType
;
...
...
Modules/Components/ItkSmoothingRecursiveGaussianImageFilter/include/selxItkSmoothingRecursiveGaussianImageFilterComponent.h
View file @
9b0c75f1
...
...
@@ -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
;
...
...
Modules/Components/SinksAndSources/include/selxDisplacementFieldItkImageFilterSink.h
View file @
9b0c75f1
...
...
@@ -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
>
>
{
...
...
Modules/Components/SinksAndSources/include/selxItkImageSink.h
View file @
9b0c75f1
...
...
@@ -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
>
>
{
...
...
Modules/Components/SinksAndSources/include/selxItkImageSource.h
View file @
9b0c75f1
...
...
@@ -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:
...
...
Modules/Components/SinksAndSources/include/selxItkImageSourceFixed.h
View file @
9b0c75f1
...
...
@@ -35,7 +35,7 @@ class ItkImageSourceFixedComponent :
Accepting
<
>
,
Providing
<
SourceInterface
,
itkImageFixedInterface
<
Dimensionality
,
TPixel
>
,
itkImageDomainFixedInterface
<
Dimensionality
>>
itkImageDomainFixedInterface
<
Dimensionality
>
>
>
{
public:
...
...
Modules/Components/SinksAndSources/include/selxItkImageSourceMoving.h
View file @
9b0c75f1
...
...
@@ -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:
...
...
Modules/Components/SinksAndSources/include/selxItkMeshSink.h
View file @
9b0c75f1
...
...
@@ -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
>
>
{
...
...
Modules/Components/SinksAndSources/include/selxItkMeshSource.h
View file @
9b0c75f1
...
...
@@ -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:
...
...
Modules/Components/itkImageRegistrationMethodv4/include/selxItkANTSNeighborhoodCorrelationImageToImageMetricv4.h
View file @
9b0c75f1
...
...
@@ -31,7 +31,7 @@ template< int Dimensionality, class TPixel >
class
ItkANTSNeighborhoodCorrelationImageToImageMetricv4Component
:
public
SuperElastixComponent
<
Accepting
<
>
,
Providing
<
itkMetricv4Interface
<
Dimensionality
,
TPixel
>>
Providing
<
itkMetricv4Interface
<
Dimensionality
,
TPixel
>
>
>
{
public:
...
...
Modules/Components/itkImageRegistrationMethodv4/include/selxItkAffineTransform.h
View file @
9b0c75f1
...
...
@@ -31,7 +31,7 @@ template< class InternalComputationValueType, int Dimensionality >
class
ItkAffineTransformComponent
:
public
SuperElastixComponent
<
Accepting
<
>
,
Providing
<
itkTransformInterface
<
InternalComputationValueType
,
Dimensionality
>>
Providing
<
itkTransformInterface
<
InternalComputationValueType
,
Dimensionality
>
>
>
{
public:
...
...
Modules/Components/itkImageRegistrationMethodv4/include/selxItkGaussianExponentialDiffeomorphicTransform.h
View file @
9b0c75f1
...
...
@@ -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
>
>
...
...
Modules/Components/itkImageRegistrationMethodv4/include/selxItkGradientDescentOptimizerv4.h
View file @
9b0c75f1
...
...
@@ -31,7 +31,7 @@ template< class InternalComputationValueType >
class
ItkGradientDescentOptimizerv4Component
:
public
SuperElastixComponent
<
Accepting
<
>
,
Providing
<
itkOptimizerv4Interface
<
InternalComputationValueType
>>
Providing
<
itkOptimizerv4Interface
<
InternalComputationValueType
>
>
>
{
public:
...
...
Modules/Components/itkImageRegistrationMethodv4/include/selxItkMeanSquaresImageToImageMetricv4.h
View file @
9b0c75f1
...
...
@@ -31,7 +31,7 @@ template< int Dimensionality, class TPixel >
class
ItkMeanSquaresImageToImageMetricv4Component
:
public
SuperElastixComponent
<
Accepting
<
>
,
Providing
<
itkMetricv4Interface
<
Dimensionality
,
TPixel
>>
Providing
<
itkMetricv4Interface
<
Dimensionality
,
TPixel
>
>
>
{
public:
...
...
Modules/Components/itkImageRegistrationMethodv4/test/selxRegistrationItkv4Test.cxx
View file @
9b0c75f1
...
...
@@ -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
;
...
...
Modules/Components/itkImageRegistrationMethodv4/test/selxWBIRDemoTest.cxx
View file @
9b0c75f1
...
...
@@ -76,7 +76,7 @@ public:
ItkGaussianExponentialDiffeomorphicTransformComponent
<
double
,
2
>
,
ItkTransformDisplacementFilterComponent
<
2
,
float
,
double
>
,
ItkResampleFilterComponent
<
2
,
float
,
double
>
,
RegistrationControllerComponent
<
>>
RegisterComponents
;
RegistrationControllerComponent
<
>
>
RegisterComponents
;
typedef
SuperElastixFilter
<
RegisterComponents
>
SuperElastixFilterType
;
...
...
Modules/Components/itkSyNImageRegistrationMethod/test/selxSyNRegistrationItkv4Test.cxx
View file @
9b0c75f1
...
...
@@ -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
;
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment