2 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
4 #ifndef __bbcreaImageIOReadImages_h_INCLUDED__
5 #define __bbcreaImageIOReadImages_h_INCLUDED__
7 #include "bbcreaImageIO_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
10 #include <vtkImageData.h>
12 namespace bbcreaImageIO
16 typedef std::map<std::string, std::string> MapInfoDicom;
17 typedef std::vector< MapInfoDicom > VectorMapInfoDicom;
19 class bbcreaImageIO_EXPORT ReadImages
21 public bbtk::AtomicBlackBox
23 BBTK_BLACK_BOX_INTERFACE(ReadImages,bbtk::AtomicBlackBox);
25 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
27 BBTK_DECLARE_INPUT(DicomTags,std::vector<std::string>);
28 BBTK_DECLARE_INPUT(LstNameImages,std::vector<std::string>);
29 BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
30 BBTK_DECLARE_OUTPUT(OutImages,std::vector<vtkImageData*>);
31 BBTK_DECLARE_OUTPUT(DicomInfo,VectorMapInfoDicom);
32 BBTK_PROCESS(Process);
35 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
39 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ReadImages,bbtk::AtomicBlackBox);
40 BBTK_NAME("ReadImages");
41 BBTK_AUTHOR("InfoDev");
42 BBTK_DESCRIPTION("No Description.");
43 BBTK_CATEGORY("empty");
45 BBTK_INPUT(ReadImages,DicomTags,"Dicom Tags (vector of Dicom tags ex: D0028_0030 D0020_0037)",std::vector<std::string>,"");
46 BBTK_INPUT(ReadImages,LstNameImages,"List path to images",std::vector<std::string>,"");
48 BBTK_OUTPUT(ReadImages,Out,"Output Image",vtkImageData*,"");
49 BBTK_OUTPUT(ReadImages,OutImages,"List of Output Image",std::vector<vtkImageData*>,"");
50 BBTK_OUTPUT(ReadImages,DicomInfo,"vector of maps of Dicom tags",VectorMapInfoDicom,"");
52 BBTK_END_DESCRIBE_BLACK_BOX(ReadImages);
54 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
57 // EO namespace bbcreaImageIO
59 #endif // __bbcreaImageIOReadImages_h_INCLUDED__