The code has been developed to characterize images of bubble
rafts and may be directly applicable to many other granular
type systems with little or no modification..
Single images are used to compute many static properties
such as polydispersity, nearest and next nearest neighbors. The
dynamics include Particle Image Velocimetry and also locates T1
events occuring between frames.
The code listed is written in Matlab (tested on version 7.6