Functionized optical flow for more ease of use