Launch ITK-snap in command line?

2,058 views
Skip to first unread message

Vincent Finnerty

unread,
May 16, 2016, 3:10:46 PM5/16/16
to itksnap-users
Is there documentation on the command line options to launch ITK-snap 3.4 ?

We would like to be able to specify CT or PET DICOM images (multiple instances in a folder), ROIs (in mhd).
Alternatively we could launch a workspace file.

Thank you.
 

Paul Yushkevich

unread,
May 16, 2016, 3:37:06 PM5/16/16
to itksna...@googlegroups.com
Yes:

pauly$ itksnap -h
ITK-SnAP Command Line Usage:
   /Applications/ITK-SNAP.app/Contents/MacOS/ITK-SNAP [options] [main_image]
Image Options:
   -g FILE              : Load the main image from FILE
   -s FILE              : Load the segmentation image from FILE
   -l FILE              : Load label descriptions from FILE
   -o FILE [FILE+]      : Load additional images from FILE
                        :   (multiple files may be provided)
   -w FILE              : Load workspace from FILE
                        :   (-w cannot be mixed with -g,-s,-l,-o options)
Additional Options:
   -z FACTOR            : Specify initial zoom in screen pixels/mm
   --cwd PATH           : Start with PATH as the initial directory
Debugging/Testing Options:
   --debug-events       : Dump information regarding UI events
   --test list          : List available tests.
   --test TESTID        : Execute a test.
   --testdir DIR        : Set the root directory for tests.
   --testacc factor     : Adjust the interval between test commands by factor (e.g., 0.5).

--
You received this message because you are subscribed to the Google Groups "itksnap-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to itksnap-user...@googlegroups.com.
To post to this group, send email to itksna...@googlegroups.com.
Visit this group at https://groups.google.com/group/itksnap-users.
For more options, visit https://groups.google.com/d/optout.



--
Paul A. Yushkevich, Ph.D.
Associate Professor
Penn Image Computing and Science Laboratory
Department of Radiology
University of Pennsylvania
Reply all
Reply to author
Forward
0 new messages