Gimptalk - Premier Gimp Community: Morphing Images - Gimptalk - Premier Gimp Community

Jump to content

  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

Morphing Images

#1 User is offline   fencepost 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 2,643
  • Joined: 01-March 05

Posted 04 April 2006 - 08:17 PM

A new plugin was implemented within GAP that will allow you to morph between two images like so:

Posted Image

The plugin has very little documentation right now, is not always real stable, and no tutorials on it (at least none that I could find). So everything I’m showing you today is based on my ”tinkering”. Please don’t ask me to explain the various tools....I probably can’t answer your questions! :w: I just don’t know.

At any rate let’s begin. I'm using GAP version 2.1.0 (which is not the most recent version, but it works!) For the sake of following along, please download/use these two images:

Posted Image Posted Image

Before you begin, you must first, have GAP. Well, duh, you say. May sound simple, but you don't know how many questions I get from people telling me they can't find a certain menu. YOU MUST HAVE GAP! If you don't, you won't have the Video menu. Simple as that.

Additionally, you must know how to work with/create animations in GAP/GIMP. This includes color optimization/indexing, modifying frames to change timing, etc. I WILL NOT cover those topics here. If you need assistance with those steps, you can check out tutorials at GIMPtalk.com or elsewhere.

Here we go!!!

[*]Open up both images in ONE GIMP project. Doesn’t really matter which one is the background layer.
[*]Add an Alpha Channel to the background layer
[*]Go to the Video | Morph menu (If it’s grayed out, you didn’t add the Alpha Channel)

The following window will appear:

Posted Image

Take a minute to become familiar with the layout. I’ll explain what I know and what I want you to know to accomplish this task, but I can’t answer anything else. I just don’t know much about this tool.

[*]Letter A is the Source Window. This is the image we want to begin with. It doesn’t matter which image you start with. I’m using the blond. (Hey, I like blondes!)
[*]Letter B is the Destination Window. This is the image we’ll be morphing to. (I like brunettes too! I’m starting to see a trend here!! :w:)

If you want to switch A and B, you can do it through the pulldowns or the SWAP button in the bottom, right-hand corner of the window, will do the trick as well.

[*]Letter C adds a number of points randomly along the edge of your images to hold the edge in place to keep them from doing strange things. You may have to experiment with this a bit to see if it's necessary or not. The number of points added is shown in the "ShapePoints" box to the left of it. You can change the number as needed. Do this step first as I've heard any control points you add before clicking this button will be deleted.(Thanks Rimshot for pointing this out to me!!!)
[*]Letter D is the number of steps it will take to go from A to B. I’ve chosen 15 for this exercise. You can experiment with this.
[*]Letter E will allow you to change the color of the control points, just in case the default colors are difficult to see against your working images. I’ll explain control points in a minute. Be advised, I don’t know if it’s just my machine, but everytime I click to change the color, the morph tool crashes.
[*]Letter F controls how what you’re doing to a particular control point. When you placing control points, you’ll be in Set mode. I’m not sure what the purpose of the Move mode is, as I just click on a control point and drag it to a new location. Of course, Delete mode lets you delete a control point you click on.
[*]Letter G is the two types of morphing functions. I don’t know how they differ, but we’ll be using the Morph button, not Warp. I’m sure we’ll discover later how these functions work.
[*]Letter H I’ve got it checked and I don’t know why, but that’s what worked for me. Forgive me on this step.

Now, let’s talk briefly about control points.

Control points are basically the points we are going to control. I know, I know....you’re not allowed to define something using the word(s) you’re defining (my 6th grade teacher has just turned over in her grave!) But, that’s what they are. With a click of a mouse, I’m going to put a point on the image in the ”A Window (Source)” and one will automatically be placed for me in the ”B Window (Destinatation)” (Notice the active point is yellow. At least, in this instance). I can fine tune the one in the A Window by clicking/dragging it to the desired location. Now, I can jump over to the B Window, click/drag the point to the desired location.

You may be asking yourself, ”What do you mean by desired location?” Good question, as I stated the points we place are what we’re telling the computer to control. In the example below, you’ll see a highlighted point in the corner to the blondes’ lips. (Aren’t her lips pretty?!) Oops, sorry, back on topic..... The corresponding point in Window B is not on her lip. We want to click and drag Window B’s corresponding point to a similar location on the face. We want the lips of A to morph into the lips of B.

Posted Image

Easy enough.


Now, add as many control points that you feel is necessary to make the transformation. By the way, the number of control points does NOT correspond to the number of frames your output file will have. Control points only tell the Morph tool how to operate. I believe I had in excess of 50 points for this exercise.

Here’s what my final Morph window looked like before I hit ok:

Posted Image

Now, hit the OK button and wait for the magic.

Now, do all the fun things we do in preparing an animated gif: optimize, index colors (if needed), change frame rates, etc. By the way, I saved mine as a gif and reopened it and set the final layers time to 2000 ms (2 secs), so it would have a nice little pause at the end.

This is my result:

Posted Image

I’ve shown you mine. Now, you show me yours!!!

Enjoy and Happy GIMPing!

Art
0

#2 User is offline   Rimshot 

  • Member
  • PipPip
  • Group: Members
  • Posts: 65
  • Joined: 22-February 06

Posted 04 April 2006 - 10:10 PM

I'm not sure if I missed it in your tut,but I found that if you hit the "shape" button,it holds the sides of the pic and keeps it from warping in like the left side of your morphed pic.
0

#3 User is offline   Ali Imran 

  • Owner
  • Group: Administrators
  • Posts: 2,305
  • Joined: 06-December 04

Posted 04 April 2006 - 10:23 PM

Are you know something. You will stop all users using any other (than gimp) image retouching/editting/manipulating software if you continue to provide such content. I consider it a gift for the update.

Thank you so much for your time and effort.
It is indeed very useful. btw I think it could be more perfect if it included more points. wha you think ?
regards
» GIMP TUTORIALS - Largest Database on Internet
0

#4 User is offline   fencepost 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 2,643
  • Joined: 01-March 05

Posted 05 April 2006 - 01:32 AM

Rimshot, thanks for the tip. I did not know that! I was wondering what needed to be done to keep the sides from moving. I'll incorporate that into it when I get a chance.

Ali, thanks for the compliments. First we take over Photoshop, then the world! :w:

The manipulation would look better with more points, but I just wanted to get it posted! :l:

Art
0

#5 User is offline   Ali Imran 

  • Owner
  • Group: Administrators
  • Posts: 2,305
  • Joined: 06-December 04

Posted 05 April 2006 - 01:36 AM

Did you notice the printable version of your current tutorial ?
It seems great to me although I have not yet printed it.

http://www.gimptalk....mages-4391.html

btw which version of gimp are you using art ?

regards
» GIMP TUTORIALS - Largest Database on Internet
0

#6 User is offline   fencepost 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 2,643
  • Joined: 01-March 05

Posted 05 April 2006 - 03:03 AM

Yeah, it looks good to me also. I'll have to get some more ink for my printer and check it out. Also, I'm using version 2.2.9.

Art
0

#7 User is offline   Rimshot 

  • Member
  • PipPip
  • Group: Members
  • Posts: 65
  • Joined: 22-February 06

Posted 05 April 2006 - 04:32 AM

Quote

Rimshot, thanks for the tip. I did not know that! I was wondering what needed to be done to keep the sides from moving. I'll incorporate that into it when I get a chance.


No problem bud.It's the least I could do.You guys make GIMP worth using and I thank you for that. :h:


BTW,Use the shape button before you start laying points,otherwise it will make all your points dissappear!
0

#8 User is offline   newt 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 1,806
  • Joined: 26-October 05

Posted 05 April 2006 - 04:35 AM

One question:
What version are you using for the tut?
Posted Image Posted Image
0

#9 User is offline   fencepost 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 2,643
  • Joined: 01-March 05

Posted 05 April 2006 - 04:38 AM

I don't recall newt. I have GIMP on two different machines and the one I created the tutorial on doesn't seem to agree with the most recent version of GIMP. The GAP version might not be the most recent, but it should be pretty close. Are you having problems?

art
0

#10 User is offline   newt 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 1,806
  • Joined: 26-October 05

Posted 05 April 2006 - 04:47 AM

No I was just thinking it would help to know if anyone was trying it, and was having problems.
So many different versions out now + windows, better to know if a version will work, before trying it :w:
Posted Image Posted Image
0

#11 User is offline   Dado 

  • Member
  • PipPip
  • Group: Members
  • Posts: 36
  • Joined: 04-April 06

Posted 05 April 2006 - 04:47 AM

Amamzing ! :o:
Can wait till I can hadle that !
Anyway off to find information about GAP xD
Help me convert some damn abr brushes to gbr ?
0

#12 User is offline   fencepost 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 2,643
  • Joined: 01-March 05

Posted 05 April 2006 - 04:56 AM

Good point, newt. I'll update tomorrow.

Dado, in time!
0

#13 User is offline   fencepost 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 2,643
  • Joined: 01-March 05

Posted 08 April 2006 - 12:39 AM

I've updated the tutorial with the change suggested by Rimshot. Thanks, buddy! Newt, I've added the GAP version I've used. I believe the results are much better.

Art
0

#14 User is offline   badassfeline 

  • Member
  • PipPip
  • Group: Members
  • Posts: 636
  • Joined: 04-March 06

Posted 09 April 2006 - 01:11 AM

This is my go... Needs a bit more work, (and probably better pictures,) but what do you think for a first time attempt?

Posted Image
Posted Image
0

#15 User is offline   Noriantovar 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 09-April 06

Posted 09 April 2006 - 04:07 AM

Is there any way to do it between multiple layers?

I have a mini banner I am trying to make, but it keeps screwing up, here's the best I can get out of it so far:

Posted Image

What am I doing wrong?
0

#16 User is offline   fencepost 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 2,643
  • Joined: 01-March 05

Posted 09 April 2006 - 04:10 AM

Try this tutorial instead: http://www.gimptalk....ges-4392-1.html

I use only two userbars, but you should be able to get the gist of it. I suggest you follow my steps exactly first, just so you can understand the process first. Then try your own banner images.

Art
0

#17 User is offline   Noriantovar 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 09-April 06

Posted 09 April 2006 - 05:31 AM

Allrght, I shall try that one out then, and thanks, good tutorial, btw.
0

#18 User is offline   mentalmagic 

  • Member
  • PipPip
  • Group: Members
  • Posts: 229
  • Joined: 27-January 06

Posted 10 April 2006 - 05:14 PM

Nice one FP!!
Well here's my try, looks more or less the same as yours,
I'm gonna try it with some other pictures as well.
Posted Image
Posted Image
0

#19 User is offline   fencepost 

  • Retired Staff
  • PipPipPip
  • Group: Retired Staff
  • Posts: 2,643
  • Joined: 01-March 05

Posted 13 April 2006 - 08:43 PM

Well, here's something I made with the help of the morph tool. Not quite there yet, but I think I can make it look pretty cool!

http://www.gimptalk....tch-4598-1.html
0

#20 User is offline   PhotoMaster 

  • Member
  • PipPip
  • Group: Members
  • Posts: 856
  • Joined: 15-May 06

Posted 03 June 2006 - 10:06 PM

OK! What am I doing wrong? I have the very latest GTK, GIMP and GAP (Did a complete download and reinstall 10 minutes ago) . I have the Video menu, but Morph does not exist anywhere in there. I am running on Windows XP :s: but I can't help that. I hate using external programs to do what GIMP can do.

Greg
Posted Image

My Sigs = My Photos
Check out my work at http://www.flickr.co...photomastergreg.
0

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic