[Insight-users] Variable dimension for vectors

Vidya Rajagopalan vidyaraj at vt.edu
Mon Feb 25 14:06:05 EST 2008


Hello Everyone,

When initializing an ITK vector, can I assign a variable dimension?

eg:

   int Dimension = NoOfInputs - 2;
   typedef itk::Vector<float, Dimension> VectorPixelType;

Should the dimension be a constant integer only?

Vidya Rajagopalan



More information about the Insight-users mailing list