[Insight-users] NeighborhoodConnectedImageFilter

Lee Periolat periolat at gmail.com
Sat Mar 31 23:31:54 EDT 2012


Ok, there is still one thing I can't figure out.  I have modified
NeighborhoodConnectedFilter to handle 3D images, but it still can't read an
mha file.  How do I modify it to read mha files?  Thanks in advance.
Lee


On Sat, Mar 31, 2012 at 8:06 PM, Lee Periolat <periolat at gmail.com> wrote:

> 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 "copy of a project" in Visual
> Studio.
>
> Lee
>
>
> On Sat, Mar 31, 2012 at 7:43 PM, Lee Periolat <periolat at gmail.com> wrote:
>
>>
>> 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.
>>
>> 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't copy whole projects in MS Visual Studio like I remember doing in
>> Eclipse.
>>
>> Also, I would need to know how to modify the CMake file;  perhaps I need
>> to do that first, I'm not sure.
>>
>> Any help would be appreciated, thanks.
>>
>> Lee Periolat
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120331/b8c27bdf/attachment.htm>


More information about the Insight-users mailing list