Minggu, 25 Agustus 2013

Ice dust

Ice dust, snowflake group macro photo


This is smallest ice crystals i've ever photographed. I think, bigger of them not large than 0,2 mm. Looks better in original resolution: 1024x768.

The story: in december 2012 in Moscow was a really cold week, without any snowflalls, clear skies day and night. While waiting for snow, i leave my glass surface outdoors, hoping to catch some flakes, if they fall at night. One morning i found it covered by ice dust, without any flakes visible by naked eye. As in this photo, i picked best looking crystals from whole frame and drag them in one compact group.

More snowflakes in album snowflakes and snow crystals.
Also i wrote small article about my shooting technique.

This is three in-camera jpeg's from this morning (please click on them to load full 12mp images):

snowflake macro photo snowflake macro photo snowflake macro photo


Also i photographed transparent ruler (at same distance from the lens as snowflakes) and blended it to snowflake shot to see scale:

Ruler_scale, snowflake macro photo

Ruler scale cropped, snowflake macro photo

Kamis, 22 Agustus 2013

About averaging identical shots

(russian version of this post)


...or how to spend several hours to make from this picture

snowflake unprocessed jpeg

this:

snowflake averaged



It was a joke. First picture (here it's original, 12 megapixel jpeg) does not contain enough information to get from it details, visible at second picture. First shot - jpeg straight out of camera (one of seven identical shots of this snowflake, captured in serie by steady camera). It have clearly visible effects of camera's built-in denoising and sharpening algorithms (sharpening can be turned off in camera menu, but denoising cannot). This shot was taken at minimum ISO for Canon Powershot A650 (80), but contains noticeable remains of supressed noise and blurring instead of small and subtle details. Second version of this picture - result of averaging all seven RAW shots with following software sharpening and noise reducing, assembly with masks from four variants of this picture with different denoising strength.

Signal-to-noise ratio, or why averaging works better than denoising plugins (but combining both techniques is even better).

All this small, subtle and hardly noticeable details, like circular pattern of tiny spots around snowflake's center, or smooth transitions of dim colors at unfocused background, hided in RAW files, untouched by in-camera denoising algorithms. The problems is: all those details masked by luminocity and color noise in any single shot. But we have 7 identical serial shots, whose differences from each other (in ideal case) only by camera's noise patterns because of it's random nature. If we average these shots (i.e. take arithmetical mean from luminocity values of each pixel in each color channel from all 7 shots), we will get dramatic lowering of noise level while preserving all details in picture, or, in other words, raise picture's signal-to-noise ratio (SNR). If we apply world's best noise reduction software to any single shot from this serie instead of averaging all shots, we will get loss of picture details (strength of noise removing and details quality always correlated). But we need noise removing software also. Seven shots is insufficient to lower compact camera's noise to invisible levels. If we average 50 shots or more (as in following photo), we can easily skip noise reduction stage:

full moon photo


In shot of Pleiades star cluster (below) i averaged 142 shots. This allows to get visible dim stars and correct star colors (blue and orange) in very bad shooting conditions: strong light pollution within Moscow city and ISO 800 from compact camera sensor (because i used 6x optical zoom, i was forced to use short exposure, if i want avoid star trails, and to get maximum possible light during short exposure time, i set aperture to smallest F-number and set maximum sensor sensitivity).

Pleiades M45 star cluster photo


Here is 3 crops in 1:1 scale, without any noise removing or sharpening: one shot of serie, averaging of 16 shots and averaging of all 142 shots:




Please make attention to color of the sky: at all three fragments i applied identical contrast curve, but correct black color achieved only by averaging. Even with best noise removing software, in any single shot of this serie i cannot see small and dim stars: their signal level lies below level of camera noise. If i average 16 shots, things are better, but many dim stars still invisible, and colors of stars distorted by color noise (because of their tiny size at picture). If i have only 16 shots in this serie, after averaging i will need to do noise removing, and this will distort star colors even more.

Used software: Adobe Photoshop CS4, Noiseware denoising plugin, optionally - Hugin panoramic stitcher (from this package we need only commandline utility "align_image_stack.exe").

In this table - snowflake fragment in 1:1 scale, to "single raw" and "7 raws averaged" applied sharpening (unsharp mask 300%, radius 1, threshold 0). In bottom row - same crops with Noiseware denoising at same settings for all fragments.

JPEGsingle RAW7 RAWs
JPEG + noisewaresingle RAW + noiseware7 RAWs + noiseware

Start of workflow: RAW converter

I will use Adobe Camera RAW. I load first shot from serie in converter and make all needed adjustments (white balance, exposure, brightness, etc.) Then i set linear contrast curve and disable noise removing and sharpening. Import first RAW in photoshop, save it as TIFF with 16bit depth per channel without compression, then open all other RAWs, apply to them settings of first shot (load presets - previous conversion), and save them as TIFFs.

Aligning

Now we face first problem. In ideal world, all shots of static scene, captured by steady camera, will be perfectly identical. In reality, more probably that there will be small shifts and/or rotations of shots and/or photographed object (especially in case of snowflake, captured outdoors). Our shots must be aligned, and (important!) with subpixel precision, if we want good sharpness of resulting picture. Fortunately, subpixel precision easily achieved by simple trick: aligning software will work with shots, enlarged several times, and after averaging we shrink picture back to it's original size.

Let's load all saved TIFFs in photoshop as layers in one document (file - scripts - load files into stack). If shifts between frames serious and easy noticeable, firstly i do rough manual aligning, relative to bottom layer in the stack (for example, by snowflake's center). Manual aligning can be simplified, if for any shot we set blending mode = "difference" instead of "normal", then move shot in needed direction until image becomes darkest, which indicates minimum differences to underlying layer, and then restore blending mode back to "normal". After aligning i save .PSD with all layers, then crop snowflake, leaving some space around it in all directions. This crop i enlarge to 5x (500%), using "image size" command, with bicubic interpolation.

Aligning itself can be done in Photoshop or Hugin. They have different algorithms, and in some cases one of them works better than another.

1. For Photoshop, all layers selected (in "Layer" menu) and started "Edit - Auto align layers" with "auto" checkbox.

2. For Hugin, all layers after enlarging exported to disk as 16bit TIFFs (file - scripts - export layers to files), then alignment started by command "align_image_stack.exe -a aligned -v -v file1.tiff ... file7.tiff". When it's done, source TIFFs can be deleted, and aligned*.tiff loaded back in photoshop as stack of layers in one document.

Averaging

Aligned layers now ready for averaging (if between them still remains shifts or rotations, we need to try another aligning method). In Photoshop, averaging can be performed by one of 2 methods:

Method 1, simpler and effective (available in Photoshop CS2 and newer) - using smart objects (thanks to Dmitry D. for advice!). We just select all source layers and apply menu command Layer > Smart Objects > Convert to Smart Object. Then, in menu Layer > Smart Objects > Stack Mode we choose "Mean" and wait until averaging was done. After that we apply Layer > Smart Objects > Rasterize and have single layer with averaged picture. This method especially useful if we have big (or odd) count of source layers.

Method 2, suitable for older Photoshop versions or other graphics editing programs that support layers with changeable opacity. Also, this method is useful if we have some unwanted details in some source layers (for example, moving objects) - we can easily exlude them by adding white masks to these layers and remove such objects, painting masks with black brush. All we need now is set opacity to all layers in stack, in order to all of them will give equal contribution in final result. For all layers, started from bottom one and toward upper, opacity will be: 100%, 50%, 33%, 25%, 20%, 17%, 14% and so on, i.e. opacity of each layer = 100% divided by its number in the stack (counted from bottom). If we have too many layers, this method becomes ineffective because of rounding errors to integer opacity number. Simple way to avoid this - divide all shots to equal groups, average them within groups, and then average groups with groups (for example, 4 groups of 5 shots for 20 shots in serie). For seven shots in this example, i make two groups (4 and 3 shots), and average smaller group to bigger with opacity 43% (100/7*3). When it's done, all layers merged in one (layers - flatten).

After that, we shrink picture back to it's original size (20%). This can be done in "Image - Image size" menu with bicubic method, but i recommend to do this in several steps (by 70 - 80% in each step). When we do such serious shrink, too big number of source pixels merged into one resulting pixel, and, likely, bicubic interpolation uses only part of source pixels, and unused ones simply discarded and do not make any gain in resulting pixel's color and luminocity. If we carefully compare pictures, shrinked by both methods, with applied sharpening and at 300-400% zoom, we can notice small advantage in details of variant, shrinked in several steps.

Now, we can do same averaging for background (opening saved .PSD with manually aligned layers). Since for background, as a rule, sharpness not too important as for photographed object, we can not do any precise alignment, an average all layers as is, then flatten them, load on top of it our aligned object, move it to it's place and draw mask at object contour, and then merge it with background.

Now we can do any usual postprocessing. We need to apply sharpening to our picture (unsharp mask, smart sharpen, copy of layer with applied highpass filter in "overlay" mode or something else). Because we dramatically reduce noise level, we can apply quite strong sharpening, if it needs. Now we can finish processing, but i prefer to make 3 or 4 layer copies, apply to each of them denoising with different settings (aggresive for background, medium or delicate for object) and assembly all layers with hand drawed or semi-automatic masks (maked with help of filters "find edges", "glowing edges"), for preserving good object details and make clean background without any traces of noise.

masks

snowflake macro photo


Another image, showing averaging technique benefits:

averaging technique benefits - gif animation


This averaging technique most often used in astrophotography, but will work with any static scene, if it's difficult to achieve good quality with just single shot. Last year i used this technique for enhance quality of night HDR sources. In this picture, for brightest exposure i averaged 2 shots, and 8 shots for 5 other exposures, total 42 source shots used:

Emerald city, Moscow Kremlin HDR photo
3644 * 2733



Share


Author: Alexey Kljatov

Kamis, 15 Agustus 2013

Almost triangle

snowflake macro photo


Small snowflake, around 2mm. It is slightly melted and definitely worse than perfect photo by Pam Eveleigh:

Eveleigh-snow12-8900

10 serial shots averaged to boost signal-to-noise ratio. Background: dark woolen fabric, natural light (gray clouded sky), external optics Helios 44M-5, march 2013, Moscow. Looks better in original resolution (1024 * 768 pixels).

More snowflakes in album snowflakes and snow crystals.
Also i wrote small article about my shooting technique.

Selasa, 13 Agustus 2013

HDR, Moscow

Under the stars (Ursa Major / Big Dipper / Great Bear constellation) photo
3903 * 2927

Electric light, Moscow HDR photo
4000 * 3000

A big tree, Moscow HDR photo
4000 * 3000

HDR, Moscow (part 2)

MPSU (Moscow Pedagogical State University) HDR photo
3768 * 2826

Mirax park, Troparevo district, Moscow HDR photo
3944 * 2958

Lomonosov Moscow State University (MSU) HDR photo
4028 * 3021

Modern castle

Red Hills, House of Music, Moscow HDR photo

2492 * 3323


Actually this is complex of two buildings: swissotel Krasnye Holmy (orange building and tower) and House of Music.
Moscow, september 2012. 5 exposures (-4, -2, 0, +2, +4 EV).

Print available at: deviantart.com, 500px.com.

View from opposite side:

Rapture, Moscow HDR photo

(4000 * 3000)



Novospassky monastery, bell tower

Novospassky monastery, bell tower, Moscow HDR photo

2965 * 3953


Moscow, september 2012. 5 exposures (-4, -2, 0, +2, +4 EV).

Print available at: deviantart.com, 500px.com.


Satellites

snowflake group macro photo


This day i see many good, but very small snow crystals, 1-2 mm. They don't melt, and i shoot them in short series. This picture was made from 8 serial shots, aligned and averaged to boost signal-to-noise ratio. Glass background with backlight, additional lens Helios 44M-5, december 2012, Moscow. Looks better in original resolution: 1200 * 900 pixels.

More snowflakes in album snowflakes and snow crystals.
Also i wrote small article about my shooting technique.

Liquid star

snowflake macro photo


Melting snowflake from previous shooting session. This one was medium sized, and after cropping i got 1752 * 1314 resolution. Glass background with backlight, additional lens Helios 44M-5, november 2012, Moscow.

More snowflakes in album snowflakes and snow crystals.
Also i wrote small article about my shooting technique.

Day to night

Blending of day and night shots of same location. I saw this nice effect at photo Day to Night by author Vonderauvisuals and tried to achieve same effect.

Day to night - Lomonosov Moscow State University (MSU), HDR photo

Sources:

Lomonosov Moscow State University (MSU) HDR photoLomonosov Moscow State University (MSU) HDR photo


Day to night - Novodevichy Convent, Moscow HDR photo

Sources:

Novodevichy Convent, Moscow HDR photoNovodevichy Convent, Moscow HDR photo


This picture as desktop wallpaper in wallpapers section:

Novodevichii Convent HD wallpaper