Compare commits
4 Commits
aa4fc91958
...
9326ba2918
Author | SHA1 | Date | |
---|---|---|---|
9326ba2918 | |||
fe00db596c | |||
5040d2d7a1 | |||
7dc431aad3 |
12
Makefile
12
Makefile
@ -2,22 +2,22 @@ IN_IMGS := imgs
|
||||
OUT_IMGS := out-imgs
|
||||
BIN := build/seam-carving --silent
|
||||
|
||||
images: images-ign images-birds
|
||||
images: images-ign images-birds images-boat
|
||||
|
||||
|
||||
images-dir:
|
||||
mkdir -p $(OUT_IMGS)
|
||||
|
||||
images-birds: build/seam-carving
|
||||
$(BIN) -s $(IN_IMGS)/birds.jpg -m $(IN_IMGS)/birds-mask.jpg -o $(OUT_IMGS)/vertical-birds.jpg -u --vertical
|
||||
$(BIN) -s $(IN_IMGS)/birds.jpg -m $(IN_IMGS)/birds-mask.jpg -o $(OUT_IMGS)/horizontal-birds.jpg -u
|
||||
images-birds: build/seam-carving images-dir
|
||||
$(BIN) -s $(IN_IMGS)/birds.jpg -m $(IN_IMGS)/birds-mask.jpg -o $(OUT_IMGS)/birds-vertical.jpg -u --vertical
|
||||
$(BIN) -s $(IN_IMGS)/birds.jpg -m $(IN_IMGS)/birds-mask.jpg -o $(OUT_IMGS)/birds-horizontal.jpg -u
|
||||
|
||||
images-ign: build/seam-carving
|
||||
images-ign: build/seam-carving images-dir
|
||||
$(BIN) -s $(IN_IMGS)/ign-circled.png -m $(IN_IMGS)/ign-mask.jpg -o $(OUT_IMGS)/ign-maxstep3-seams.jpg -u --max-step 3 --show-seams
|
||||
$(BIN) -s $(IN_IMGS)/ign-circled.png -m $(IN_IMGS)/ign-mask.jpg -o $(OUT_IMGS)/ign-maxstep3.jpg -u --max-step 3
|
||||
$(BIN) -s $(IN_IMGS)/ign-circled.png -m $(IN_IMGS)/ign-mask.jpg -o $(OUT_IMGS)/ign-maxstep15.jpg -u --max-step 15
|
||||
|
||||
images-boat: build/seam-carving
|
||||
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
|
||||
|
||||
|
BIN
imgs/birds-mask.jpg
Normal file
BIN
imgs/birds-mask.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.8 KiB |
BIN
imgs/ign-circled.png
Normal file
BIN
imgs/ign-circled.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.0 MiB |
Loading…
x
Reference in New Issue
Block a user