The source distribution for ITK can be obtained in two ways:
- Official release tarballs
- Snapshot from CVS
1. Official Releases
There have been four official releases of ITK since its inception. The latest is v1.6, which was released in early 2004. This can be obtained from:
- http://www.itk.org/files/v1.6/InsightToolkit1.6.0.zip (for Windows)
- http://www.itk.org/files/v1.6/InsightToolkit1.6.0.tar.gz (for Unix and others)
Older releases are archived at http://www.itk.org/HTML/Download.htm
2. CVS Snapshots
Since many bug fixes and improvements are invariably applied to the source since an official release, it is often worthwhile getting a source snapshot from CVS. However, before doing so you should always consult the NightlyDashboard to see the latest nightly build status for all platforms. Find a build matching your platform, and ensure that it is all green. If not, some unit tests may have failed and you may need to go back a day or so to find a build that has passed green.
The very first time you access the ITK CVS repository, you must log in:
cvs -d :pserver:firstname.lastname@example.org:/cvsroot/Insight login
When prompted for a password, simply press Enter (it is empty).
To check out ITK itself:
cvs -d :pserver:email@example.com:/cvsroot/Insight co Insight
To check out the Insight documentation (warning: this is huge):
cvs -d :pserver:firstname.lastname@example.org:/cvsroot/Insight co InsightDocuments
Numerous sample applcations, some simple and some quite sophisticated, are available from InsightApplications:
cvs -d :pserver:email@example.com:/cvsroot/Insight co InsightApplications
Here are the known release tags (use with cvs -r):
- `ITK-1-6` for release 1.6 branch.
- `ITK-1-4` for release 1.4 branch.
- `Release-1-2` for release 1.2 branch.
- `Release-1-0` for release 1.0 branch.
- `Release-0_7` for beta release 0.7 branch