Convert image functions to filters