Skip to content
This repository has been archived by the owner on Sep 25, 2018. It is now read-only.

constantinpape/mutex-watershed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMPORTANT!

This repository is deprecated! If you are interested in using the Mutex Watershed, please use https://github.com/hci-unihd/mutex-watershed

mutex-watershed

The Mutex Watershed for image segmentation

Installation

On Unix (Linux, OS X)

  • clone this repository
  • pip install ./mutex-watershed

On Windows (Requires Visual Studio 2015)

  • For Python 3.5:

    • clone this repository
    • pip install ./mutex-watershed
  • For earlier versions of Python, including Python 2.7:

    xtensor requires a C++14 compliant compiler (i.e. Visual Studio 2015 on Windows). Running a regular pip install command will detect the version of the compiler used to build Python and attempt to build the extension with it. We must force the use of Visual Studio 2015.

    • clone this repository
    • "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x64
    • set DISTUTILS_USE_SDK=1
    • set MSSdk=1
    • pip install ./mutex-watershed

    Note that this requires the user building mutex-watershed to have registry edition rights on the machine, to be able to run the vcvarsall.bat script.

Windows runtime requirements

On Windows, the Visual C++ 2015 redistributable packages are a runtime requirement for this project. It can be found here.

If you use the Anaconda python distribution, you may require the Visual Studio runtime as a platform-dependent runtime requirement for you package:

requirements:
  build:
    - python
    - setuptools
    - pybind11

  run:
   - python
   - vs2015_runtime  # [win]

Building the documentation

Documentation for the example project is generated using Sphinx. Sphinx has the ability to automatically inspect the signatures and documentation strings in the extension module to generate beautiful documentation in a variety formats. The following command generates HTML-based reference documentation; for other formats please refer to the Sphinx manual:

  • mutex-watershed/docs
  • make html

Running the tests

Running the tests requires pytest.

py.test .

About

The mutex watershed for image segmentation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published