Seam Carving for content aware Photo resizing

Ever faced the problem of copying and pasting a too big photo in your Blog and seen your Blog losing its sidebar? Ever seen a picture mis morphed in a widget? Do you know how to fit one and the same picture in both a computer-, a PDA- and a cellphone screen without getting distortions? Then you will appreciate the following solution:

Recently, in a PDF paper Seam Carving for Content-Aware Image Resizing, Shai Avidan of Mitsubishi Electric Research Labs and Ariel Shamir of The Interdisciplinary Center & MERL, explain an algorithm they propose to coin Seam Carving to overcome a common problem when you want to present a picture in various ways, or more common, if you want your photo or picture resize with your document in an non destructive or non obtrusive way.

The following three pictures will show what they mean:
First the original photo:

Seam Carving Original
Original photo with indication of horizontal and vertical seams

If for one or another reason this photo is stretched without Seam Carving applied, you get the following distorted result:

Seam Carving Original Stretched without carving
Original Photo Stretched without applying Seam Carving.

If this photo is stretched after applying Seam Carving, it is still distorted, but in an unobtrusive way:

Seam Carving Original stretched with Seam Carving
Original stretched after applying Seam Carving

The diversity and versatility of display devices today imposes new demands on digital media. For instance, designers must create different alternatives for web-content and design different layouts for different devices. Moreover, HTML, as well as other standards, can
support dynamic changes of page layout and text. Nevertheless, up to date, images, although being one of the key elements in digital media, typically remain rigid in size and cannot deform to fit different layouts automatically. Other cases in which the size, or aspect ratio of an image must change, are to fit into different displays such as cell phones or PDAs, or to print on a given paper size or resolution.
Standard image scaling is not sufficient since it is oblivious to the image content and typically can be applied only uniformly. Cropping is limited since it can only remove pixels from the image periphery.
More effective resizing can only be achieved by considering the image content and not only geometric constraints.
We propose a simple image operator, we term seam-carving, that can change the size of an image by gracefully carving-out or inserting pixels in different parts of the image. Seam carving uses an energy function defining the importance of pixels. A seam is a connected path of low energy pixels crossing the image from top to bottom, or from left to right. By successively removing or inserting seams we can reduce, as well as enlarge, the size of an image
in both directions (see Figure 1). For image reduction, seam selection ensures that while preserving the image structure, we remove more of the low energy pixels and fewer of the high energy ones.
For image enlarging, the order of seam insertion ensures a balance between the original image content and the artificially inserted pixels.
These operators produce, in effect, a content-aware resizing of
images.

They also explain this principle in a very instructive video:

A quantum jump forward I would say.

Too Sexy to Fly?

KYLA ENNERT VS SOUTH WEST AIRLINES

Two months ago a 23 year old (I should say young) student Kyla Ebbert was reprimanded by a South West Airlines flight attendant because she was under dressed. First the flight attendant wanted to boot her, but she was allowed to continue the flight under a blanket eventually.

This “news” hit the US news networks as the girl is contemplating to sue South West Airlines.

Here the NBC coverage:

Blogger Burning Taper pointed to an early 70ies commercial of South West Airlines and questions the flight attendant’s sense of history:

Via Trendhunter Too Hot for Take off and ABC News

I would say: “This is hilarious”: Look at all those comments! The family lawyer of Kyla: “If this would have been Paris Hilton, she would have been accompanied to her seat and given a complementary drink!”

What would you say?

Green Travel: Picard Solar Trolley and Travel Bags

Need power to charge your camera, Ipod, Iphone or laptop on the road? Take your solar cells covered trolley or bag with you!

The over 75 years young German Company Picard Lederwaren has introduced a solar cell covered trolley and two solar cell covered bags: The Picard Solar Bag and the Picard Solar Messenger Bag.

Really imaginative and clever…the only thing missing is a good name: what about ICharge or IPowerBag in stead of Picard Solar? Any suggestion?

Via Stewardess Blogo

Added September 10:

I believed I found something new, but here is a Blogger who published about many more solar bags: Talk 2 My Shirt

The Independent: Five best Factory Hotels

Thanks to the UK Independent we now know their five best Factory Hotels:

  • The
    Alicia Room Mate Hotel Front
    Alicia Room Mate Hotel in Madrid, Spain.

    The Room Mate history is this:

    3 friends, Kike, Carlos and Gorka, having drinks mentioned how there weren’t any hotels in Madrid that would satisfy their needs and those of their friends. So they started wondering what kind of hotel they’d like to stay at if they were going to a city like Madrid or Paris.

    They came to the conclusion that there should be one in the heart of the center, with an original decoration and a reasonable price, not saturated with extras and services that are seldom used and with a natural personal feel. Because the only thing you really need while “exploring” a city is a good breakfast.
    So they opened their first hotel, Room Mate Mario in the center of Madrid next to the “Teatro Real”.

    Impressed by the enthusiasm showed by their clients and the media they decided to start a chain of hotels and urban apartments.

    Apparently there are four friends now operating Room Mate Hotels:

    Enrique Sarasola comes from a family constantly linked to the large business world. Carlos Marrero derives from a restoration family business in the Canary Islands. Eduardo Sanzol represents the Sanzol family, important promoters from Navarra, and Gorka Atorrasagasti. who is from Donostia (Basque Country) and has directed entertainment/nightlife events for years.

    The Independent:

    Housed in an early 20th-century shoe factory, it has 34 bright, contemporary bedrooms overlooking the Plaza Santa Ana, and is a stroll away from the Prado and Reina Sofía.

  • The
    Bratsera Logo
    Bratsera Hotel on the Greek Hydra Island.

    The funny thing with this old logo is that it denominates the old sponge export business as N.V. Verveniotis which is a typical Dutch language abbreviation for publicly held a limited liability corporation as they still exist in The Netherlands and in Belgium.

    The Independent:

    Situated on the idyllic, car-free island of Hydra, the Bratsera began life in 1860 as a sponge factory, cleaning and pressing sponge from the Mediterranean for shipping. But as plastic became cheaper, the industry went into decline, and current proprietor Christine Davros decided to diversify into hospitality. After an extensive renovation, the Bratsera emerged as a chic boutique hotel, with 28 individually designed rooms, an outdoor pool and a wisteria-draped courtyard restaurant serving Greek cuisine.

  • The

    Nhow Milano
    Nhow Milano belonging to NH Hoteles.

    The Independent:

    The work of designer Matteo Thun and architect Daniele Beretta, the Nhow Hotel has come a long way from its beginnings as the General Electric powerplant on Milan’s Via Tortona. Built in 1935 and restored last year, the hotel is in the heart of the trendy “Zona Tortona” – the canal-side district that was once a centre of heavy industry and is now an artists’ quarter, home to studios, galleries, bars and shops.

  • The
    Tea Factory Hotel
    Tea Factory Hotel in Sri Lanka

    The Independent:

    Rising out of the mist on a hilltop in Sri Lanka’s highlands, the imposing Tea Factory Hotel once produced some of the finest pure Ceylon tea in the world. Built during the British Raj in the 1930s, it was later rescued from dereliction in 1992 and converted into a luxury hotel. The 57 colonial-style rooms are housed in the old withering lofts, with views over the tea hills; a bar occupies the one-time packing area; a restored railway carriage is now a restaurant.

  • The
    Henry Jones Art Hotel
    Henry Jones Art Hotel Hobart, Tasmania, Australia

    The Independent:

    One of Tasmania’s most famous residents, the entrepreneurial Henry Jones went from label-paster to head of his own jam-making empire – and the largest private company in the world at the time. His IXL jam works – a row of Georgian buildings lining Hobart’s waterfront – now comprise an award-winning hotel, bar and restaurant, as well as a regularly changing display of more than 250 works of art. Designed by local architect Robert Morris-Nunn, the 50 open-plan rooms are gritty and modern, echoing Hobart’s colonial trading links with Indo-China (ottomans and silk eiderdowns) as well as the factory’s past (exposed brickwork, refurbished machinery and wood panelling).

Oops another five for my want to visit list……

Boston: Charles Street Jail opened as The Liberty Hotel

Boston Liberty Historic Picture

This week sees the opening of the former Boston Charles Street Jail reborn as The Liberty Hotel after an US $ 150 mio acquisition / refurbishment of 5 years.

The luxury hotel features 300 rooms (i.e. a US $ 500,000 investment per room) of which 10 lavish suites. Not all rooms are crammed in the old Jail, rest assured. There is a modern high rise next to the old Jail dating back from 1851.

Boston liberty 02

The Jail House past comes back in a specially commissioned mosaic by Coral Bourgeois featuring multi- textured tiles depicting historical scenes from penitentiaries and true life crimes, in “do not disturb” door hangers wisely worded Solitary and Alibi, and in the first floor bar that is housed within the jail’s former Drunk Tank.

Ah, they have Molton Brown bathroom amenities, which reminds me I have a rant in my sleeve about Molton Brown.

Via Hotels of The Rich and Famous Blog