Git Product home page Git Product logo

scikits-vectorplot's Introduction

vectorplot: Vector Fields Visualization Algorithms

Author: Anne Archibald

Line Integral Convolution

The Line Integral Convolution (LIC) is an algorithm used to image a vector field. Its main advantage is to show in intricate detail the fine structure of the vector field. It does not display the direction or magnitude of the vectors, although this information can be color coded in a postprocessing step.

Assume we have a texture F and vector components v_x and v_y. The LIC algorithm is a mapping of F to F' that blurs F along the direction of the vector. It works by computing a local streamline for each pixel in F. Imagine that we place a particle at position (i,j) in the vector field, the streamline is the successive location of this particle forward and backward in time. The corresponding pixel in F' is given by the convolution of the texture along the streamline with a user defined kernel.

The result of course depends on the shape of the kernel and the length of the streamline. If it is too small, the texture is not sufficiently filtered and the motion is not clear. If it is too large, the image is smoothed and details of the motion are lost. For an image of size (256, 256), a value of 20 provides acceptable results.

References

Cabral, Brian and Laeith Leedom. Imaging vector fields using line integral convolution. SIGGRAPH '93: Proceedings of the 20th annual conference on Computer graphics and interactive techniques, pages 263-270, 1993.

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.