logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

split - Split images

Acknowledgments

       CMTK is developed with support from the NIAAA under Grant AA021697, National Consortium  on  Alcohol  and
       Neurodevelopment  in Adolescence (N-CANDA): Data Integration Component. From April 2009 through September
       2011, CMTK development and maintenance was supported by the NIBIB under Grant EB008381.

CMTK 3.3.1p2                                       Feb 26 2025                                          split(1)

Authors

       Torsten  Rohlfing,  with  contributions from Michael P. Hasak, Greg Jefferis, Calvin R. Maurer, Daniel B.
       Russakoff, and Yaroslav Halchenko

Bugs

Description

       Split volume image into sub-images, i.e., to separate interleaved images into passes

License

Name

       split - Split images

Options

GlobalToolkitOptions(thesearesharedbyallCMTKtools)--help
            Write list of basic command line options to standard output.

       --help-all
            Write complete list of basic and advanced command line options to standard output.

       --wiki
            Write list of command line options to standard output in MediaWiki markup.

       --man
            Write man page source in 'nroff' markup to standard output.

       --version
            Write toolkit version to standard output.

       --echo
            Write the current command line to standard output.

       --verbose-level<integer>
            Set verbosity level.

       --verbose, -v
            Increment verbosity level by 1 (deprecated; supported for backward compatibility).

       --threads<integer>
            Set maximum number of parallel threads (for POSIX threads and OpenMP).

   OrientationOptions--slice-orientation
            Define  slice axis for splitting.  Supported values: "axial", "sagittal", "coronal", "interleave-x",
            "interleave-y", "interleave-z", where the default is "axial", or use one of the following:

            --axial, -a
                 Interleaved axial images [Thisisthedefault]--sagittal, -s
                 Interleaved sagittal images

            --coronal, -c
                 Interleaved coronal images

            --interleave-x, -x
                 Interleaved along x axis

            --interleave-y, -y
                 Interleaved along y axis

            --interleave-z, -z
                 Interleaved along z axis [Thisisthedefault]SplittingOptions--factor<integer>, -f<integer>
            Interleave factor. This is the number of subimages generated. If this is set to zero, a separate  2D
            output  image  is generated for each slice in the input (in the given slice orientation).  [Default:2]OutputOptions--padded, -p
            Padded output, i.e., fill in removed slices

       --output-xform-path<string>
            Optional path template (fprintf-style) for  output  affine  transformation  that  maps  input  image
            coordinates to each output image.  [Default:NONE]

Synopsis

split InputImage OutputImagePattern

See Also