[Insight-users] Getting PixelType& from VectorImage

e.suarezsantana@gmail.com esuarez at itccanarias.org
Fri Mar 25 03:53:00 EDT 2011


It seems that a copy of the whole vector is necessary. It does not look very efficient.

Thanks for your comments.

wanlin <wanlinzhu at gmail.com> escribió:

>You can assign the value by
>
>itk::VariableLengthVector<float> vec = oo.Get();
>vec[2] = 3.0;
>oo.Set(vec);



More information about the Insight-users mailing list