[Insight-users] ImageReadImageSeriesWrite
Luis Ibanez
luis.ibanez@kitware.com
Thu May 20 13:54:13 EDT 2004
Hi Luca,
You are mixing two versions of ITK.
The ImageSeriesWriter was modified to use
two template parameters on September 27 2003
http://www.itk.org/cgi-bin/cvsweb.cgi/Insight/Code/IO/itkImageSeriesWriter.h.diff?r1=1.5&r2=1.6&cvsroot=Insight
You are probably taking the example of
ImageReadImageSeriesWrite.cxx
from a recent version (maybe ITK 1.6...) and
trying to build it against an ITK version
older than Sept 27 2003. That's probably as
old as ITK 1.4... :-/
Solution:
Make your mind, select a specific
version to use and be consistent
accross the board.
Please let us know if you have further
questions,
Thanks,
Luis
---------------------
Luca Nicotra wrote:
> Hi,
> I get these errors when I try to compile the
> ImageReadImageSeriesWrite.cxx example
>
> /home/luca/ITK/project/registration/ImageReadImageSeriesWrite.cxx:86:
> error: wrong
> number of template arguments (2, should be 1)
> /usr/local/include/InsightToolkit/IO/itkImageSeriesWriter.h:86: error:
> provided
> for `template<class TInputImage> class itk::ImageSeriesWriter'
>
> I checked the ImageSeriesWriter template and it uses two template
> arguments.
> Do you have an idea of what might be the reason of these errors?
> Thank you
>
> -luca-
> _______________________________________________
> Insight-users mailing list
> Insight-users@itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list