Ok, there is still one thing I can&#39;t figure out.  I have modified NeighborhoodConnectedFilter to handle 3D images, but it still can&#39;t read an mha file.  How do I modify it to read mha files?  Thanks in advance.<div>
Lee</div><div><br><br><div class="gmail_quote">On Sat, Mar 31, 2012 at 8:06 PM, Lee Periolat <span dir="ltr">&lt;<a href="mailto:periolat@gmail.com">periolat@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
My apologies, I think I figured it out.  I had to make a modification to the CMake file to add the new executable, and create a new cxx file with the name I wanted, copying code from NeighborhoodConnectedImageFilter.cxx.  Then I reconfigured and regenerated, and loaded the new solution file in Visual Studio.  That produced the desired &quot;copy of a project&quot; in Visual Studio.<span class="HOEnZb"><font color="#888888"><div>

<br></div></font></span><div><span class="HOEnZb"><font color="#888888">Lee</font></span><div><div class="h5"><br><br><div class="gmail_quote">On Sat, Mar 31, 2012 at 7:43 PM, Lee Periolat <span dir="ltr">&lt;<a href="mailto:periolat@gmail.com" target="_blank">periolat@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><div>I am trying to do something very simple in Microsoft Visual Studio 2010 with ITK, but since I am a total beginner I am having difficulty.</div><div><br></div><div>All I want to do is create a 3D version of NeighborhoodConnectedImageFilter while not deleting the old version.  I have a relatively simple diff file from a previous post about Connected Threshold Filter that converts that Filter from 2D to 3D.  I just need to figure out how to copy everything from Neighborhood Connected Image Filter into a new project called NeighborhoodConnectedImageFilter3D.  Apparently you can&#39;t copy whole projects in MS Visual Studio like I remember doing in Eclipse.  </div>


<div><br></div><div>Also, I would need to know how to modify the CMake file;  perhaps I need to do that first, I&#39;m not sure.</div><div><br></div><div>Any help would be appreciated, thanks.</div><span><font color="#888888"><div>

<br></div><div>Lee Periolat</div>
<div><br></div>
</font></span></blockquote></div><br></div></div></div>
</blockquote></div><br></div>