├── .gitignore ├── LICENSE ├── MelastiX_examples ├── .gitignore ├── elastix │ ├── AtW_parameters_1.txt │ ├── AtW_parameters_2.txt │ ├── RUN_ALL.m │ ├── example_2D_affineThenWarping.m │ ├── example_2D_affineThenWarping_withParams.m │ ├── example_2D_affine_alpha.m │ ├── example_2D_affine_nSpatialSamples.m │ ├── example_2D_warping.m │ ├── lena.mat │ └── private │ │ ├── distortLena.m │ │ ├── getOffsets.m │ │ └── paramsReporter.m ├── invert_transform │ ├── example_invert.m │ ├── params_0.txt │ ├── params_1.txt │ └── points_on_deformed_dog.csv └── transformix │ ├── RUN_ALL.m │ ├── applyLenaTransform2Dog.m │ ├── applyLenaTransform2Dog_params │ ├── TransformParameters.0.txt │ └── TransformParameters.1.txt │ ├── applyLenaTransform2Dog_withParams.m │ ├── dog_warp_results.png │ ├── params.mat │ ├── points_on_deformed_dog.csv │ ├── points_on_raw_dog.csv │ ├── private │ └── distortLena.m │ ├── transformSparsePoints_forward.m │ ├── uma.mat │ ├── uma.tiff │ └── uma_distorted.tiff ├── README.md ├── code ├── +melastix │ └── updateTransformFileDirFields.m ├── changeParameterInElastixFile.m ├── elastix.m ├── elastixYAML2struct.m ├── elastix_default.yml ├── elastix_paramStruct2txt.m ├── elastix_parameter_read.m ├── elastix_parameter_write.m ├── invertElastixTransform.m ├── mhd_read.m ├── mhd_read_header.m ├── mhd_read_volume.m ├── mhd_write.m ├── private │ └── load3Dtiff.m ├── readTransformedPointsFile.m ├── readWholeTextFile.m ├── readme.txt ├── struct2varargin.m ├── transformix.m ├── validateElastixParam.m └── writePointsFile.m └── example_parameter_files ├── parameters_Affine.txt ├── parameters_BSpline.txt ├── parameters_Rigid.txt └── parameters_Translation.txt /.gitignore: -------------------------------------------------------------------------------- 1 | *.DS_Store 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/LICENSE -------------------------------------------------------------------------------- /MelastiX_examples/.gitignore: -------------------------------------------------------------------------------- 1 | *.DS_Store 2 | -------------------------------------------------------------------------------- /MelastiX_examples/elastix/AtW_parameters_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/elastix/AtW_parameters_1.txt -------------------------------------------------------------------------------- /MelastiX_examples/elastix/AtW_parameters_2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/elastix/AtW_parameters_2.txt -------------------------------------------------------------------------------- /MelastiX_examples/elastix/RUN_ALL.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/elastix/RUN_ALL.m -------------------------------------------------------------------------------- /MelastiX_examples/elastix/example_2D_affineThenWarping.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/elastix/example_2D_affineThenWarping.m -------------------------------------------------------------------------------- /MelastiX_examples/elastix/example_2D_affineThenWarping_withParams.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/elastix/example_2D_affineThenWarping_withParams.m -------------------------------------------------------------------------------- /MelastiX_examples/elastix/example_2D_affine_alpha.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/elastix/example_2D_affine_alpha.m -------------------------------------------------------------------------------- /MelastiX_examples/elastix/example_2D_affine_nSpatialSamples.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/elastix/example_2D_affine_nSpatialSamples.m -------------------------------------------------------------------------------- /MelastiX_examples/elastix/example_2D_warping.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/elastix/example_2D_warping.m -------------------------------------------------------------------------------- /MelastiX_examples/elastix/lena.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/elastix/lena.mat -------------------------------------------------------------------------------- /MelastiX_examples/elastix/private/distortLena.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/elastix/private/distortLena.m -------------------------------------------------------------------------------- /MelastiX_examples/elastix/private/getOffsets.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/elastix/private/getOffsets.m -------------------------------------------------------------------------------- /MelastiX_examples/elastix/private/paramsReporter.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/elastix/private/paramsReporter.m -------------------------------------------------------------------------------- /MelastiX_examples/invert_transform/example_invert.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/invert_transform/example_invert.m -------------------------------------------------------------------------------- /MelastiX_examples/invert_transform/params_0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/invert_transform/params_0.txt -------------------------------------------------------------------------------- /MelastiX_examples/invert_transform/params_1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/invert_transform/params_1.txt -------------------------------------------------------------------------------- /MelastiX_examples/invert_transform/points_on_deformed_dog.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/invert_transform/points_on_deformed_dog.csv -------------------------------------------------------------------------------- /MelastiX_examples/transformix/RUN_ALL.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/transformix/RUN_ALL.m -------------------------------------------------------------------------------- /MelastiX_examples/transformix/applyLenaTransform2Dog.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/transformix/applyLenaTransform2Dog.m -------------------------------------------------------------------------------- /MelastiX_examples/transformix/applyLenaTransform2Dog_params/TransformParameters.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/transformix/applyLenaTransform2Dog_params/TransformParameters.0.txt -------------------------------------------------------------------------------- /MelastiX_examples/transformix/applyLenaTransform2Dog_params/TransformParameters.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/transformix/applyLenaTransform2Dog_params/TransformParameters.1.txt -------------------------------------------------------------------------------- /MelastiX_examples/transformix/applyLenaTransform2Dog_withParams.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/transformix/applyLenaTransform2Dog_withParams.m -------------------------------------------------------------------------------- /MelastiX_examples/transformix/dog_warp_results.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/transformix/dog_warp_results.png -------------------------------------------------------------------------------- /MelastiX_examples/transformix/params.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/transformix/params.mat -------------------------------------------------------------------------------- /MelastiX_examples/transformix/points_on_deformed_dog.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/transformix/points_on_deformed_dog.csv -------------------------------------------------------------------------------- /MelastiX_examples/transformix/points_on_raw_dog.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/transformix/points_on_raw_dog.csv -------------------------------------------------------------------------------- /MelastiX_examples/transformix/private/distortLena.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/transformix/private/distortLena.m -------------------------------------------------------------------------------- /MelastiX_examples/transformix/transformSparsePoints_forward.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/transformix/transformSparsePoints_forward.m -------------------------------------------------------------------------------- /MelastiX_examples/transformix/uma.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/transformix/uma.mat -------------------------------------------------------------------------------- /MelastiX_examples/transformix/uma.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/transformix/uma.tiff -------------------------------------------------------------------------------- /MelastiX_examples/transformix/uma_distorted.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/MelastiX_examples/transformix/uma_distorted.tiff -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/README.md -------------------------------------------------------------------------------- /code/+melastix/updateTransformFileDirFields.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/+melastix/updateTransformFileDirFields.m -------------------------------------------------------------------------------- /code/changeParameterInElastixFile.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/changeParameterInElastixFile.m -------------------------------------------------------------------------------- /code/elastix.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/elastix.m -------------------------------------------------------------------------------- /code/elastixYAML2struct.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/elastixYAML2struct.m -------------------------------------------------------------------------------- /code/elastix_default.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/elastix_default.yml -------------------------------------------------------------------------------- /code/elastix_paramStruct2txt.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/elastix_paramStruct2txt.m -------------------------------------------------------------------------------- /code/elastix_parameter_read.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/elastix_parameter_read.m -------------------------------------------------------------------------------- /code/elastix_parameter_write.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/elastix_parameter_write.m -------------------------------------------------------------------------------- /code/invertElastixTransform.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/invertElastixTransform.m -------------------------------------------------------------------------------- /code/mhd_read.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/mhd_read.m -------------------------------------------------------------------------------- /code/mhd_read_header.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/mhd_read_header.m -------------------------------------------------------------------------------- /code/mhd_read_volume.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/mhd_read_volume.m -------------------------------------------------------------------------------- /code/mhd_write.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/mhd_write.m -------------------------------------------------------------------------------- /code/private/load3Dtiff.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/private/load3Dtiff.m -------------------------------------------------------------------------------- /code/readTransformedPointsFile.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/readTransformedPointsFile.m -------------------------------------------------------------------------------- /code/readWholeTextFile.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/readWholeTextFile.m -------------------------------------------------------------------------------- /code/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/readme.txt -------------------------------------------------------------------------------- /code/struct2varargin.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/struct2varargin.m -------------------------------------------------------------------------------- /code/transformix.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/transformix.m -------------------------------------------------------------------------------- /code/validateElastixParam.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/validateElastixParam.m -------------------------------------------------------------------------------- /code/writePointsFile.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/code/writePointsFile.m -------------------------------------------------------------------------------- /example_parameter_files/parameters_Affine.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/example_parameter_files/parameters_Affine.txt -------------------------------------------------------------------------------- /example_parameter_files/parameters_BSpline.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/example_parameter_files/parameters_BSpline.txt -------------------------------------------------------------------------------- /example_parameter_files/parameters_Rigid.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/example_parameter_files/parameters_Rigid.txt -------------------------------------------------------------------------------- /example_parameter_files/parameters_Translation.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raacampbell/matlab_elastix/HEAD/example_parameter_files/parameters_Translation.txt --------------------------------------------------------------------------------