A preprocessing mechanism automatically processes a video sequence in order to obtain a set of views suitable for structure from motion processing. The output regulator including a power stage to generate a power output from the input voltage. Then, in accordance with the characteristics of the image process to be performed, a several line portion of the image data stored in the buffer is read out and subjected to a magnification process in the X direction; the processed image data is stored temporarily in another buffer, and further subjected to a magnification process in the Y direction.