[Insight-users] Access directly to the data structure
Uril Yakubov
uyakubov at rotman-baycrest.on.ca
Wed Sep 9 15:03:00 EDT 2009
Hi every-body,
I am a new in ITK and I would like to now how I can access directly
image intensities in data structure. I have next code.
For example I read a vtk file:
typedef itk::Image< unsigned short, 3 > ImageType;
typedef itk::ImageFileReader< ImageType > ReaderType;
ReaderType::Pointer reader = ReaderType::New();
reader->SetFileName( inputFilename );
reader->UpdateLargestPossibleRegion();
What should I do next to get value from coordinate (x,y,z).
Thank you for help.
Uril.
More information about the Insight-users
mailing list