Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Automatic merge/stitching of regular spaced images

Project Description


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


Install using pip

pip install microscopestitching


from microscopestitching import stitch
from 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


Install dependencies and link development version of microscopestitching to pip:

git clone
cd microscopestitching
pip install -r requirements.txt # install dependencies and microscopestitching-package



Build documentation locally

To build the documentation:

pip install -r docs/requirements.txt
make docs

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(6.6 kB) Copy SHA256 Hash SHA256
Wheel 3.4 Jun 17, 2015
(4.1 MB) Copy SHA256 Hash SHA256
Source None Jun 17, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers