Oleksii Trekhleb trekhleb.dev

Content-aware image resizing in JavaScript  ↦

There are many great articles written about the Seam Carving algorithm already, but I couldn’t resist the temptation to explore this elegant, powerful, and yet simple algorithm on my own, and to write about my personal experience with it. Another point that drew my attention (as a creator of javascript-algorithms repo) was the fact that Dynamic Programming (DP) approach might be smoothly applied to solve it. And, if you’re like me and still on your “learning algorithms” journey, this algorithmic solution may enrich your personal DP arsenal.


Discussion

Sign in or Join to comment or subscribe

0:00 / 0:00