Seam-Carving

版本 1.0.0 (1.7 MB) 作者: muhammet balcilar
Seam Carving for Content-Aware Image Resizing
290.0 次下载
更新时间 2022/7/20

Content-Aware Image Resizing is a resizing method which does not resize image as ordinary manner. Instead of decrease resolution of image as uniform manner, it selects the least important non-flat line (seam) and remove it. On the result of the algorithm, the objects might have not original scale but it is obvious that the result consist most important object at initial scale, on the other hand unimportant part which are mostly flat and low energy, might almost disappear. This project is the reimplementation of research about content-aware resizing paper [1]. The main idea of that paper was to find non-flat line so called "seam" which has minimum energy using dynamic programming for both vertical and horizontal line. Horizontal or vertical seam which has minimum energy (the first horizontal and vertical pixels to be removed), would be removed step by step incrementally. So you can reach final desired resolution by applying both horizontal and vertical removing in desired order. The following figure shows the least energy seam or in other words the first lines to be removed for vertical and horizontal.

引用格式

muhammet balcilar (2024). Seam-Carving (https://github.com/balcilar/Seam-Carving), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2016b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库