[Insight-users] Fw: ImageType::ImageDimension MRI Bias Correction : Pixel Type of Output Image

Luis Ibanez luis.ibanez at kitware.com
Tue Apr 3 09:27:39 EDT 2007


Skipped content of type multipart/alternative-------------- next part --------------
Index: imageutils.h
===================================================================
RCS file: /cvsroot/Insight/InsightApplications/MRIBiasCorrection/imageutils.h,v
retrieving revision 1.16
diff -u -r1.16 imageutils.h
--- imageutils.h	10 Dec 2006 22:55:09 -0000	1.16
+++ imageutils.h	3 Apr 2007 13:23:32 -0000
@@ -29,11 +29,11 @@
 #include "myutils.h"
 
 typedef  float ImagePixelType;
-typedef  short WriteImagePixelType;
+typedef  float WriteImagePixelType;
 typedef  unsigned char MaskPixelType;
-typedef itk::Image<ImagePixelType, 3> ImageType ;
-typedef itk::Image<MaskPixelType, 3> MaskType ;
-typedef itk::Image<WriteImagePixelType, 3> WriteImageType ;
+typedef itk::Image<ImagePixelType, 2> ImageType ;
+typedef itk::Image<MaskPixelType, 2> MaskType ;
+typedef itk::Image<WriteImagePixelType, 2> WriteImageType ;
 typedef ImageType::Pointer ImagePointer ;
 typedef MaskType::Pointer MaskPointer ;
 typedef itk::ImageFileReader< ImageType > ImageReaderType ;


More information about the Insight-users mailing list