I need to create a 3D dataset from 2D slices. I have looked at
dcsort.cc (David Clunie's dicom3tools) to understand the sorting
mechanism for slices based on Image Position (Patient) & Image
Orientation Patient) values.
Now the questions are:
Once I have the slices sorted,
1) how do I find out the slices are evenly spaced?
2) how do i find out that some slices are missing in the group? If so,
what do we do? Do we fill it up with empty slices / with the previous
slice?
Thanks,
Sharmila
http://cvs.creatis.insa-lyon.fr/viewcvs/viewcvs.cgi/gdcm/src/gdcmSerieHelper.cxx?annotate=1.51
Look for the function:
SerieHelper::ImagePositionPatientOrdering
Scout views are also detected.
HTH
Mathieu