sábado, 22 de outubro de 2011

Now it all makes sense...

Now it all makes sense...:



Submitted by: noworries

Posted at: 2011-10-20 06:53:40

See full post and comment: http://9gag.com/gag/385045

Angry Birds vs. Alfred Hitchcock: "Them Birds" by Dandingeroz Designs

Angry Birds vs. Alfred Hitchcock: "Them Birds" by Dandingeroz Designs:





From Dandingeroz Designs, from the Philippines (created by Dan Eijah Fajardo, aka Dandingeroz, and Pedro Kramer, aka Badbasilisk). It's currently up for voting as a Threadless t-shirt design.

(MyModernMet via Curiosity Counts via @brainpicker)






Watch complete games of the Dream Team from the 1992 Olympics

Watch complete games of the Dream Team from the 1992 Olympics:

Here's a little weekend viewing for you...Ballislife has put several complete 1992 Dream Team games up on YouTube. Here's their game versus Croatia to get you going:





(via @fchimero)

Tags: 1992 Summer Olympics   basketball   Olympic Games   sports   video

In Depth: HDR explained: better results from multiple exposures

In Depth: HDR explained: better results from multiple exposures: In Depth: HDR explained: better results from multiple exposures

HDR explained: what is it?

The sensor in a modern digital camera has less dynamic range than the human eye. That's why we're often disappointed with photographs we take: we don't see the sky as washed out, or the shadows as dark as they appear in our photos.

Naturally, there are now ways to circumvent this using the power of the PC: enter the high dynamic range image processing algorithms.

When we purchase a digital camera, we're often concerned with the resolution of the sensor (the number of megapixels), whether it produces images in JPG or RAW format, and whether we can use different lenses to get images from close up or far away. We're not generally concerned with the dynamic range of the sensor in the camera – in other words, the range of light levels that the sensor can capture.

It turns out that old-style film has less dynamic range than a CCD (charge-coupled device) – the sensor that registers light information that's built into modern digital cameras. If you like, we've moved forward in terms of dynamic range and also, incidentally, in terms of noise: film is noisier at low light intensities than digital.

figure 1

EYE VS SENSOR: How the eye perceives light intensity (blue line) compared to the way the camera does (red line)

Both types of camera perceive a narrower range of light levels than the human eye. That's why when we take a photograph of a landscape, for example, we get an image that doesn't register the cloud formations in the sky (the sky becomes washed out) and the shadows become undifferentiated black.

If you're anything like me, you tend to get a little frustrated and disappointed that the camera isn't recording what you're seeing exactly, but I dare say we've all become rather used to the problem.

What is HDR?

There is, however, a way around this called HDR image processing (high dynamic range). This is a set of algorithms that process images to increase their dynamic range.

With HDR, it's possible to produce an image that has a much greater range of light levels to approximate what the human eye can see, or even to make fantasy images that look nothing like real life.

However, I'll also note that you will run into some issues. For example, the monitors we use to view images also have a smaller dynamic range than the human eye.

Back in the days of film cameras, it was possible to increase the dynamic range of a photo when you printed the image after developing the film. Photographers like Ansel Adams were experts at using this kind of image manipulation – known as dodging and burning – to produce the dramatic photos we've all seen and perhaps bought as posters.

Dodging decreases the exposure of the print making the area lighter in tone, whereas burning increases it making the area darker in tone. Recall that in film photography, the film is a negative version of the photo. Dark areas on the negative will show up as lighter areas on the print paper because the light-sensitive silver salts in the paper will be less exposed, and therefore appear lighter once the print is fixed. Light areas will show up darker on the print, because more light hits the silver salts.

To apply dodging to the print, the photographer would cut out a shape from some opaque material like card to block off part of the scene, and then expose the print paper with that card between the projector and the paper. Because less light hit that part of the scene, it would appear lighter.

Burning was done in a similar way, but this time the photographer wanted to expose part of the scene longer than the rest. They would cut out a shape that would block off the rest of the scene, letting the part to be brightened receive more light.

There are other techniques and materials that can be used, but as you can imagine, dodging and burning this way was a labour-intensive process and was usually only done for art photos and the like.

Another issue is that dodging and burning are physical manipulations that happen in real time, and it's hard to replicate the same effects across a set of prints so that the resulting images are all the same. With digital photographs and programmatic image manipulation, it's a lot easier to create images with a higher dynamic range.

The process goes like this. First you take at least three photographs of a scene. Ideally, these photos are taken with your camera on a tripod so that they all register exactly the same scene. I've tried using a hand-held camera and it just doesn't work as well during the HDR processing – there's always some obvious scene shake that can be seen.

Similarly, the scene itself should be as static as possible: any moving parts (like leaves fluttering in the wind, waves crashing on the beach, or cars or people passing by, for example) won't be the same in each image, causing scene shake in the processed HDR file.

Although the photos are of the same scene and have the same focus and aperture settings, you take them using different exposure times. For best results, you should shoot one photo as normal, and the others two stops either side. Increasing exposure by a single stop doubles your exposure time, and decreasing by a stop halves it.

The dynamic range in photography is the number of stops between the darkest part of an image where you can still resolve detail and the lightest part. DSLRs generally have about 11 stops of dynamic range at low ISO values, and point-and-shoot cameras a stop or so less.

The external Viewsonic monitor I'm using with my MacBook Pro has almost 10 stops, which means that the photos I take with my camera already have twice the dynamic range that my screen can show.

Some cameras, especially DSLRs, have a mode whereby you can shoot three photos as a set, the other two bracketing the first in terms of exposure. The different exposures are regulated by the camera automatically.

On my Canon Rebel XTi (also known as the 400D), this is AEB mode (auto-exposure bracketing) and I can set the required +/- 2 stops there. If your camera shoots RAW instead of JPG and your HDR image processing application supports it, it's possible to just use one photo. The results won't be nearly as good though.

Once you have your three differently exposed photos, it's time to process them. The first stage is to analyse all three photographs in order to merge them as a single HDR image.

HDR explained: encoding photos

Encoding photos

Normal exposure

NORMAL EXPOSURE: Our scene normally exposed

Without getting bogged down in compression details, image formats and so on, traditional images (like an individual photo from our set of three) encodes colour information for each pixel as a set of three bytes, one for red, one for green and one for blue. Each colour channel for each pixel can therefore represent 256 different levels, and the pixel itself can be defined as a single 24-bit value.

An HDR image is different. In a simple sense, it encodes more bits per colour channel per pixel than a standard image, but that's not the entire story. To understand why, we need to understand what's meant by 'gamma correction'.

Over-exposed image

OVER-EXPOSED: Our scene over exposed. Notice the difference in colour tones to the normal exposure

Gamma defines the difference between a pixel's colour values and how bright it is actually perceived (its luminance). For a camera, if you double the amount of light on a sensor's pixel, a value twice the original is detected – the relationship between a pixel's value and its luminance is linear.

This linear relationship doesn't apply for our eyes. When we increase luminance at low light levels, we perceive a larger increase in light. At higher light levels, we don't perceive increases in luminance as well. Our eyes are more sensitive to changes in dark tones than changes in light tones.

Accounting for this difference is known as gamma correction. A camera will apply gamma correction to an image before it saves it as a JPG file. It's the same with image processing applications that work with RAW image files, when you save an image as a JPG. In other words, instead of encoding the values of the pixels reported by the sensor, it will apply a gamma correction (the industry standard value is 1/2.2) first.

Instead of recording the real values of the pixel colours, it will encode them as colour tones that we perceive as varying uniformly. In effect, the code that saves an image as a JPG file uses more bits to encode darker colours than lighter ones.

When you view such a gamma-encoded JPG on your screen, the screen software will apply the reverse gamma correction (a gamma of 2.2 usually) so that the image you see is roughly the same as the original scene. Lighter shades will have less variation than darker shades, though.

under-exposed

UNDER-EXPOSED: Again, notice the differences in colour between this and the first two shots

Notice also that merging three JPGs to produce an HDR image would necessitate that the gamma correction be reversed before the merge. JPG is already a lossy compression algorithm (we're losing image information when the camera creates a JPG, smearing out high-variation regions of the image), which means that our three differently-exposed photos should all be in RAW format.

Now back to the HDR image. It converts colours as tones using the gamma correction just discussed (so darker tones have more shades) and encodes them as a floating point number, using either single precision (32-bit) or double precision (64-bit). All three standard images are used in this conversion/encoding process, since each will have a different complementary set of tone information.

There's a lot of redundant information, so the most popular HDR format compresses the RGB tone data as three fixed point values, with an extra byte holding a common exponent.

Viewing the image

HDR image

TONE-MAPPED HDR: And like magic, the final result shows more dynamic colours and contrast to the original photos

So now we have an HDR image whose tones are encoded in high fidelity using a special encoding scheme. To view it, however, we have to export it as a JPG again.

Because of the +/- 2 stops bracketing, the HDR image has a dynamic range of roughly 14 stops, which happens to be about as much as the eye can perceive, but we have to convert that wide dynamic range into the 10 stops of the screens we use.

We have to map the HDR tones into the range that can be displayed on a monitor. Since we're going to be removing information (or reducing the amount of data) in order to do this, tone mapping is a lossy one-way process. It also tends to be an interpretive process, much as dodging and burning was to the film photographers, requiring a good eye and attention to detail and lots of time tweaking and experimenting.

In any HDR image-processing application, there will be several knobs or sliders you can adjust to change the tone mapping, and thereby the look and feel of the finished low dynamic range image (sometimes known as LDR).

Some examples include exposure or brightness, gamma or contrast – sharpening tools that alter the local appearance of parts of the image. Some may come with presets that generate an LDR image according to the image style you want to show (Photomatix, the application I use, has a preset called Grunge and yes, the results are pretty grungy).

There are several tone-mapping algorithms that can process an HDR image to produce an LDR version (a hands-off algorithm), but it's a field that is being actively researched and is changing rapidly.

The biggest issue that automated algorithms have to solve is that tone mapping, by its very nature, reduces contrast (contrast is a difference in luminance: the higher the contrast, the greater the difference in luminance or tone). The earliest hands-off algorithms were global algorithms that acted on the image as a whole.

An example of global tone mapping is to take the tone (or luminance) information and scale it linearly to the required range. Luminance is a value on an exponential scale (each increase of one stop doubles the brightness), so the linear scaling is usually done on the logarithm of the tone values. The problem with this was that it paid no attention to areas within the image with local high contrast.

Other algorithms attempt to take into consideration regions of the image that have wide variations in contrast. The algorithms use a range of methods to generate an LDR image as a multi-pass process. Some, for example, tone map most of the image one way, then map the localised high-variation regions using another method to maintain contrast.

As you can see, the problem of HDR image processing hasn't been completely solved yet. Nevertheless, it's fast becoming an accepted way to process images with high contrast, and can produce some stunning photographs.



Rare Color Photos From the Depression Era

Rare Color Photos From the Depression Era:


Advertise here with BSA


These vivid color photos from the Great Depression and World War II capture an era generally seen only in black-and-white. Photographers working for the United States Farm Security Administration (FSA) and later the Office of War Information (OWI) created the images between 1939 and 1944.


The FSA/OWI pictures depict life in the United States, including Puerto Rico and the Virgin Islands, with a focus on rural areas and farm labor, as well as aspects of World War II mobilization, including factories, railroads, aviation training, and women working.


The original images are color transparencies ranging in size from 35 mm. to 4×5 inches. They complement the better-known black-and-white FSA/OWI photographs, made during the same period. (Source: US Library of Congress)


1176 Rare Color Photos From the Depression Era


Woman aircraft worker, Vega Aircraft Corporation, Burbank, Calif. Shown checking electrical assemblies.


2125 Rare Color Photos From the Depression Era


Day laborers picking cotton, near Clarksdale, Miss. 1939 Nov.


387 Rare Color Photos From the Depression Era


Instructor explaining the operation of a parachute to student pilots, Meacham field, Fort Worth, Tex.


467 Rare Color Photos From the Depression Era


Gathering corn in the field, Pie Town, New Mexico


556 Rare Color Photos From the Depression Era


Jim Norris, homesteader, Pie Town, New Mexico 1940 Oct.


648 Rare Color Photos From the Depression Era


Lincoln, Nebraska.


742 Rare Color Photos From the Depression Era


Smokestack, 1942.


835 Rare Color Photos From the Depression Era


Shasta dam under construction, California.


930 Rare Color Photos From the Depression Era


General view of a classification yard at C & NW RR’s Proviso yard, Chicago, Ill.


1027 Rare Color Photos From the Depression Era


Mike Evans, a welder, at the rip tracks at Proviso yard of the C & NW RR, Chicago, Ill.


1177 Rare Color Photos From the Depression Era


General view of a classification yard at C & NW RR’s Proviso yard, Chicago, Ill.


1222 Rare Color Photos From the Depression Era


Retiring a locomotive driver wheel, Shopton, Iowa. The tire is heated by means of gas until it can be slipped over the wheel. Contraction on cooling will hold it firmly in shape.


1318 Rare Color Photos From the Depression Era


Ens[ign] Noressey and Cadet Thenics at the Naval Air Base, Corpus Christi, Texas.


1419 Rare Color Photos From the Depression Era


An army practice.


1517 Rare Color Photos From the Depression Era


Photograph shows store or cafe with soft drink signs. Diamond-shaped sign: Fresh Orange-Crush”; above it: Relax and enjoy Royal Crown Cola.


1618 Rare Color Photos From the Depression Era


Day laborers picking cotton, near Clarksdale, Miss. 1939 Nov.


1716 Rare Color Photos From the Depression Era


Sawmill at the Greensboro Lumber Co., Greensboro, Ga.


1816 Rare Color Photos From the Depression Era


Instructor and students studying a map, Meacham Field, Fort Worth, Tex.


1915 Rare Color Photos From the Depression Era


Jack Whinery, homesteader, and his family, Pie Town, New Mexico.


209 Rare Color Photos From the Depression Era


Cutting the pies and cakes at the barbeque dinner, Pie Town, New Mexico Fair. 1940 Oct.


2126 Rare Color Photos From the Depression Era


School children singing, Pie Town, New Mexico 1940 Oct.


2217 Rare Color Photos From the Depression Era


Garden adjacent to the dugout home of Jack Whinery, homesteader, Pie Town, New Mexico.


2316 Rare Color Photos From the Depression Era


Loading cargo on a freighter in the harbor of Frederiksted, St. Croix, Virgin Islands. Because there is no pier, the ship must anchor far from shore.


2417 Rare Color Photos From the Depression Era


Lincoln, Nebraska.


2514 Rare Color Photos From the Depression Era


Answering the nation’s need for womanpower, Mrs. Virginia Davis made arrangement for the care of her two children during the day and joined her husband at work in the Naval Air Base, Corpus Christi, Texas. Both are employed under Civil Service in the Asse.






Start your own Design Contest today and choose from 50-200+ custom design made just for you.



Design You Trust RSS Feed | Design You Trust on FB | Design You Trust on Twitter | Design You Trust


Minha lista de blogs