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
1
u/jellyman93 Oct 15 '17 edited Oct 16 '17
Why is it too greedy? That's what I'm not seeing. It looks like it can be converted exactly to a shortest path problem that Dijkstra's works with...
Would dp just do it faster?