target_link_libraries(clitkWriteDicomSeries clitkCommon )
set(TOOLS_INSTALL ${TOOLS_INSTALL} clitkWriteDicomSeries)
- WRAP_GGO(clitkImage2DicomSeries_GGO_C clitkImage2DicomSeries.ggo)
- add_executable(clitkImage2DicomSeries clitkImage2DicomSeries.cxx ${clitkImage2DicomSeries_GGO_C})
- target_link_libraries(clitkImage2DicomSeries clitkCommon )
- set(TOOLS_INSTALL ${TOOLS_INSTALL} clitkImage2DicomSeries)
+ WRAP_GGO(clitkSpect2Dicom_GGO_C clitkSpect2Dicom.ggo)
+ add_executable(clitkSpect2Dicom clitkSpect2Dicom.cxx ${clitkSpect2Dicom_GGO_C})
+ target_link_libraries(clitkSpect2Dicom clitkCommon )
+ set(TOOLS_INSTALL ${TOOLS_INSTALL} clitkSpect2Dicom)
WRAP_GGO(clitkChangeDicomTag_GGO_C clitkChangeDicomTag.ggo)
add_executable(clitkChangeDicomTag clitkChangeDicomTag.cxx ${clitkChangeDicomTag_GGO_C})
===========================================================================**/
/* =================================================
- * @file clitkImage2DicomSeries.cxx
- * @author Jef Vandemeulebroucke
- * @date 4th of August
+ * @file clitkSpect2Dicom.cxx
+ * @author Thomas B
+ * @date 2018
*
* @brief Write a volume into a series with the header of another series
*
// clitk
-#include "clitkImage2DicomSeries_ggo.h"
+#include "clitkSpect2Dicom_ggo.h"
#include "clitkIO.h"
-#include "clitkImage2DicomSeriesGenericFilter.h"
+#include "clitkSpect2DicomGenericFilter.h"
#include "clitkCommon.h"
//--------------------------------------------------------------------
{
// Init command line
- GGO(clitkImage2DicomSeries, args_info);
+ GGO(clitkSpect2Dicom, args_info);
CLITK_INIT;
// Filter
- typedef clitk::Image2DicomSeriesGenericFilter<args_info_clitkImage2DicomSeries> FilterType;
+ typedef clitk::Spect2DicomGenericFilter<args_info_clitkSpect2Dicom> FilterType;
FilterType::Pointer genericFilter = FilterType::New();
genericFilter->SetArgsInfo(args_info);
-#File clitkImage2DicomSeries.ggo
-package "clitkImage2DicomSeries"
+#File clitkSpect2Dicom.ggo
+package "clitkSpect2Dicom"
version "1.0"
-purpose "Convert the mhd input image (int image) into a dicom serie in outputDir base on the dictionary of the dicoms in inputDir."
+purpose "Convert the 3D mhd input SPECT image (int image) into a 3D dicom in outputDir based on the dictionary of the dicoms in inputDir."
option "config" - "Config file" string no
option "verbose" v "Verbose" flag off
- BSD See included LICENSE.txt file
- CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
===========================================================================**/
-#ifndef clitkImage2DicomSeriesGenericFilter_cxx
-#define clitkImage2DicomSeriesGenericFilter_cxx
+#ifndef clitkSpect2DicomGenericFilter_cxx
+#define clitkSpect2DicomGenericFilter_cxx
/* =================================================
- * @file clitkImage2DicomSeriesGenericFilter.cxx
+ * @file clitkSpect2DicomGenericFilter.cxx
* @author
* @date
*
*
===================================================*/
-#include "clitkImage2DicomSeriesGenericFilter.h"
+#include "clitkSpect2DicomGenericFilter.h"
namespace clitk
} //end clitk
-#endif //#define clitkImage2DicomSeriesGenericFilter_cxx
+#endif //#define clitkSpect2DicomGenericFilter_cxx
- BSD See included LICENSE.txt file
- CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
===========================================================================**/
-#ifndef clitkImage2DicomSeriesGenericFilter_h
-#define clitkImage2DicomSeriesGenericFilter_h
+#ifndef clitkSpect2DicomGenericFilter_h
+#define clitkSpect2DicomGenericFilter_h
/* =================================================
- * @file clitkImage2DicomSeriesGenericFilter.h
+ * @file clitkSpect2DicomGenericFilter.h
* @author
* @date
*
// clitk include
#include "clitkIO.h"
#include "clitkImageCommon.h"
-#include "clitkImage2DicomSeries_ggo.h"
+#include "clitkSpect2Dicom_ggo.h"
//itk include
#include "itkLightObject.h"
namespace clitk
{
template<class args_info_type>
- class ITK_EXPORT Image2DicomSeriesGenericFilter : public itk::LightObject
+ class ITK_EXPORT Spect2DicomGenericFilter : public itk::LightObject
{
public:
//----------------------------------------
// ITK
//----------------------------------------
- typedef Image2DicomSeriesGenericFilter Self;
+ typedef Spect2DicomGenericFilter Self;
typedef itk::LightObject Superclass;
typedef itk::SmartPointer<Self> Pointer;
typedef itk::SmartPointer<const Self> ConstPointer;
itkNewMacro(Self);
// Run-time type information (and related methods)
- itkTypeMacro( Image2DicomSeriesGenericFilter, LightObject );
+ itkTypeMacro( Spect2DicomGenericFilter, LightObject );
//----------------------------------------
//----------------------------------------
// Constructor & Destructor
//----------------------------------------
- Image2DicomSeriesGenericFilter();
- ~Image2DicomSeriesGenericFilter() {};
+ Spect2DicomGenericFilter();
+ ~Spect2DicomGenericFilter() {};
//void CopyDictionary (itk::MetaDataDictionary &fromDict, itk::MetaDataDictionary &toDict);
} // end namespace clitk
#ifndef ITK_MANUAL_INSTANTIATION
-#include "clitkImage2DicomSeriesGenericFilter.txx"
+#include "clitkSpect2DicomGenericFilter.txx"
#endif
-#endif // #define clitkImage2DicomSeriesGenericFilter_h
+#endif // #define clitkSpect2DicomGenericFilter_h
- BSD See included LICENSE.txt file
- CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
===========================================================================**/
-#ifndef clitkImage2DicomSeriesGenericFilter_txx
-#define clitkImage2DicomSeriesGenericFilter_txx
+#ifndef clitkSpect2DicomGenericFilter_txx
+#define clitkSpect2DicomGenericFilter_txx
/* =================================================
- * @file clitkImage2DicomSeriesGenericFilter.txx
+ * @file clitkSpect2DicomGenericFilter.txx
* @author
* @date
*
// Constructor
//-----------------------------------------------------------
template<class args_info_type>
-Image2DicomSeriesGenericFilter<args_info_type>::Image2DicomSeriesGenericFilter()
+Spect2DicomGenericFilter<args_info_type>::Spect2DicomGenericFilter()
{
m_Verbose=false;
m_InputFileName="";
// Update
//-----------------------------------------------------------
template<class args_info_type>
-void Image2DicomSeriesGenericFilter<args_info_type>::Update()
+void Spect2DicomGenericFilter<args_info_type>::Update()
{
// Read the Dimension and PixelType
int Dimension;
template<class args_info_type>
template<unsigned int Dimension>
void
-Image2DicomSeriesGenericFilter<args_info_type>::UpdateWithDim(std::string PixelType)
+Spect2DicomGenericFilter<args_info_type>::UpdateWithDim(std::string PixelType)
{
if (m_Verbose) std::cout << "Image was detected to be "<<Dimension<<"D and "<< PixelType<<"..."<<std::endl;
template<class args_info_type>
template <unsigned int Dimension, class PixelType>
void
-Image2DicomSeriesGenericFilter<args_info_type>::UpdateWithDimAndPixelType()
+Spect2DicomGenericFilter<args_info_type>::UpdateWithDimAndPixelType()
{
}//end clitk
-#endif //#define clitkImage2DicomSeriesGenericFilter_txx
+#endif //#define clitkSpect2DicomGenericFilter_txx