https://github.com/deshrike/seam-carving
Seam Carving experiment in C
https://github.com/deshrike/seam-carving
seam-carving seam-carving-algorithm
Last synced: about 2 months ago
JSON representation
Seam Carving experiment in C
- Host: GitHub
- URL: https://github.com/deshrike/seam-carving
- Owner: DeShrike
- Created: 2024-04-16T18:00:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-16T18:54:58.000Z (over 1 year ago)
- Last Synced: 2025-03-29T13:51:50.287Z (8 months ago)
- Topics: seam-carving, seam-carving-algorithm
- Language: C
- Homepage:
- Size: 1.38 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Content-Aware Resizing
Experimenting with seam-carving.
## Current limitations
- Only support vertical carves.
- Only support PNG files.
- Slow.
## Quick start
```console
$ git clone https://github.com/DeShrike/seam-carving.git
$ cd seam-carving
$ make
$ ./sc images/horses.png
```
## References
### Seam Carving
See https://en.wikipedia.org/wiki/Seam_carving
and https://dl.acm.org/doi/10.1145/1275808.1276390
### Sobel operator
See https://en.wikipedia.org/wiki/Sobel_operator
## TODO
- Horizontal carving
- JPEG support
- Make it faster
- More parameters