• On GameFAQs: Is it OK to lay my Wii down on its side?
November 1, 2007 4:00 AM PDT

Microsoft hopes scRGB will improve photo colors

by Stephen Shankland

For a computer, dealing with color is just another math problem. And Microsoft wants to change the way your PC counts.

This image shows overexposed highlights, a common problem with digital photography. Look below to see some image-editing results.

(Credit: Microsoft/Bill Crow)

The company has developed a color space--a way to encode colors as numbers a computer can process--called scRGB. If the company succeeds in getting it to catch on, the technology could help add depth and richness to photos taken with digital cameras and viewed on a computer or TV screen.

Today's cameras and computers usually employ a color space called sRGB, developed in the 1990s by Microsoft and Hewlett-Packard, that describes colors as a particular combination of red, green, and blue. But sRGB is limited both in the breadth of colors it can display and in the subtlety of the tonal shades that separate bright from dark, and scRGB is designed to lift those limits.

The sRGB goal was to make Web page colors more consistent from one computer to the next, and it succeeded at that, said Bill Crow, who has led Microsoft's HD Photo effort to improve digital imagery and who has just been named group manager of the company's Microsoft Live Labs Seadragon imaging effort. But it's designed to match the performance only of decade-old CRT monitors, which fall short of the spectrum of hues that human eyes can distinguish and that newer monitors can display, he said.

"The challenge of sRGB is that it's a subset of the total color space. We are discarding colors when we encode...into sRGB," Crow said. "ScRGB would allow a richer saturated red value...than the sRGB limit for red."

The human eye is good at discerning the subtleties of shadows even on a sunny day, but not so digital cameras, monitors, and file formats such as JPEG. And although most people aren't discontent with the state of image display on their computers, digital photography is exposing limits of sRGB for experts, enthusiasts, and even ordinary photographers trying to edit their photos.

Boosting HDR
The shortcomings of today's technology are particularly glaring for one burgeoning photography technique taking root among enthusiasts, high-dynamic range, or HDR, photography. This technique merges multiple photos taken at different exposures into a single shot whose tonal range can accommodate the brightest brights, the darkest darks, and everything in between.

The left image shows how JPEG, with its narrow dynamic range, sometimes loses data when edited to correct for overexposure. The right HD Photo image, encoded with scRGB, has more range, so highlights can be recovered better.

(Credit: Microsoft/Bill Crow)

The first problem is the initial photos can't manage the whole dynamic range. The second is that once the HDR image is created, computer monitors can't display it the way a human eye would see it. Instead, HDR today involves a process called "tone mapping" to pick which shades to display or not. The result can be halos around dark areas and other peculiarities.

"Dealing with HDR information in general right now is challenging, because you can't see it on your monitor," said Kevin Connor, senior director of product management for Adobe's digital imaging group. "Until the display technologies pick up, it's hard for the average person to actually make broad use of it."

For the more mainstream case of photo editing, Crow said, scRGB can help bring about a future in which a washed-out patch of white in a photo can be corrected to recover different gradations of brightness.

How scRGB works
The scRGB color space is an extension of sRGB, Crow said, and colors such as black or 100 percent green looks the same with either. What's different with scRGB is that it can extend farther--well beyond the colors that can be seen by the human eye--and subdivide more finely than sRGB.

ScRGB can lavish double or even quadruple the number of bits of data used to describe each pixel. And it can use not only integers but also floating-point numbers that enable much narrower steps on the path from light to dark.

ScRGB isn't just an academic idea. It's been a royalty-free standard (click for PDF) since 2003 and therefore is "free for anyone to use," Crow said. But the more likely impetus for adoption is that scRGB support is built into Windows Vista and into the HD Photo file format Microsoft is working to standardize as JPEG XR.

If Microsoft succeeds in getting HD Photo to catch on as JPEG XR, it could help carry scRGB beyond the PC.

"I absolutely expect scRGB support in cameras to accompany JPEG XR," Crow said. One sRGB weakness is that it's designed to be an "output-referred" color space--one geared specifically for showing information on displays. In contrast, scRGB is also designed for input devices such as cameras and processing such as Windows Vista's image-handling mechanism.

Chipmakers have already implemented the technology in camera image processors, but Crow wouldn't estimate when that technology might make it to market.

Recording more data per pixel makes for larger file sizes, but Microsoft argues that the space is regained when using its scRGB-compatible image file format, HD Photo, which has roughly twice the compression efficiency as today's JPEG standard.

With fewer colors and smaller numbers, sRGB may sound simpler to deal with, but those limits bring complications.

"The smaller the color space, the bigger the color-management problem," Connor said. "Each device has different set of trade-offs about which colors it's trying to capture and which it says it's not going to bother with."

For example, to best use sRGB's maximum of 256 levels of brightness, computers were adapted to put the gradations where people are most sensitive to their presence: in the shadows. A mathematical parameter called "gamma" determines the location of the midpoint on the curve from dark to bright and therefore where the shades of gray show up. But not every software package and computer monitor is set up with the same gamma setting.

In contrast, scRGB ignores gamma altogether, evenly dividing the tonal gradations. That simplifies the mathematical operations of image-editing software, Crow said.

Slow transitions
Another color space, AdobeRGB, gradually has caught on as an alternative that can show a wider gamut of colors than sRGB. But it illustrates a challenge of getting a new color space to catch on: it's supported generally only in higher-end cameras, and most software, such as the current versions of Internet Explorer and Firefox, can't handle it. An image on the Web that's encoded with AdobeRGB looks drained of color unless you're viewing it with Apple's Safari browser.

AdobeRGB caught on in part through the success of Photoshop, the king of the image-editor mountain. Photoshop 5 introduced the color space as a way to accommodate blue colors used in printing that weren't described by sRGB, Connor said.

Microsoft lacks Adobe's imaging clout, but possesses a different power: Windows. "Any time you have Microsoft endorsing a standard," said Erik Willey, director of product marketing for desktop displays at monitor maker ViewSonic, "then it's got momentum behind it."

Stephen Shankland writes about a wide range of technology and products, but has a particular focus on browsers and digital photography. He joined CNET News in 1998 and since then also has covered Google, Yahoo, servers, supercomputing, Linux and open-source software, and science. E-mail Stephen, or follow him on Twitter at http://www.twitter.com/stshank.
Recent posts from Underexposed
Nikon app teaches photography on the fly
Smile! Flickr has an official iPhone app
Corel Digital Studio 2010 opens up to consumers
Adobe tests raw support for Olympus E-P1, new Nikons
Adobe's next Lightroom to forsake PowerPC Macs
How Flickr needs to change
Adobe kills low-end Photoshop, urges users online
Toshiba plans 64GB SDXC memory cards for 2010
Add a Comment (Log in or register) (11 Comments)
  • prev
  • 1
  • next
Interesting
by yalahao November 1, 2007 5:26 AM PDT
This is funny: the two comparing pictures here are both jpeg, aren't they?

I doubt the difference we see here is because of the different color spaces, or different Photoshop processing...
Reply to this comment
Windows only
by Ilgaz November 1, 2007 5:52 AM PDT
MS, stop joking. Where is the OS X support mentioned? The OS of
DTP Pros, movie pros not getting support eh?

Good luck with your new standard (!).
Reply to this comment
Ugh. Blind rage.
by three_toed_frog November 1, 2007 7:25 AM PDT
The point of making something a "standard" is to get everyone to adopt it.

Microsoft has no control over what Apple does or does not include in their OS. ScRBG implementation would fall upon Apple to integrate it into their OS.
View reply
International standards body will hate this.
by inachu November 1, 2007 9:38 AM PDT
Of course current browser will not be able to view these picture but a red X will be shown instead.

I can feel Microsoft trying to cripple the internet already.
Reply to this comment
Like a book!
by KTLA_knew November 1, 2007 9:44 AM PDT
Man, glad I'm not the only one smart enough to realize MS has cleverly gone to all this effort in an attempt to destroy the internet!
Will it make the Blue Screen of Death bluer?
by HaveSomeTea November 1, 2007 10:33 AM PDT
How about the Xbox Red Ring of Death, will it make it a really nice red?
Reply to this comment
Zero chance of succeeding
by ewelch November 1, 2007 12:53 PM PDT
Nobody serious about photography is going to take Microsoft's
faux-open file format as an alternative to TIF or PSD. Adobe
certainly isn't going to help them. They are competitors.
Microsoft is trying to kill off PDF with some lame technology.

As for adopting this new color space, if it proves to be superior
to AdobeRGB I'll be happy to use it. It's not hard to implement in
software. But getting camera makers and professionals to buy
into something that is not superior is going to be impossible.

As for the sample photos showing the difference between jpeg
and Microsoft's HD (buzzword complaince is not enough, stop
ripping off High Definition's caché Microsoft!) substitute for JPEG
is bogus. I could make any jpeg look as good as the photo on
the right, and with a little manipulation make the one on the
right look like the one on the left.

It's utter nonsense to claim jpegs can't produce good quality
images. Be that as it may, RAW is the future of serious
photography. I can only imagine Microsoft will probably try to
pretend this new format is like a RAW file format.
Reply to this comment
If it's in the cameras, it'll fly
by bemenaker November 1, 2007 1:28 PM PDT
Camera makers are already talking about switching to this color space. That will put it out there. JPG's aren't bad, but JPG2000 is way better, but unfortunately, not that widely used. TIFF, is high end stuff only, PSD is for manipulation, and Raw is raw, great to work with, but you don't use raw as your final format to display.
(11 Comments)
  • prev
  • 1
  • next
advertisement

FAQ: Buying the right Windows 7 upgrade

Readers still have lots of questions on just which version of the software they need to buy in order to upgrade their PC. CNET News tries to offer some answers.

N.Y. lawsuit details Intel's 'largesse' toward Dell

Attorney General Andrew Cuomo's federal antitrust case filed Wednesday alleges a longstanding symbiotic relationship between Intel and Dell.

About Underexposed

This blog sheds light on digital photography subjects such as cameras, photo editing, and Web sites. Shankland joined CNET News in 1998 after a five-year stint as a science writer. He's a lab rat who grew up in Los Alamos, N.M., and graduated from Harvard.

Contact Stephen at Stephen.Shankland@cnet.com

Add this feed to your online news reader

Underexposed topics

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right