I'm planning on writing software that morphs images to a certain shape (based on points and vectors that define similar regions in different images, and the calculation of an "average" shape).
Obviously this is pretty difficult, and therefore I'm looking for a library that can handle the morphing of images (so I can focus on the GUI, and feeding the necessary coordinates to the library).
To clarify, an example of what I want to do is:
- Load images (say, image 1 and 2)
- Define similar points in images (say, the tip of a nose in image 1 and 2, on coordinates (1,5) and (1,7))
- Calculate the average coordinates for the points (so that would be (1,6))
- Morph defined points on each image to the same coordinate (so morph all noses to (1,6))
- Save images
Now of course the actual use case would be a lot more complex (instead of singular coordinates I would also like to morph lines and other shapes (vectors), but the principle would remain sort of the same.