Image compositing using dominant patch transformations

Patch-based synthesis can produce composites with smooth transition regions even though source images have inconsistent textures and structures, but it often suffers blur and small misaligned textures caused by inaccurate patch matching. We present a method to improve patch-based image compositing by using dominant geometric patch transformations (including patch offsets, rotations and scales). When searching for the nearest patches from matching sources, we observed that the patch transformations are sparsely distributed, and thus dominant transformations could be found from statistics of patch transformations to represent prominent patterns of patch matching. By combining dominant transformations with neighborhood searching, the accuracy of patching matching is improved. The computational cost also decreases as the patch search space is limited to a few dominant transformations and their neighborhoods. The experiments demonstrate that the improved patch matching alleviates blur and aligns small misaligned textures better in image compositing. In addition, the composite obtained by our method is consistent with the target image in color contrast. The running time of our method achieves up to 3x speedup compared to the approach based on the randomized patch searching.

[2]  Michael F. Cohen,et al.  Fourier Analysis of the 2D Screened Poisson Equation for Gradient Domain Problems , 2008, ECCV.

[3]  Eli Shechtman,et al.  Space-Time Completion of Video , 2007, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[4]  David Salesin,et al.  A Bayesian approach to digital matting , 2001, Proceedings of the 2001 IEEE Computer Society Conference on Computer Vision and Pattern Recognition. CVPR 2001.

[5]  Michal Irani,et al.  Internal statistics of a single natural image , 2011, CVPR 2011.

[6]  Adam Finkelstein,et al.  PatchMatch: a randomized correspondence algorithm for structural image editing , 2009, SIGGRAPH 2009.

[7]  Adam Finkelstein,et al.  The Generalized PatchMatch Correspondence Algorithm , 2010, ECCV.

[8]  Jian Sun,et al.  Statistics of Patch Offsets for Image Completion , 2012, ECCV.

[9]  Eli Shechtman,et al.  Image melding , 2012, ACM Trans. Graph..

[10]  P. J. Narayanan,et al.  Mixed-Resolution Patch-Matching , 2012, ECCV.

[11]  Shai Avidan,et al.  Coherency Sensitive Hashing , 2011, ICCV.

[12]  Denis Simakov,et al.  Summarizing visual data using bidirectional similarity , 2008, 2008 IEEE Conference on Computer Vision and Pattern Recognition.

[13]  Nanning Zheng,et al.  Learning to Detect A Salient Object , 2007, 2007 IEEE Conference on Computer Vision and Pattern Recognition.

[14]  Patrick Pérez,et al.  Poisson image editing , 2003, ACM Trans. Graph..

[15]  Jian Sun,et al.  Drag-and-drop pasting , 2006, SIGGRAPH 2006.

[16]  Guillermo Sapiro,et al.  A Comprehensive Framework for Image Inpainting , 2010, IEEE Transactions on Image Processing.

[17]  Jian Sun,et al.  Computing nearest-neighbor fields via Propagation-Assisted KD-Trees , 2012, 2012 IEEE Conference on Computer Vision and Pattern Recognition.

[18]  Michael F. Cohen,et al.  Optimized Color Sampling for Robust Matting , 2007, 2007 IEEE Conference on Computer Vision and Pattern Recognition.

[19]  Dani Lischinski,et al.  A Closed-Form Solution to Natural Image Matting , 2008 .

[20]  Sylvain Paris,et al.  Error-Tolerant Image Compositing , 2010, ECCV.

[21]  Alexei A. Efros,et al.  Photo clip art , 2007, SIGGRAPH 2007.

[22]  Nanning Zheng,et al.  Learning to Detect a Salient Object , 2011, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[23]  Deepu Rajan,et al.  Weighted color and texture sample selection for image matting , 2012, CVPR.

[24]  Guillermo Sapiro,et al.  A Variational Framework for Exemplar-Based Image Inpainting , 2011, International Journal of Computer Vision.

[25]  David Salesin,et al.  Interactive digital photomontage , 2004, SIGGRAPH 2004.

[26]  Jaakko Astola,et al.  From Local Kernel to Nonlocal Multiple-Model Image Denoising , 2009, International Journal of Computer Vision.

[27]  Wojciech Matusik,et al.  Multi-scale image harmonization , 2010, SIGGRAPH 2010.

[28]  Irfan A. Essa,et al.  Graphcut textures: image and video synthesis using graph cuts , 2003, ACM Trans. Graph..

[29]  Shree K. Nayar,et al.  What Is a Good Nearest Neighbors Algorithm for Finding Similar Patches in Images? , 2008, ECCV.