]> Creatis software - bbtk.git/blobdiff - packages/itk/src/bbitkImageProperties.h
Merge branch 'master' of ssh://git.creatis.insa-lyon.fr/bbtk
[bbtk.git] / packages / itk / src / bbitkImageProperties.h
index 4149e44b420d51d01b7fb55544fbe6601720f0ce..f1bf25bfd2296df8ba241d150500b7f9c2129aac 100644 (file)
@@ -70,7 +70,8 @@ namespace bbitk
     BBTK_DECLARE_OUTPUT(Index,std::vector<int>);
     BBTK_DECLARE_OUTPUT(Size,std::vector<int>);
     BBTK_DECLARE_OUTPUT(Origin,std::vector<float>);
-    BBTK_DECLARE_OUTPUT(Spacing,std::vector<float>);
+    BBTK_DECLARE_OUTPUT(Spacing,std::vector<double>);
+
        BBTK_DECLARE_OUTPUT(MinMax,std::vector<float>);
     BBTK_PROCESS(DoIt);
     void DoIt();
@@ -95,7 +96,7 @@ namespace bbitk
   BBTK_OUTPUT(ImageProperties,Index,"Index of the image",std::vector<int>,"image index");
   BBTK_OUTPUT(ImageProperties,Size,"Size in each dimension",std::vector<int>,"image size");
   BBTK_OUTPUT(ImageProperties,Origin,"Origin of the image",std::vector<float>,"image origin");
-  BBTK_OUTPUT(ImageProperties,Spacing,"Size of the voxels",std::vector<float>,"voxel size");
+  BBTK_OUTPUT(ImageProperties,Spacing,"Size of the voxels",std::vector<double>,"voxel size");
   BBTK_OUTPUT(ImageProperties,MinMax,"Minimum and the maximum intensity values of an image",std::vector<float>,"");
   BBTK_END_DESCRIBE_BLACK_BOX(ImageProperties);
   //=================================================================