1. An apparatus, comprising: an image sensor; an image signal processor; and a system memory; wherein the image signal processor is configured to: receive data representing an image from the image sensor; determine motion for the image represented by the received data; apply one or more perspective transformations to the received data to produce modified image data, wherein the one or more perspective transformations are based on the determined motion; generate an output image based on the modified image data, wherein to apply the one or more perspective transformations, the image signal processor is further configured to: logically divide the output image into one or more horizontal slices; determine, for each horizontal slice, one or more transformation parameters based on the determined motion; and subsequent to applying the perspective transformations, provide the modified image data to the system memory.