Skip to main content

Analysis for gray scale images containing gaussian shaped blobs

Project description

BLOBs

Home PYPI

Analysis of gray scale images containing gaussian shaped blobs. Blobs should not overlap in 2d, but may overlap in projection. Entry point is blobs.find_blobs().

from image_blobs import find_blobs
from image_blobs.util import make_image, show_features
shape = (100, 200) # 200x100
Fs = [
    #  X   Y  W  H  A    IDX (ignored as input, unique in output)
    (160, 25, 4, 4, 4,   0),
    (150, 50, 5, 3, 5,   0),
    ( 40, 25, 4, 4, 3,   0),
    (100, 50, 4, 4, 2.5, 0),
]
print('Actual')
print(Fs)
img = make_image(shape, Fs, dtype='u1')
features = find_blobs(img)
print('Computed (order may differ)')
print(features)
show_features(img, features, sigma=3)

Demo output

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

image-blobs-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file image-blobs-0.1.0.tar.gz.

File metadata

  • Download URL: image-blobs-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for image-blobs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b20fdc8fa46a5555e99f2a2b61233cfc05136bdf880a3fb470a940e967a585bf
MD5 fe031008a8e760a707ffe1c889fe8f59
BLAKE2b-256 6c6aec4e5b901bb48ea2ba9bf991edc059faf9b1c2881eca596f1a63305e6a9c

See more details on using hashes here.

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