Catalog PyPI
Back to packageRELEASE DETAILS

0.2.1

PyPI

aicsfeature

Scripts for image features calculation.

Published5 Jun 2019
Direct dependencies12
Transitive dependenciesNot calculated

README

Version 0.2.1 documentation

AICS Features Extraction

from aicsfeatures.extractor import *

/feature_calc

Functions related to feature extraction. Feature extraction should be done like this:

from aicsfeatures.extractor import *

features_result = xxx.get_features(args=None, seg=image_xxx)

where xxx can be

  • mem, for cell membrane-related features
  • dna, for nucleus-related features
  • structure, for structure-specific features.
  • stack, for stack-related features.

Assumptions of each function about the input image should be detailed inside the function like this

    Assumptions:
        - Input is a ZYX 16-bit numpy array (2D images can be passed in as a 1YX)
        - There is a single object of interest
        - Background has value 0
        - Object of interest have pixel value > 0

The result features_result should always be a single row Pandas dataframe.

exutils.py: Main routine for feature calculation. We try to re-use functions from skimage (shape analysis) and Mahotas (texture analysis). Here is also the place to implement new features that are not found in those packages. We try to be general and do not say anything specific about the type of biological structure that the input image should represent.

mem.py: Wrappers for feature extraction of cell membrane images.

dna.py: Wrappers for feature extraction of dna images.

structure.py: Wrappers for feature extraction of structures images. Things to be defined: which type of feature we should extract for each given structure. Or do we do all to all?

stack.py: Wrappers for feature extraction of whole stack images.

How to Build

The default project layout and build steps are discussed in BUILD.md. Some of the information is related to the AICS build process.

  • License (Before you release the project publicly please check with your manager to ensure the license is appropriate and has been run through legal review as necessary.)
  • Contribution Agreement (Additionally update the contribution agreement to reflect the level of contribution you are expecting, and the level of support you intend to provide.)

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 15

Native requirements
12 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
numpy
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
numpyruntime
scipy
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
scipyruntime
pandas
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
pandasruntime
aicsimageprocessing
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
aicsimageprocessingruntime
scikit-image
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
scikit-image (>=0.13.1)runtime
matplotlib
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
matplotlib (>=2.0.0)runtime
jupyter
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
jupyterruntime
mahotas
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
mahotasruntime
h5py
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
h5pyruntime
pytest
Environment
{
  "extras": "",
  "marker": "extra == 'all'",
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
pytest ; extra == 'all'runtime
pytest-cov
Environment
{
  "extras": "",
  "marker": "extra == 'all'",
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
pytest-cov ; extra == 'all'runtime
flake8
Environment
{
  "extras": "",
  "marker": "extra == 'all'",
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
flake8 ; extra == 'all'runtime
flake8
Environment
{
  "extras": "",
  "marker": "extra == 'lint_group'",
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
flake8 ; extra == 'lint_group'runtime
pytest
Environment
{
  "extras": "",
  "marker": "extra == 'test_group'",
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
pytest ; extra == 'test_group'runtime
pytest-cov
Environment
{
  "extras": "",
  "marker": "extra == 'test_group'",
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
pytest-cov ; extra == 'test_group'runtime

Distribution files

1 collected
aicsfeature-0.2.1-py2.py3-none-any.whl

bdist_wheel · 14.93 KB · Python py2.py3

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:21 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:cae3b98bb7624a4a0f7ef0d9130b879068aa67e78b3bb317e12732a2e9d7439b

Other collected versions

View all collected versions →