This is a simple algorithm that performs a topological shortest path to cut seams out of the picture when trying to shorten dimensions of the image. This code is built on the shoulders of giants such as Robert Sedgewick and Kevin Wayne.
travisddavies / seam_carver Goto Github PK
View Code? Open in Web Editor NEWA topological search algorithm for resizing images without noticeable effects of distortion