[vtkusers] DICOM spacing

dean.inglis at camris.ca dean.inglis at camris.ca
Sat Mar 12 08:15:18 EST 2005


Patrick,

try inserting a vtkImageChangeInformation filter
after your reader:

vtkImageChangeInformation* change = vtkImageChangeInformation::New();
change->SetOutputSpacing(x_new,y_new,z_new);
change->SetInput(reader->GetOutput());

Dean


>We are using the DICOMImageReader to load in a series of DICOM images 
>and I want to be able to specify the spacing between the image slices.  
>We have experimented with the SetSpacing command, but it seems to have 
>no affect on the model after loading.  Is there anyway I can do this?




More information about the vtkusers mailing list