Compare commits
No commits in common. "7e335392623fb18a302b6bd75711884402917a0d" and "9326ba291833284862756a07807ebf8dca1df1a8" have entirely different histories.
7e33539262
...
9326ba2918
6
Makefile
6
Makefile
@ -2,7 +2,7 @@ IN_IMGS := imgs
|
|||||||
OUT_IMGS := out-imgs
|
OUT_IMGS := out-imgs
|
||||||
BIN := build/seam-carving --silent
|
BIN := build/seam-carving --silent
|
||||||
|
|
||||||
images: images-ign images-birds images-boat images-castle
|
images: images-ign images-birds images-boat
|
||||||
|
|
||||||
|
|
||||||
images-dir:
|
images-dir:
|
||||||
@ -21,10 +21,6 @@ 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-seams.jpg -n 350 --show-seams
|
||||||
$(BIN) -s $(IN_IMGS)/boat.jpg -o $(OUT_IMGS)/boat.jpg -n 350
|
$(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
|
build/seam-carving: src/seam-carving.cpp src/utils.cpp src/utils.hpp
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cd build && cmake .. -DCMAKE_BUILD_TYPE=Release; make -j7
|
cd build && cmake .. -DCMAKE_BUILD_TYPE=Release; make -j7
|
||||||
|
@ -1,13 +1,5 @@
|
|||||||
# Seam Carving
|
# 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:
|
## References:
|
||||||
- [Seam carving for content-aware image resizing](https://perso.crans.org/frenoy/matlab2012/seamcarving.pdf)
|
- [Seam carving for content-aware image resizing](https://perso.crans.org/frenoy/matlab2012/seamcarving.pdf)
|
||||||
|
|
||||||
@ -42,4 +34,3 @@ Options:
|
|||||||
## Generation of the images of the report
|
## 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.
|
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
BIN
report.pdf
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user