WIP: functional image processing section