Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes


includes main-level program

Example program demonstrating the use of MG_LIC. Run the main-level example program with:

IDL> .run mg_lic
The first image is the direct output of MG_LIC:

The next image introduces color by using HSV color coordinates with hue equal to red, saturation equal to the vector field magnitude, and value equal to MG_LIC output:

The third image uses a color table to display the magnitude over the MG_LIC output:

The second set of images are done with a smoothed instead of a random texture:


top mg_lic

mg_lic, u, v [, texture=bytarr(m, n)]

Compute the line integral convolution for a vector field.


u in required type=fltarr(m, n)

x-coordinates of vector field

v in required type=fltarr(m, n)

y-coordinates of vector field


texture in optional type=bytarr(m, n)

random texture map; it is useful to use the same texture map for generating frames of a movie

File attributes

Modification date: Wed May 14 15:07:15 2014
Lines: 80
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.