Raster Restoration tools
Project description
Overview
This module encapsulates algorithms for the restoration of images and it is specialized in retinal images.
RRtoolbox is a python package which contains source code designed to process images built mainly using OpenCV.
RRtoolFC is a development tool using sequential function charts (FC stands for Function Chart)
Imrestore is an application to restore images in general but in this case is configured to restore retinal images. Because it is still in development it is the alpha program for testing and to let the users find out about its utilities. Do not hesitate to share it to the world, let everyone know how awesome it is!! (be warned that it is for research purposes)
Stable:
Documentation: http://pythonhosted.org/rrtoolbox/
Download Page: https://pypi.python.org/pypi/rrtoolbox
Latest:
Documentation: http://rrtools.readthedocs.io/en/latest/
Project Homepage: https://github.com/davtoh/RRtools
BSD license, (C) 2015-2017 David Toro <davsamirtor@gmail.com>
Documentation
For API documentation, usage and examples see files in the “documentation” directory. The “.rst” files can be read in any text editor or being converted to HTML or PDF using Sphinx. A HTML version is online at http://rrtools.readthedocs.io/en/latest/
Read RRtoolbox (Retinal Restauration Toolbox) manual or the dissertation which made this project possible with all the concepts.
Examples are found in the directory examples and unit tests in tests.
Installation
pip install rrtools should work for most users.
The usual setup.py for Python libraries is used for the source distribution. Windows installers are also available (see download link above).
Releases
All releases follow semantic rules proposed in https://www.python.org/dev/peps/pep-0440/ and http://semver.org/
To create executable from source code:
$ pyinstaller -p ./ -n imrestore -F ./imrestore.py/ --version-file=version
Testing and application
To test imrestore script:
$ python imrestore.py tests/im1*
To test imrestore executable:
$./dist/imrestore tests/im1*
To test imrestore executable if in dist folder:
$ ./imrestore ../tests/im1*
A basic usage would be typing ./imrestore tests/im1* --lens in the terminal which species to imrestore to load from the test path images that start with im1 specified by the wildcard ‘*’ and the option --lens adds, as its name implies, lens to the retinal area.
So, it loads this image which presents some flares and noise:
The second image is from a different perspective of the same retinal area but has information that the other does not have:
And Voilà they are merged into one! notice how the flares tend to disappear and the lens were added too! Because it is in development it still is not that pretty…
Usage
For help just type in ./imrestore --help, it could not be easier than that! but a demo is available using the jupyter notebook to generate the desired commands to learn or use in the console while still running the program.
Contributions and bug reports are appreciated.
author: David Toro
e-mail: davsamirtor@gmail.com
project: https://github.com/davtoh/RRtools
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for rrtools-1.0.0a2.post3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fac0d9a881ed52ac8644a9f701cd889d7dc8d02c78606b08400b84029678b18 |
|
MD5 | b75dd296db1b70fc35e8e26f703c0260 |
|
BLAKE2b-256 | 047b67a973654af29a0de0ca20650bd14b8fd6b07e5998ef73dc20f1bde0feae |