1 // =========================================================================
2 // @author Leonardo Florez Valencia (florez-l@javeriana.edu.co)
3 // =========================================================================
4 #ifndef __CTBronchi__Image__h__
5 #define __CTBronchi__Image__h__
13 template< class _TPixel, unsigned int _VDim >
17 static const unsigned int VDim = _VDim;
18 typedef _TPixel TPixel;
19 typedef itk::Image< TPixel, VDim > TImage;
25 bool IsNotNull( ) const;
29 const TImage* Get( ) const;
30 void Set( TImage* image );
31 void Set( const typename TImage::Pointer& image );
33 double Load( const std::string& fname );
34 double Save( const std::string& fname );
37 typename TImage::Pointer m_Image;
44 #endif // __CTBronchi__Image__h__