Principle of least action in dynamically configured image analysis systems | Synapse