The algorithm is based on the sextractor algorithm with a few modifications for low backgrounds (as in the UV).