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

Python Image Sequence

Project Description

What Problem Does PIMS Solve?

Scientific video can be packaged in various ways: familiar video formats like .AVI and .MOV, folders full of numbered images, or “stacks” of TIFF images. Each of these requires a separate Python module. And, once loaded, they have different methods for accessing individual images, looping through the images in bulk, accessing a specific range, or dealing with multidimensional files. PIMS can do all of these using a consistent interface, handling the differences between different inputs invisibly.

Formats readable by pims include: * Directories or zipfiles of still images (most formats, including TIFF, JPEG, PNG, BMP), and TIFF stacks * Microscope images supported by the Bio-formats project, including Leica, Nikon, Olympus, and Zeiss formats. Requires separate installation; see below. * Movie formats and codecs supported by ffmpeg, including AVI, QuickTime MOV, and H.264 (MP4). May require separate installation; see below. * CINE files from Vision Research cameras * SEQ files from NorPix StreamPix software

PIMS is based on readers by: * scikit-image * matplotlib * scipy * ffmpeg and PyAV (video formats such as AVI, MOV) * jpype (interface with Bio-formats) * Pillow (improved TIFF support) * libtiff (alternative TIFF support) * tifffile (alterative TIFF support) * pims_nd2 (improved Nikon .nd2 support) * imageio (a multi-purpose reader package that reads and writes many formats) * moviepy (a Python module that supports video editing)

Examples & Documentation

Everything is demonstrated in this IPython notebook.

**Read the documentation** for installation instructions, examples, and further reference.

Core Contributors

  • Daniel Allan founding contributor, slicing and iteration logic, basic readers, display tools
  • Thomas Caswell major refactor, abstract base class
  • Casper van der Wel bioformats readers, display tools
  • Thomas Dimiduk filetype-detecting dispatch logic

Support

This package was developed in part by Daniel Allan, as part of his PhD thesis work on microrheology in Robert L. Leheny’s group at Johns Hopkins University in Baltimore, MD. The work was supported by the National Science Foundation under grant number CBET-1033985. Later work was supported by Brookhaven National Lab. Dan can be reached at dallan@bnl.gov.

This package was developed in part by Thomas A Caswell as part of his PhD thesis work in Sidney R Nagel’s and Margaret L Gardel’s groups at the University of Chicago, Chicago IL. This work was supported in part by NSF Grant DMR-1105145 and NSF-MRSEC DMR-0820054. Later work was supported by Brookhaven National Lab. Tom can be reached at tcaswell@gmail.com.

This package was developed in part by Casper van der Wel, as part of his PhD thesis work in Daniela Kraft’s group at the Huygens-Kamerlingh-Onnes laboratory, Institute of Physics, Leiden University, The Netherlands. This work was supported by the Netherlands Organisation for Scientific Research (NWO/OCW).

Release History

Release History

This version
History Node

0.4

History Node

0.4rc1

History Node

0.3.3

History Node

0.3.3rc1

History Node

0.3.2

History Node

0.3.2rc2

History Node

0.3.2rc1

History Node

0.3.1

History Node

0.3.0

History Node

0.3.0.dev

History Node

0.2.2

History Node

0.2.2rc2

History Node

0.2.2rc1

History Node

0.2.1

History Node

0.2

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
PIMS-0.4.tar.gz (81.6 kB) Copy SHA256 Checksum SHA256 Source Apr 22, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting