warptensorimagemultitransform(1) [debian man page]
WARPTENSORIMAGEMULTITRANSFORM(1) User Commands WARPTENSORIMAGEMULTITRANSFORM(1)NAME
WarpTensorImageMultiTransform - part of ANTS registration suite
DESCRIPTION
WarpImageMultiTransform ImageDimension moving_image output_image [-R reference_image | --tightest-bounding-box] (--reslice-by-header)
[--use-NN (use Nearest Neighbor Interpolator)][--ANTS-prefix prefix-name | --ANTS-prefix-invert prefix-name] {[deformation_field | [-i]
affine_transform_txt | --Id | [-i] --moving-image-header / -mh | [-i] --reference-image-header / -rh]} Example: Reslice the image: WarpIm-
ageMultiTransform 3 Imov.nii Iout.nii --tightest-bounding-box --reslice-by-header Reslice the image to a reference image: WarpImageMulti-
Transform 3 Imov.nii Iout.nii -R Iref.nii --tightest-bounding-box --reslice-by-header Note: -i will use the inversion of the following
affine transform. --tightest-bounding-box will be overrided by -R reference_image if given. It computes the tightest bounding box using
all the affine transformations. --Id uses the identity transform. --moving-image-header or -mh in short will use the orientation header
of the moving image file. This is typically not used with --reslice-by-header.--reference-image-header or -rh in short will use the ori-
entation header of the fixed image file. This is typically not used with --reslice-by-header.--reslice-by-header uses the orientation
matrix and origin encoded in the image file header. It can be used together with -R. This is typically not used together with any other
transforms. --reslice-by-header is equvalient to -i -mh, or -fh -i -mh if used together with -R.
For ANTS users: To use with the deformation field and the affine transform files generated from ANTS: --ANTS-prefix prefix-name --ANTS-pre-
fix-invert prefix-name Example: 3 moving_image output_image -R reference_image --ANTS-prefix abcd.nii.gz Applies abcdWarpxvec.nii.gz/abcd-
Warpyvec.nii.gz/abcdWarpzvec.nii.gz and then abcdAffine.txt. Use this with ANTS to get the moving_image warped into the reference_image
domain. 3 reference_image output_image -R moving_image --ANTS-prefix-invert abcd.nii.gz --ANTS-invert Applies the inversion of
abcdAffine.txt and then abcdInverseWarpxvec.nii.gz/abcdInverseWarpyvec.nii.gz/abcdInverseWarpzvec.nii.gz. Use this with ANTS to get the
reference_image warped into the moving_image domain. Note: prefix name "abcd" without any extension will use ".nii.gz" by default
WarpTensorImageMultiTransform 1.9 May 2012 WARPTENSORIMAGEMULTITRANSFORM(1)
Check Out this Related Man Page
pnmmontage(1) General Commands Manual pnmmontage(1)NAME
pnmmontage - create a montage of portable anymaps
SYNOPSIS
pnmmontage [-?|-help] [-header=headerfile] [-quality=n] [-prefix=prefix] [-0|-1|-2|...|-9] pnmfile...
DESCRIPTION
Packs images of differing sizes into a minimum-area composite image, optionally producing a C header file with the locations of the subim-
ages within the composite image.
OPTIONS
-?, -help
Displays a (very) short usage message.
-header
Tells pnmmontage to write a C header file of the locations of the original images within the packed image. Each original image gen-
erates four #defines within the packed file: xxxX, xxxY, xxxSZX, and xxxSZY, where xxx is the name of the file, converted to all
uppercase. The #defines OVERALLX and OVERALLY are also produced, specifying the total size of the montage image.
-prefix
Tells pnmmontage to use the specified prefix on all of the #defines it generates.
-quality
Before attempting to place the subimages, pnmmontage will calculate a minimum possible area for the montage; this is either the
total of the areas of all the subimages, or the width of the widest subimage times the height of the tallest subimage, whichever is
greater. pnmmontage then initiates a problem-space search to find the best packing; if it finds a solution that is (at least) as
good as the minimum area times the quality as a percent, it will break out of the search. Thus, -q 100 will find the best possible
solution; however, it may take a very long time to do so. The default is -q 200.
-0, -1, ... -9
These options control the quality at a higher level than -q; -0 is the worst quality (literally pick the first solution found),
while -9 is the best quality (perform an exhaustive search of problem space for the absolute best packing). The higher the number,
the slower the computation. The default is -5.
NOTES
Using -9 is excessively slow on all but the smallest image sets. If the anymaps differ in maxvals, then pnmmontage will pick the smallest
maxval which is evenly divisible by each of the maxvals of the original images.
SEE ALSO pnmcat(1), pnmindex(1), pnm(5), pam(5), pbm(5), pgm(5), ppm(5)AUTHOR
Copyright (C) 2000 by Ben Olmstead.
31 December 2000 pnmmontage(1)