]> Creatis software - clitk.git/commitdiff
Add FloatSliceType
authorDavid Sarrut <david.sarrut@gmail.com>
Mon, 24 Oct 2011 06:28:32 +0000 (08:28 +0200)
committerDavid Sarrut <david.sarrut@gmail.com>
Mon, 24 Oct 2011 06:28:32 +0000 (08:28 +0200)
itk/clitkSliceBySliceRelativePositionFilter.h

index e4fe7a4..90a1b25 100644 (file)
@@ -53,6 +53,7 @@ namespace clitk {
     /** ImageDimension constants */
     itkStaticConstMacro(ImageDimension, unsigned int, ImageType::ImageDimension);
     typedef itk::Image<float, ImageDimension> FloatImageType;
+    typedef itk::Image<float, ImageDimension-1> FloatSliceType;
 
     /** Some convenient typedefs. */
     typedef typename ImageType::ConstPointer ImageConstPointer;