Skip to content

Commit

Permalink
add setup file
Browse files Browse the repository at this point in the history
  • Loading branch information
isikdogan committed May 6, 2016
1 parent df650d4 commit ca1c0f4
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 23 deletions.
54 changes: 31 additions & 23 deletions README.md
@@ -1,31 +1,40 @@
### RivaMap: An Automated River Analysis and Mapping Engine
# RivaMap: An Automated River Analysis and Mapping Engine

#### Related papers
<small>
* Isikdogan, F., A.C. Bovik, and P. Passalacqua (2016). LarMap: A Framework for Creating Large-scale River Maps using Satellite Imagery, unpublished.
* Isikdogan, F., A.C. Bovik, and P. Passalacqua (2015). Automatic Channel Network Extraction From Remotely Sensed Images by Singularity Analysis, *IEEE Geoscience and Remote Sensing Letters*, 12, 11, 2218-2221. [[**Read at IEEExplore**]](http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=7192616), [[**PDF**]](http://live.ece.utexas.edu/publications/2015/Isikdogan_GRSL_2015_Channel_Network_Extraction.pdf)
</small>
## Related papers
* F. Isikdogan, A.C. Bovik, and P. Passalacqua, "RivaMap: an automated river analysis and mapping engine," *IEEE Transactions on Geoscience and Remote Sensing*, submitted.
* F. Isikdogan, A.C. Bovik, and P. Passalacqua, "Automatic channel network extraction from remotely sensed images by singularity analysis," *IEEE Geoscience and Remote Sensing Letters*, 12, 11, 2218-2221, 2015. [[**Read at IEEExplore**]](http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=7192616), [[**PDF**]](http://live.ece.utexas.edu/publications/2015/Isikdogan_GRSL_2015_Channel_Network_Extraction.pdf)

#### Dependencies
* python 2.7
* numpy
* scipy
* cv2
* matplotlib
* osgeo
## Dependencies and Installation
**Dependencies:**
* OpenCV 2.4
* Python 2.7
* Numpy
* Scipy
* Matplotlib
* GDAL

#### Example Use
For an example use of the framework please see [example.ipynb](./examples/example.ipynb)
**Installing from PyPI:**

#### Example Results
$ sudo pip install rivamap

**Installing from GitHub:**

$ git clone https://github.com/isikdogan/rivamap.git
$ sudo python setup.py install

**Example Use:**

See [example.ipynb](./examples/example.ipynb)

## Example Results

<a href="http://live.ece.utexas.edu/research/cne/img/keithsburg.png"><img src="http://live.ece.utexas.edu/research/cne/img/keithsburg.png" alt="Example Result" height="250"></a>
<a href="http://live.ece.utexas.edu/research/cne/img/waxlake.png"><img src="http://live.ece.utexas.edu/research/cne/img/waxlake.png" alt="Example Result" height="250"></a>
<a href="http://live.ece.utexas.edu/research/cne/img/mississippi.png"><img src="http://live.ece.utexas.edu/research/cne/img/mississippi.png" alt="Example Result" height="250"></a>
<a href="http://live.ece.utexas.edu/research/cne/img/channelmapoverlaid.png"><img src="http://live.ece.utexas.edu/research/cne/img/ganges.png" alt="Example Result" height="250"></a>

#### Reference
<small>
## Reference

<table>
<tbody>
<tr>
Expand Down Expand Up @@ -195,11 +204,11 @@ For an example use of the framework please see [example.ipynb](./examples/exampl
</td>
<td>
<p>
Reads metadata from a geotiff file.
Reads metadata from a GeoTIFF file.
</p>
<p>
Inputs:<br/>
filepath: path to the file
filepath: the path to the file
</p>
<p>
Returns:<br/>
Expand All @@ -215,7 +224,7 @@ For an example use of the framework please see [example.ipynb](./examples/exampl
</td>
<td>
<p>
Saves a raster image as a geotiff file
Saves a raster image as a GeoTIFF file
</p>
<p>
Inputs:<br/>
Expand Down Expand Up @@ -281,7 +290,7 @@ For an example use of the framework please see [example.ipynb](./examples/exampl
Inputs:<br/>
centerlines: a binary matrix that indicates centerline locations<br/>
widthMap: estimated width at each spatial location (x,y)<br/>
gm: georeferencing metadata filepath: path to the file
gm: georeferencing metadata filepath: the path to the file
</p>
</td>
</tr>
Expand Down Expand Up @@ -362,4 +371,3 @@ For an example use of the framework please see [example.ipynb](./examples/exampl
</tr>
</tbody>
</table>
</small>
23 changes: 23 additions & 0 deletions setup.py
@@ -0,0 +1,23 @@
import os
from setuptools import setup

def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
name = 'rivamap',
version = '1.0',
author = 'Leo Isikdogan',
author_email = 'leo@isikdogan.com',
description = ('An automated river analysis and mapping engine.'),
keywords = 'remote sensing, landsat, satellite, river',
url = 'https://github.com/isikdogan/rivamap',
packages = ['rivamap'],
long_description = 'See project webpage for details: http://live.ece.utexas.edu/research/cne/',
classifiers=[
'Development Status :: 4 - Beta',
'Topic :: Utilities',
'Programming Language :: Python :: 2.7',
],
install_requires=['numpy', 'scipy', 'matplotlib', 'gdal'],
)

0 comments on commit ca1c0f4

Please sign in to comment.