Code Monkey home page Code Monkey logo

colabseg's Introduction

Colabseg Tool: Jupyter-based Membrane Segmentation Manipulation


Build and Testing python3.8 License

General Remarks

WARNING: This installation guide is only valid for MacOS or linux


Preliminary Installation and use on Linux machines

Make an environment with anaconda and open it:

conda env create -f environment.yml --name YOUR_ENV_NAME
source activate YOUR_ENV_NAME

Run pip in the folder where setup.py is located:

pip install .

This also installs all necessary dependencies.

Then add this environment as jupyter kernel and then boot a new jupyter notebook or better the demo notebook colabseg_demo_notebook.ipynb in the colabseg folder:

python -m ipykernel install --user --name=YOUR_ENV_NAME
jupyter notebook colabseg_demo_notebook.ipynb

Make sure to pick the correct environment as kernel to have access to the installed software. Execute the cells in order. It is possible to skip the tensorvoting step if segmented data is already available. Then simply load the .mrc file and load. Alternatively, you can load a .h5 file which is a specific state file of the software which contains all the metadata of the classes.

When loading a new file it is advised to either restart the kernel and start from the top of the notebook. Or at least re-run the file loading cell. This will purge any existing data and avoid potential issues in the experimental stage.

MemBrain-seg installation

If you would like to use MemBrain-seg to create initial membrane segmentations, you can install it to your environment via

git clone https://github.com/teamtomo/membrain-seg.git
cd membrain-seg
pip install .

or refer to MemBrain-seg's installation instructions.

Detailed User Guide:

Detailed tutorial and user guide can be found here.

colabseg's People

Contributors

maurerv avatar msiggel avatar lorenzlamm avatar luc1100 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.