Seam Carving for content aware image resizing

버전 1.0.0.0 (1.29 KB) 작성자: Aslak Grinsted
illustrative example of the seam carving algorithm.
다운로드 수: 16.4K
업데이트 날짜: 2007/9/27

라이선스 없음

편집자 메모: 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 (2024). Seam Carving for content aware image resizing (https://www.mathworks.com/matlabcentral/fileexchange/16123-seam-carving-for-content-aware-image-resizing), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R14
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

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