I want to only use only a few slices (around 1-5), starting near the middle of a 3-D fixed Image to do registration instead of the entire buffered region.&nbsp; I want to verify that I using &amp; setting up the region correctly.&nbsp; (I didn't see an explicit example in the ITK guide for smaller regions.)&nbsp; Is this the correct way to set up a subregion?&nbsp; <br><br>typedef itk::ImportImageFilter&lt; float, 3&gt; ImportFilterType;<br>ImportFilterType::Pointer importFixedFilter = ImportFilterType::New();<br>.<br>.<br>.<br>ImportFilterType::RegionType region;<br>ImportFilterType::SizeType size;<br>ImportFilterType::IndexType index;<br><br>size = importFixedFilter-&gt;GetOutput()-&gt;GetBufferedRegion().GetSize();<br> index[0]&nbsp; = 0;<br> index[1]&nbsp; = 0;<br> index[2]&nbsp; = (int)(0.5*size[2]);<br>size[2]&nbsp;&nbsp;&nbsp; = 5;<br>region.SetSize( size );<br>region.SetIndex( index);<br><br>EOF<br>Thanks-<br>Rick<br><p>
                <hr size=1>New Yahoo! Messenger with Voice. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman5/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com">Call regular phones from your PC</a> and save big.