-
Notifications
You must be signed in to change notification settings - Fork 42
Home
Joseph Pan edited this page Aug 21, 2015
·
6 revisions
Welcome to the 2dMorphing wiki!
2DMorphing requires two kinds of image files:
- BW image.
- Mesh file, a.k.a.
.XY
file.
To get the .BW
files, you will firstly need to get a .rgb
file. A convenient way to have one is converting from other formats via ImageMagicK. e.g.
convert -compress none a.png out.rgb
You can specify some points to construct a mesh manually with help of graphical tools like Photoshop. See the format of mesh file:
two integers to specify width and height, followed by float data for x-coordinates, followed by float data for y-coordinates.
You can firstly create a .BW
file, see how the contents look like. That will help you create a mesh file.