Thursday, August 11, 2011

RAW Therapee As a JPG Editor Part1

It was the Raw in RAW Therapee that attracted me at first. Then, as I said in the last post, I wrote a tutorial for a flickr contact who underexposed her vacation photos. That sent  me deep into the archives to my P&S days when I could only shoot jpgs. Which brings me to this post, a look into the unique RAW Therapee features that other jpg editors, free or pricey, lack.


I shot this in 2007 at a summer tradition--the Madison Symphony pop concerts on the Capital Square. My son who had moved into an apartment off the square invited me to join him and some friends for a picnic and music.  Both the food and the company were excellent, but they had laid out their blankets away from the crowd.  So I couldn't see the orchestra which limited my photo opportunities.

But that changed. During the intermission as the sun was setting and the light had become golden this girl began to crawl on the railing in front of us. During my fresh look at the photos--after four years I forgotten I'd taken them--it was the staircase in the background that first caught my attention.  If I could brighten the girl slightly, or conversely darken her into a silhouette, plus make the staircase more golden I might have an image worth posting.

As expected the first slider on the exposure tab, exposure compensations, brightened the girl but killed the staircase. It moves the white point of a RAW file, the value RT set to 255, 255, 255 when it create a new jpg. With just a jpg saved in the archives that data disappeared 4 years ago the instant I press the shutter for the next photo. Not useful for this task.

For a darker silhouette version the black slider was more useful


By moving it up from 0 to 9600 I closed a gap in the histogram to darken the girl. Moving the Brightness slider up to 20 lightened the staircase but at the cost of the golden color I was looking for. Ok but not what I was after

To get the image I wanted I turned to the RT tone curves.



The first tone curve on the tab works with the RGB data. It lightened the girl nicely but eliminated the golden light on the staircase.  By pulling the curve up I changing how bright the Red, Green and Blue dots that make up the  girl pixels would be on yours and my monitor.

RGB tone curves introduce color shifts. Depending on what you are after this might or might not be a problem. For instance, if I had wanted to restore the original white color of the staircase, the color shift would have been an improvement.

RT's second tone curve at the bottom of the tab works with LAB data. It's a tone curve I've not seen in any other RAW convertor or jpg editor.

LAB stands for Luminosity, A and B channels where the L channel has all the brightness data, the A channel has all the red and green data and B the blue and yellow data.

Or if you aren't interested in the LAB color theory stuff--I have a thick book just on how and when to use the LAB mode-- the one thing to remember is that RT's second tone curve works only on the Luminosity channel. It doesn't touch the color information. So no color shifts ever.


With this conversion, besides brightening the girl with the tone curve and the brightness slider I added a bit more saturation to make the staircase stand out more against the different granite in the capitol walls.


The flickr posted version after I used RT's straightening tool to hide my habit of never getting the horizons, real or virtual, level.

As for the other tabs, Highlight Reconstruction is greyed out since it works only on RAW data during the demosicing operation. It does a great job too but it doesn't fit into this post.

Shadows and Highlights does work. If you want to use it conservatively as high end image editors such as Photoshop forces you to do, I'll refer you to Paul's excellent and readable manual. It now ships with your RT downloads and is also available in the documentation section on the RT website.

But if you are in a 'fun&crazy' mood try this.


Our girl once she found a spot to sit.


And after I ran the exposure comp up around 6 to drive almost everything into saturation and then played with the Shadow/Highlights tab to see what would happen. Try it on your own images. It's fun.

Wednesday, August 3, 2011

RAW Therapee's Batch Processing to the Rescue

Autumn, a long time flickr contact, had a problem. During a vacation trip to Florida two years ago she went sailing and took a pile of photos with her Coolpic 550s P&S. Unfortunately her camera was accidentally setup with an EV of -1.7 and all her jpg pics came out ~4X underexposed.



Batch processing is not a new RT feature but until recently I hadn't realized how powerful and useful it could be.  I've taken my share of images with a setting wrong--white balance, exposure, etc--before I noticed and corrected it. So here is a mini tutorial using some of Autumn's photos on how I would use RT to hide these mistakes.

Start RT in its normal multi-tab mode and open the folder with the underexposed photos. Start by upping the exposure  +1.7 in one of the photo using the Exp Comp slider. Name and save your new profile.


Go into the file browser and control click on the other underexposed images.


Right click on the selected photos. This will bring up the new batch interface. Click on Profile Operations, Apply Profile, and in this case Autumn Underexposed, the name of profile I just saved.  Your copy of RT has a profile folder that holds all the default profiles that come with RT plus any you created and saved.



After a few seconds the thumbnails will brighten up. What have you done? Like Adobe Lightroom you haven't changed any of your photos. Instead you have created a pp3 file for the photos you selected which tells RT what changes you want to make.

What's next? If exposure correction was all you wanted to do, you could hit ctrl Q to put them into the Batch Queue. After selected what folder you want to save them to and the desired file format--jpg, 8 and 16 bit Tiff or PNG--you can hit start processing and let RT do its thing.

I preferred to fine tune the three photos I was working with.


The horizon was tilted, always happens with rocking boat photos, so I corrected that with the straighting tool  The overall photo was now exposed correctly but Autumn and her sister Jordan--wild hair--were still too dark. I used the LAB mode luminous channel on the Exposure tab to create a tone curve. I could have done this with the more common RGB mode but I think the LAB mode is cleaner since it doesn't introduce color shifts. Beside LAB mode editing on a RAW file is one of many features unique to RT. I also noticed that parts of the T-shirt were blown out so I use the Highlight Recovery slider to correct that problem.


After I finished editing the photos I put them into the batch queue.  There are two versions of the air plane image, each with different editing. Once I convert them I'll view them full size and decide which one I prefer. It's a great timesaving feature and a few days ago I converted the same photo 14 ways in one operation to check out the new profiles that showed up in the latest build of RT.

Although it wasn't necessary since I have 4GB of memory on this computer. I also closed everything but the batch queue and file browser.  If you look close, I forgot to circle it, you can see where the memory usage dropped in the Windows Task Master window.  RT can do many great things very well but that requires more RAM memory than the less useful free (and expensive commercial) editors. So if you have an older computer watch your memory usages.

How many great things can RT do very well? Here is the current list




If you click on Apply Profile (partial) you can pick what features you want to use from your saved profile. It is also a great overview of what RT can do

Finally I must thank Autumn for letting me use her photos in this tutorial.  You can find her flickr photostream at  http://www.flickr.com/photos/syksylla/

Thursday, July 28, 2011

RAW Therapee for JPEG shooters

One thing about RAW Therapee--things can happen fast and furious. I popped on to blogspot to write this, checked my stats, saw a post I made yesterday in the RT forum had generated a bunch of hits, and then discovered the final version of RT 3.0 was released yesterday. So this post may be outdated before it is written.

I've been using the "unstable" RT3.1.2.  Unstable doesn't mean RT3.1.2 doesn't work. Instead it means all the new features show up in RT3.1.x to be admired and tested out.  Developers want feedback to fix any bugs and to hear ideas for improvements.

So this post will be about an undocumented way to use RT3.1.2 which I think photographers with older computer who have cameras that only shoot jpegs may find useful.  Why older computers?  I have up two up here in the computer room: a year old, 64 bit laptop that fits all the RT specifications, and a three to four year old 32 bit desktop where I still do most of my photo work.

Why do I use this old relic? Because I have an ancient, heavy, $20 at a garage sale, monitor hooked to it.  A Sun Workstation monitor  that was designed for profession photo-work, one that I can color manage so what I see on the screen is exactly what I see in the print. To replace my antique with a profession grade flat screen would set me back about $1500, money I'd much rather spend on neat stuff like lenses.

What's the downside of a 32bit machine?  Memory or the lack of it. I have 3GB of RAM memory in the desktop, all a 32 bit computer can use. Window takes back 1GB to run itself.  Other stuff like antivirus software gobbles up another GB.  Finally when I covert my D7000 16.2 mp 14bit RAW file with all the fancy features RT provides, I can need up to another GB of memory. So I have to watch my memory usage.

How? It's all in the manual and on the RAW Therapee web site.  Read and enjoy.  Follow all the steps and you won't have problems as long as your machine has a decent amount of memory. If it doesn't, read this blog post.

Either way you use RT you won't be disappointed. Open source and always free it is posed to become the best RAW converter available.  A head to head RT vs ACR6 is in the planning stage. Plus as a special bonus to you jpeg shooters, it's also a super good jpeg editor.

Enough with the prologue. Here's the step by step.

1--Download and install RT.
For RT3.1.2 http://www.visualbakery.com/RawTherapee/Downloads.aspx
For RT3.0  http://rawtherapee.com/downloads

EDIT This unofficial 'single image' mode works only with the 3.1.2 and the newer and renamed RT 4.0 version. Download at http://www.visualbakery.com/RawTherapee/Downloads.aspx
END EDIT 

EDIT  Since the 3.0 version of RT doesn't use a standard windows installer, the mode described in this post doesn't work with RT 3.0 if RT 3.1.x is also installed on the computer. The 'open with' command defaults to RT3.1.x regardless of what version it is pointed toward
If this mode works at all with RT3.0 depends on whither the code it uses is part of the new rewrite of the RT 3.1 engine.  END EDIT

2-Open up your jpeg directory with your favorite viewer and pick one that needs editing. I use IrfanView. It's an excellent, widely used and free program.

3--Optional  Hit control.alt.delete to bring up your task manager.  Click on the bottom tab and then on the performance tap.  The bottom window shows how much memory you are using. While not needed  it doesn't hurt to watch what is going on for the first few times you use RT. At the moment I'm using 1.16GB.

4--Bring up the windows menu and click on open with. The first time you do this, you may not find rawtherapee.exe on the list of programs.  In Vista choose default programs and find RT3.1.2 in your list of installed programs. Don't click the always open box.  In XP this may be different and you may need to consult a help file.

5--Open the file.  RT will pop up on your screen with your jpeg ready to edit. What you won't have is the file browser--this can take several minutes to load as it caches your files--or the batch queue. You won't need either one since you are editing one jpeg at time.  At the moment I'm now using 1.34 GB, an increase of  .18GB and several times less than the official way would need.

6--Edit your jpeg.  Then hit the 'save current image' icon down at the bottom. In the window that pops up name your file, select your RT conversions directory, jpeg quality and set the save immediately button.  After a short time your converted image will show up in your RT conversions directory. Because of a minor bug the ready light will come on earlier than it should so don't depend upon it. During this process my memory usage peaked at 1.58 GB

Don't use the 'create folder' tab. There is another bug and the folder isn't created. I also click the 'add' tab to put my RT conversion folder in the 'places' list. That way I don't have to navigate through a tree of folders next time I use RT.

7-Close RT. You are done.  Now my memory usage is back down to 1.20 GB, near what I was using when I started to write this post.

8--What happens if you don't close RT. The next jpeg you open adds to the existing memory usage. If you convert a few files in a row you will run out of memory. I just ran two larger jpegs with some complicated RT calculations-- using the new punchy modes-- and hit 1.96 GB.  So remember to close unneeded RT windows.

How well does RT work with jpeg.  I was shooting with one of my manual non cpu lens--a classic Vivitar Series1 35-85mm f2.8 lens--at an opening reception a few week ago. Below is a jpeg I took to set up my manual settings for the correct exposure. I guessed wrong by two stops.  Plus the lighting was tricky because the off white gallery walls were brighter than the subject.



This is what I ended up with after adding 2 stops of exposure, creating the proper tone curve in LAB mode and sharpening with the Contrast by Details routine.  Note that you won't find the last two operations, LAB mode or Contrast by Details in any other jpeg editor.  No matter how much you spend.


And finally here is the finished image after two or three minutes work.



Quick, easy and then finished.