<div dir="ltr">Dear Brad,<div><br></div><div>thanks for your quick response!!</div><div><br></div><div>But my problem is not about cropping an image. rather I am getting difficulty to select some specific slice sequences from the whole folder before reading or after reading.<br>
<br>I have a folder containing 100ds of PET slices and I want to extract only 20-30 of the slices sequences from each folder. I was wondering if you could help me how to extract this slices by setting a start index before updating the read->update or after.<br>
<br>thanks </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 6, 2014 at 1:38 PM, Bradley Lowekamp [via ITK - Users] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=33529&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
Have you looked into the ExtractImageFilter?
<br><br><a href="http://www.itk.org/Doxygen/html/classitk_1_1ExtractImageFilter.html" rel="nofollow" link="external" target="_blank">http://www.itk.org/Doxygen/html/classitk_1_1ExtractImageFilter.html</a><br><br>Brad
<br></div><div><div class="h5">On Mar 6, 2014, at 7:35 AM, kidane <<a href="http://user/SendEmail.jtp?type=node&node=33528&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>> wrote:
<br><div><div class='shrinkable-quote'><br>> Hello guys,
<br>>
<br>> I am developing MRI-PET registration and I want to use only those PET slices
<br>> with low intensity. so could some one help me how to set start index to
<br>> consider or split the region of interest slices out of the whole folder?
<br>>
<br>> for example I have 120 PET slices but I want to consider only from slice
<br>> number 80 to the last and I didn't know how to extract only those slices
<br>> after reading the whole slices or before.
<br>>
<br>> N.B I already integrate VTK and ITK to visualize the slices and chose the
<br>> starting slice. I need to know how to pass the starting index and then to
<br>> extract only those slices after the starting index.
<br>>
<br>> Thanks for your help in advance.
<br>>
<br>>
<br>>
<br>> --
<br>> View this message in context: <a href="http://itk-users.7.n7.nabble.com/Reading-some-part-of-DICOM-series-images-tp33527.html" rel="nofollow" link="external" target="_blank">http://itk-users.7.n7.nabble.com/Reading-some-part-of-DICOM-series-images-tp33527.html</a></div>
> Sent from the ITK - Users mailing list archive at Nabble.com.
<div class='shrinkable-quote'><br>> _____________________________________
<br>> Powered by <a href="http://www.kitware.com" target="_blank" rel="nofollow" link="external">www.kitware.com</a>
<br>>
<br>> Visit other Kitware open-source projects at
<br>> <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/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="nofollow" link="external" target="_blank">http://www.kitware.com/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="nofollow" link="external" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>>
<br>> Follow this link to subscribe/unsubscribe:
<br>> <a href="http://www.itk.org/mailman/listinfo/insight-users" rel="nofollow" link="external" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a></div></div>_____________________________________
<br>Powered by <a href="http://www.kitware.com" target="_blank" rel="nofollow" link="external">www.kitware.com</a>
<br><br>Visit other Kitware open-source projects at
<br><a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/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="nofollow" link="external" target="_blank">http://www.kitware.com/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="nofollow" link="external" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:
<br><a href="http://www.itk.org/mailman/listinfo/insight-users" rel="nofollow" link="external" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br>
<br>
</div></div><hr noshade size="1" color="#cccccc">
<div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
<a href="http://itk-users.7.n7.nabble.com/Reading-some-part-of-DICOM-series-images-tp33527p33528.html" target="_blank" rel="nofollow" link="external">http://itk-users.7.n7.nabble.com/Reading-some-part-of-DICOM-series-images-tp33527p33528.html</a>
</div>
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from Reading some part of DICOM series images???????, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
<a href="http://itk-users.7.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
</div></blockquote></div><br></div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://itk-users.7.n7.nabble.com/Reading-some-part-of-DICOM-series-images-tp33527p33529.html">Re: Reading some part of DICOM series images???????</a><br/>
Sent from the <a href="http://itk-users.7.n7.nabble.com/">ITK - Users mailing list archive</a> at Nabble.com.<br/>