[Insight-users] how to run example in ITK
Luis Ibanez
luis.ibanez at kitware.com
Mon Aug 20 06:47:54 EDT 2007
Hi James,
There are CMakeLists.txt files in all the
subdirectories of Insight/Examples:
cd ~/src/Insight/Examples
find . -name CMakeLists.txt
./CMakeLists.txt
./DataRepresentation/CMakeLists.txt
./DataRepresentation/Containers/CMakeLists.txt
./DataRepresentation/Image/CMakeLists.txt
./DataRepresentation/Mesh/CMakeLists.txt
./DataRepresentation/Path/CMakeLists.txt
./Filtering/CMakeLists.txt
./GUI/CMakeLists.txt
./Infrastructure/CMakeLists.txt
./Installation/CMakeLists.txt
./IO/CMakeLists.txt
./Iterators/CMakeLists.txt
./Numerics/CMakeLists.txt
./Patented/CMakeLists.txt
./Registration/CMakeLists.txt
./Segmentation/CMakeLists.txt
./SpatialObjects/CMakeLists.txt
./Statistics/CMakeLists.txt
./Wrapping/CMakeLists.txt
Please read the first three chapters of the
ITK Software Guide. They describe how to write
CMakeLists.txt files. The corresponding minimal
example is in the directory:
Insight/Examples/Installation.
You will also learn how to write CMakeLists.txt
files by reading the Tutorials:
http://www.itk.org/HTML/Tutorials.htm
In particular the session:
"Getting Started I":
http://www.itk.org/CourseWare/Training/GettingStartedI-WebPage/index.htm
Regards,
Luis
--------------------
james zhang wrote:
> hi, Lius
>
> thank your help
> but the ITK Software Guide , it have only *.cxx , and have not
> CMakelists.txt. they are only a CMakeslists.txt for all segmentation
> methods. If I use only one of the segmentation, How to write the
> CMakeLists.txt.
>
> Best Regards
>
> James
>
>
>
> > Date: Sun, 19 Aug 2007 10:45:07 -0400
> > From: luis.ibanez at kitware.com
> > To: jameszhang2009 at hotmail.com
> > CC: insight-users at itk.org
> > Subject: Re: [Insight-users] how to run example in ITK
> >
> >
> > Hi James,
> >
> > Thanks for letting us know that installing the service pack fixed
> > your problem.
> >
> > Most ITK examples are *command line* applications. You will run
> > them from a MS-DOS command window or from a Cygwin shell.
> >
> > For instructions on how to run each one of the Examples, please
> > read the ITK Software Guide:
> >
> >
> > http://www.itk.org/ItkSoftwareGuide.pdf
> >
> >
> > This book is built directly by extracting text and code from the
> > examples. You will find in the book detailed descriptions of the
> > examples, and instructions on how to run them.
> >
> >
> > There are several Chapters on Image Segmentation in this book
> > that describe the use of ITK image segmentation classes.
> >
> >
> >
> > Regards,
> >
> >
> > Luis
> >
> >
> > --------------------
> > james zhang wrote:
> > > hi, Luis
> > >
> > > thank your help.
> > > I have already installed the service pack 5, and build is ok. and I
> > > have already run the "hello world".
> > >
> > > and I have a new question, how to run other example ? How to
> > > segment a image with ITK?
> > >
> > > thank you very much
> > >
> > > james
> > >
> > >
> > >
>
>
> ------------------------------------------------------------------------
> Discover the new Windows Vista Learn more!
> <http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE>
More information about the Insight-users
mailing list