pyushkevich / itksnap

ITK-SNAP medical image segmentation tool
http://www.itksnap.org
GNU General Public License v3.0
299 stars 88 forks source link

Is it possible to load a certain slice of a nii.gz file using the itksnap command line? #118

Open xh542428798 opened 8 months ago

xh542428798 commented 8 months ago

I use /Applications/ITK-SNAP.app/Contents/MacOS/ITK-SNAP [options] [main_image] to load image.

  1. Is it possible to load a certain slice of a nii.gz file using the itksnap command line?
  2. Also, if I have a mask, is there a simple way to convert label2 to label1?
xh542428798 commented 8 months ago

Sir, by the way, are there shortcuts for these buttons? I did not find the shortcut for these buttons. image

pyushkevich commented 8 months ago

The closest to what you are looking for is the key | (vertical bar) that toggles between layouts.

There is no option from command line to load a specific slice of a NIFTI file

To replace a label with another label, you can use the 3D scalpel tool. See towards the end of this tutorial: http://www.itksnap.org/pmwiki/pmwiki.php?n=Documentation.TutorialSectionRegionSegmentation

On Wed, Jan 17, 2024 at 9:35 PM Hui Xie @.***> wrote:

Sir, by the way, are there shortcuts for these buttons? I did not find the shortcut for these buttons. image.png (view on web) https://github.com/pyushkevich/itksnap/assets/49368033/12554d97-cb44-4655-aa4f-5206147408a7

— Reply to this email directly, view it on GitHub https://github.com/pyushkevich/itksnap/issues/118#issuecomment-1897674121, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJPEW3775WJAJ5X3P6A5ULYPCC6XAVCNFSM6AAAAABB3LQJPGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJXGY3TIMJSGE . You are receiving this because you are subscribed to this thread.Message ID: @.***>