1 /*=========================================================================
4 Module: $RCSfile: bbitkImageSeriesReader.h,v $
6 Date: $Date: 2008/02/07 07:58:55 $
7 Version: $Revision: 1.3 $
9 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10 l'Image). All rights reserved. See Doc/License.txt or
11 http://www.creatis.insa-lyon.fr/Public/bbtk/License.html for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notices for more information.
17 =========================================================================*//**
20 * \brief class ITKImageSeriesReader : generic ITKImage reader
23 * \class bbtk::ITKImageSeriesReader
24 * \brief Generic ITKImage reader
28 #ifndef __bbitkImageSeriesReader_h_INCLUDED__
29 #define __bbitkImageSeriesReader_h_INCLUDED__
31 #include "bbtkAtomicBlackBox.h"
32 #include "bbitkImage.h"
37 //=================================================================
38 // BlackBox declaration
39 class ImageSeriesReader : public bbtk::AtomicBlackBox
42 BBTK_USER_BLACK_BOX_INTERFACE(ImageSeriesReader,
43 bbtk::AtomicBlackBox);
45 BBTK_DECLARE_INPUT(FileNames,std::vector<std::string>);
46 BBTK_DECLARE_OUTPUT(Out,anyImagePointer);
51 // Template read method
52 template<class T> void Read();
54 //=================================================================
57 //=================================================================
58 // BlackBox description
59 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageSeriesReader,bbtk::AtomicBlackBox);
60 BBTK_NAME("ImageSeriesReader");
61 BBTK_AUTHOR("laurent.guigues at creatis.insa-lyon.fr");
62 BBTK_DESCRIPTION("Generic itk image series reader");
63 BBTK_CATEGORY("image;read/write");
64 typedef std::vector<std::string> vectorofstring;
65 BBTK_INPUT(ImageSeriesReader,FileNames,
66 "vector of file names with complete paths",vectorofstring);
67 BBTK_OUTPUT(ImageSeriesReader,Out,"Output itk::image<T,D> with type T and dimension D determined by the content of the files",anyImagePointer);
68 BBTK_END_DESCRIBE_BLACK_BOX(ImageSeriesReader);
69 //=================================================================