Skip to main content

Python package to decode Amira 3D coordinate spatial graphs into semantic label mask

Project description

Semantic Label Creator [slcpy]

https://img.shields.io/github/v/release/RRobert92/Semantic_Label_Creator https://github.com/RRobert92/Semantic_Label_Creator/actions/workflows/python-publish_PyPi.yml/badge.svg Documentation Status https://www.codefactor.io/repository/github/rrobert92/semantic_label_creator/badge

Python package to decode Amira 3D coordinate spatial graphs into semantic label mask.

Features

  • Load Amira spatial graph to transform 3D coordinates into semantic label mask

Installation

Stable release

To install Semantic_Label_Creator, run this command in your terminal:

$ pip install slcpy

This is the preferred method to install Semantic_Label_Creator, as it will always install the most recent stable release.

From sources

The sources for Semantic_Label_Creator can be downloaded from the Github repo.

You can either clone the public repository:

$ git clone git://github.com/RRobert92/Semantic_Label_Creator

Once you have a copy of the source, you can install it with:

$ python setup.py install

Usage

To use Semantic_Label_Creator in a project:

from slcpy.main import slcpy
label_mask = slcpy(dir_path, pixel_size=None, circle_size=250)

or with terminal:

   slcpy -dir -o -px -d

string [-dir] directory of the folder that contain data.
   [-default] os.getcwd() + r'\data'
string [-o] output directory to the folder where all of converted filed are stored.
   [-default] os.getcwd() + r'\data' + r'\output'
int [-px] anisotropic images pixel size in Angstrom.
   [-default] None
int [-d] diameter in Angstrom of a circle that would be drawn a semantic mask
   [-default] 250

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slcpy-0.1.7.tar.gz (26.6 kB view hashes)

Uploaded Source

Built Distribution

slcpy-0.1.7-py2.py3-none-any.whl (20.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page