Author Topic: Auto ETTR based on RAW histogram (ettr.mo)  (Read 161024 times)

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #125 on: June 12, 2015, 06:00:29 AM »
Last night I wanted to film some cactus flowers which only last for one night, and 30 seconds weren't enough in my previous attempt. So, instead of adding extra lights, I modified ETTR to work with very long exposures.

https://bitbucket.org/hudson/magic-lantern/commits/63884c935209

That means:
- you can now set a slowest shutter speed of up to one hour
- if it requires a shutter speed longer than 30 seconds, it will switch to bulb mode, and will configure Bulb Timer with the new exposure time
- once it no longer requires a long exposure, it will switch back to M

The change is not in the nightly yet - I need to do some more tests, since I've modified the ETTR code in quite a few places.

josepvm

  • Member
  • ***
  • Posts: 212
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #126 on: June 13, 2015, 12:32:13 AM »
Very useful addition !!!  Many thanks, A1ex.

I've build the ettr-bulb branch for 500D and tested it indoors, in low light, and it works very well.

At first attempt I tried to use the feature in liveview mode with no success, ETTR rises ISO and not exposure.
Then I have tried in photo mode, setting "Autosnap" to trigger ETTR, with bulb timer enabled, and this way it works fine.


I will test it also outdoors, during next days, with a strong ND filter, to capture seashore landscapes like this one (Dual-ISO):

https://dl.dropboxusercontent.com/u/44995840/20131230-ee16002-jv200.jpg

Adjusting exposure in this picture with such a strong ND filter, and sunset's continuously changing light was a pain. I needed to meter the scene with the filter removed, and then calculate the new exposure using the filter coefficient ... Now Auto ETTR will make it much easier, no need to remove and put again the filter every time !
 


garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #127 on: June 13, 2015, 02:26:57 AM »
I'm being stupid.

Just tried to compile this but can't work out what to use instead of what I normally use:

hg clone -r unified https://bitbucket.org/hudson/magic-lantern

The branch says use this:

hg pull && hg update ettr-bulb

But that doesn't work.

Can some expert correct me please.

I'm compiling in the cloud.

josepvm

  • Member
  • ***
  • Posts: 212
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #128 on: June 13, 2015, 08:04:29 AM »
Use a different directory to start from and launch:

hg clone -r ettr-bulb https://bitbucket.org/hudson/magic-lantern

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #129 on: June 13, 2015, 02:47:05 PM »
@josepvm

Many thanks, that worked. Like many on the ML forum, once pointed in the right direction I'm OK :-)

Have loaded on to my 5D3 and confirmed the tweaked module is loaded, as I now see the extended time in the slowest shutter.

But I can't see to get it 'to work', ie it just switches to ever higher ISOs.

Have tried it in LV and non-LV modes, using SET and AutoSnap and M and B modes.

Any guess as to what I'm doing wrong?

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #130 on: June 13, 2015, 03:09:09 PM »
OK worked a few things out.

'normal' ETTR doesn't require canon review to be on: LE ETTR apparently does.

The LE-ETTR is now going into capture mode, but doesn't stop, ie I have to intervene and the image is totally overexposed.

BTW I'm using a 24-105 Canon F/4L with an ND.

I've also tried exposure sim on and off.

At the moment, I still can't seem to capture an LE image.

I will keep experimenting.

josepvm

  • Member
  • ***
  • Posts: 212
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #131 on: June 13, 2015, 03:41:14 PM »
You need to set "bulb timer" active, in ML's menu ( "shoot" section ), set M mode in photo view, adjust desired aperture and ISO, and take the first picture with a half shutter press. If ETTR is set to "autosnap" it will continuously take photos until the correct exposure time is found.

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #132 on: June 13, 2015, 04:07:37 PM »
@josepvm

Thanks for those tips.

Still having problems as LE ETTR seems to seek out a high ISO solution.

Am I missing a trick :-)

josepvm

  • Member
  • ***
  • Posts: 212
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #133 on: June 13, 2015, 04:12:48 PM »
In live view mode ETTR seeks for high ISO, yes. Do not use live view. Set your desired ISO and simply take the first picture with a half shutter press, and let it run, automatically taking as many pictures as needed, until exposure time settles in the correct value.

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #134 on: June 13, 2015, 04:15:24 PM »
I'm not in LV mode.

LE ETTR still goes for high ISO.

Strange

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #135 on: June 13, 2015, 04:22:26 PM »
Can you take a video of the issue?

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #136 on: June 13, 2015, 04:32:59 PM »
Alex

Sorry cant do that (at least not to day).

Settings are:
- Auto ETTR = Press SET, Slowest 8m, Highlight Ignore .1%, everything else off
- Expo Override OFF
- Expo Sim OFF
- Bulb Timer 8m (but grey out as not in LV)

Question: should I do a half shutter press in M or B mode, to trigger LE ETTR?

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #137 on: June 13, 2015, 04:40:51 PM »
Change the trigger mode to either "Always ON" or "Auto Snap".
Then, do a full shutter press if you are in M, or a long half-shutter press if you are in B.

If you meter with SET, this uses the LiveView image. It's not possible to figure out a 5-minute exposure from a 1/30 test image, so you must meter from an actual long exposure.

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #138 on: June 13, 2015, 04:46:56 PM »
Alex

OK but what seems to occur in B is that it appears to meter, then it goes into capture mode, ie I get about 5 or 6 beeps and the canon clocks starts counting.

But I stop it after a min or so and everything is totally over exposed.

PS half press doesn't trigger in M mode

PPS I should have said, the exposure should be between 1-2min

josepvm

  • Member
  • ***
  • Posts: 212
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #139 on: June 13, 2015, 04:57:56 PM »
Set a shorter time in "bulb timer" (40 seconds) , ETTR in "Auto snap" mode, take the first picture, and let it run, the first picture probably will not be correctly exposed, but ETTR will automatically correct exposure time and it will take also automatically a second picture, and a third one if needed. 

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #140 on: June 13, 2015, 05:09:53 PM »
Sorry still not functioning as you.

I'm in B, ML Bulb is set to 40s, Autosnap on, I do a half long press and capture starts. It takes a picture (40s) then does a second at 1/25.


josepvm

  • Member
  • ***
  • Posts: 212
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #141 on: June 13, 2015, 05:13:57 PM »
Is the second picture at 1/25 well exposed? If yes, recheck ISO and aperture settings.

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #142 on: June 13, 2015, 05:17:30 PM »
No, totally under.

If I switch to canon metering 0Ev is about 3s.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #143 on: June 13, 2015, 05:23:50 PM »
Try starting with bulb timer from 1 second.

josepvm

  • Member
  • ***
  • Posts: 212
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #144 on: June 13, 2015, 05:27:58 PM »
Check if the aperture is effectively closing to the desired value when taking the pictures, there have been problems with some lenses in FRSP, I know that was using live view, but who knows... try pressing DOF button and slghtly unlocking the lens from mount ...

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #145 on: June 13, 2015, 05:34:24 PM »
Alex's hint at 1s seems to have stabilized things.

I'm using a manual aperture now, ie Canon and ML see F/00.

I seem to be getting solutions now, but ML/Canon gets confused regarding image taking and, out of frustration, I switch on and off to reset things.

Also, can't get LE-ETTR to trigger in M mode.


a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #146 on: June 13, 2015, 05:37:00 PM »
Also, can't get LE-ETTR to trigger in M mode.

PS half press doesn't trigger in M mode

Press the shutter button a bit harder.

do a full shutter press if you are in M

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #147 on: June 13, 2015, 05:43:03 PM »
 :)

OK I'll practice a bit more  ;)

Here are some thoughts so far.

Bulb timer doesn't get reset after an LE-ETTR capture. For instance if I originally have the ML Bulb at 1s and LE-ETTR finds the solution at 120s, ML bulb is at 120s when I next use LE-ETTR, unless I manually reset to 1 s. This threw me a few times.

For ML enhanced LE work we have this emergent capability and David M's ND Bulb Module (which is not yet in the nightlies).

The LE-ETTR is great for when you don't really 'care' too much about shutter time.

If you want a 'spot on' shutter time, then the ND Bulb Module is the way to go.

Maybe there is a way to combine to two approaches into an new LE module, ie keep ETTR 'pure' for shutter speeds less than Bulb.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #148 on: June 13, 2015, 05:48:12 PM »
Bulb timer doesn't get reset after an LE-ETTR capture.

I wanted this to work for timelapse, so it's not meant to be reset - it will fine-tune the solution as the lighting is changing.

To "reset" it, you could start from M mode. After the long exposure image is taken, you will be in B mode, but your mode dial will be still on M. So, flip the dial back and forth to reset the mode (and get back to M), then you can start over.

garry23

  • Contributor
  • Hero Member
  • *****
  • Posts: 2228
Re: Auto ETTR based on RAW histogram (ettr.mo)
« Reply #149 on: June 13, 2015, 05:49:43 PM »
Alex

Have been doing the flipping thing :-)

BTW it still wont trigger, via a long half press, from M, it does from B.

Cheers

Garry