我要评分
获取效率
正确性
完整性
易理解

Running and Verification

Procedure

  1. Switch to the directory where SimpleITK test cases are stored.
    cd /path/to/SimpleITK/SimpleITK/build/SimpleITK-build
  2. Run the test cases.
    ctest .

    Some test cases may fail, including ProcessObject_NumberOfThreads, SLICImageFilter.minimum, and ImageRegistrationMethodDisplacement1.

    The cause is that these official test cases have bugs inside, but the software will not be affected. For details, visit https://github.com/SimpleITK/SimpleITK/issues/1571.

  3. Using Python as an example, bind the Python interface of SimpleITK.
    cd /path/to/SimpleITK/SimpleITK/build/SimpleITK-build/Wrapping/Python
    python setup.py install

    Run pip list. You can see that SimpleITK has been installed in the current Python interpreter.

    For details about how to bind other languages, visit https://simpleitk.readthedocs.io/en/v2.1.0/building.html#installation-from-build-tree.