[Insight-users] reading 512x 512 ct dicom images
Luis Ibanez
luis.ibanez at kitware.com
Mon, 26 Apr 2004 13:10:03 -0400
Hi Raghu,
In the case of the CT images that only write 2 slices...
Could you please be more specific regarding the action
of the executable:
You said:
1) It crashes
2) The name generator gives all the dicom files
3) When you write the volume only 2 slices appear
Maybe you could post the text output from the program
so we can see the order in which things happened.
Crashes is a very generic term. It could have been a
segmentation fault, a catched exception or an uncatched
exception... Again, if you post the text output of the
program, that will help us to figure out what is happening.
Thanks,
Luis
----------------------
raghu venkatram wrote:
> hi Luis,
>
> I have looked at teh dicomseriesreader example. and while using the
> example, and trying to write out my ct volume, it crashes, the name
> generator gives me all the names of the dicom files in the directory,
> but when i write it out it writes out only 2 slices.
>
> I have tried the the same program with a 256 x 256 mr volume, and i am
> able to write it out. Now i am able to read both my MR and CT volumes
> using MRICro and AMIDE with no problems, also i am able to convert them
> into ANALYZE format using MRICro and use it in my ITK program.
>
> Also when i try getting the spacing information of my CT volume after
> reading the image, i get 1,1,1 instad of .5 .5 2, but i get the right
> spacing information for my MR volume using the dicomseriesreader example.
>
> please also not that MRICro and AMIDE both give the rght spacing for
> both CT and MR volumes and the right spacing.
>
> Thanks for the continued support
> Raghu
>
>