]> Creatis software - FrontAlgorithms.git/blobdiff - appli/CTBronchi/Image.h
...
[FrontAlgorithms.git] / appli / CTBronchi / Image.h
index 8b243e640e11c2ea7b32b0b367c9f4997d6097bf..4518293ac709aaf4129e58abcce4c26501e9d6d8 100644 (file)
@@ -14,7 +14,7 @@ namespace CTBronchi
   class Image
   {
   public:
-    static const unsigned int _VDim = VDim;
+    static const unsigned int VDim = _VDim;
     typedef _TPixel TPixel;
     typedef itk::Image< TPixel, VDim > TImage;
 
@@ -28,10 +28,10 @@ namespace CTBronchi
     TImage* Get( );
     const TImage* Get( ) const;
     void Set( TImage* image );
-    void Set( const TImage::Pointer& image );
+    void Set( const typename TImage::Pointer& image );
 
-    void Load( const std::string& fname );
-    void Save( const std::string& fname );
+    double Load( const std::string& fname );
+    double Save( const std::string& fname );
 
   protected:
     typename TImage::Pointer m_Image;