diff --git a/Makefile b/Makefile index dc986f4..2d97427 100644 --- a/Makefile +++ b/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,10 +21,14 @@ 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 clean: rm $(OUT_IMGS) -rf - rm build -rf \ No newline at end of file + rm build -rf diff --git a/README.md b/README.md index 153c6c4..9ee4dbe 100644 --- a/README.md +++ b/README.md @@ -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. + diff --git a/report.pdf b/report.pdf new file mode 100644 index 0000000..6d085e8 Binary files /dev/null and b/report.pdf differ