RTKConsortium / RTK

Reconstruction Toolkit
Apache License 2.0
244 stars 144 forks source link

run FirstReconstruction.cxx #512

Closed xsk0802 closed 2 years ago

xsk0802 commented 2 years ago

Hello, teacher. I want to run the /examples/FirstReconstruction/FirstReconstruction.cxx file. How do I run this routine

SimonRit commented 2 years ago

You need to install RTK first (see INSTALLATION.md) and then you should be able to compile it with CMake.

xsk0802 commented 2 years ago

Whether to input parameters when running FirstReconstruction.cxx, I execute FirstReconstruction.cxx After cxx, only Usage: FirstReconstructionis displayed Or if it is convenient for you to send me a corresponding FirstReconstruction.exe file

SimonRit commented 2 years ago

You have to pass the parameters on the command line. If you want a pre-compiled version, you can use the python version from pypi.

xsk0802 commented 2 years ago

What parameters are entered?

SimonRit commented 2 years ago

The usage explains it

Usage: FirstReconstruction <outputimage> <outputgeometry>

The first is an output image file name, e.g. a.mha, and the second a geometry file name, e.g. a.xml.