Luis Ballesteros

15-463 S10

Project 3

Standardized control point text file is HERE

Animation Frames

Here is me turning into the next guy. I wasn't sure what to do about my enormous hair that covers the entire frame. I'll try setting control points from my hair to his face, maybe I can get it to shrink into him or something. But my face maps to his face, and hair is not a face so there is no real correspondence for it. Maybe strategically choosing backgrounds is the right answer here.

aside from that this is an interesting matching because although our shoulders are aligned, his face is narrower and his features are smaller and lower, so it's a pretty dramatic shift that looks like it's shrinking and moving downwards.

Also one of my ears was covered by my hair, so I just approximated where it was and you can see hair magically turn into an ear, it's odd. I'm definitely getting a haircut next time

Also this is resized to be 1/4 scale to be easy on bandwidth.

A full size gif will be up so we can do the class chaining, but the file will be huge.

Hair Removal

So I made up an algorith to remove my hair and it seems to have some good results. The biggest issue was that I have so much hair, that there it nowhere for it to morph into. My hair is so massive that no feeble morphing algorithm can contain it! Trying to morph my hair inwards creates horrible distortions in the other guy's face on frames before about halfway.

That's when I decided I needed a digital haircut! So what I did was use edge detection, dilation, and flooding to find where all of my excess hair was and get rid of it.The way I did this was taking the two morphed images, before blending, and trying to find the background in each. Then I subtracted one background from the other and voila, I had a "hair map". Here is an example:

This is my outline This is his outline
This is where all of my hair is! OMG This is our morphed face with a haircut!

So finally, I put this into the animation to give every frame a haircut. As you can see, the haircut looks really bad at first, but it looks progressively better as my features are phased out for his. Unfortunately, this has the side effect of the first frame not being exactly my picture, so I'm not sure I can use this, but it looks a lot better than the ghosting.

Haircut morph

I realized that I didn't always have to use one image or the other in the mask, but I could use a mix. Doing this allowed me to make an image where one part fades faster than the rest, namely the hair. Now in this version, the hair fades away in a mere 20 frames, three times as fast. This way I avoid an awkward haircut, start with my original image, and minimize ugly ghosting.

Average Face

So The average face mesh turned out to be a little funny, especially around the eyes. For some reason the calculated average face has enormous eyes, like HUGE. It looks a little bit like stephen Hawking, but I'm sure that's because the labelings were not consistent among classmates. Here is the average face, maybe we can figure it out:

Clearly, it seems, much of the class that labeled their points has glasses, as you can clearly see an outline of glasses. This is not an outlier because it would dissapear from the average, clearly a significant number of people have glasses for it to show up like this. This would explain why the average face has such huge eyes and why my face warped onto the average face looks like this:

Clearly my eyes are huge but also my head shrank substantially! I didn't bother to edit my unmapped hair, so the result looks very weird indeed. You can clearly see that my head is a lot smaller when mapped to the average, as it is very disjoing from my hair near the top. Is my head that big?

In order to see what peculiar features I have, it is interesting to morph the average face into my own face. Additionally, I can take my distance from the average face and scale that, mapping my own face onto it. This creates a caricature of me relative to the class average. Perhaps we can see what makes me special.

Clearly, my head is huge. I originally wanted to attribute the average face's sudden head growth to my hair, but that would only warp the face's hair (which did grow quite a bit). However, the face's forehead is clearly much bigger now! Additionally, in the caricature, the forehead is really huge too. We can conclude that I have a substantially larger than average forehead. Also in the caricature, you can the the eyes getting really tiny. This is ebcause of the average face's weird eye mesh that thinks that the average eye is huge, so exaggerating that distance makes my eyes even smaller.