Coder Social home page Coder Social logo

jeolib-jiplib's Introduction

jiplib

jiplib is a C++ library with a Python wrapper for image processing for geospatial data implemented in JRC Ispra. Python users are encouraged to use pyjeo that is built upon this library.

License

jiplib is released under the GPLv3 license.

Dependencies

libraries:

Installation procedure

Install dependency libraries (example for Debian based system using apt)

sudo apt install -yq \
  build-essential \
  cmake \
  libgsl-dev \
  libfann-dev \
  libgdal-dev \
  libjsoncpp-dev \
  libpython3-dev \
  python3-numpy \
  python3-pip \
  libboost-filesystem-dev  \
  libboost-serialization-dev \
  swig

Build and install miallib

Get the source code from miallib, to create the library:

git clone https://github.com/ec-jrc/jeolib-miallib.git
cd jeolib-miallib
mkdir build
cd build
cmake ..

or without sudo rights, replace the last command with:

cmake -DCMAKE_INSTALL_PREFIX=/home/user/install/miallib ..

Build the miallib library:

cmake --build .

Install the miallib library (remove sudo to install without sudo rights):

sudo cmake --install .

Build and install jiplib

Get the source code from jiplib:

git clone https://github.com/ec-jrc/jeolib-jiplib.git
cd jeolib-jiplib
mkdir build
cd build
cmake ..

or without sudo rights, replace the last command with:

cmake -DCMAKE_PREFIX_PATH=/home/user/install/miallib -DCMAKE_INSTALL_PREFIX=/home/user/install/jiplib ..

Build the jiplib library and create a python wheel:

cmake --build .

Install the jiplib library:

cmake --install .

To only install the Python bindings using the wheel that has been built:

cmake --install . --component wheels

Test the installation

From the build directory, run:

ctest .

Build documentation (deprecated, users are encouraged to use pyjeo documentation)

Go to directory doc and run make html.

cd doc
make html

jeolib-jiplib's People

Contributors

kempenep avatar pesekon2 avatar pirjjp avatar pmav99 avatar soille avatar

Watchers

 avatar  avatar  avatar

Forkers

fpl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.