计算机工程与应用 ›› 2012, Vol. 48 ›› Issue (12): 163-167.

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

一种有效的交互式图像局部内容放大方法

孙英皓,唐  棣   

  1. 辽宁师范大学 计算机与信息技术学院,辽宁 大连 116081
  • 出版日期:2012-04-21 发布日期:2012-04-20

Effective method for interactive image local content amplification

SUN Yinghao, TANG Di   

  1. College of Computer and Information Technology, Liaoning Normal University, Dalian, Liaoning 116081, China
  • Online:2012-04-21 Published:2012-04-20

摘要: 交互式内容放大的方法可以让用户对图片的内容采取不同的关注度,能够维持图像的整体效果。当用户选定区域后,在对图像进行操作时,能够保持该区域内容的连贯性,使该区域的内容有明显的放大效果。在接缝雕刻(Seam Carving)技术的协助下可以对图像的内容进行修改,移除一些与周围区域相关度小的接缝,在不改变图像原本尺寸的前提下,对图片的内容进行放大。通过特定的相关度计算函数,可以得到图像中的各个像素点的能量值。用权值函数[M]来改变选定区域内的各个像素点的能量值,令该区域内的环境能被更好地保留,使该区域内容达到更合理的放大效果。

关键词: 交互式, 内容放大, 区域选择, 接缝雕刻

Abstract: Interactive content amplification method can let users make different attentions to the content of photograph, and meanwhile maintain the integrity of the image. When user selects the region, in the image operating process, it can maintain the regional content consistency, and make the content of the region have obvious amplifying effect. With the help of seam carving technique, the content of image can be modified, and some seams can be removed which have less correlation with the surrounding area. In the premise of keeping image original size constant, this technique can enlarge the content of the image. Through certain correlation calculation function, the energy of each pixel can be got in the image. Weights function is used to change the energy of each pixel in the selected area, making sure that the environment of the area can be better retained. Accordingly, the regional content can reach more reasonable amplification effect.

Key words: interactive, content amplification, region selection, seam carving