Magic Lantern Forum

Developing Magic Lantern => Scripting Corner => Topic started by: garry23 on August 27, 2020, 11:52:50 AM

Title: Focus feedback for Photographers and Videographers
Post by: garry23 on August 27, 2020, 11:52:50 AM
After many experiments trying to find the 'best' way to show focus information, eg for setting infinity and focus bracketing, I've finally settled on integrating things into the ML bars.

This latest version of my Depth Of Field Ibfo Script (DOFIS) has been tweaked for use by photographers and videographers and covers all my DoF ideas, as well as incorporating exposure bracketing, with and without focus bracketing.

Simply, DOFIS is the only focus tool you need to use.

You can read about DOFIS and download the script here: http://photography.grayheron.net/2020/08/dofis-just-gets-better-and-better.html

As usual I welcome feedback on DOFIS.
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on August 28, 2020, 03:16:47 PM
As you will see in this post (http://photography.grayheron.net/2020/08/dofis-now-diffraction-aware.html) I decided to add in a diffraction aware feature into DOFIS.

Enjoy!
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on August 30, 2020, 11:01:32 AM
Things are moving on apace with DOFIS and I hope this latest update is of interest/value to some:

http://photography.grayheron.net/2020/08/dofis-update.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on August 31, 2020, 03:39:06 PM
In this post I show how you can register your own lens in DOFIS: http://photography.grayheron.net/2020/08/dofis-registering-lens.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on September 02, 2020, 03:11:06 PM
In this post I show how to use DOFIS to achieve perfect focus bracketing.

Plus the DOFIS UI has been updated to seamlessly integrate with the ML LV bars (so make sure you download the latest version from the link below).

http://photography.grayheron.net/2020/09/dofis-perfect-focus-bracketing.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on September 03, 2020, 03:49:41 PM
In this post I'm pleased to introduce an auto focus bracketing feature into DOFIS.

Enjoy!

http://photography.grayheron.net/2020/09/dofis-auto-bracketing-mode.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on September 04, 2020, 01:50:04 PM
Another day: another bit of the DOFIS story unfolds  :)

http://photography.grayheron.net/2020/09/dofis-tidying-up-things.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on September 06, 2020, 09:20:05 AM
Although the main topic recently has been the R5/R6 developments, I've been plugging on making DOFIS the focus tool that everyone should have running on their camera: for photography or videography.

This latest release now allows DOFIS to be used with ML advanced bracketing.

http://photography.grayheron.net/2020/09/dofis-now-works-with-ml-advanced.html

As usual I welcome any feedback on DOFIS, especially ideas to make it better.

REMEMBER: DOFIS has been written using the Lua experimental fix build. Make sure you are using that build or the Lua module from it.
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on September 06, 2020, 03:43:56 PM
A few words on DOFIS and the EOSM: http://photography.grayheron.net/2020/09/dofis-eosm.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on September 06, 2020, 04:33:55 PM
As some of the photographers may be interested, I've just updated my last blog post with an 11 shot, focused stacked, IR image, taken with the help of DOFIS: http://photography.grayheron.net/2020/09/dofis-eosm.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on September 09, 2020, 03:06:33 PM
Just a update directed at refactoring and stabilising the code, ie no functionality change.

http://photography.grayheron.net/2020/09/dofis-bit-of-refactoring.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on September 10, 2020, 02:20:33 PM
Just for the landscape photographers  :)

http://photography.grayheron.net/2020/09/dofis-now-helping-landscape.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on September 18, 2020, 03:36:44 PM
Another uplift for my DOFIS script. This time addressing a couple of 'limitations' in ML Lua: around the RAW Spotmeter and ML Advanced Bracketing.

The latest version now allows semi-auto exposure bracketing in all auto focus bracketing modes, as well as when no focus bracketing has been selected.

The DOFIS exposure bracketing is based on 'only' telling DOFIS the ML spotmeter reading in the shadow region, after carrying out an ML ETTR.

http://photography.grayheron.net/2020/09/dofis-auto-perfect-focus-and-exposure.html

As usual I welcome any feedback on DOFIS, although I accept I may be the only lucky person using the script  :) ;)
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on September 19, 2020, 05:20:15 PM
This post should be of interest to those photographers seeking out a 32 bit based workflow, when undertaking deep focus and high DR capture, ie beyond what a single image can achieve, even with Dual-ISO  ;)

http://photography.grayheron.net/2020/09/dofis-indoor-test-of-32-bit-focus-and.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on September 20, 2020, 10:01:43 AM
A quick post for the photographers, especially those seeking to get more out of your post processing:

http://photography.grayheron.net/2020/09/dofis-dual-iso-16-bit-floating-point.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on September 23, 2020, 04:01:47 PM
This post shows how DOFIS helps with virtual Medium Format photography:

http://photography.grayheron.net/2020/09/dofis-and-pseudo-medium-format.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on September 26, 2020, 02:35:38 PM
In this post I cover the model for next major uplift to DOFIS, which will account for lens asymmetry, ie to cover the macro and pano photographers:

http://photography.grayheron.net/2020/09/dofis-start-of-major-update.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on October 05, 2020, 04:10:20 PM
'Finally', as promised, here is the latest version of DOFIS, that now uses an asymmetric, split lens model.

This latest version gives the correct field of views (horizontally, vertically and diagonally) as the lens changes focus, ie fully modelling lens breathing.

It also 'correctly' estimates DoFs from macro to the deep far field, although DOFIS only reports relative DoFs greater than a mm ;)

For the pano photographers, DOFIS now estimates the position of the pano pivot point, ie relative to the sensor.

The latest post and info on DOFIS may be read here: http://photography.grayheron.net/2020/10/dofis-now-supports-macro-and-pano.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on October 07, 2020, 05:30:03 PM
Another little bit of the DOFIS story. This post with generic value to those seeking perfect panos.

http://photography.grayheron.net/2020/10/perfect-panos-and-no-parallax-point.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on October 09, 2020, 12:03:28 PM
More insight for the photographers using DOFIS: http://photography.grayheron.net/2020/10/more-on-pano-pivot-point.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on October 10, 2020, 12:54:18 PM
More fun with ML and DOFIS. This time perfect '3 degree of freedom' bracketing: exposure, focus and composition:

http://photography.grayheron.net/2020/10/dofis-exposure-focus-and-pano-bracketing.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on October 11, 2020, 03:15:08 PM
Some background stuff to help with DOFIS, ie find the pupil magnification of a lens: http://photography.grayheron.net/2020/10/a-poor-mans-optical-bench.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on October 12, 2020, 06:22:36 PM
Another short post for pano photographers.

http://photography.grayheron.net/2020/10/why-pano-shooters-should-stop-down.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on October 19, 2020, 05:51:13 PM
I'm pleased to announce that DOFIS now fully supports the macro shooter: http://photography.grayheron.net/2020/10/dofis-now-for-macro-shooters.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on October 26, 2020, 01:44:24 PM
Not strictly DOFIS related, although this post uses the DOFIS model to give some rules of thumb to photographers seeking to get the most out of hyperfocal focusing: http://photography.grayheron.net/2020/10/the-hyperfocal-distance-understanding.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on October 27, 2020, 04:11:25 PM
I've now added in a figure of merit feedback to give an appreciation of resolution loss as one focuses and stops down the aperture:

http://photography.grayheron.net/2020/10/dofis-resolution-figure-of-merit.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on October 29, 2020, 10:34:51 AM
Just uploaded a new version of DOFIS that: tidies up the code a bit; adds additional comments to help people understand what the code is doing; ensures DOFIS 'respects' the ML AB settings when exposure bracketing; and uses a more refined sensor+diffraction resolution model.

http://photography.grayheron.net/2020/10/dofis-resolution-fom-tweak.html

As usual I welcome feedback or questions, ie here or via a PM.
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on November 18, 2020, 03:58:30 PM
Just added an additional feature for the tilt lens users: http://photography.grayheron.net/2020/11/dofis-tilt-calculator.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on November 20, 2020, 12:59:26 PM
Another addition to DOFIS for TS lens owners: http://photography.grayheron.net/2020/11/dofis-plane-of-sharp-focus.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on November 24, 2020, 04:52:06 PM
'Just' for the TS users :-)

http://photography.grayheron.net/2020/11/more-on-tilting-with-dofis.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on February 12, 2021, 05:40:01 PM
I'm pleased to release the 2021 version of DOFIS, that now provides focus information, eg infinity focusing and focus bracketing, outside of LV; so you can use your viewfinder and get focus info.

https://photography.grayheron.net/2021/02/dofis-2021-uplift.html

The DOFIS info is accessible via the Quick Shooting screen.

NOTE: as usual I've only been able to test this release of DOFIS, designed for non-mirrorless ML cameras, on my 5D3.
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on February 14, 2021, 11:28:27 AM
A minor but useful tweak to DOFIS:

https://photography.grayheron.net/2021/02/dofis-minor-update.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on February 16, 2021, 12:37:43 PM
Something for the landscape photographer in this post, which includes another minor tweak to DOFIS:

https://photography.grayheron.net/2021/02/a-few-thoughts-for-landscape.html

Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on March 01, 2021, 05:55:23 PM
A minor tweak to DOFIS to allow you to select a visible band or IR band diffraction model.

This means I can switch diffraction models according to how I am using my Full Spectrum EOSM, eg with or without an IR filter.

https://photography.grayheron.net/2021/03/dofis-now-full-spectrun-friendly.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on March 08, 2021, 05:39:42 PM
I'm pleased to release the latest DOFIS uplift, which you can read about here: https://photography.grayheron.net/2021/03/dofis-traffic-light-augmented.html

This release adds a 'Traffic Light' feature that greatly improves the speed of manually capturing focus brackets.

The post includes a video showing the feature being used.
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on March 10, 2021, 04:53:55 PM
Another tweak and a few words on focus overlap estimation.

https://photography.grayheron.net/2021/03/for-those-that-like-equations.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on March 20, 2021, 07:40:43 AM
Not strictly an ML post, but it is related as this post is a demo of the DOFIS model running on a CHDK M3 and showing how I use Helicon Focus for landscape, deep focus bracketing.

https://photography.grayheron.net/2021/03/helicon-focus-deep-focus-photography.html

Title: Sky Bracketing in DOFIS
Post by: garry23 on March 24, 2021, 02:40:56 PM
I thought some may be interested in my new DOFIS Sky Bracketing feature, that works with auto focus bracketing.

https://photography.grayheron.net/2021/03/dofis-sky-bracketing.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: whitelight on March 25, 2021, 07:46:39 AM
This looks very interesting, especially for real estate work. Great job.
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on March 25, 2021, 09:19:00 AM
@whitelight

Yes, I've used it for internal shots and, as you say, ie looking out of a window. It looks as if it might be useful IF you also need to focus bracketing indoors. The sky bracket can be set between 2-6 Ev, ie relative to the rest of the scene.

An alternative approach, using DOFIS, is to use Dual-ISO when auto focus bracketing, ie without the sky bracket, but having ETTRed for the scene. But here you are limited to less than a 3Ev lift for the shadows.

Another approach is to use ML's advance bracketing, together with DOFIS's manual focus bracketing traffic light feature.

Bottom line: I have tried to craft DOFIS as a versatile focus tool for all photographers and videographers, ie who want to have more control and info on focus.
Title: Infinity Bracketing in DOFIS
Post by: garry23 on March 26, 2021, 11:37:54 AM
Some may be interested:

https://photography.grayheron.net/2021/03/dofis-infinity-bracketing.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on April 03, 2021, 07:09:34 PM
A short post on DOFIS's sister script that runs on the M3, albeit under a CHDK environment.

The post includes a video of the deep focus and infinity focus script running.

The CHDK environment drives the EF-M lenses rather well.

https://photography.grayheron.net/2021/04/m3-brackets-release-2.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on April 10, 2021, 11:22:38 PM
I thought some may be interested in my latest post on the Canon M3 deep focus bracketing Lua script.

As you will see, I've taken a UI steer from ML  ;)

https://photography.grayheron.net/2021/04/m3-brackets-change-to-ui.html

BTW I really miss ML Lua, ie I have to muck about with 32bit integer math limitations over in CHDK land  >:(
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on April 14, 2021, 06:04:09 PM
Once again, a background link to my CHDK script that runs on the M3, because both the ML and CHDK deep focus bracketing scripts use the thick lens DOFIS model, which also accounts for pupil magnification:

https://photography.grayheron.net/2021/04/m3-bracketing-now-with-manual-focus.html

I have tried to keep ML DOFIS and CHDK M3 Bracketing scripts aligned, at least functionally.
Title: Re: Focus feedback for Photographers and Videographers
Post by: ML700D on April 26, 2021, 08:00:28 PM
very interesting..

how to use in 700D? my ML build is bilal's crop rec 4k

thanks a lot!  :D
Title: Re: Focus feedback for Photographers and Videographers
Post by: Walter Schulz on April 26, 2021, 08:16:19 PM
The same way it is used in all compatible builds: Copy *.lua to ML\Scripts and activate LUA.mo.
If the scripts don't work builds are not compatible. They require LUA support implemented in lua_fix builds.
Either prepare a spare card with lua_fix build or juggle with ML directory and autoexec.bin renaming. Take your pick.
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on April 26, 2021, 10:02:42 PM
Thanks Walter, I couldn't have said it better myself  ;) :) :D
Title: Re: Focus feedback for Photographers and Videographers
Post by: Walter Schulz on April 26, 2021, 11:10:43 PM
And another FAQ entry pending ...
Title: Re: Focus feedback for Photographers and Videographers
Post by: ML700D on April 27, 2021, 04:30:07 AM
Quote from: Walter Schulz on April 26, 2021, 08:16:19 PM
The same way it is used in all compatible builds: Copy *.lua to ML\Scripts and activate LUA.mo.
If the scripts don't work builds are not compatible. They require LUA support implemented in lua_fix builds.
Either prepare a spare card with lua_fix build or juggle with ML directory and autoexec.bin renaming. Take your pick.

oh.. ok thanks.
I will try it..


Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on June 16, 2021, 01:54:34 PM
Not strictly ML, but related.

Here is the latest post on the CHDK version of my combined DOFIS+MUSIC script.

https://photography.grayheron.net/2021/06/chdk-landscape-bracking-script-latest.html
Title: Re: Focus feedback for Photographers and Videographers
Post by: garry23 on July 08, 2021, 02:03:26 PM
As I mention ML and the M, I thought I would flag up my latest M3 post: https://photography.grayheron.net/2021/07/m3-bracketing-exposure-survey-mode.html