[Insight-users] ImageRegistration9.exe - 2DAffine

Luis Ibanez luis.ibanez at kitware.com
Thu Mar 18 19:02:02 EDT 2010


Hi Ganesh,


1) Have you enabled the CMake flag

              BUILD_EXAMPLES  ?


2) If so, do you see in your directory:

              C:\ITK316\Build\bin\Debug\

     any other file with a name similar to

             ImageRegistration??.exe


     That is,
     do you see the executable
     of any of the other examples ?


  Please let us know,


       Thanks


             Luis


----------------------------------------------------------
On Thu, Mar 18, 2010 at 5:47 PM, Ganesh Narayanasamy
<nganesh76 at hotmail.com> wrote:
>
> Let me ask for help with adding new .cxx files into an existing
> project/solution with the drawback of making me look like a dummy;)
>
> I have added these lines to the relevant sections inside
> C:\ITK316\ITK\Examples\Registration\CMakeLists.txt. I opened ITK.sln in
> MS-VC++ .NET to do a "Build Solution".
> However, i still could not find
> C:\ITK316\Buil\bin\DebugImageRegistration20.exe
> Please let me know what is the missing link here.
>
> Thanks,
> Ganesh
>
> ADD_EXECUTABLE(ImageRegistration20 ImageRegistration20.cxx )
> TARGET_LINK_LIBRARIES(ImageRegistration20 ITKStatistics ITKIO ITKNumerics)
>
> ADD_TEST(ImageRegistration20Test
>   ${CXX_TEST_PATH}/ImageRegistration20
>         ${ITK_BRAINWEB_DATA_ROOT}/brainweb1e1a10f20.mha
>         ${ITK_BRAINWEB_DATA_ROOT}/brainweb1e1a10f20Rot10Tx15.mha
>         ${TEMP}/ImageRegistration20Output.mhd
>         ${TEMP}/ImageRegistration20DifferenceBefore.mhd
>         ${TEMP}/ImageRegistration20DifferenceAfter.mhd
>         0.1  # Step length
>         300  # maximum number of iterations
> )
>
>
>
> ************************************************************************
> "What the mind of man can conceive and believe, It can achieve" - Napolean
> Hill
> -Ganesh Narayanasamy,Ph.D., PostDoc-University of Kentucky Cancer Center
> Earlier work: http://www.sciencedaily.com/releases/2007/05/070504133017.htm
> ************************************************************************
>
>
>


More information about the Insight-users mailing list