<div class="gmail_quote">On Tue, Mar 1, 2011 at 9:38 AM, john smith <span dir="ltr"><<a href="mailto:mkitkinsightuser@gmail.com">mkitkinsightuser@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br><br>Well, I have made all the changes and my program gives me (I think) correct results. But I have some questions to continue my project. As a following step, I want to write all my max values from every neighborhood iterator in a single pixel of an output image. How can organize my max values as an object (maybe by creating a new region iterator?), to put it through a new writer filter, in order to take my output image? Also, supposing that I have taken my output image, then this project which will be consisted of an .cxx and .txt file format (for visual studio and cmake), could be considered as a new developed Filter?<br>
<br>Thanks <br><div class="im"></div></blockquote></div><br><div>Sure, just create an output image and an iterator on that image and increment it at the same time as your neighborhood iterator.</div><div><br></div><div>If you want to submit your new filter, make sure you follow the style guidelines here (also, just look at an existing filter and make sure everything looks the same):</div>
<div><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.vtk.org/Wiki/ITK_Coding_Style_Guide">http://www.vtk.org/Wiki/ITK_Coding_Style_Guide</a></div>
<div><br></div><div><a href="http://www.vtk.org/Wiki/ITK_Coding_Style_Guide"></a>The process is to submit your new code to gerrit: <meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.vtk.org/Wiki/ITK/Gerrit">http://www.vtk.org/Wiki/ITK/Gerrit</a></div>
<div><a href="http://www.vtk.org/Wiki/ITK/Gerrit"></a><br>David</div>