Commit cd7a4d52 authored by Floris Berendsen's avatar Floris Berendsen
Browse files

ENH: made testing scripts. TODO: move to future integration tests.

SuperElastix/SuperElastix#32
parent 82dc9e79
..\SuperElastix.exe --conf ..\Configuration\itkv4_SVF_MSD_missingController.json --graphout 2B_graph_itkv4_MSD_missingController.dot --in FixedImage=..\Data\coneA2d64.mhd MovingImage=..\Data\coneB2d64.mhd --out ResultImage=2B_image_itkv4_MSD_missingController.mhd ResultDisplacementField=2B_deformation_itkv4_MSD_missingController.mhd
CALL graphviz_to_png 2B_graph_itkv4_MSD.dot
\ No newline at end of file
..\SuperElastix.exe --conf ..\Configuration\itkv4_SVF_MSD_missingOptimizer.json --graphout 2B_graph_itkv4_MSD_missingOptimizer.dot --in FixedImage=..\Data\coneA2d64.mhd MovingImage=..\Data\coneB2d64.mhd --out ResultImage=2B_image_itkv4_MSD_missingOptimizer.mhd ResultDisplacementField=2B_deformation_itkv4_MSD_missingOptimizer.mhd
CALL graphviz_to_png 2B_graph_itkv4_MSD.dot
\ No newline at end of file
{
"Component": {
"Name": "RegistrationMethod",
"NameOfClass": "ItkImageRegistrationMethodv4Component",
"NumberOfLevels": "3" ,
"ShrinkFactorsPerLevel": [ "4", "2", "1" ],
"SmoothingSigmasPerLevel": [ "4", "2", "1" ]
},
"Component": {
"Name": "FixedImage",
"NameOfClass": "ItkImageSourceFixedComponent",
"Dimensionality": "2",
"PixelType": "float"
},
"Component": {
"Name": "MovingImage",
"NameOfClass": "ItkImageSourceMovingComponent",
"Dimensionality": "2",
"PixelType": "float"
},
"Component": {
"Name": "ResultImage",
"NameOfClass": "ItkImageSinkComponent",
"Dimensionality": "2",
"PixelType": "float"
},
"Component": {
"Name": "ResultDisplacementField",
"NameOfClass": "DisplacementFieldItkImageFilterSinkComponent",
"Dimensionality": "2",
"PixelType": "float"
},
"Component": {
"Name": "Metric",
"NameOfClass": "ItkANTSNeighborhoodCorrelationImageToImageMetricv4Component"
},
"Component": {
"Name": "Optimizer",
"NameOfClass": "ItkGradientDescentOptimizerv4Component",
"NumberOfIterations": "100",
"LearningRate": "0.001"
},
"Component": {
"Name": "Transform",
"NameOfClass": "ItkGaussianExponentialDiffeomorphicTransformComponent",
"InternalComputationValueType": "double"
},
"Component": {
"Name": "TransformResolutionAdaptor",
"NameOfClass": "ItkGaussianExponentialDiffeomorphicTransformParametersAdaptorsContainerComponent",
"ShrinkFactorsPerLevel": [ "4", "2", "1" ]
},
"Component": {
"Name": "ResampleFilter",
"NameOfClass": "ItkResampleFilterComponent"
},
"Component": {
"Name": "TransformDisplacementFilter",
"NameOfClass": "ItkTransformDisplacementFilterComponent"
},
"Connection": {
"Out": "FixedImage",
"In": "RegistrationMethod",
"NameOfInterface": "itkImageFixedInterface"
},
"Connection": {
"Out": "MovingImage",
"In": "RegistrationMethod",
"NameOfInterface": "itkImageMovingInterface"
},
"Connection": {
"Out": "RegistrationMethod",
"In": "ResampleFilter",
"NameOfInterface": "itkTransformInterface"
},
"Connection": {
"Out": "RegistrationMethod",
"In": "TransformDisplacementFilter",
"NameOfInterface": "itkTransformInterface"
},
"Connection": {
"Out": "ResampleFilter",
"In": "ResultImage",
"NameOfInterface": "itkImageInterface"
},
"Connection": {
"Out": "TransformDisplacementFilter",
"In": "ResultDisplacementField",
"NameOfInterface": "DisplacementFieldItkImageSourceInterface"
},
"Connection": {
"Out": "Metric",
"In": "RegistrationMethod",
"NameOfInterface": "itkMetricv4Interface"
},
"Connection": {
"Out": "FixedImage",
"In": "Transform",
"NameOfInterface": "itkImageDomainFixedInterface"
},
"Connection": {
"Out": "Transform",
"In": "RegistrationMethod",
"NameOfInterface": "itkTransformInterface"
},
"Connection": {
"Out": "FixedImage",
"In": "TransformResolutionAdaptor",
"NameOfInterface": "itkImageDomainFixedInterface"
},
"Connection": {
"Out": "TransformResolutionAdaptor",
"In": "RegistrationMethod"
},
"Connection": {
"Out": "Optimizer",
"In": "RegistrationMethod",
"NameOfInterface": "itkOptimizerv4Interface"
},
"Connection": {
"Out": "FixedImage",
"In": "TransformDisplacementFilter",
"NameOfInterface": "itkImageDomainFixedInterface"
},
"Connection": {
"Out": "FixedImage",
"In": "ResampleFilter",
"NameOfInterface": "itkImageDomainFixedInterface"
},
"Connection": {
"Out": "MovingImage",
"In": "ResampleFilter",
"NameOfInterface": "itkImageMovingInterface"
}
}
{
"Component": {
"Name": "RegistrationMethod",
"NameOfClass": "ItkImageRegistrationMethodv4Component",
"NumberOfLevels": "3" ,
"ShrinkFactorsPerLevel": [ "4", "2", "1" ],
"SmoothingSigmasPerLevel": [ "4", "2", "1" ]
},
"Component": {
"Name": "FixedImage",
"NameOfClass": "ItkImageSourceFixedComponent",
"Dimensionality": "2",
"PixelType": "float"
},
"Component": {
"Name": "MovingImage",
"NameOfClass": "ItkImageSourceMovingComponent",
"Dimensionality": "2",
"PixelType": "float"
},
"Component": {
"Name": "ResultImage",
"NameOfClass": "ItkImageSinkComponent",
"Dimensionality": "2",
"PixelType": "float"
},
"Component": {
"Name": "ResultDisplacementField",
"NameOfClass": "DisplacementFieldItkImageFilterSinkComponent",
"Dimensionality": "2",
"PixelType": "float"
},
"Component": {
"Name": "Metric",
"NameOfClass": "ItkANTSNeighborhoodCorrelationImageToImageMetricv4Component"
},
"Component": {
"Name": "Transform",
"NameOfClass": "ItkGaussianExponentialDiffeomorphicTransformComponent",
"InternalComputationValueType": "double"
},
"Component": {
"Name": "TransformResolutionAdaptor",
"NameOfClass": "ItkGaussianExponentialDiffeomorphicTransformParametersAdaptorsContainerComponent",
"ShrinkFactorsPerLevel": [ "4", "2", "1" ]
},
"Component": {
"Name": "ResampleFilter",
"NameOfClass": "ItkResampleFilterComponent"
},
"Component": {
"Name": "TransformDisplacementFilter",
"NameOfClass": "ItkTransformDisplacementFilterComponent"
},
"Component": {
"Name": "Controller",
"NameOfClass": "RegistrationControllerComponent"
},
"Connection": {
"Out": "FixedImage",
"In": "RegistrationMethod",
"NameOfInterface": "itkImageFixedInterface"
},
"Connection": {
"Out": "MovingImage",
"In": "RegistrationMethod",
"NameOfInterface": "itkImageMovingInterface"
},
"Connection": {
"Out": "RegistrationMethod",
"In": "ResampleFilter",
"NameOfInterface": "itkTransformInterface"
},
"Connection": {
"Out": "RegistrationMethod",
"In": "TransformDisplacementFilter",
"NameOfInterface": "itkTransformInterface"
},
"Connection": {
"Out": "ResampleFilter",
"In": "ResultImage",
"NameOfInterface": "itkImageInterface"
},
"Connection": {
"Out": "TransformDisplacementFilter",
"In": "ResultDisplacementField",
"NameOfInterface": "DisplacementFieldItkImageSourceInterface"
},
"Connection": {
"Out": "Metric",
"In": "RegistrationMethod",
"NameOfInterface": "itkMetricv4Interface"
},
"Connection": {
"Out": "FixedImage",
"In": "Transform",
"NameOfInterface": "itkImageDomainFixedInterface"
},
"Connection": {
"Out": "Transform",
"In": "RegistrationMethod",
"NameOfInterface": "itkTransformInterface"
},
"Connection": {
"Out": "FixedImage",
"In": "TransformResolutionAdaptor",
"NameOfInterface": "itkImageDomainFixedInterface"
},
"Connection": {
"Out": "TransformResolutionAdaptor",
"In": "RegistrationMethod"
},
"Connection": {
"Out": "FixedImage",
"In": "TransformDisplacementFilter",
"NameOfInterface": "itkImageDomainFixedInterface"
},
"Connection": {
"Out": "FixedImage",
"In": "ResampleFilter",
"NameOfInterface": "itkImageDomainFixedInterface"
},
"Connection": {
"Out": "MovingImage",
"In": "ResampleFilter",
"NameOfInterface": "itkImageMovingInterface"
},
"Connection": {
"Out": "RegistrationMethod",
"In": "Controller",
"NameOfInterface": "RunRegistrationInterface"
},
"Connection": {
"Out": "ResampleFilter",
"In": "Controller",
"NameOfInterface": "ReconnectTransformInterface"
},
"Connection": {
"Out": "TransformDisplacementFilter",
"In": "Controller",
"NameOfInterface": "ReconnectTransformInterface"
}
}
Markdown is supported
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