Seam carving is cool and has a lot of potential, especially for certain kinds of images. I can't wait until we see something like it in pro photo editors like Affinity Photo.
Content-aware image resize library
21–30 of 84 posts
Re: Content-aware image resize library
#22Seam carving is fascinating, and especially the first version of the algorithm really really simple to implement. However, that algorithm introduces certain artefacts - the boat in this picture[0] makes it pretty obvious. The cause of these artefacts are mainly that the original algorithm did not look at energy that was introduced by removing a seam: each time this happens, the pixels adjacent to this seam become nei…
Re: Content-aware image resize library
#23Re: Content-aware image resize library
#24Re: Content-aware image resize library
#25Could we use any direction for pixel removal, rather than only vertical or horizontal ?
These days it's a popular algorithm to be implemented as a midterm project in computational photography courses at top schools.
Re: Content-aware image resize library
#26Not as fancy as photoshop I'm sure, but does have the ability to paint a mask of regions to keep / remove to aid the algorithm and get the desired result. Multi-threaded too!
Re: Content-aware image resize library
#27Would this still be covered under the original patent until 2029 [1]? [1] https://www.google.com/patents/US8213745
Re: Content-aware image resize library
#28Anyways, neat! Nice contribution.
Re: Content-aware image resize library
#29Looks really interesting. I'd love to see an animated version that shrinks from large to small.
I wrote a version of this in javascript with a live demo you can play with at https://alexander.soto.io/seam-carving