Thanks for the answer, Dawood. Would you like to provide more information about how to define a neighborhood iterators that can span several itk::Image<> objects? <br><br>Regrads,<br>Haiyong<br><br><br><br><div class="gmail_quote">
On Mon, Dec 20, 2010 at 10:51 AM, Dawood Masslawi <span dir="ltr"><<a href="mailto:davoud_zzz@yahoo.com">davoud_zzz@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top"><span style="font-family: 'Times New Roman'; font-size: medium;"><pre>Dear Haiyong,</pre><pre>You can use the neighborhood iterators to define a window and</pre>
<pre><br></pre><pre>calculate the mean intensity value in that window by averaging</pre><pre><br></pre><pre>over the defined neighborhood.</pre><pre><br></pre><pre>Best regards,</pre><pre><br></pre><font color="#888888"><pre>
Dawood Masslawi</pre></font><div><div></div><div class="h5"><pre><br></pre><pre><br></pre><pre><br></pre><pre>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<</pre>
<pre><br></pre><pre><span style="font-family: 'Times New Roman'; white-space: normal;"><pre>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<</pre>
</span></pre><pre><br></pre><pre>Hi insight-users,
I have several subvolume images that were manually cropped from CT
abdominal studies. These images have different sizes. I need calculate
a mean image with the pixel value equals to the mean value of pixels
in the subvolume images. Since the subvolume images have different
sizes, the mean image's size will be set to the overlapped region of
all subvolume images. I wander if there any ITK filter can do the job.
Otherwise, I may implement one by myself. Thanks.
Regards,
Haiyong Xu</pre></div></div></span></td></tr></tbody></table><br>
</blockquote></div><br>