PixeLINK Data Steam (PDS) Files in Python.
Project description
PixeLINKds: PixeLINK Data Steam Files in Python
PixeLINK Data Steam (PDS) is a file format used by PixeLINK software.
It is extremely easy to use
>>> import pixelinkds as pds
>>> timestamps, stack = pds.read('myfile.pds')
You can also iterate over each frame:
>>> with pds.Reader('myfile.pds') as reader:
... for timestamp, img in reader:
... print(timestamp)
... # do something with your image
Or you can convert into another format:
>>> pds.convert('myfile.pds', 'myfile.tif')
Current supported formats are tif (Multipage tif), npz (Numpy), mat (Matlab), avi (PIM1 encoded) For tif an avi files you will get an extra file with .txt appended to the name with the timestamps.
You can also convert or get info form the command line:
$ python -m pixelinkds convert myfile.pds myfile.tif
$ python -m pixelinkds info myfile.pds
Quick Installation
To install PixeLINKds, simply:
$ pip install pixelinkds
Dependencies
Numpy
SciPy (optional, to export mat files)
tifffile (optional, to export tif files)
OpenCV2 (optional, to export avi files)
PixeLINKds is written and maintained by Hernan E. Grecco <hernan.grecco@gmail.com>.
Other contributors, listed alphabetically, are:
No one yet.
(If you think that your name belongs here, please let the maintainer know)
PixeLINKds Changelog
0.2 (unreleased)
Nothing changed yet.
0.1 (2016-08-25)
First public release.
Implemented a Reader for homogeneous Pixelink Data Stream file.
Implemented Frame Descriptor based on ctypes structure.