-
Notifications
You must be signed in to change notification settings - Fork 11
Home
Simon Legrand edited this page Feb 13, 2015
·
10 revisions
Welcome to the PyMongeAmpere wiki!
First of all, you have to download MongeAmpere. Note that it's not necessary to compile it. Then go into the same directory as MongeAmpere and type in a terminal:
git clone https://github.com/mrgt/PyMongeAmpere.git
cd PyMongeAmpere && git submodule update --init --recursive
Once you have installed all the dependencies, as explained here, building is rather straightforward. Create a out-of-source build folder and then configure (using cmake) and build :
cd /path/to/PyMongeAmpere/..
mkdir PyMongeAmpere-build && cd PyMongeAmpere-build
cmake ../PyMongeAmpere
make
The directory examples/
contains several examples on how to use the PyMongeAmpere API. To check that everything works properly you can try the following command, which by default produces and displays an optimized sampling of the Lena picture:
cd examples
python bluenoise.py