1 /*=========================================================================
4 Module: $RCSfile: bbitkImageSeriesReader.h,v $
6 Date: $Date: 2008/07/23 12:02:15 $
7 Version: $Revision: 1.7 $
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 =========================================================================*/
21 * \brief class ITKImageSeriesReader : generic ITKImage reader
24 * \class bbtk::ITKImageSeriesReader
25 * \brief Generic ITKImage reader
29 #ifndef __bbitkImageSeriesReader_h_INCLUDED__
30 #define __bbitkImageSeriesReader_h_INCLUDED__
32 #include "bbtkAtomicBlackBox.h"
33 #include "bbitkImage.h"
38 //=================================================================
39 // BlackBox declaration
40 class ImageSeriesReader : public bbtk::AtomicBlackBox
43 BBTK_BLACK_BOX_INTERFACE(ImageSeriesReader,
44 bbtk::AtomicBlackBox);
46 BBTK_DECLARE_INPUT(FileNames,std::vector<std::string>);
47 BBTK_DECLARE_OUTPUT(Out,anyImagePointer);
52 // Template read method
53 template<class T> void Read();
55 //=================================================================
58 //=================================================================
59 // BlackBox description
60 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageSeriesReader,bbtk::AtomicBlackBox);
61 BBTK_NAME("ImageSeriesReader");
62 BBTK_AUTHOR("laurent.guigues at creatis.insa-lyon.fr");
63 BBTK_DESCRIPTION("Generic itk image series reader");
64 BBTK_CATEGORY("image;read/write");
65 typedef std::vector<std::string> vectorofstring;
66 BBTK_INPUT(ImageSeriesReader,FileNames,
67 "vector of file names with complete paths",vectorofstring,"file names list");
68 BBTK_OUTPUT(ImageSeriesReader,Out,"Output itk::image<T,D> with type T and dimension D determined by the content of the files",anyImagePointer,"");
70 BBTK_END_DESCRIBE_BLACK_BOX(ImageSeriesReader);
71 //=================================================================