欢迎访问《图学学报》 分享到:

图学学报

• 视觉与图像 • 上一篇    下一篇

基于主体区域保持的图像缩放算法

  

  • 出版日期:2016-04-28 发布日期:2016-05-20

An Novel Image Resizing Method Based on Important Area Maintain

  • Online:2016-04-28 Published:2016-05-20

摘要: 基于插值运算的缩放算法和经典的缝裁剪算法是两种常用的图像缩放算法,传统的
缩放算法在缩放比例不一致的情况下其效果不佳,而缝裁剪算法在主体区域较大或者图像背景较
为复杂时对图像的主体区域会造成一定破坏。针对以上问题,提出了一种基于主体区域保持的图
像缩放算法,使用高斯差分对图像进行角点检测,利用角点产生凸包,根据凸包对图像进行主体
区域检测,计算能量图并对位于主体区域像素点的能量给予相应的权重,根据权重的不同对主体
区域进行不同程度的保护。实验结果表明,该算法能更好地保持图像主体区域。

关键词: :缝裁剪, 主体区域, 角点检测, 图像缩放, 凸包

Abstract: Scaling and seam carving are commonly used algorithm in image resizing, but scaling is not
suitable for the case that the resize ratio is not uniformity, seam carving will also has a bad effect on
important area in some cases. In this paper we proposed a novel algorithm which is based on important
region maintain. Firstly, we make a corner detection based on difference of Gaussian, then Graham-scan
algorithm is applied to do an important region detection, after that we will add different weights
between important region and unimportant region. The experimental result shows our method is better
than other image resizing algorithms in maintaining the important area.

Key words: seam carving, important area, corner detection, image resizing, convex hull