Transform Recipes
for Efficient Cloud Photo Enhancement
Cloud image processing is often proposed as a solution to the limited computing power and battery life of mobile devices: it allows complex algorithms to run on powerful servers with virtually unlimited energy supply. Unfortunately, this overlooks the time and energy cost of uploading the input and downloading the output images. When transfer overhead is accounted for, processing images on a remote server becomes less attractive and many applications do not benefit from cloud offloading. We aim to change this in the case of image enhancements that preserve the overall content of an image. Our key insight is that, in this case, the server can compute and transmit a description of the transformation from input to output, which we call a transform recipe. At equivalent quality, our recipes are much more compact than JPEG images: this reduces the client's download. Furthermore, recipes can be computed from highly compressed inputs which significantly reduces the data uploaded to the server. The client reconstructs a high-fidelity approximation of the output by applying the recipe to its local high-quality input. We demonstrate our results on 168 images and 10 image processing applications, showing that our recipes form a compact representation for a diverse set of image filters. With an equivalent transmission budget, they provide higher-quality results than JPEG-compressed input/output images, with a gain of the order of 10 dB in many cases. We demonstrate the utility of recipes on a mobile phone by profiling the energy consumption and latency for both local and cloud computation: a transform recipe-based pipeline runs 2-4x faster and uses 2-7x less energy than local or naive cloud computation.
@article{Gharbi:2015:TRE:2816795.2818127, author = {Gharbi, Micha\"{e}l and Shih, YiChang and Chaurasia, Gaurav and Ragan-Kelley, Jonathan and Paris, Sylvain and Durand, Fr{\'e}do}, title = {Transform Recipes for Efficient Cloud Photo Enhancement}, journal = {ACM Trans. Graph.}, issue_date = {November 2015}, volume = {34}, number = {6}, month = oct, year = {2015}, issn = {0730-0301}, pages = {228:1--228:12}, articleno = {228}, numpages = {12}, url = {http://doi.acm.org/10.1145/2816795.2818127}, doi = {10.1145/2816795.2818127}, acmid = {2818127}, publisher = {ACM}, address = {New York, NY, USA}, keywords = {energy-efficient cloud computing, image filter approximation, mobile image processing}, }
We thank the SIGGRAPH reviewers for their constructive comments. This work was partially funded by the Qatar Computing Research Institute, DARPA agreement FA8750-14-2-0009, the Stanford Pervasive Parallelism Lab and a gift from Adobe.