Skip to main content

Automatic merge/stitching of regular spaced images

Project description

build-status-image pypi-version wheel

Overview

This software aims to be a reliable way to stitch your microscope images. To get good results, a couple of assumptions should be true about your dataset:

  • images are regular spaced

  • images are of same size

  • side by side images have translation only in one dimension

  • (if not, check your scanning mirror rotation)

  • scale in edge of images are constant

Installation

Install using pip

pip install microscopestitching

Example

from microscopestitching import stitch
from skimage.io import imsave

images = []
for i in range(50):
    row = i // 10
    col = i % 10
    images.append(('%d.png' % i, row, col))

merged = stitch(images)
imsave('merged.png', merged)

See also notebook examples.

API reference

API reference is at http://microscopestitching.rtfd.org.

Development

Install dependencies and link development version of microscopestitching to pip:

git clone https://github.com/arve0/microscopestitching
cd microscopestitching
pip install -r requirements.txt # install dependencies and microscopestitching-package

Testing

tox

Build documentation locally

To build the documentation:

pip install -r docs/requirements.txt
make docs

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

microscopestitching-0.1.2.tar.gz (3.8 MB view details)

Uploaded Source

Built Distribution

microscopestitching-0.1.2-py2.py3-none-any.whl (6.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file microscopestitching-0.1.2.tar.gz.

File metadata

File hashes

Hashes for microscopestitching-0.1.2.tar.gz
Algorithm Hash digest
SHA256 acb96acaf40f2e50e25f7c1675abcab3dcf6b9e45aba953f082cf6d3b344e6d6
MD5 c9d48e8c17852db4313f5f7df6c34b14
BLAKE2b-256 452a3b2eebddd58b704f97f08c471445d0e1cce062467cda183a1694a0df671d

See more details on using hashes here.

File details

Details for the file microscopestitching-0.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for microscopestitching-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 437545dae854cdc583e6db7e35075ba1a015c664118d5342f82020469b0c499f
MD5 fdc608e6142522e4a4b68efc9c42e9a2
BLAKE2b-256 58a43208936d970ddf9bfd5e2d68e43299fa825715a89aa2bfb00a4195ff9bd2

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