Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Slice Ordering

12 views
Skip to first unread message

Sharmila

unread,
Apr 20, 2006, 1:28:14 PM4/20/06
to
Hi,

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

Mathieu Malaterre

unread,
Apr 20, 2006, 2:00:16 PM4/20/06
to
If you are confortable reading C++ you can have a look at GDCM (BSD
license so you can copy/paste) at:

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

0 new messages