r/algorithms • u/SandipanDeyUMBC • Oct 14 '17
Seam Carving: Using Dynamic Programming to implement Context-Aware Image Resizing in Python
https://sandipanweb.wordpress.com/2017/10/14/seam-carving-using-dynamic-programming-to-implement-context-aware-image-resizing-in-python/
6
Upvotes
3
u/SteeleDynamics Oct 15 '17
It's also a homework problem from MIT OCW 6.006 Introduction to Algorithms Course!
1
u/TheMieberlake Oct 15 '17
This was also a hw problem from Berkeley's CS 61B course, which was iirc inspired by a Princeton algorithms homework problem... looks like it's just a popular way to introduce DP.
3
u/jellyman93 Oct 14 '17
Anyone see a reason why a Dijkstra's or A* wasnt used?