[Insight-users] Help with examples

Luis Ibanez luis.ibanez at kitware.com
Fri Aug 6 21:14:12 EDT 2004


Hi Huss,


> I dont get the expected results as shown in the examples.
> 
> Can anyone tell what am I doing wrong.


We will be glad to help you if you give us
a technical description of how your results
differ from the expected results.

Thanks


    Luis



---------------------
Huss wrote:
> Hello Everyone,
> 
> I am trying to run the example programs under InsightToolkit-1.6.0. I
> copied a program, say MultiResImageRegistration1.txx and put it in a
> new folder and wrote a CMakeList.txt file for it.
> I also created a new directory for its binaries.
> 
> I successfully build, genrate and then run the make to get the obj
> file and executable file.
> 
> Now when I run the program with the inputs as the moving, fixed and
> output images (these are the same one  as given in the examples/Data
> directory and suggested to be used for the above code) as the
> parameters, I dont get the expected results as shown in the examples.
> 
> Can anyone tell what am I doing wrong.
> Thanks all.
> 
> My CMakeList.txt file looks like this:
> 
> PROJECT(MultiResImageRegistration1)
> 
> # Find ITK.
> FIND_PACKAGE(ITK)
> IF(ITK_FOUND)
>   INCLUDE(${ITK_USE_FILE})
> ELSE(ITK_FOUND)
>   MESSAGE(FATAL_ERROR
>           "Cannot build without ITK.  Please set ITK_DIR.")
> ENDIF(ITK_FOUND)
> 
> ADD_EXECUTABLE(MultiResImageRegistration1 MultiResImageRegistration1.cxx )
> 
> TARGET_LINK_LIBRARIES(MultiResImageRegistration1 ITKNumerics ITKIO)
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 






More information about the Insight-users mailing list