Seam Carving for content aware image resizing
Sin licencia
Nota del editor: 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.
Citar como
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. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Image Processing and Computer Vision > Image Processing Toolbox > Geometric Transformation and Image Registration >
- MATLAB > Graphics > Images > Read, Write, and Modify Image >
Etiquetas
Agradecimientos
Inspiración para: Seam Carving for content aware image resizing: GUI implementation demo
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 | * Removed demo dependency on the image processing toolbox.
|