Code Monkey home page Code Monkey logo

pcm_segmenter's Introduction

Description

This archive contains the data and custom Python package to reproduce the image processing, segmentation, and analysis conducted for the publication "The Protective Function of Directed Asymmetry in the Pericellular Matrix Enveloping Chondrocytes." Annals of Biomedical Engineering. DOI: 10.1007/s10439-021-02900-1.

DOI

Installation

The Python package utilizes the conda package manager for dependency resolution. We recommend installing the miniforge3 implementation of conda from https://conda-forge.org/miniforge/

After conda installation first add the siboles channel by executing:

conda config --add channels siboles

If you did not install miniforge3, you may also need to add the conda-forge channel with:

conda config --add channels conda-forge

One can then create an isolated conda environment with all necessary dependencies with the command:

conda create -n NAME_OF_ENVIRONMENT pycellanalyst pydantic pyyaml

where, NAME_OF_ENVIRONMENT, is the user's choice. To use the pcm_segmenter Python package the conda environment must be activated with:

conda activate NAME_OF_ENVIRONMENT

Optionally, the pcm_segmenter package can be installed for system-wide execution (with the conda environment activated) by running:

python setup.py install

Running

The study dataset can be retrieved from:

DOI

Extract this to the top-level of this repository.

The study can then be reproduced by navigating to the scripts directory:

cd scripts

and running the segmentation and analysis with

python manuscript_analysis.py

and the post-processing with

python manuscript_postprocess.py

This will generate a results directory tree with the resulting VTK files for each specimen/region in appropriate sub-folders. At the root level of the results directory, Excel files containing the analysis results for each specimen will be created. Finally, after running manuscript_postprocess.py, manuscript_analyses_aggregate.xlsx will be written with the measurements for all cells aggregated into a single file.

pcm_segmenter's People

Contributors

siboles avatar

Watchers

James Cloos avatar  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.