Ever wonder how those old photos of you would look if you hadn't been wearing glasses? Experimental software developed at Microsoft Corp. can help. The program will automatically remove eyeglasses from photos of faces. Starting with an image of a person, the program locates and isolates the face. Then it uses a statistical learning method to find the eyeglasses, remove them, and fill the blanks in with the appropriate pixel colors.
Determining these fill colors is where the statistical learning really shines. The system uses models based on prior knowledge of which colors and textures belong underneath glasses to work out how to replace the missing pixels. The group's work is the first to perform this type of editing on entire objects, such as glasses, instead of on individual pixels. What's more, the statistical approach can be used to automatically edit out a wide variety of objects--someday, perhaps even unfortunate facial piercings.
Automatic Eyeglasses Removal from Face Images , by C. Wu, C. Liu, H.-Y. Shum, Y.-Q. Xu, and Z. Zhang, IEEE Transactions on Pattern Analysis and Machine Intelligence, March 2004, pp. 32236.