Hi

Thank you for downloading the RCMG code. A brief description of the files is given below.

The file rcmg.c contains a fast implementation of the rcmg operator that updates the
distances between all pixels in the mask rather than recalculating for every pixel.

rcmgmex.c contains the mex wrapper and rcmg.m provides help information on the inputs and
outputs. These work under Matlab R2007a.

For simplicity, in this implementation only the L2 norm is used. If you require other
distance metrics to be used the the functions to modify are "l2norms" and "updatel2norms".

If you find the code useful, find any errors or wish to dontate any additional functions
or wrappers please contact me by email. However please note that, being an academic, I
am not willing to provide any technical support for the code, so please don't even ask!


Adrian Evans <A.N.Evans@bath.ac.uk>

August 2007
