Seam Carving for content aware image resizing

illustrative example of the seam carving algorithm.

現在この提出コンテンツをフォロー中です。

編集メモ: This was a File Exchange Pick of the Week

illustrative example of Seam carving for content aware image resizing


usage: carvedimg=seamcarving(im,k)

k is how many vertical seams to remove.
im is the image.

example:
img=imread('peppers.png')
carvedimg=seamcarving(img,50)
image([carvedimg img]);
axis equal;

Author: Aslak Grinsted 2007...
Based on ideas from Avidan & Shamir:
http://video.google.com/videoplay?docid=-6221880321193117495
Note i haven't read their paper and they have probably lots of smart tricks for optimizations.

引用

Aslak Grinsted (2026). Seam Carving for content aware image resizing (https://jp.mathworks.com/matlabcentral/fileexchange/16123-seam-carving-for-content-aware-image-resizing), MATLAB Central File Exchange. に取得済み.

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0

* Removed demo dependency on the image processing toolbox.
* Made compatible with older versions of matlab.