ADS
It’s not just teenage girls who are guilty of selfie-filtering action - scientists have now got in on the trend too. 
Researchers in Massachusetts have developed an algorithm that they claim takes standard filtering techniques to a new level.
The algorithm allows the distinctive style of studio photography to be layered over the top of portraits.
Scroll down for video 
Researchers in Massachusetts have  developed an algorithm that allows the style of studio photography to be  layered over the top of portraits.The original photos (far left) have  three styles transferred onto them: (from left) high contrast, warm and  soft lighting, and high-contrasted black-and-white
The  problem with existing style-transfer apps is that they tend not to work  well with close-ups of faces, according to YiChang Shih, an MIT  graduate. 
‘Most  previous methods are global: From this example, you figure out some  global parameters, like exposure, colour shift, global contrast,’ Mr  Shih says. 
‘We  started with those filters but just found that they didn’t work well  with human faces. Our eyes are so sensitive to human faces. We’re just  intolerant to any minor errors.’ 
The technique, known as ‘local  transfer’ is thought to work well with video footage. The inset images  show the style that the algorithm layered over the portraits
Using  off-the-shelf face recognition software, researchers first identified a  portrait, in the desired style, that has characteristics similar to  those of the photo to be modified.
‘We  then find a dense correspondence - like eyes to eyes, beard to beard,  skin to skin - and do this local transfer,’ Mr Shih explained. 
The technique, known as ‘local transfer’ is also thought to work well with video footage. 
Even local transfer, however, still failed to make modified photos look fully natural, Mr Shih said. 
So the researchers added another feature to their algorithm, which they call ‘multi-scale matching.’ 
‘Human  faces consist of textures of different scales,’ Mr Shih said. ‘You want  the small scale - which corresponds to face pores and hairs - to be  similar, but you also want the large scale to be similar - like nose,  mouth, lighting.’ 
Even local transfer, however, still  failed to make modified photos look fully natural, Mr Shih said. So the  researchers added another feature to their algorithm, which they call  ‘multi-scale matching'. This image shows how a face can be transfromed  to look as if it has had studio lighting (centre) 
Mr Shih said that the technique works  best when the source and target images are well matched — and when  they’re not, the results can be bizarre
Modifying  a photo at one scale can undo modifications at another. So for each new  image, the algorithm generates a representation called a Laplacian  pyramid. 
This  allows it to identify distinctive characteristics of different scales  that tend to vary independently of each other. It then concentrates its  modifications on those. 
Mr  Shih said that the technique works best when the source and target  images are well matched — and when they’re not, the results can be  bizarre. 
For  instance, the algorithm might superimpose wrinkles on a child’s face.  But in experiments involving 94 photos culled from the Flickr  photo-sharing site, their algorithm performed well. 
Robert  Bailey, now a senior innovator at Adobe’s Disruptive Innovation Group  said that the researchers’ technique is an advance on conventional image  filtration. 
‘You can’t get stylisations that are this strong with those kinds of filters,’ he said. 
‘You  can increase the contrast, you can make it look grungy, but you’re not  going to fundamentally be able to change the lighting effect on the  face.’ 
By  contrast, the new technique ‘can be quite dramatic,’ Mr Bailey said.  ‘You can take a photo that has relatively flat lighting and bring out  portrait-style pro lighting on it and remap the highlights as well.’ 
A new breed of photo editing app is  gaining popularity as people seek to digitally doctor their selfies so  that they too can looks ‘perfect’ on social media sites. These before and after shots are from the Pixtr app
Share or comment on this article
ADS
 
No comments:
Post a Comment