1. A method, comprising: processing, by one or more computing devices, a light-field image to generate a processed light-field image, wherein the light-field image comprises a plurality of microimages, wherein dimensions of the microimages are different than blocking dimensions used by an image processing technique, and wherein said processing comprises: estimating a microimage period for the light field image, wherein the microimage period indicates vertical and horizontal distances between the microimages in the light field image; locating each microimage in the light field image according to the microimage period; at each located microimage, extracting a microimage block from the light field image according to the microimage period; resizing each extracted microimage block according to the blocking dimensions; and storing each resized microimage block to a respective location in the processed light-field image according to the blocking dimensions.