LMabs (Matlab version)  Jeppe Revall Frisvad
 Abstract  This source code implements LorenzMie theory using the
formulas presented in the SIGGRAPH 2007 paper
Computing the Scattering Properties of Participating Media
Using LorenzMie Theory
By authors: Jeppe Revall Frisvad, Niels Jørgen Christensen, Henrik Wann Jensen
Some notes on which files to use:
 The script mini_milk.m is an example of how to call the function that predicts the optical properties of a particular milk product.
 The script plot_LM_phase.m illustrates how to compute the phase function of a specific particle (using a casein micelle and a fat globule as examples).
 The function that predicts the optical properties of milk is in milk.m.
 The LorenzMie theory is spread out in a number of smaller functions (of which particle_props and LorenzMie are the ones to call if you want to work with new materials).
The code is very slow compared to the C++ version because Matlab does not like forloops.
Vectorizing the code is not straight forward because it is based on recurrence formulae.
Thus, some patience is required if you want to make a many predictions.
Permission is granted to anyone to use this code as
software for any purpose, including commercial applications.
However, the software is provided 'asis' without any warranty.  Keywords  absorbing host medium, LorenzMie theory, participating media, optical properties  Type  Software  Year  2013 Month June  Publisher  Technical University of Denmark  Electronic version(s)  [zip]  Publication link  http://people.compute.dtu.dk/jerf/code/  BibTeX data  [bibtex]  IMM Group(s)  Image Analysis & Computer Graphics 
Back :: IMM Publications
