图片处理好帮手
(2007-08-22 08:42:43)
下一个
我们在做图像伸缩处理的时候会发现直线变弯脸部变形等等现象,这是因为一般的图片伸缩完全是按照点来缩放,下面这个软件则是分析图像的逻辑关系,能够根据图像中的景物伸缩切割保持匀称的效果,甚至可以固定一边收缩另一边,从demo看来真是天衣无缝。
Spot this pretty amazing new resizing technique from Dr Ariel Shamir and Shai Avidan of the Efi Arazi School of Computer Science. Revealed SIGGRAPH this new method of image resizing looks for seams (not simple columns or rows) of pixels with the 'least energy' (least contrast / change in detail) both vertically and horizontally in the image and then uses this to enable resizing without losing important image content such as human subjects or other detail. This technique can be used for reducing and enlarging images as well as removing items from the image which are not wanted (by manually painting 'negative weight' over an area of the image). But less of my waffle just jump in and watch this video of the algorithm in use, I assure you it will make considerably more sense.