Compare commits
2 Commits
9326ba2918
...
7e33539262
Author | SHA1 | Date | |
---|---|---|---|
7e33539262 | |||
fe14e636e8 |
6
Makefile
6
Makefile
@ -2,7 +2,7 @@ IN_IMGS := imgs
|
||||
OUT_IMGS := out-imgs
|
||||
BIN := build/seam-carving --silent
|
||||
|
||||
images: images-ign images-birds images-boat
|
||||
images: images-ign images-birds images-boat images-castle
|
||||
|
||||
|
||||
images-dir:
|
||||
@ -21,6 +21,10 @@ images-boat: build/seam-carving images-dir
|
||||
$(BIN) -s $(IN_IMGS)/boat.jpg -o $(OUT_IMGS)/boat-seams.jpg -n 350 --show-seams
|
||||
$(BIN) -s $(IN_IMGS)/boat.jpg -o $(OUT_IMGS)/boat.jpg -n 350
|
||||
|
||||
images-castle: build/seam-carving images-dir
|
||||
$(BIN) -s $(IN_IMGS)/castle.jpeg -o $(OUT_IMGS)/castle1.jpg -n 350 --show-seams --vertical
|
||||
$(BIN) -s $(IN_IMGS)/castle.jpeg -o $(OUT_IMGS)/castle.jpg -n 350 --vertical
|
||||
|
||||
build/seam-carving: src/seam-carving.cpp src/utils.cpp src/utils.hpp
|
||||
mkdir -p build
|
||||
cd build && cmake .. -DCMAKE_BUILD_TYPE=Release; make -j7
|
||||
|
@ -1,5 +1,13 @@
|
||||
# Seam Carving
|
||||
|
||||
|
||||
Augustin Lucas, François Colin de Verdière
|
||||
|
||||
|
||||
Git repo: [https://gitea.augustin64.fr/m1-ENSL/seam-carving](https://gitea.augustin64.fr/m1-ENSL/seam-carving)
|
||||
|
||||
The report is available as PDF file [report.pdf](report.pdf)
|
||||
|
||||
## References:
|
||||
- [Seam carving for content-aware image resizing](https://perso.crans.org/frenoy/matlab2012/seamcarving.pdf)
|
||||
|
||||
@ -34,3 +42,4 @@ Options:
|
||||
## Generation of the images of the report
|
||||
|
||||
A `Makefile` is provided at the root of the repo, it can be used to generate the images that are shown in the report.
|
||||
|
||||
|
BIN
report.pdf
Normal file
BIN
report.pdf
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user