Giter Club home page Giter Club logo

astex's Introduction

ASTex

ASTex is an open-source library for texture analysis and synthesis. The term “texture” must be understood as in computer graphics. The purpose of this library is to support collaborative coding and to allow for comparison with recently published algorithms.

Installation

Dependencies:

To compile and use ASTex, you need some libraries:

  • ITK 4.10 min (4.13 recom)
  • zlib
  • openexr for saving/loading images in floating point format.

You need some classic development tools (minimal supported version)

  • git
  • cmake 3.0 min
  • a recent C++ compiler
    • g++ 4.9 5 6 7.3
    • clang 3.3
    • Visual Studio C++ 2015 /2017

Linux

Just install packages:

  • libinsighttoolkit4-dev (4.10 min)
  • libpng-dev
  • libopenexr-dev

Mac OS/X

The most simple way to install dependencies is to use homebrew package system. Then you can install the dependencies:

  • brew install insighttoolkit
  • brew install openexr
  • brew install libpng

Windows

Softwares:

  • VisualStudio C++ (2015 min)
  • CMake (3.0 min)
  • jom (already installed if you have QtCreator) for multi-threaded compilation of dependencies
  • ninja (accessible by PATH)

Automatic install of deps

  • use cmake with Install_windows dir
  • see local README
  • WARNING due to a limitation in Visual-Studio, source and build (of itk) directory path should not be too long (50 char) !

Data

Some tests, tutorials and algorithms use read example images and write some results. In order to keep original Data directory of ASTex clean we use a copy which pass can be choosen at cmake configuration stage.

You have to copy yourself the contain of the Data directory in to the right place (see ASTEX_TEMPO_PATH clake variable).

Compilation

on Linux & Mac

Use CMake as usual:

  • create a build directory as same level than ASTex (ASTex-build or ASTex-buildDebug for example)
  • go inside build directory and do cmake ../ASTex (or use gui)
  • or let (a recent) Qtcreator do the job !

on Windows + VisualStudio

  • build directory has been createde by install script
  • use CMake-gui to customize the build
  • then launch Visual and load ASTex solution which has been generated in the build directory

CMake Options

There are some original options/values that can be set at the cmake stage:

  • ASTEX_ALGO_xxx choose to build the different implemented algorithms.
  • ASTEX_BUILD_xxx choose to build bench/tuto/test
  • ASTEX_PERSO_xxx for each directory added in ASTex that contain a CMakeLists.txt set this to ON to build. When you add a directory just relaunch cmake.
  • ASTEX_TEMPO_PATH path of directory use to store images for test and tuto (copy ASTex/Data into it)
  • ASTEX_USE_CPP14 set this to ON if VXL say that you are using a C++ standard version older than the one used ton compile the lib.

Contributing to ASTex

All contributions to ASTex are welcome and will be examined.

To contribute:

  • you need a github account.
  • fork ASTex repository on your account
  • create a branch from the develop one
  • develop your contribution
  • do pull-request on ASTex/develop branch

astex's People

Contributors

sylvainthery avatar

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.