Skip to main content

Collection of tools for recurring tasks

Project description

Test

bdtools

Collection of tools for recurring tasks

mask

  • get_edt()
    Compute Euclidean distance tranform (edt) for binary or labelled masks stored in ndarrays.

nan

  • nan_filt()
    Filter ndarrays ignoring NaN values. Mean, median and standard deviation filters are implemented.
  • nan_replace()
    Replace NaN values in ndarrays based on surrounding pixels.

norm

  • norm_gcn()
  • norm_pct()

patch

  • extract_patches()
  • merge_patches()

skel

  • pix_conn()
  • lab_conn()

Todo

  • flow functions

Bugs

  • nanreplace : avoid error if no nan to replace (with iterations = "inf")

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

bd_tools-0.2.3.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bd_tools-0.2.3-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file bd_tools-0.2.3.tar.gz.

File metadata

  • Download URL: bd_tools-0.2.3.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for bd_tools-0.2.3.tar.gz
Algorithm Hash digest
SHA256 e210c08ff9575307acb699031bc9c2a23e60ce0674d842b91d6e3df13f8ec6e0
MD5 18ea1f4ff52bd595e737ee0a4c9e54b6
BLAKE2b-256 8fdec594c0dd9f255a90c71cc3b6f8ab5335971bd5195ee1785c5f62bd10d1bb

See more details on using hashes here.

File details

Details for the file bd_tools-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: bd_tools-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for bd_tools-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b531332959fa4d660e460ea55283ef49b43234a31cb763070c409286ac2281c6
MD5 7554adae466bee0806812184e1b66717
BLAKE2b-256 7dd1f2f4b06a32775abcd009cd4807f8f7de981722848e5be3a3ae8e1a50ba23

See more details on using hashes here.

Supported by

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