<div dir="ltr"><div><div><div><div><div><div><div><div>Hi Sindhoor,<br><br></div>It's hard to tell. Could you provide a simple code that reproduces your error?<br></div>A priori I would say you could print the image information on each connection of your pipeline, pay special attention to filters that may change it, as the ROI filter...<br>
</div>Refer also to the concepts of regions: there are<br></div>LargestPossibleRegion<br></div>BufferedRegion<br></div>RequestedRegion<br><br></div>LargestPossibleRegion refers to the whole dataset. Refer to section 13.1 of the software guide for more details.<br>
</div>I hope that helps,<br><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Nicolás Gallego-Ortiz<br>Université catholique de Louvain, Belgium<br></div></div>
<br><br><div class="gmail_quote">2014-06-17 10:36 GMT+02:00 Sindhoor Bhat <span dir="ltr"><<a href="mailto:bhatsindhoor@ymail.com" target="_blank">bhatsindhoor@ymail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="color:#000;background-color:#fff;font-family:times new roman,new york,times,serif;font-size:12pt"><div><span>Hi nicgallego,</span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent">
<span>Thanks for reply.</span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent"><span>I've read that section. Here is some detail on steps i followed. This may help you to give some hints.</span></div>
<div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent"><span><br></span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent">
<span>1.read dicom series</span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent"><span>2.define region of interest (ROI filter)</span></div>
<div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent">3. compute gradient & speed image.</div><div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent">
4.Set seed using fast marching filter.</div><div>5.Give this inital level set image---- to geodesic segmentation filter</div><div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent">
<span><br></span></div><div style="background-color:transparent">  geodesicActiveContour->SetInput(  fastMarching->GetOutput() );</div><div style="background-color:transparent">  geodesicActiveContour->SetFeatureImage( sigmoidFilter->GetOutput() );</div>
<div style="background-color:transparent"><br></div><div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent"> 
 fastMarching->SetOutputSize(roi_filter->GetOutput()->GetBufferedRegion().GetSize() ); //roi=region of interest<br></div><div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent">
<br></div><div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent"> Even after reading from same dicom series, why is this error? it should have same origin / spacing right?</div>
<div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent"> can you pls help me ?</div><div><div class="h5"><div style="background-color:transparent">
<span></span></div><div style="background-color:transparent">  </div> <div><br><br></div><div style="display:block"> <div style="font-family:times new roman,new york,times,serif;font-size:12pt"> <div style="font-family:times new roman,new york,times,serif;font-size:12pt">
 <div dir="ltr"> <font face="Arial"> On Tuesday, 17 June 2014 12:59 PM, Nicolas Gallego <<a href="mailto:nicgallego@gmail.com" target="_blank">nicgallego@gmail.com</a>> wrote:<br> </font> </div>  <br><br> <div><div>
<div><div dir="ltr"><div><div>Good morning Sindhoor,<br clear="none"><br clear="none"></div>In general itk pipelines process images in the physical space, so that pixelwise operations are between samples on the same physical
 position.<br clear="none"></div>Section 4.1.4 of the Software guide [1] and its correspondent example (Image4.cxx) may help you,<br clear="none">
<br clear="none">[1] <a rel="nofollow" shape="rect" href="http://www.itk.org/ItkSoftwareGuide.pdf" target="_blank">http://www.itk.org/ItkSoftwareGuide.pdf</a><br clear="none"></div><div><br clear="all"><div><div dir="ltr">
Nicolás Gallego-Ortiz<br clear="none">Université catholique de Louvain, Belgium<br clear="none">
</div></div>
<br clear="none"><br clear="none"><div>2014-06-17 7:28 GMT+02:00 Sindhoor Bhat <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:bhatsindhoor@ymail.com" target="_blank">bhatsindhoor@ymail.com</a>></span>:<br clear="none">
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div><div style="color:#000;background-color:#fff;font-family:times new roman,new york,times,serif;font-size:12pt"><div>Dear Matt,</div><div><br clear="none"></div><div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent">

I've got error in Geodesic active contour level set segmentation :  saying</div><div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent">

 itk::ERROR: GeodesicActiveContourLevelSetImageFilter(0000000004AC7160): Inputs do not occupy the same physical space! </div><div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent">

<br clear="none"></div><div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent">I searched a lot on solving this error. but none have replied. Can you pls tell how to solve this error?</div>

<div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent">(I'm trying to segment 3D dicom images)</div><div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent">

<br clear="none"></div><div style="color:rgb(0,0,0);font-size:16px;font-family:'times new roman','new york',times,serif;font-style:normal;background-color:transparent">thank you.</div></div></div></div><br clear="none">
_____________________________________<br clear="none">

Powered by <a rel="nofollow" shape="rect" href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br clear="none">
<br clear="none">
Visit other Kitware open-source projects at<br clear="none">
<a rel="nofollow" shape="rect" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br clear="none">
<br clear="none">
Kitware offers ITK Training Courses, for more information visit:<br clear="none">
<a rel="nofollow" shape="rect" href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br clear="none">
<br clear="none">
Please keep messages on-topic and check the ITK FAQ at:<br clear="none">
<a rel="nofollow" shape="rect" href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br clear="none">
<br clear="none">
Follow this link to subscribe/unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" href="http://public.kitware.com/mailman/listinfo/insight-users" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br clear="none">
<br clear="none">_______________________________________________<br clear="none">
Community mailing list<br clear="none">
<a rel="nofollow" shape="rect" href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br clear="none">
<a rel="nofollow" shape="rect" href="http://public.kitware.com/mailman/listinfo/community" target="_blank">http://public.kitware.com/mailman/listinfo/community</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div><br><br></div>  </div> </div>  </div> </div></div></div></div></blockquote></div><br></div></div>