Giter Site home page Giter Site logo

pkestene / xsmurf Goto Github PK

View Code? Open in Web Editor NEW
8.0 6.0 4.0 2.7 MB

a wavelet-based multifractal image analysis tool implementing the WTMM (Wavelet Transform Modulus Maxima) method.

License: GNU General Public License v2.0

Shell 0.01% C 61.40% C++ 0.63% Tcl 30.27% Makefile 0.19% Scilab 0.05% M4 3.27% Roff 3.54% Python 0.47% Objective-C 0.16%
multifractal-analysis tcl wavelet modulus-maxima tk continuous-wavelet fractal multifractal wtmm singularity-spectrum

xsmurf's Introduction

DOI

What is xsmurf ?

Xsmurf is a C/Tcl/Tk software implementation of the image processing WTMM method used to perform multifractal analysis. WTMM stands for Wavelet-based Modulus Maxima.

See the following article about multifractal analysis.

http://www.scholarpedia.org/article/Wavelet-based_multifractal_analysis

Before installing Xsmurf

External libraries

Required

Tcl/Tk (with header files), libfftw (single precision), libjpeg, libmatheval (with headers), X11 (libxi-dev, libxt-dev, ...)

On Ubuntu/Debian like system:

   sudo apt-get install automake libtool pkg-config autoconf autoconf-archive
   sudo apt-get install libfftw3-dev tcl8.5-dev tk8.5-dev libmatheval-dev libjpeg-dev
   sudo apt-get install libx11-dev libxi-dev libxt-dev libxmu-dev libxau-dev

Notice: make sure that library fftw 3.x is installed with float enabled (symbol FFTW_ENABLE_FLOAT must be defined). This is OK, if you installed FFTW3 using apt-get, but if you installed it from sources, make sure to have used option '--enable-float' when configuring fftw3 sources:

./bootstrap.sh
./configure --enable-float --prefix=/some/directory --enable-shared --disable-static --enable-type-prefix
make
make install

OPTIONNAL

libvtk5

vtk-tcl (tcl bindings for libvtk)

Tcllib

XSMURF INSTALLATION

Configure

Execute following commands:

	./configure --with-tcl=/usr/lib/tcl8.5 --with-tk=/usr/lib/tk8.5 --with-hdf5=no

Build

   make
   # additionnal extra step
   cp ./main/smurfrc ~/.smurfrc

Run

launch executable (launch tk console with our customized tcl interpreter)

  ./main/xsmurf

Documentation

Have a look at documentation

doc/examples contains a few commented scripts to use the tools

doc/templates contains full template project for analyzing 2d/3d
scalar/vector-valued data

doc/tutorial contains a few examples that can be used as templates
for you own 2D/3D scalar/vector field study

doc/tutorial_tcl contains a copy of the TCL language tutorial by
Clif Flynt (http://www.msen.com/~clif/TclTutor.html) 

doc/tcldoc contains documentation generated by the tool tcldoc for all
the tcl-based commands defined in scripts in the tcl_library
sub-directory

To have more info about TkCon: [in french] http://wfr.tcl.tk/fichiers/pub/CoursTkCon.pdf http://wfr.tcl.tk/282

Tutorial

See directory doc/templates which contains example Tcl scripts to perform WTMM analysis.

xsmurf's People

Contributors

fnguyen01 avatar pkestene avatar thetypomaster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

xsmurf's Issues

Loading from NetCDF

A function to load vector fields from a NetCDF file, given some assumptions, would be useful.

Installation issue

The readme file suggests excecuteing the following line for configureing:
./configure --with-tcl=/usr/lib/tcl8.5 --with-tk=/usr/lib/tk8.5 --with-hdf5=no

However, the "configure" file does not exist. Is there another step before this one for building this file?

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.