<div dir="ltr">Hi Liu Peng,<div><br></div><div>The vtkDICOMReader sorts according to the Image Plane Module:</div><div><a href="http://dicom.nema.org/MEDICAL/dicom/current/output/chtml/part03/sect_C.7.6.2.html">http://dicom.nema.org/MEDICAL/dicom/current/output/chtml/part03/sect_C.7.6.2.html</a></div><div>That is, the slices are sorted in a manner such that the VTK image data has a right-handed coordinate system (called an RCS in the link above).</div><div><br></div><div>Sorting the slices to get an RCS means that sometimes the slices will be sorted the same as the InstanceNumber, and sometimes they will be sorted opposite to InstanceNumber, depending on the order in which scanner ordered the slices.</div><div><br></div><div>You can perform the sorting yourself by calling reader->SortingOff().  If Sorting is Off, the reader will take the slices in the same order as the vtkStringArray that you passed to reader->SetFileNames().</div><div><br></div><div>If you send me the block of code where you set up and call the reader, then I might be able to provide more help.  Don't forget to also say what versions of VTK and vtk-dicom you are using.</div><div><br></div><div>Cheers,</div><div> - David</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 27, 2017 at 10:41 AM, Liu_tj <span dir="ltr"><<a href="mailto:tjlp@netease.com" target="_blank">tjlp@netease.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi,</div><div><br></div><div>I have a question about the DICOM slice order. I use the DICOM reader by David Gobbi to read the slice series to vtkImageData. And I found that the oder is the same as the order by DICOM instanceNumber tag. However, some doctors tell me that the order should be reversed because the scan should start from head to foot. <br></div><div><br></div><div>@David, if I need to reverse, how to achieve that by your DICOM reader?</div><div><br></div><div>Thanks</div><div>Liu Peng<br></div><br><br><span title="neteasefooter"><p> </p></span></blockquote></div><br></div>