Skip to content

An ITK-based C++ app that deforms an input 3D volume according to an input deformation field.

Notifications You must be signed in to change notification settings

sfikas/deformationFieldTransform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

deformationFieldTransform

A C++ app that uses a 3D vector field to warp/deform an input 3D volume.

Requirements

This app requires the Insight Segmentation & Registration Toolkit (ITK). It has been tested with version 4.11 of the toolkit.

Build

Run the following to build:

cd deformationFieldTransform/
cmake .
make

Run

You need a 3D volume as input, plus a deformation field which will be used to warp/deform the input volume. An output volume will be produced containing the result. Run with:

DeformationFieldTransform <Input volume> <Input deformation field> <Output volume>

Example:

DeformationFieldTransform MRIscan_0001.nii deformationfield.mha MRIscan_0001.output.nii

Miscellaneous

Difference between ITK's WarpImageFilter and DeformationFieldTransform/DisplacementFieldTransform

About

An ITK-based C++ app that deforms an input 3D volume according to an input deformation field.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published