[Insight-users] Dear Prof.luis,I need your instruction of itk

Luis Ibanez luis.ibanez at kitware.com
Sun Dec 27 13:30:11 EST 2009


Hi Pan,

                    Welcome to ITK !


The full command line of this example can be seen
by running the following "ctest" command in the
binary build directory of ITK:

ctest -R "^CannySegmentationLevelSetImage" -V -N


you will see that you should pass the following
parameters to the test:

/home/ibanez/src/Insight/Examples/Data/BrainProtonDensitySlice.png
/home/ibanez/src/Insight/Testing/Data/Baseline/Segmentation/ThresholdSegmentationLevelSetVentricle.png
/home/ibanez/bin/Insight/Testing/Temporary/CannySegmentationLevelSetImageFilterTest.png
7 0.1 -10.0 127.5 10000

Of course, replacing the "/home/ibanez/src/"
with the directory of your disk where you
installed the source tree of ITK.

You can pass these parameters in Visual Studio by
right clicking on the examples project, selecting
"Debug" and clicking on the "command line
arguments" field.



In the long term you will find that it is very
convenient to run these examples from the
command line interface.

If you go to the "Start" menu in Windows
and select from the "Visual Studio" option
the "Command Prompt" window, you will
get a MS-DOS Window with the paths set
for calling the visual studio compiler.



More information about the Insight-users mailing list