Image processing for seed images
Project description
# Sid
## Image processing for seed images
smddms`
oN. /Mo
/hm/ -mh-
oN+` `oN+
`Mo oh
:Mmsyysssyys/mN-
`Nmdo.`````./hdNy
Nh` ``ms
hm`` `-M/
+Mmm+ `hmNN`
:+my .Mds-
.:oyyys. :oyyyo/-`
/hhs:.` `.:oyds.
/M/` .dd
hd :M.
`N/ N+
:M` +. `y. yh
sm +N` om` +M`
my .N+ `my .M:
`M: yd /M: ds
:m od/` `:hh- sd
oN-` -hds+oyy+``/yhssyhh: `.dm
.+mNmho:.`-+++NMMmmMMMo-:-`./ohddNy-`
`/ydo- ./ohhy+:+NMMMMMMMo+sydds/. -oddo-`
-sds: `-:///////////::-` -odh+`
.yd/` -ym:
md sN
hm-` -dh
+hmmddddhhhhhhhhhhhhhhhhhhhhhyyyyyyyyyyyyyyhhhy/
Python script for image processing of plant seed images, specifically _Lamium amplexicaule_.
[![PyPI](https://img.shields.io/pypi/v/Sid.svg)](https://pypi-hypernode.com/pypi/Sid/)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/Sid.svg)](https://pypi-hypernode.com/pypi/Sid/)
[![License](https://img.shields.io/pypi/l/Sid.svg)](https://github.com/yoavram/Sid/blob/master/LICENCE.txt)
[![Build Status](https://travis-ci.org/yoavram/Sid.svg)](https://travis-ci.org/yoavram/Sid)
[![codecov.io](http://codecov.io/github/yoavram/Sid/coverage.svg?branch=master)](http://codecov.io/github/yoavram/Sid)
## Requirements
- Python 2.7
- PIL/Pillow
- numpy
- scipy.ndimage
- scikit-image
- matplotlib
- watchdog
- click
For testing and documentation:
- nose
- coverage
- sphinx
## Install
1. Install the [Anaconda Python 2.7 distribution](https://www.continuum.io/downloads).
1. Install Sid using pip:
```
pip install Sid
```
1. Check that Sid was installed properly:
```
take_cover --version
```
### Developers
Sid can also be used by cloning the repository, usually for developing purposes:
```
git clone https://github.com/yoavram/Sid.git
```
or by downloading the repository as a [zip file](https://github.com/yoavram/Sid/archive/master.zip).
## Usage
### take_cover
Use by running:
```
take_cover
```
The script will first ask for a folder name - this will be the working directory from which the script will read _jpg_ files and to which it will write _png_ and _csv_ files.
The script will then ask if the folder should be prcoessed Continuously or once.
For more options, see the help message:
```
take_cover --help
```
## Continuous processing
In this case the script will wait for new _jpg_ files in the folder. When a new _jpg_ file is created, the script will process it, creating _png_ files with the color spaces and the segmentation checkpoints, open the segmentation image, and will print the final stats to the screen.
## Single processing
In this case the script will go over all _jpg_ files in the folder and process them. It will produce _png_ files with the color spaces and the segmentation checkpoints and two _csv_ files: one with the final stats for each _jpg_ file and one with the histograms that were used to find the features on the seed (background, eliosom, cover).
### take_cover.json
This is the configuration file which includes values of different parameters of the algorithm, including segmentation thresholds.
## Support
Don't hesitate to contact [Yoav Ram](http://www.yoavram.com) for questions and help.
Bugs and feature requests can be opened on [GitHub](https://github.com/yoavram/Sid/issues)
[![GitHub issues](https://img.shields.io/github/issues/yoavram/Sid.svg)](https://github.com/yoavram/Sid)
## License
Sid source code and examples are licensed under the terms of the [MIT license](http://opensource.org/licenses/MIT).
Sid documentation, examples, and other materials are licensed under the terms of the [Creative Commons Attribution 4.0 International (CC BY 4.0) license](https://creativecommons.org/licenses/by/4.0/).
## Image processing for seed images
smddms`
oN. /Mo
/hm/ -mh-
oN+` `oN+
`Mo oh
:Mmsyysssyys/mN-
`Nmdo.`````./hdNy
Nh` ``ms
hm`` `-M/
+Mmm+ `hmNN`
:+my .Mds-
.:oyyys. :oyyyo/-`
/hhs:.` `.:oyds.
/M/` .dd
hd :M.
`N/ N+
:M` +. `y. yh
sm +N` om` +M`
my .N+ `my .M:
`M: yd /M: ds
:m od/` `:hh- sd
oN-` -hds+oyy+``/yhssyhh: `.dm
.+mNmho:.`-+++NMMmmMMMo-:-`./ohddNy-`
`/ydo- ./ohhy+:+NMMMMMMMo+sydds/. -oddo-`
-sds: `-:///////////::-` -odh+`
.yd/` -ym:
md sN
hm-` -dh
+hmmddddhhhhhhhhhhhhhhhhhhhhhyyyyyyyyyyyyyyhhhy/
Python script for image processing of plant seed images, specifically _Lamium amplexicaule_.
[![PyPI](https://img.shields.io/pypi/v/Sid.svg)](https://pypi-hypernode.com/pypi/Sid/)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/Sid.svg)](https://pypi-hypernode.com/pypi/Sid/)
[![License](https://img.shields.io/pypi/l/Sid.svg)](https://github.com/yoavram/Sid/blob/master/LICENCE.txt)
[![Build Status](https://travis-ci.org/yoavram/Sid.svg)](https://travis-ci.org/yoavram/Sid)
[![codecov.io](http://codecov.io/github/yoavram/Sid/coverage.svg?branch=master)](http://codecov.io/github/yoavram/Sid)
## Requirements
- Python 2.7
- PIL/Pillow
- numpy
- scipy.ndimage
- scikit-image
- matplotlib
- watchdog
- click
For testing and documentation:
- nose
- coverage
- sphinx
## Install
1. Install the [Anaconda Python 2.7 distribution](https://www.continuum.io/downloads).
1. Install Sid using pip:
```
pip install Sid
```
1. Check that Sid was installed properly:
```
take_cover --version
```
### Developers
Sid can also be used by cloning the repository, usually for developing purposes:
```
git clone https://github.com/yoavram/Sid.git
```
or by downloading the repository as a [zip file](https://github.com/yoavram/Sid/archive/master.zip).
## Usage
### take_cover
Use by running:
```
take_cover
```
The script will first ask for a folder name - this will be the working directory from which the script will read _jpg_ files and to which it will write _png_ and _csv_ files.
The script will then ask if the folder should be prcoessed Continuously or once.
For more options, see the help message:
```
take_cover --help
```
## Continuous processing
In this case the script will wait for new _jpg_ files in the folder. When a new _jpg_ file is created, the script will process it, creating _png_ files with the color spaces and the segmentation checkpoints, open the segmentation image, and will print the final stats to the screen.
## Single processing
In this case the script will go over all _jpg_ files in the folder and process them. It will produce _png_ files with the color spaces and the segmentation checkpoints and two _csv_ files: one with the final stats for each _jpg_ file and one with the histograms that were used to find the features on the seed (background, eliosom, cover).
### take_cover.json
This is the configuration file which includes values of different parameters of the algorithm, including segmentation thresholds.
## Support
Don't hesitate to contact [Yoav Ram](http://www.yoavram.com) for questions and help.
Bugs and feature requests can be opened on [GitHub](https://github.com/yoavram/Sid/issues)
[![GitHub issues](https://img.shields.io/github/issues/yoavram/Sid.svg)](https://github.com/yoavram/Sid)
## License
Sid source code and examples are licensed under the terms of the [MIT license](http://opensource.org/licenses/MIT).
Sid documentation, examples, and other materials are licensed under the terms of the [Creative Commons Attribution 4.0 International (CC BY 4.0) license](https://creativecommons.org/licenses/by/4.0/).
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
Sid-0.2.0.tar.gz
(254.1 kB
view details)
Built Distributions
Sid-0.2.0-py2.7.egg
(246.0 kB
view details)
Sid-0.2.0-py2-none-any.whl
(237.2 kB
view details)
File details
Details for the file Sid-0.2.0.tar.gz
.
File metadata
- Download URL: Sid-0.2.0.tar.gz
- Upload date:
- Size: 254.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96527424ba9a6d1b2d0ceb317a49e3e35745284d685e8e6ac552c5c0723c6d25 |
|
MD5 | dadb7a4c5f324062eb9d7b44bb895913 |
|
BLAKE2b-256 | c25a3ed03d92c0ec2115b0b150a128a29bb325132f9f2aae1465238a92134c9a |
File details
Details for the file Sid-0.2.0-py2.7.egg
.
File metadata
- Download URL: Sid-0.2.0-py2.7.egg
- Upload date:
- Size: 246.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2c32d88b52976cc70b60b1c4aeefec800cefbf3cae41fdab658e5766ca2cc2a |
|
MD5 | 79a0f5fcee490693cc5954d1ddd35b77 |
|
BLAKE2b-256 | 588ed12da580fe33b10f9b5c9885e7317e499fe7ea5aa9634102a9a3c8fe2344 |
File details
Details for the file Sid-0.2.0-py2-none-any.whl
.
File metadata
- Download URL: Sid-0.2.0-py2-none-any.whl
- Upload date:
- Size: 237.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b213be22fcba38df175b50b27688547fbacc896d01c4e97a9a0ef533057c945f |
|
MD5 | 051606622b10077cc7aeb5b753ef39e5 |
|
BLAKE2b-256 | f9fe3664ea18bdef7de16f49ccd791466bcdde94e6df8b9d7db45f635a6c4fb5 |