6 ms·
Parellagram – Dynamic Image Resizing with Go
- chewxy 10y agoIt DOES use GIFT - http://github.com/disintegration/gift http://github.com/disintegration/gift, but eh.. it works
- SixSigma 10y agoSeam Carving is available as the Liquid Rescale plug-in in GIMP http://liquidrescale.wikidot.com/ http://liquidrescale.wikidot.com/
- BasDirks 10y ago"We can see that the area with the least visual information (the sky) has been reduced while other regions of the image such as the boat, water, and buildings, remain intact." Except the tower on the right has been "redesigned" by the algorithm.
- Profan 10y ago... It's a feature! Algorithms with input on design are the new hotness.
- jerf 10y agoWell, I can't get to the site now, but I've seen seam carving before. What's impressive about seam carving is the bang-for-the-buck... it's a rather simple algorithm that has quite spectacular results. But it's certainly not perfect. When you're taking an image like that and throwing away information, there isn't a definition of "perfect" anyhow. Information is being discarded, so, information will be lost. The question is what distortion the image will have, not whether the image is distorted.
- manigandham 10y agoThe castle looks exactly the same... what was "redesigned" ? Original: https://upload.wikimedia.org/wikipedia/commons/c/cb/Broadway_tower_edit.jpg https://upload.wikimedia.org/wikipedia/commons/c/cb/Broadway... Seam carved: https://upload.wikimedia.org/wikipedia/commons/e/ed/Broadway_tower_edit_Seam_Carving.png https://upload.wikimedia.org/wikipedia/commons/e/ed/Broadway...
- chrishacken 10y agoYou don't notice the difference between the proportions and distance between the woman/sky and the castle? The clouds are much smaller/thinner and the woman is a fraction of the distance apart. (Edit: Nevermind, I mistakenly thought you were trying to say you didn't see a difference. Not that you were countering their point that the castle was "redesigned".)
- manigandham 10y agoThat is what seam carving does. What do you think was supposed to happen? Look at the pics again, the castle is exactly the same. The grass, sky and distance between person has been changed. The whole point is to shrink the dimensions by keeping the main things as they are in size, detail and proportion and cutting out the stuff in the middle.
- chrishacken 10y agoNo kidding. In the comment I was replying to you said you didn't see a difference. (Nevermind, I misunderstood your comment.)
- yuchi 10y agoCached: http://webcache.googleusercontent.com/search?q=cache:http://parellagram.com/posts/carving http://webcache.googleusercontent.com/search?q=cache:http://...
- JulianMorrison 10y agoI found the video, where they just vanished a person out of a picture, to be a mite disturbing. Stalin would have loved that.
- poorman 10y agoThe github repo: https://github.com/aaparella/carve https://github.com/aaparella/carve
- castratikron 10y agoWhy didn't you call it "parallelogram"?
- ggambetta 10y agoDude's last name is Parella
- nacc 10y agoSeam carving works great on scenary images. I have accidentally used it on a collection of portraits, and every image ends up at the bottom of uncanny valley. They are so frightening that I can't look at the thumbnails and have to remove them under cmd.
- codezero 10y agoThe video at the end is neat to watch, and after that video, there was another that showed "Improved Seam Carving for Video Resizing" here: https://www.youtube.com/watch?v=AJtE8afwJEg https://www.youtube.com/watch?v=AJtE8afwJEg The video starts off not very impressive, but once they get to the forward energy method, it' pretty cool how it is able to show video with objects and edges that are smooth frame to frame. One of the neat use cases was to remove shaky camera effects.