Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
Thread started 24 Nov 2010 (Wednesday) 17:19
Search threadPrev/next
sponsored links (only for non-logged)

A new algorithm for adjusting exposure automatically

 
yb98
Goldmember
Avatar
2,625 posts
Likes: 36
Joined Feb 2003
Location: Paris
     
Nov 24, 2010 17:19 |  #1

I'm working on an algorithm that aims at adjusting exposure, and histogram black and white points automatically.

Here are some examples I have obtained so far. The pics on the left are converted in DPP using the following parameters :
exposure : 0
picture style : neutral
contrast : 0
Highlight : 0
Shadow : 0
RGB Histogram black point : 0
RGB Histogram white point : 255

The pics on the right are converted with the same parameters except the exposure and the white and black points which are calculated automatically by the algorithm.

What do you think ? I have tried different kind of pics but I'd like to try the algorithm on pics that have big problems with exposure to see how the algorithm behaves on them. So if you have such pics and want me to try the algorithm on them, you can send me the RAW file (the RAW file is necessary) and I'll send you the result or post it here depending on your desire.

IMAGE: http://digitol.free.fr/ae/1.jpg
IMAGE: http://digitol.free.fr/ae/1ae.jpg
IMAGE: http://digitol.free.fr/ae/2.jpg
IMAGE: http://digitol.free.fr/ae/2ae.jpg
IMAGE: http://digitol.free.fr/ae/3.jpg
IMAGE: http://digitol.free.fr/ae/3ae.jpg
IMAGE: http://digitol.free.fr/ae/4.jpg
IMAGE: http://digitol.free.fr/ae/4ae.jpg

Best DPP Threads
DPP++ Video Channel (external link)
New Version DPP++ 11.3 released (external link)

  
  LOG IN TO REPLY
ccp900
Goldmember
1,569 posts
Likes: 144
Joined Jun 2006
     
Nov 24, 2010 22:54 |  #2

sorry if i sound like a noob...but is this solely for DPP?

for PS you can make a droplet that can do an auto levels which moves the white point and black points automatically for you to maximize the tonal range.


[Sony A7R Mark 3 | Sony A7S | Sony Zeiss 16-35m f/4.0 | Sony FE 85m f1.8 | Sony FE 20m f1.8 G | Samyang 18m f2.8 | Samyang 45m f1.8 | Zeiss Batis 40m f2 | Sony FE 28m f2 | Sony Zeiss 55m f1.8 | Sony FE 28-70m f/3.5-5.6 | Helios 44-2 | Helios 44-3 | Nikon 105m f/2.5 AIS | Contax Zeiss Planar 50m f1.7 | Contax Zeiss Planar 100m f2 | Voigtlander Nokton 40m f/1.4 | Canon 24-105m f/4.0L | Canon 85m f/1.8 | Sigma 30m f/1.4 | Canon 10-22m f/3.5-4.5 | Canon 100m f/2.8 Macro USM | Canon 580 EX Ver 1.0]

  
  LOG IN TO REPLY
tonylong
...winded
Avatar
54,657 posts
Gallery: 60 photos
Likes: 571
Joined Sep 2007
Location: Vancouver, WA USA
     
Nov 24, 2010 23:18 |  #3

ccp900 wrote in post #11342415 (external link)
sorry if i sound like a noob...but is this solely for DPP?

for PS you can make a droplet that can do an auto levels which moves the white point and black points automatically for you to maximize the tonal range.

yb98 is a POTN member who is a software developer. In recent months he put out a DPP add-on with some nice features called DPP++. You can check it out if you click the link at the bottom of his post in his sig. There are also numerous thread here where he announces an update -- search for "DPP++" and you can find good info.

Once in a while he gets into a "problem solving" mode while working on a new feature about something and some of us chip in although we don't have a clue about what we're talking about:)!


Tony
Two Canon cameras (5DC, 30D), three Canon lenses (24-105, 100-400, 100mm macro)
Tony Long Photos on PBase (external link)
Wildlife project pics here (external link), Biking Photog shoots here (external link), "Suburbia" project here (external link)! Mount St. Helens, Mount Hood pics here (external link)

  
  LOG IN TO REPLY
yb98
THREAD ­ STARTER
Goldmember
Avatar
2,625 posts
Likes: 36
Joined Feb 2003
Location: Paris
     
Nov 25, 2010 02:54 |  #4

ccp900 wrote in post #11342415 (external link)
sorry if i sound like a noob...but is this solely for DPP?

for PS you can make a droplet that can do an auto levels which moves the white point and black points automatically for you to maximize the tonal range.

Well I see 2 main reasons for doing auto-adjustement in the raw converter rather than in PS :

1. in the raw converter you have more information than in PS as information is coded in 12 or 14 bits in the raw converter while it is 8 bits in PS. You can of course work in PS on 16 bits tiff images but this will introduce another step in the workflow as you have to convert first to tiff and then convert to jpg when you finish. Furthermore even if you work on 16 bits you will not have more than 12 or 14 bits of real information anyhow.

2. People usually would prefer to do everything in their raw converter and avoid to open another software, except for working on particular images. But when you have hundred of images, you'd like to do all your work in the raw converter.

For the moment, the algorithm is under DPP, but if it works nice, I think it is possible to transpose it to other converters like Lightroom.

By curiosity, I have applied the auto-tone feature of PS and here is a comparaison between both algorithms. At the left is the auto-tone feature of PS. I see that PS modifies the colors in the last pic.


IMAGE: http://digitol.free.fr/ae/1p.jpg
IMAGE: http://digitol.free.fr/ae/1ae.jpg
IMAGE: http://digitol.free.fr/ae/2p.jpg
IMAGE: http://digitol.free.fr/ae/2ae.jpg
IMAGE: http://digitol.free.fr/ae/3p.jpg
IMAGE: http://digitol.free.fr/ae/3ae.jpg
IMAGE: http://digitol.free.fr/ae/4p.jpg
IMAGE: http://digitol.free.fr/ae/4ae.jpg

Best DPP Threads
DPP++ Video Channel (external link)
New Version DPP++ 11.3 released (external link)

  
  LOG IN TO REPLY
ccp900
Goldmember
1,569 posts
Likes: 144
Joined Jun 2006
     
Nov 25, 2010 03:19 |  #5

ahhhh that clears a lot of things up LOL thanks guys!!!


[Sony A7R Mark 3 | Sony A7S | Sony Zeiss 16-35m f/4.0 | Sony FE 85m f1.8 | Sony FE 20m f1.8 G | Samyang 18m f2.8 | Samyang 45m f1.8 | Zeiss Batis 40m f2 | Sony FE 28m f2 | Sony Zeiss 55m f1.8 | Sony FE 28-70m f/3.5-5.6 | Helios 44-2 | Helios 44-3 | Nikon 105m f/2.5 AIS | Contax Zeiss Planar 50m f1.7 | Contax Zeiss Planar 100m f2 | Voigtlander Nokton 40m f/1.4 | Canon 24-105m f/4.0L | Canon 85m f/1.8 | Sigma 30m f/1.4 | Canon 10-22m f/3.5-4.5 | Canon 100m f/2.8 Macro USM | Canon 580 EX Ver 1.0]

  
  LOG IN TO REPLY
Hangerhead
Senior Member
363 posts
Likes: 1
Joined Jan 2007
     
Nov 25, 2010 07:15 |  #6

if you were to apply the PS toning but use the overlay ofluminosity only, it might not affect the colours so much.


www.hangerhead.smugmug​.com (external link)

Canon 1DS MK II, Canon 40D
Canon 70-200mm L f4, Canon 50mm f1.4, Canon 17-55mm IS f2.8, Canon 85mm f1.8, Canon 24-105 IS f4 L, 17-40 L

  
  LOG IN TO REPLY
tonylong
...winded
Avatar
54,657 posts
Gallery: 60 photos
Likes: 571
Joined Sep 2007
Location: Vancouver, WA USA
     
Nov 25, 2010 08:55 |  #7

One thing I've not messed with much is the handful of one-click toning adjustments that are in the RGB tab of DPP. yb98 have you checked them out for comparisons with what you are doing?


Tony
Two Canon cameras (5DC, 30D), three Canon lenses (24-105, 100-400, 100mm macro)
Tony Long Photos on PBase (external link)
Wildlife project pics here (external link), Biking Photog shoots here (external link), "Suburbia" project here (external link)! Mount St. Helens, Mount Hood pics here (external link)

  
  LOG IN TO REPLY
Riveredger
Senior Member
670 posts
Likes: 1
Joined Jul 2010
Location: NJ
     
Nov 25, 2010 10:21 |  #8

I like the results- looks good!


Flickr Photostream (external link)

  
  LOG IN TO REPLY
yb98
THREAD ­ STARTER
Goldmember
Avatar
2,625 posts
Likes: 36
Joined Feb 2003
Location: Paris
     
Nov 25, 2010 12:36 |  #9

I have done some other tests with a pic which presents a flat and low contrast looking (it was taken through a window) and as Tony suggested I have included the DPP tone curve assist feature in the tests. I could not test the auto lighting optimizer of DPP as it was grayed. I think it is available only with some cameras.

The following six pictures represents the following conditions :

. Top-Left : the original picture converted in DPP using the same conditions as in post 1
. Top-Right : the pic adjusted with the new algorithm
. Center-Left : the pic adjusted in photoshop with the auto-tone feature
. Center-Right : the pic adjusted in photoshop with the auto-contrast feature
. Bottom-Left : the pic adjusted in DPP using the first tone curve assist button
. Bottom-Right : the pic adjusted in DPP using the second tone curve assist button

It seems that the algorithm behaves well but I still need to check it on some other kind of pics. If it still works well I think it will be the next new feature of DPP++.

IMAGE: http://digitol.free.fr/ae/tiger/6org.jpg
IMAGE: http://digitol.free.fr/ae/tiger/6dpp++.jpg


IMAGE: http://digitol.free.fr/ae/tiger/6ps1.jpg
IMAGE: http://digitol.free.fr/ae/tiger/6ps2.jpg

IMAGE: http://digitol.free.fr/ae/tiger/6dpp1.jpg
IMAGE: http://digitol.free.fr/ae/tiger/6dpp2.jpg

Best DPP Threads
DPP++ Video Channel (external link)
New Version DPP++ 11.3 released (external link)

  
  LOG IN TO REPLY
tonylong
...winded
Avatar
54,657 posts
Gallery: 60 photos
Likes: 571
Joined Sep 2007
Location: Vancouver, WA USA
     
Nov 25, 2010 13:42 |  #10

Lookin' good!

I'm not talking about the Auto Lighting Optimizer -- that's only available for the newer cameras that have that feature.

In the RGB tab, if you look at the top, you'll see a little panel called Tone Curve Assist. It has three little buttons -- the first is for a "normal" adjustment, the second for an "amplified" adjustment and the third to Reset the adjustments. They are not dramatic, but I figured you could play with them for comparison. Interestingly, even though they affect the RGB histogram they don't alter the luminosity slider values at all.


Tony
Two Canon cameras (5DC, 30D), three Canon lenses (24-105, 100-400, 100mm macro)
Tony Long Photos on PBase (external link)
Wildlife project pics here (external link), Biking Photog shoots here (external link), "Suburbia" project here (external link)! Mount St. Helens, Mount Hood pics here (external link)

  
  LOG IN TO REPLY
yb98
THREAD ­ STARTER
Goldmember
Avatar
2,625 posts
Likes: 36
Joined Feb 2003
Location: Paris
     
Nov 25, 2010 13:59 |  #11

Yes That's what I did. The bottom pictures are obtained in DPP by using these buttons. They modify the shape of the curve but not the values of the sliders.


Best DPP Threads
DPP++ Video Channel (external link)
New Version DPP++ 11.3 released (external link)

  
  LOG IN TO REPLY
Snydremark
my very own Lightrules moment
20,051 posts
Gallery: 66 photos
Likes: 5573
Joined Mar 2009
Location: Issaquah, WA USA
     
Nov 25, 2010 14:14 as a reply to  @ yb98's post |  #12

The results from your stuff look pretty nice to me. Is there any chance of this stuff making it into an LR3 plug-in at any point? Or are you solely working with DPP for the time being?


- Eric S.: My Birds/Wildlife (external link) (R5, RF 800 f/11, Canon 16-35 F/4 MkII, Canon 24-105L f/4 IS, Canon 70-200L f/2.8 IS MkII, Canon 100-400L f/4.5-5.6 IS I/II)
"The easiest way to improve your photos is to adjust the loose nut between the shutter release and the ground."

  
  LOG IN TO REPLY
yb98
THREAD ­ STARTER
Goldmember
Avatar
2,625 posts
Likes: 36
Joined Feb 2003
Location: Paris
     
Nov 25, 2010 22:21 |  #13

For the moment it's for DPP, but why not investigate the possibility to make it an LR plugin when I'll have enough time...


Best DPP Threads
DPP++ Video Channel (external link)
New Version DPP++ 11.3 released (external link)

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

4,510 views & 0 likes for this thread, 6 members have posted to it.
A new algorithm for adjusting exposure automatically
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is Mihai Bucur
1020 guests, 177 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.