[Insight-users] How to access pixels of itk::Image<TPixel, Dimension>
zhao
zhao_c_g at 263 . net
Fri, 9 Aug 2002 16:24:51 +0800
itkHi everyone,
I know one way of accessing the bits of itk::Image<...> is to use the member function GetBufferPointer(). But I think a better way is to use iterators to access the pixels. The online document suggests that function Begin() be used to return an iterator. However, Begin() is not a member of itk::Image<...>. Is there any intermediate step I need to take to solve this problem??
Thanks for your reply.
Zhao