[Insight-users] file reader
Gwenaël Guillard
gwenael.guillard@enst-bretagne.fr
Mon, 13 Jan 2003 15:45:35 +0100
Hi,
I try to use a file reader. I wrote, as in the GaussianFilter example
VolumeReaderType::Pointer Reader = VolumeReaderType::New();
itk::MetaImageIO::Pointer metaImageIO = itk::MetaImageIO::New();
Reader->SetImageIO( metaImageIO );
Reader->SetFileName( filename );
But when I want to get
Reader->GetOutput()->GetLargestPossibleRegion()->GetSize(), for example,
it gives me 0,0,0, which is not
the dimensions of my data. These data are .rwa and I use a mhd file. I
use the mhd file with the GaussianFilter example and it was
ok.
Thank you,
Gwenael