[vtkusers] vtkDICOMImageReader: No Image Orientation (patient) information
Sebastián Ordás
sebordas at unizar.es
Mon Mar 22 10:54:43 EST 2004
Hi all,
vtkDICOMImageReader does not give the Image Orientation, but only the image position.
Is that right? If so, DICOMAppHelper::ImagePositionPatientCallback is already implemented, so this
would be a nice feature to add.
Also, when reading a stack of slices, GetPixelSpacing() does like this:
if (sortedFiles.size() > 1)
{
vtkstd::pair<float, vtkstd::string> p1 = sortedFiles[0];
vtkstd::pair<float, vtkstd::string> p2 = sortedFiles[1];
this->DataSpacing[2] = fabs(p1.first - p2.first);
}
else
{
this->DataSpacing[2] = spacing[2];
}
Why?
Best,
Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040322/392fcfff/attachment.htm>
More information about the vtkusers
mailing list