Simplified calculation of phase weights (lambda in paper) for edge and ridge detection.