<div dir="ltr"><div><div>Hello Filipo,<br><br></div>It looks like the image series reader only read the last image. Are you reading the origin on "dicomIO" or on the output of the reader (e.g. reader->GetOutput()->GetOrigin())?<br><br></div>Francois<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 9, 2017 at 4:52 AM, Filippo Brogi <span dir="ltr"><<a href="mailto:filippo.brogi@topic.nl" target="_blank">filippo.brogi@topic.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I used another dataset and I'm getting the same issue. This dataset is a ct<br>
dataset single phase. dimension[2] should not be equal to the number of<br>
images forming the dataset?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/ITK-users-DICOM-Dataset-GetOrigin-tp7589879p7589905.html" rel="noreferrer" target="_blank">http://itk-insight-users.<wbr>2283740.n2.nabble.com/ITK-<wbr>users-DICOM-Dataset-GetOrigin-<wbr>tp7589879p7589905.html</a><br>
Sent from the ITK Insight Users mailing list archive at Nabble.com.<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_______<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_<wbr>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/insight-users</a><br>
</div></div></blockquote></div><br></div>