Proposals:Updating Nrrd library 2009: Difference between revisions
From KitwarePublic
Jump to navigationJump to search
No edit summary |
|||
Line 1: | Line 1: | ||
'''Nrrd Library''' | '''Nrrd Library''' | ||
This page describes the procedure for synchronizing the NrrdIO | This page describes the procedure for synchronizing the NrrdIO parts of Teem, with the one in Insight/Utilities/NrrdIO | ||
Note that patches may have to be moved in both directions. | Note that patches may have to be moved in both directions. | ||
Line 8: | Line 8: | ||
* Nrrd started as one of the libraries in Teem <http://teem.sf.net> | * Nrrd started as one of the libraries in Teem <http://teem.sf.net> | ||
* NrrdIO is a subset of | * NrrdIO is a subset of Teem containing only the IO functionalities (basically, parts of the air, biff, and nrrd libraries). | ||
* The only part of Teem that's in ITK is in NrrdIO. | * The only part of Teem that's in ITK is in NrrdIO. Also, while Teem has a weakened LGPL license, NrrdIO is licensed identically to ITK. | ||
* Creating NrrdIO from Teem is done by a GNUMakefile and a perl script. | * Creating NrrdIO from Teem is done by a GNUMakefile and a perl script. | ||
* The back-propagation that should happen is from NrrdIO back to Teem, because the idea is that NrrdIO should be periodically regenerated from Teem. | * The back-propagation that should happen is from NrrdIO back to Teem, because the idea is that NrrdIO should be periodically regenerated from Teem. | ||
Line 35: | Line 35: | ||
Insight/Utilities/NrrdIO | Insight/Utilities/NrrdIO | ||
after the last Nrrd batch commit, | after the last Nrrd batch commit (from G Kindlmann), | ||
understand what the change was, and then apply the same change to either sourceforge's NrrdIO or even better, to Teem itself. | understand what the change was, and then apply the same change to either sourceforge's NrrdIO or even better, to Teem itself. | ||
Revision as of 03:28, 3 December 2009
Nrrd Library
This page describes the procedure for synchronizing the NrrdIO parts of Teem, with the one in Insight/Utilities/NrrdIO
Note that patches may have to be moved in both directions.
Background
- Nrrd started as one of the libraries in Teem <http://teem.sf.net>
- NrrdIO is a subset of Teem containing only the IO functionalities (basically, parts of the air, biff, and nrrd libraries).
- The only part of Teem that's in ITK is in NrrdIO. Also, while Teem has a weakened LGPL license, NrrdIO is licensed identically to ITK.
- Creating NrrdIO from Teem is done by a GNUMakefile and a perl script.
- The back-propagation that should happen is from NrrdIO back to Teem, because the idea is that NrrdIO should be periodically regenerated from Teem.
Checking out NrrdIO
Use the following SVN command
svn co http://teem.svn.sourceforge.net/svnroot/teem/NrrdIO/trunk NrrdIO
This was generated in the Teem side by
- running a "pre-GNUmakefile" gnu makefile, which also uses a little perl script unteem.py.
- The comments in pre-GNUmakefile explain this some.
Update Procedure
Perform the following two tasks:
From ITK to NrrdIO
For all the changes made to
Insight/Utilities/NrrdIO
after the last Nrrd batch commit (from G Kindlmann), understand what the change was, and then apply the same change to either sourceforge's NrrdIO or even better, to Teem itself.
This is probably not a one-day project.
From Nrrd to ITK
Gradually or all at once, depending on our bravery, we copy sourceforge's NrrdIO to
Insight/Utilities/NrrdIO
and see what breaks,... and fix it