The Trouble With Facial Hair

Life is never fair. Some of us have too much hair, some too little, most have hair in places where we don't want it to grow. How do you get rid of undesirable hair? Bleach it? Shave it? Pay someone for the sadistic procedure of waxing, slow-torture tweezing, or peculiar and painful threading? You cry, you scream, you pity yourself for paying money for this suffering. Yet, you are still in luck if you are spending only tens or even hundreds of dollars on this tiny semi-visible nuisance. A number of years ago I had the "honor" of participating in a hair removal procedure that lasted weeks and cost around $10,000.

It was for the supporting character role in the movie “Stuart Little.” The cat character. And the unwanted hairs were his whiskers. We, the special effects crew, had the task of helping the cat to meow a couple smart sentences. For this, an eloquent talking mouth had to be rendered on top of the cat's real mouth and computer generated whiskers had to be animated and "painted" on the sides of the animated mouth. The problem was that the cat's true whiskers stuck out from behind the new animated whiskers. They had to be removed.

As you may imagine, there were suggestions of cutting the whiskers of our cat actors or painting them orange. But whiskers, unlike fur, will not grow back and they actually provide an essential survival feature, helping cats to assess their surrounding space. So, we were stuck searching for thin, semi-transparent, long evasive sticks in every image of the talking cat shots. 24 images per second x 10 seconds x 5 shots = 1200 images! In each one we had to detect something that was hardly visible, remove it and paint back the obscured, rich fur texture. Sounds complex just for whiskers. Especially since the cat does not even have a chance to win an Oscar.



The reason why this all had to look perfect is that each such picture is projected on a giant movie screen so that every pixel is blown to 1 inch by 1 inch square and imperfections magnified and noticeable. Remember this before allowing anyone to take your close-up intended for a large projection. Especially, if you have unwanted facial hair. We tried to erase whiskers from each image by hand: too slow. We tried algorithms that walk the image as a map and detect “mountains” or “ridges” in the image – whiskers were hardly separable from the fur. After a week of experiments we found a solution. First, apply color contrast adjustment to each image to emphasize the whiskers. Then, use a special technique to find the motion of each whisker part from frame to frame. The whisker regions were then automatically erased and a picture of a clear cat's fur substituted underneath. This painted piece of fur was propagated from one image to another by the same motion. And the final touches were done with a Photoshop style brush. One cat, three people, two weeks of work, lots of hairy math ideas. And less than a minute of a screen fame.

Would you like to read something different from The Math Mom? Perhaps Woody Allen, leftovers and math of school lunches.

41 comments:

  1. GATE score is considered in various Government undertaking and private companies to recruit technical staff and engineers. Technical Graduates can fill application form for GATE examination and those who are in final year of their technical courses. GATE is Computer Based Test (CBT) and is being conducted on different days for different branches.

    gate exam, gate 2016 GATE 20116 notification, GATE notification, gate 2016 syllabus, gate syllabus, gate exam pattern, gate question papers, gate previous year papers, crack gate, gate tips and trick, gate application form, gate 2016 application form

    ReplyDelete
  2. ugg boots, http://www.uggbootscheap.eu.com/
    hermes outlet, http://www.hermesoutletstore.us.com/
    kobe 9, http://www.kobe9elite.us.com/
    north face outlet, http://www.thenorthface.me/
    woolrich outlet, http://www.canadagoosejackets.in.net/
    nobis outlet, http://www.wellensteyn.com.co/
    chanel handbags, http://www.chanelhandbagsoutlet.in.net/
    michael kors outlet, http://www.michaelkorsoutletcanada.in.net/
    adidas wings, http://www.adidaswings.net/
    mcm outlet, http://www.mcm.in.net/
    tiffany and co jewelry, http://www.tiffanyandco.in.net/
    toms outlet, http://www.tomsoutlet-stores.com/
    links of london, http://www.linksoflondons.co.uk/
    michael kors wallet, http://www.michaelkorswallet.net/
    ugg australia, http://www.uggoutlet.in.net/
    lacoste polo shirts, http://www.lacostepoloshirts.cc/
    wellensteyn jackets, http://www.barbour.us.com/
    jordan shoes, http://www.jordanshoes.us.com/
    nike free 5, http://www.nikefree5.us/
    vans shoes, http://www.vans-shoes.cc/
    air max 90, http://www.airmax90.us.com/
    black friday 2015, http://www.monclerjacketsuk.co.uk/
    hermes bags, http://www.hermesbags.co.uk/
    the north face clearance, http://www.thenorthfaceclearances.us.com/
    true religion jeans, http://www.truereligionjean.in.net/
    20151012caihuali

    ReplyDelete
  3. Selected two areas in this post are in fact the very best I have ever had.
    Diesel Engine Rebuilders Edmonton
    Diesel Engine Rebuilding Edmonton
    Diesel Engine Repair Edmonton
    Diesel performance parts canada
    Edmonton mechanics
    Mechanics edmonton
    http://www.pattypublished.com/optimize-your-vehicle-performance-with-ecm-tuning/

    ReplyDelete
  4. Your informative guidelines implies a lot a person like me and extremely more to my fellow workers.
    School staging
    Portable staging uk
    Staging for schools
    Top deck staging

    ReplyDelete
  5. I as well as my guys were found to be reading the excellent tactics from your web page while instantly I got a horrible suspicion I never expressed respect to the web blog owner for those techniques.
    computer herstellen
    Sage bob 50
    computer reparatie
    Harddisk recovery

    ReplyDelete
  6. It seemed to be the fearsome case in my circumstances, but being able to view this skilled fashion you solved the issue forced me to cry for delight.
    Art deco coving

    ReplyDelete
  7. It's not at all simplistic to just be giving freely tips and hints which often a number of people may have been making money from.
    Tent Manufacturing
    Table Rental kentucky

    ReplyDelete
  8. Almost all notice all about the compelling medium you convey priceless tips by means of this web site and even foster participation from other people about this area and our girl is without question becoming educated so much.
    Herpes Sores
    Herpes In Men

    ReplyDelete
  9. I needed to draft you the tiny word so as to say thanks the moment again on the lovely tricks you've shown here.
    cardiologist In Los Angeles

    ReplyDelete
  10. I think there are numerous more pleasant opportunities in the future for folks who check out your site.
    Harde schijf kapot

    ReplyDelete
  11. The blog or and best that is extremely useful to keep I can share the ideas
    of the future as this is really what I was looking for, I am very comfortable and pleased to come here. Thank you very much.
    earn to die 3| earn to die 6
    earn to die 5| happy wheels
    strike force heroes| slitherio
    earn to die 5| good game empire |tank trouble 2 | earn to die 3

    ReplyDelete
  12. Thanks for sharing this post.It is very extraordinary post.
    <a href="http://examhelpline.in>Examhelpline</a>

    ReplyDelete
  13. Coach Outlet http://www.coachoutletfactory-stores.us.com

    North Face Outlet http://www.northface-outlets.com.co

    Kate Spade Outlet http://www.katespadefactoryoutlet.in.net

    ED Hardy Outlet http://www.edhardypopsale.com

    Coach Outlet Store Online http://www.coachstoreonline.in.net

    Kate Spade Outlet http://www.katespadeoutletstore.in.net

    Cheap Jordans http://www.cheapjordansretro.us.com

    Michael Kors Outlet Store http://www.michaelkorsoutletsstores.us.com

    Coach Purses http://www.coachpurses.eu.com

    Coach Outlet http://www.coachoutlet2016.us.com

    Tory Burch Shoes http://www.toryburch-outlet.us.org

    Longchamp Outlet http://www.longchampoutlet.in.net

    Michael Kors Handbags http://www.innnov8.com

    Coach Outlet http://www.innnovate.com

    Red Bottom Shoes http://www.redbottomshoes.us.org

    Moncler Jackets http://www.monclerdownjackets.us.com

    North Face Outlet http://www.northfacestoreoutlet.in.net

    Kate Spade Outlet http://www.katespadeoutletstore.us.com

    Moncler Outlet http://www.moncleroutletonline.in.net

    Coach Factory http://www.maganates.com

    Coach Factory Outlet http://www.coachfactorysoutlet.in.net

    Kate Spade Outlet http://www.katesapdeoutlet.us.org

    Ray Ban Outlet http://www.raybanoutletstore.in.net

    Christian Louboutin Shoes http://www.christianlouboutinshoes2016.in.net

    North Face Outlet http://www.northfaceoutlets.us.org

    Coach Factory Outlet http://www.coachoutletstore.name

    Kate Spade Outlet http://www.katespadeoutletonline.name

    Coach Outlet http://www.coach-outlets.us.org

    Nike Roshe Run http://www.tanie-nikerosherun.pl

    Buty Nike Air Max http://www.airmaxsprzedazdla.pl

    Nike Air Max http://www.nikeairmax.us.org

    Red Bottom Shoes http://www.redbottomshoe.in.net

    Christian Louboutin Outlet http://www.christianlouboutinoutlet.us.org

    Balenciaga Handbags http://www.balenciagaoutlets.us.com

    Balenciaga Handbags http://www.balenciaga-handbags.us.com

    Kate Spade Outlet http://www.katespadefactoryoutlet.in.net

    Toms Shoes http://www.tomshoesoutlet.us.com

    Hermes Belt http://www.hermes-belts.us.com

    Prada Outlet http://www.pradafactoryoutlet.com

    Louis Vuitton Outlet http://www.louisvuittonsoutlet.us.com

    North Face Outlet Store http://www.northfaceoutletstore.in.net

    North Face Jackets http://www.north-face.in.net

    North Face http://www.north-faceoutlets.us.com

    Louis Vuitton Outlet http://www.louisvuitton-outlets.us.org

    Timberland Boots http://www.timberland-outlets.us.com

    Cheap Timberland Boots http://www.timberlandoutlet.us.com

    Tory Burch Outlet http://www.outlettoryburch.us.com

    Michael Kors Outlet http://www.michaelkorsoutletusa.us.com

    Ralph Lauren Outlet http://www.ralphlaurenstoreoutlet.us.com

    Gucci Shoes http://www.guccifactoryoutlet.name

    Gucci Outlet http://www.guccioutletco.us.com

    North Face Jackets http://www.northfacefactoryoutlet.us.com

    Prada Outlet http://www.pradaoutlets.in.net

    Hollister Clothing http://www.hollister-clothing.us.com

    Ferragamo Shoes http://www.ferragamoshoes.us.org

    Tiffany Outlet http://www.tiffany-outlets.us.com

    Tiffany Outlet http://www.tiffanyco-outlet.us.com

    NFL Jerseys http://www.nfljerseys.name

    Toms Outlet http://www.outlettoms.us.com

    Cheap Jordans http://www.cheapjordans.eu.com

    North Face Outlet http://www.thenorthfaceoutlet.us.org

    Michael Kors Outlet http://www.michael-korsoutletstores.us.com

    Prada Handbags http://www.pradaoutlet.us.org

    Chan Luu Sale http://www.chanluu.us.com

    Toms Outlet http://www.tomsoutletstores.us.com

    Kate Spade Outlet http://www.katespadeoutletonline.us.org

    Beats By Dr Dre http://www.beatsbydrdre.us.org

    Coach Outlet http://www.coachstoreoutlet.us.org

    Christian Louboutin Shoes http://www.christianlouboutinshoe.eu.com

    Valentino Shoes http://www.valentinoshoes.eu.com

    Michael Kors Outlet http://www.michaelkorsoutlet.us.org

    Coach Factory Outlet http://www.coachfactoryoutlet.us.org

    Coach Outlet Online http://www.coachoutletonlinestore.us.org

    Coach Purses http://www.coachpurse.us.com

    ReplyDelete

Note: Only a member of this blog may post a comment.