pass image to filter