title: Matlab face alignment code
body: <p>I am attempting to do some face recognition and hallucination experiments and in order to get the best results, I first need to ensure all the facial images are aligned. I am using several thousand images for experimenting.</p>
  
  <p>I have been scouring the Internet for past few days and have found many different programs which claim to do so, however due to Matlabs poor backwards compatibility, many of the programs no longer work. I have tried several different programs which don't run as they are calling onto Matlab functions which have since been removed.</p>
  
  <p>The closest I found was using the SIFT algorithm, code found here</p>
  
  <p><a href="http://people.csail.mit.edu/celiu/ECCV2008/" rel="nofollow">http://people.csail.mit.edu/celiu/ECCV2008/</a></p>
  
  <p>Which does help align the images, but unfortunately it also downsamples the image, so the result ends up quite blurry looking which would have a negative effect on any experiments  I ran.</p>
  
  <p>Does anyone have any Matlab code samples or be able to point me in the right direction to code that actually aligns faces in a database.</p>
  
  <p>Any help would be much appreciated.</p>