Seam carving is a content aware algorithm for resizing the image based on the energy function. Typically the energy function is decided by the sobel opreater which emphasis the importance of each pixel based on the edges.
The program allows for visualization of the path that will be deleted from the image using the GUI from imgui.
To build and run:
cd src
make
./seamCarver
Shai Avidan and Ariel Shamir. 2007. Seam carving for content-aware image resizing. In ACM SIGGRAPH 2007 papers (SIGGRAPH '07). Association for Computing Machinery, New York, NY, USA, 10–es. https://doi.org/10.1145/1275808.1276390