/Seam-Carving

Retargeting Image

Primary LanguageC++

Seam-Carving

Retargeting Image

Input = An image file Output = An image file that is now retargeted

** must have opencv installed in the computer Opencv can be installed in linux by following instructions from this website: http://www.codebind.com/cpp-tutorial/install-opencv-ubuntu-cpp/

compile the code by: g++ main.cpp -o output pkg-config --cflags --libs opencv

run the code by the following command:

./output image new_width new_height output