计算机科学 ›› 2015, Vol. 42 ›› Issue (9): 289-292.doi: 10.11896/j.issn.1002-137X.2015.09.057

• 图形图像与模式识别 • 上一篇    下一篇

基于缝裁剪和变形的图像缩放方法

林晓,张晓煜,马利庄   

  1. 洛阳师范学院信息技术学院 洛阳471022;上海交通大学电子信息与电气工程学院 上海200240,郑州航空工业管理学院计算机科学与应用系 郑州450015,上海交通大学电子信息与电气工程学院 上海200240
  • 出版日期:2018-11-14 发布日期:2018-11-14
  • 基金资助:
    本文受国家自然科学基金项目(U1304616,61133009),国家“九七三”重点基础研究发展规划项目基金(2011CB302203),上海市科委2013年度“科技创新行动计划”信息技术领域项目(13511505000)资助

Image Resizing Based on Seam Carving and Warping

LIN Xiao, ZHANG Xiao-yu and MA Li-zhuang   

  • Online:2018-11-14 Published:2018-11-14

摘要: 提出一种既能保持图像重要内容又能较好地保持重要物体形状的图像缩放算法。该方法结合传统的缝裁剪技术和变形技术来对图像进行缩放。首先利用当前公认效果良好的基于图模型的流形排序显著性检测算法得到图像的显著度图,结合图像梯度能量等信息来构造结构更为清晰的图像重要度图;其次利用之前构造的图像重要度图并按缩放尺度的大小来确定适当的缩放方法;最后根据度量比较结果来选择经典缝裁剪方法或基于能量优化的变形方法进行图像缩放。对比实验结果表明,该方法在图像缩放时能保持重要内容和显著物体形状结构。

关键词: 重要度图,缝裁剪,变形,图像缩放

Abstract: This paper presented an image resizing method which can preserve the content and the shape of salient objects.Image can be resized by using traditional seam carving and warping techniques.First,the proposed method produces the significant map of clear shape and structure by combining the saliency detection via graph-based manifold ranking and gradient energy information.And then appropriate resizing methods are determined according to the size of the resizing scale by using the former significant map.Finally,image can be resized by the classic seam carving method or the resizing method of deformation based on energy optimization according to the comparison results.A lot of comparison results show that the method can keep both important content and shape and structure of salient objects.

Key words: Significant map,Seam carving,Warping,Image resizing

[1] Avidan S,Shamir A..Seam carving for content-aware image resizing[J].ACM Trans Graph,2007,26(3):1-9
[2] Rubinstein M,Shamir A,Avidan S.Improved seam carving for video retargeting[J].ACM Trans Graph,2008,27(3):1-9
[3] Noh H,Han B.Seam carving with forward gradient difference maps[C]∥The 20th ACM International Conference on Multimedia.Nara,Japan,2012:709-712
[4] Lin X,Sheng B,Ma L Z,et al.Seamlet Carving for Shape-Aware Image Resizing[J].Science China(Information Sciences),2012,55(5):1073-1081
[5] Liu Z,Yan H B,Shen L Q,et al.Adaptive image retargetingusing saliency-based continuous seam carving[J].Optical Engineering,2010,49(1):1-10
[6] Cao L C,Wu L F,Wang J Q.Fast seam carving with strip constraints[C]∥The 4th International Conference on Internet Multimedia Computing and Service.Wuhan,China,2012:148-152
[7] Zhang G X,Cheng M M,Hu S M,et al.A Shape-Preserving Approach to Image Resizing[J].Computer Graphics Forum,2009,28(7):1897-1906
[8] 雷励星.基于混合能量的内容敏感图像缩放新方法[J].计算机学报,2010,33(10):2015-2021 Lei Li-xing.Content-Aware Image Resizing Based on Hybrid Energy[J].Chinese Journal of Computers,2010,33(10):2015-2021
[9] Niu Y Z,Liu F,Li X Q,et al.Image resizing via non-homoge-neous warping[J].Multimedia Tools and Applications,2012,56(3):485-508
[10] Jin Y,Liu L G,Wu Q B.Nonhomogeneous scaling optimization for realtime image resizing[J].The Visual Computer,2010,26(6-8):769-778
[11] Rubinstein M,Shamir A,Avidan S.Multi-operator media retargeting[J].ACM Trans Graph,2009,28(3):1-11
[12] Dong W M,Zhou N,Paul J C,et al.Optimized image resizingusing seam carving and scaling[J].ACM Trans Graph,2009,28(5):1-10
[13] Dong W M,Bao G B,Zhang X P,et al.Fast multi-operator ima-ge resizing and evaluation[J].Journal of Computer Science and Technology,2012,27(1):121-134
[14] Dong W M,Zhou N,Lee T Y,et al.Summarization-based image resizing by intelligent object carving[J].IEEE Transactions on Visualization and Computer Graphics,2014,20(1):111-124
[15] Yang C,Zhang L H,Lu H C,et al.Saliency Detection via Graph-Based Manifold Ranking[C]∥2013 IEEE Conference on Com-puter Vision and Pattern Recognition.2013:3166-3173
[16] Hu S M,Chen T,Xu K,et al.Internet visual media processing:a survey with graphics and vision applications[J].The Visual Computer,2013,29(5):393-405

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!