A comparison of different focus functions for use in autofocus algorithms | Synapse