Skip to content

Commit

Permalink
Merge pull request #41 from mxochicale/35-itk-snap
Browse files Browse the repository at this point in the history
35 - itk-snap
  • Loading branch information
mxochicale authored May 8, 2024
2 parents 1ed32f9 + 0aef059 commit e4fff08
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 28 deletions.
52 changes: 24 additions & 28 deletions itk-snap/README.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,39 @@
# ITK-SNAP Medical Image Segmentation Tool

## Source code
https://sourceforge.net/p/itk-snap/src/ci/master/tree/
https://sourceforge.net/projects/itk-snap/files/

## Download
* itksnap-3.8.0-20190612-Linux-x86_64.tar.gz
https://sourceforge.net/projects/itk-snap/files/itk-snap/3.8.0/itksnap-3.8.0-20190612-Linux-x86_64.tar.gz/download

* itksnap-experimental-vtk9qt6-Linux-gcc64.tar.gz
https://sourceforge.net/projects/itk-snap/files/itk-snap/Experimental/itksnap-experimental-vtk9qt6-Linux-gcc64.tar.gz
## Download and Install
```
bash download-installation.bash
```

## Footprint
```
du -sh itksnap-4.*
701M itksnap-4.0.2-20230925-Linux-gcc64
```

## Install
```
cd $HOME/repositories/ITK-SNAP
#wget https://sourceforge.net/projects/itk-snap/files/itk-snap/3.8.0/itksnap-3.8.0-20190612-Linux-x86_64.tar.gz
#tar -xvzf itksnap-3.8.0-20190612-Linux-x86_64.tar.gz
wget https://sourceforge.net/projects/itk-snap/files/itk-snap/Experimental/itksnap-experimental-vtk9qt6-Linux-gcc64.tar.gz
tar -xvzf itksnap-experimental-vtk9qt6-Linux-gcc64.tar.gz
## Datasets
Site for datasets http://www.itksnap.org/pmwiki/pmwiki.php?n=Downloads.Data
* Multi-modal brain tumor MRI [Zip archive (9.1 MB)]
* Brain diffusion MRI dataset [Zip archive (10.6 MB)]
```
bash download-datasets.bash
```

## Usage

* itksnap-4.0.0
* `itksnap-4*`
```
cd $HOME/repositories/ITK-SNAP/itksnap-4.0.0-alpha.3-20220203-Linux-gcc64/bin
cd $HOME/Downloads/itksnap/itksnap-4*/bin
./itksnap
```

![app](app400.png)


* `itksnap-4*` with `diffusion.itksnap`
![app](app.png)

## Examples of datasets
Site for datasets http://www.itksnap.org/pmwiki/pmwiki.php?n=Downloads.Data

* Multi-modal brain tumor MRI [Zip archive (9.1 MB)]
* Brain diffusion MRI dataset [Zip archive (10.6 MB)]
## Source code
* https://github.com/pyushkevich/itksnap
* https://sourceforge.net/p/itk-snap/src/ci/master/tree/
* https://sourceforge.net/projects/itk-snap/files/
* https://sourceforge.net/projects/itk-snap/files/itk-snap/4.2.0/


## Issues
Expand Down
Binary file added itk-snap/app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed itk-snap/app400.png
Binary file not shown.
14 changes: 14 additions & 0 deletions itk-snap/download-datasets.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
##USAGE
# bash download-datasets.bash
# Site for datasets http://www.itksnap.org/pmwiki/pmwiki.php?n=Downloads.Data

FILENAME0=diffusion.zip # Brain diffusion MRI dataset [Zip archive (10.6 MB)]
FILENAME1=braintumor.zip # Multi-modal brain tumor MRI [Zip archive (9.1 MB)]

cd ~/Downloads/
mkdir -p itksnap && cd itksnap
wget https://www.nitrc.org/frs/download.php/6161/$FILENAME0 -O $FILENAME0
wget http://www.nitrc.org/frs/download.php/6176/$FILENAME1 -O $FILENAME1
unzip $FILENAME0
unzip $FILENAME1

18 changes: 18 additions & 0 deletions itk-snap/download-installation.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# USAGE
# bash download_installation.bash

## LATEST VERSION
# https://sourceforge.net/p/itk-snap/activity/

## LOGS
# itksnap-3.8.0-20190612-Linux-x86_64.tar.gz
# itksnap-4.0.1-20230320-Linux-gcc64.tar.gz
# itksnap-experimental-vtk9qt6-Linux-gcc64.tar.gz
FILENAME=itksnap-nightly-rel_4.0-Linux-gcc64.tar.gz #Length: 200943059 (192M) [application/x-gzip]

cd ~/Downloads/
mkdir -p itksnap && cd itksnap
wget https://sourceforge.net/projects/itk-snap/files/itk-snap/Nightly/$FILENAME/download -O $FILENAME
tar -xvzf $FILENAME


0 comments on commit e4fff08

Please sign in to comment.