18 #ifndef __itkDefaultImageTraits_h
19 #define __itkDefaultImageTraits_h
20 #if !defined( ITK_LEGACY_REMOVE )
36 template<
typename TPixelType,
37 unsigned int VImageDimension,
38 typename TPixelContainer = ValarrayImageContainer< SizeValueType, TPixelType > >
39 class DefaultImageTraits
43 typedef TPixelType PixelType;
46 itkStaticConstMacro(ImageDimension,
unsigned int, VImageDimension);
49 typedef TPixelContainer PixelContainer;
52 typedef Index< VImageDimension > IndexType;
55 typedef Offset< VImageDimension > OffsetType;
58 typedef Size< VImageDimension > SizeType;
62 typedef ImageRegion< VImageDimension > RegionType;
66 #endif //#if !defined( ITK_LEGACY_REMOVE )