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
a0d63082
Commit
a0d63082
authored
Jan 18, 2017
by
Floris Berendsen
Browse files
BUG: Applications is now using the lean SuperElastixFilter library (with
default components)
parent
cb002374
Changes
2
Hide whitespace changes
Inline
Side-by-side
Applications/CommandLineInterface/src/selxSuperElastix.cxx
View file @
a0d63082
...
...
@@ -23,9 +23,6 @@
#include
"selxAnyFileReader.h"
#include
"selxAnyFileWriter.h"
#include
"selxDefaultComponents.h"
#include
"selxTypeList.h"
#include
<boost/algorithm/string.hpp>
#include
<boost/filesystem.hpp>
...
...
@@ -56,17 +53,8 @@ main( int ac, char * av[] )
{
typedef
std
::
vector
<
std
::
string
>
VectorOfStringsType
;
using
Elastix3DComponents
=
selx
::
TypeList
<
selx
::
MonolithicElastixComponent
<
3
,
float
>
,
selx
::
MonolithicTransformixComponent
<
3
,
float
>
,
selx
::
ItkImageSourceFixedComponent
<
3
,
float
>
,
selx
::
ItkImageSourceMovingComponent
<
3
,
float
>
,
selx
::
ItkImageSinkComponent
<
3
,
float
>
,
selx
::
ItkImageRegistrationMethodv4Component
<
3
,
float
,
float
>
>
;
using
RegisterComponents
=
selx
::
list_append
<
selx
::
DefaultComponents
,
Elastix3DComponents
>::
type
;
selx
::
SuperElastixFilter
<
RegisterComponents
>::
Pointer
superElastixFilter
=
selx
::
SuperElastixFilter
<
RegisterComponents
>::
New
();
// instantiate a SuperElastixFilter that is loaded with default components
selx
::
SuperElastixFilter
::
Pointer
superElastixFilter
=
selx
::
SuperElastixFilter
::
New
();
fs
::
path
configurationPath
;
VectorOfStringsType
inputPairs
;
...
...
@@ -119,7 +107,7 @@ main( int ac, char * av[] )
}
//turn the blueprint into an itkObject to connect to the superElastix itkFilter
selx
::
SuperElastixFilter
<
RegisterComponents
>
::
BlueprintPointer
itkBluePrint
=
selx
::
SuperElastixFilter
<
RegisterComponents
>
::
BlueprintType
::
New
();
selx
::
SuperElastixFilter
::
BlueprintPointer
itkBluePrint
=
selx
::
SuperElastixFilter
::
BlueprintType
::
New
();
itkBluePrint
->
Set
(
blueprint
);
superElastixFilter
->
SetBlueprint
(
itkBluePrint
);
...
...
Modules/Components/ItkSmoothingRecursiveGaussianImageFilter/include/selxItkSmoothingRecursiveGaussianImageFilterComponent.h
View file @
a0d63082
...
...
@@ -22,7 +22,7 @@
#include
"selxSuperElastixComponent.h"
//
#include "selxItkRegistrationMethodv4Interfaces.h"
#include
"selxItkRegistrationMethodv4Interfaces.h"
#include
"selxSinksAndSourcesInterfaces.h"
#include
"selxItkObjectInterfaces.h"
...
...
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