You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Editor's Note: 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.
Cite As
Aslak Grinsted (2026). Seam Carving for content aware image resizing (https://uk.mathworks.com/matlabcentral/fileexchange/16123-seam-carving-for-content-aware-image-resizing), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Seam Carving for content aware image resizing: GUI implementation demo
Categories
Find more on Geometric Transformation and Image Registration in Help Center and MATLAB Answers
General Information
- Version 1.0.0.0 (1.29 KB)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | * Removed demo dependency on the image processing toolbox.
|
