Skip to content

DeShrike/seam-carving

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Content-Aware Resizing

Experimenting with seam-carving.

Current limitations

  • Only support vertical carves.
  • Only support PNG files.
  • Slow.

Quick start

$ 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

Releases

No releases published

Packages

No packages published