Content-aware scaling (or other recommendations)
Posted: 2010-07-30T04:38:46-07:00
I'm looking to build a web application that allows users to morph a car's shape. A simple implementation would be to stretch the car lengthwise or heightwise, but without making the car seem like a cheap stretched image. So ideally I'd like to do some sort of content-aware stretching. I couldn't find any information on whether this functionality exists in ImageMagick; my guess is no, and that's okay--I'm also just generally looking for tips on types of transformations I could use to make varying car shapes.
For instance, I was thinking about some sort of pixel mapping algorithm, where one starts with a car and a skeleton, and then dragging the skeleton results in the car morphing. Would this be hard to do?
By the way, these are probably 2D pictures of cars (to keep things simple) and they have no background (so let's say they're vector art-type graphics).
Thanks in advance for any suggestions you may have!
For instance, I was thinking about some sort of pixel mapping algorithm, where one starts with a car and a skeleton, and then dragging the skeleton results in the car morphing. Would this be hard to do?
By the way, these are probably 2D pictures of cars (to keep things simple) and they have no background (so let's say they're vector art-type graphics).
Thanks in advance for any suggestions you may have!