Description

clean up warp field generated by ANTS (or more specifically, WarpMultiImageTransform, replacing background voxels with NaN when they map to regions outside the original image.

syntax:     cleanup_ANTS_warp [ options ] unit_warp ants_warp clean_warp

Arguments

unit_warp the original unit warp image
ants_warp the warp image as produced by WarpMultiImageTransform.
clean_warp the output cleaned-up warp image.

Options

-info display information messages.
-quiet do not display information messages or progress status.
-debug display debugging messages.
-help display this information page and exit.
-version display version information and exit.