高级检索
华顺刚, 李新丰, 陈国鹏. 利用梯度与人体区域信息的图像分条及缩放[J]. 计算机辅助设计与图形学学报, 2014, 26(7): 1167-1175.
引用本文: 华顺刚, 李新丰, 陈国鹏. 利用梯度与人体区域信息的图像分条及缩放[J]. 计算机辅助设计与图形学学报, 2014, 26(7): 1167-1175.
Hua Shungang, Li Xinfeng, Chen Guopeng. Strip Dividing for Image Resizing Using Gradient Values and Human Region Information[J]. Journal of Computer-Aided Design & Computer Graphics, 2014, 26(7): 1167-1175.
Citation: Hua Shungang, Li Xinfeng, Chen Guopeng. Strip Dividing for Image Resizing Using Gradient Values and Human Region Information[J]. Journal of Computer-Aided Design & Computer Graphics, 2014, 26(7): 1167-1175.

利用梯度与人体区域信息的图像分条及缩放

Strip Dividing for Image Resizing Using Gradient Values and Human Region Information

  • 摘要: 为了保持图像中的人物和显著目标,避免局部区域过度压缩,提出一种基于能量图和条分割的图像缩放算法.首先计算图像中所有像素点的梯度值,结合人体检测并赋予人体区域较大权重来构建图像能量图,经优化迭代将相近能量的相邻像素列划分到同一图像条中实现图像分条;然后根据图像条的平均累积能量,采用缩放量与其能量成反比的关系计算图像条的缩放量;最后通过设置缩减比阈值判别图像条尺寸缩减程度;当缩减比超过阈值时,裁剪相应图像条,以防止产生局部扭曲变形并保持图像主要内容.实验结果表明,该算法能够保护图像的局部结构和全局视觉效果,获得高质量的缩放结果.

     

    Abstract: In order to preserve the human and the salient objects within the image as well as avoid local region shrunk excessively,an image resizing algorithm is proposed based on the image energy map and strip dividing.Firstly,the gradient values of all pixels are computed and human region is detected and assigned a relatively large weight for an original image,thus the energy map of the image is constructed by combining the gradient values and the weight of the detected human region.Through iteration calculation,the image can be divided into several strips by integrating the similar energy-level columns together.Then,according to the average accumulated energy of each strip,the reduced size amount of a strip is determined in inverse proportion to its energy.The resized level of a strip is judged by setting a threshold of the size reduced ratio.A strip will be cropped if its reduced ratio exceeds the threshold to prevent yielding local warping and preserve salient content of the image.Experimental results show that the proposed algorithm can protect both the local structures and the global visual effect of the image,yielding satisfactory resizing results.

     

/

返回文章
返回