Showing posts with label Image. Show all posts
Showing posts with label Image. Show all posts

Wednesday, August 8, 2007

Photo tool could fix bad images



By Mark Ward Technology correspondent, BBC News website

This is the original image with a roof spoiling the view...Digital photographers could soon be able to erase unwanted elements in photos by using tools that scan for similar images in online libraries.
Research teams have developed an algorithm that uses sites like Flickr to help discover light sources, camera position and composition in a photo.
Using this data the tools then search for objects, such as landscapes or cars, that match the original.
The teams aim to create image libraries that anyone can use to edit snaps.

Stage one: The roof is isolated and the algorithm searches for similar scenes
James Hays and Alexei Efros from Carnegie Mellon University have developed an algorithm to help people who want to remove bits of photographs.
The parts being removed could be unsightly lorries in the snaps of the rural idyll where they took a holiday or even an old boyfriend or girlfriend they want to rub out from a photograph.
To find suitable matching elements, the research duo's algorithm looks through a database of 2.3 million images culled from Flickr.
"We search for other scenes that share as closely as possible the same semantic scene data," said Mr Hays, who has been showing off the project at the computer graphics conference Siggraph, in San Diego.
In this sense "semantic" means composition. So a snap of a lake in the foreground, hills in a band in the middle and sunset above has, as far as the algorithm is concerned, very different "semantics" to one of a city with a river running through it.

Stage two: It compares photos online to find a matching scene
The broad-based analysis cuts out more than 99.9% of the images in the database, said Mr Hays. The algorithm then picks the closest 200 for further analysis.
Next the algorithm searches the 200 to see if they have elements, such as hillsides or even buildings, the right size and colours for the hole to be filled.
The useful parts of the 20 best scenes are then cropped, added to the image being edited so the best fit can be chosen.
Early tests of the algorithm show that only 30% of the images altered with it could be spotted, said Mr Hays.
The other approach aims to use net-based image libraries to create a clip-art of objects that, once inserted into a photograph, look convincing.

Stage three: The finished picture has the roof removed and boats in a bay added
"We want to generate objects of high realism while keeping the ease of use of a clip art library," said Jean-Francois Lalonde of Carnegie Mellon University who led the research.
To generate its clip art for photographs the team has drawn on the net's Label Me library of images which has many objects, such as people, trees and cars, cut out and tagged by its users.
The challenge, said Mr Lalonde, was working out which images in the Label Me database will be useful and convincing when inserted into photographs.
The algorithm developed by Mr Lalonde and his colleagues at Carnegie Mellon and Microsoft Research analyses scenes to find out the orientation of objects and the sources of light in a scene.
"We use the height of the people in the image to estimate the height of the camera used to take the picture," he said.
The light sources in a scene are worked out by looking at the distribution of colour shades within three broad regions, ground, vertical planes and sky, in the image.
With knowledge about the position, pitch and height of the camera and light sources the algorithm then looks for images in the clip art database that were taken from similar positions and with similar pixel heights.
The group has created an interface for the database of photo clipart so people can pick which elements they want to add to a scene.

Sunday, July 29, 2007

In pictures: Iraqi football fever ( 3 )

An Iraq fan waves the flag at Asian Cup final against Saudi Arabia at Bung Karno stadium in Jakarta, Indonesia - 29/07/2007

Iraq fans were in high spirits ahead of the match at Bung Karno stadium in Jakarta, Indonesia.

Iraq fan in Jakarta, Indonesia

This woman decorated herself with the Iraqi national flag to cheer on her team.

A shopkeeper folds Iraqi flags in Baghdad - 29/07/2007

A shopkeeper in central Baghdad prepared for the game, folding Iraqi flags

Iraqi soldier in Baghdad - 29/07/2007

Security was tightened amid fears insurgents would attack crowds of fans. About 50 people were killed in attacks after Iraq's victory in the semi-final.



In pictures: Iraqi football fever ( 2 )

Man with Iraqi flag painted on face in Karbala, Iraq.

The smile on this man's face says it all, as he joined the celebrations in Karbala.

Stockholm, Sweden

There were celebrations in other countries too, like this one in Stockholm, Sweden, where people waved Kurdish (left), Swedish and Iraqi flags.

Stockholm, Sweden

There were celebrations in other countries too, like this one in Stockholm, Sweden, where people waved Kurdish (left), Swedish and Iraqi flags.

Iraqi soldiers in Baghdad

Iraqi soldiers in Baghdad enjoyed their team's victory. Thousands of Iraqis welcomed the win with celebratory gunfire despite a government ban.


In pictures: Iraqi football fever ( 1 )


Iraq's captain Younis Mahmoud (left) celebrates with team-mates after scoring a goal against Saudi Arabia during the final match of the Asian Football Cup 2007

Iraq's football captain Younis Mahmoud scored the winning goal that gave his team victory in the Asian Cup final against Saudi Arabia.

Fans at a cafe in Baghdad

This Baghdad cafe erupted into cheers as the winning goal was scored.

Crowd in Karbala, Iraq

Crowds of people flowed into the streets of cities across Iraq, including this group in Karbala, 80km (50 miles) south of Baghdad

Thursday, July 26, 2007

Cycling 2007

AFP brings you all the major races in an improved range of products. Our innovative solutions and top quality coverage are available for most platforms in real-time.

Full Coverage: Text, Photos & Graphics

  • 20 stories a day available in English, French and Spanish
  • Cyclists, teams profiles and stage profiles
  • Commentaries
  • Stage descriptions
  • 50 and 100 photos a day during major races
  • General map of the race

Interactive Flash:

A complete module in Flash format including interactive content and live commentaries.

  • All teams described (for all races, the entire riders list)
  • Cyclists, teams profiles and stage profiles
  • Live commentary (optional)
  • Simplified results updated (indivudual and team winners)
  • After each race or stage, the race and general standings

Thursday, July 12, 2007

Catching critters

Catching critters
Back in their home village in Sakon Nakhon province, they try to supplement their income by catching their own insects to sell locally.

Using a UV light, they catch bugs outside their house – some of which they eat themselves and others they sell in the local market.

It is a trend that is increasing in popularity in the region. In fact local agricultural specialists are actively encouraging people to catch their own insects, and even specifically farm them.








HOW HARRY POTTER HAS AGED

Daniel Radcliffe in Harry Potter and the Philosophers Stone

Daniel Radcliffe was chosen to play Harry Potter in The Philosopher’s Stone when he was just 10 years old.

Daniel Radcliffe in Harry Potter and the Chamber of Secrets

By the time the Chamber of Secrets was released, Radcliffe, 13, had grown used to the limelight.

Daniel Radcliffe in Harry Potter and the Prisoner of Azkaban

Radcliffe was 15 when The Prisoner of Azkaban came out. Questions were asked about whether he was too old.

Daniel Radcliffe in Harry Potter and the Goblet of Fire

Following the Goblet of Fire, Radcliffe, then 16, signed up to play Potter in the remaining three films.

Daniel Radcliffe in Harry Potter and the Order of the Phoenix

Radcliffe, who next appears in The Order of the Phoenix, is now 17 and has branched out into theatre.

In pictures: Eating insects in Thailand

In pictures: Eating insects in Thailand



Personal favourites
Areerat's most popular offering is a 20 baht (50 cent, 25p) bag of grasshoppers. But she has her own personal favourite.

“I prefer a type of cockroach with lots of sticky eggs inside, which makes them very tasty,” says Areerat.

“My favourites are water beetles," adds her husband Udon, who also sells insects.

"They have more meat inside and they’re quite chewy. I eat them all the time. Sometimes I even eat dung beetles, although not many people want to buy them.”




Long hours
Like most of the Thais who sell and eat insects, Areerat and Udon come from an impoverished part of north-eastern Thailand, with few other employment opportunities.

They travel down to Bangkok for months at a time, leaving their daughter in the care of relatives.

“I can make 1000 baht ($32) a night,” Areerat says.

But it is also hard work – cooking during the afternoon, plying the streets of Bangkok’s entertainment district until 2am, then going to the early market to buy supplies.


Monday, July 9, 2007

IMAGE TOUR DE FRANCE ( II )

Spectators dressed up as Napoleonic soldiers watch the pack

Men dressed as Napoleonic soldiers greet the pack as they make their way through the countryside

A Belgian cycling fan

The welcome is equally warm when the riders make their way across the border into Belgium

The USA's Fred Rodriguez receives treatment

A nasty looking crash inside the last 3km involving many riders causes havoc and leaves several hurt

Gert Steegmans

Tom Boonen looks set to win the stage but he is edged out in a sprint to the line by Quick-Step team-mate Gert Steegmans

Fabian Cancellara finishes the stage

Cancellara falls heavily in the crash and crosses the line nursing a hurt arm - but he will retain the yellow jersey

David Millar

David Millar remains in third place while fellow Briton Bradley Wiggins remains in fifth