[Insight-users] change vector length of itkVectorImage at runtime

sebastian ordas sebastian.ordas at gmail.com
Wed Sep 11 06:51:36 EDT 2013


Hello,

I would like to change the vector length of an itk::VectorImage at runtime.

e.g.:

image->SetVectorLength(Components+1);
image->Allocate();

My problem is that previous components are overwritten
Is it possible to this on the fly? or should I create a new VectorImage
and transfer the image components one by one?

many thanks,
sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130911/5f97b4db/attachment.htm>


More information about the Insight-users mailing list