- typedef MinimumSpanningTreeData< _NDim > TInfo;
- typedef itk::Image< TInfo, _NDim > TBase;
- typedef itk::Index< _NDim > TVertex;
- typedef fpa::Base::MinimumSpanningTree< TBase, TVertex > Superclass;
- typedef MinimumSpanningTree Self;
- typedef itk::SmartPointer< Self > Pointer;
- typedef itk::SmartPointer< const Self > ConstPointer;
+ typedef itk::Index< _VDim > TVertex;
+ typedef itk::Image< itk::Offset< _VDim >, _VDim > TBaseImage;
+
+ typedef MinimumSpanningTree Self;
+ typedef itk::SmartPointer< Self > Pointer;
+ typedef itk::SmartPointer< const Self > ConstPointer;
+ typedef fpa::Base::MinimumSpanningTree< TVertex, TBaseImage > Superclass;