DotTune: AF tune technique without taking photos

Started Jan 31, 2013 | Discussions
Horshack Veteran Member • Posts: 9,376
DotTune: AF tune technique without taking photos
70

I have a proposal for a new AF tune technique that doesn't require taking photographs. At least I think it's new because I haven't read it anywhere else yet. If anyone knows of a reference that describes this already please let me know.

Nikon DSLRs have an electronic rangefinder in the viewfinder that shows you when:

  • Subject is in focus (green dot)
  • Focus is behind subject - green arrow pointing left, indicating focus ring should be turned to the left, away from infinity
  • Focus is in front of subject - green arrow pointing right, indicating focus ring should be turned to the right, toward infinity

The rangefinder's determination of the above conditions is based on the phase-detect AF system's evaluation of focus. This system includes a configurable AF fine tune value which can be adjusted on a per-lens basis or globally for all lenses that don't have a per-lens value configured. Most would assume that this AF tune value is an "output" bias that the camera adds to all lens movement commands, so that instead of telling the lens "focus to X" it instead tells the lens "focus to X + tune value". In actuality the AF tune value is an "input" bias that feeds into the PDAF's sensing logic, altering when the camera believes it has acquired focus. You can read more about this here.

Since AF tune affects the camera's PDAF evaluation of what's in focus, it also affects the electronic rangefinder indication of focus. You can demonstrate this by establishing critical focus on a subject (green dot), changing the AF tune value, then without refocusing, observe that the rangefinder now shows a left or right arrow indicating the camera thinks the subject is no longer in focus, even though you didn't adjust focus.

Proposed AF Fine Tune Technique

  1. Enter Live View and establish critical focus on a high-contrast subject. For cameras with poor LV clarity (D800/E), you may want to take a photograph and evaluate it on the computer to confirm critical focus
  2. Set the body to MF. You could set the lens to MF instead but you may jostle the focus ring accidentally if you do so.
  3. Look through the viewfinder to see if the camera thinks the subject is in focus. You'll need to half-press the shutter while doing this to keep the metering/rangefinder from going to sleep. If you see the green arrow pointing to the left, then the camera+lens is back-focusing, so you need to decrease the value of AF tune (negative adjustment). If you see the green arrow pointing to the right, then the camera+lens is front-focusing, so you need to increase the value of AF tune (positive adjustment).
  4. Repeat step 3 until you get a green-dot from the rangefinder.
  5. Depending on focal length and subject distance there will be a range of AF tune values which produce green-dot confirmation. For example on my D800 w/50G f/1.4 @ 5' subject distance, I get the green dot from -6 to -14. Conceptually the optimal AF tune value should be the value that's the middle of the range, which in my case is -10 (I independently verified this using a LensAlign). So you'll want to establish the range of green-dot values by progressively increasing the AF tune values until the camera stops showing the green-dot (it'll alternate between the green dot and an arrow when it's at the margin of the range)...and repeat that procedure in the opposite direction to find the other end of the range.

Some notes:

  • When establishing the precise range of green-dot AF tune values you may need to examine the rangefinder for several seconds. I've found that for the extreme margins of the AF tune range the camera may take a few seconds to flicker the arrow/green-dot.

Questions and suggestions welcomed!

Thread title edited by moderator per the O/P's request

Nikon D800
If you believe there are incorrect tags, please send us this post using our feedback form.
(unknown member) Veteran Member • Posts: 4,164
Re: AF tune technique without taking photos

Brilliant - love it! Should work in theory did when I just tried it. Why didn't we think of this before. D'OH!

When adjusting AF fine tuning values you will need to press 'OK' at each value you want to test as it does not use the new value until this is done.

As a modification to Horshack's method above, for MANUAL FOCUS CPU LENSES, it should be possible to use the procedure and rather than selecting the midpoint in step 5 an endpoint is selected.

This endpoint should correspond to when the focus confirmation turns on turning the lens from one direction (either infinity or camera) and thus provide accurate and consistent guidance for manual focus.

T O Shooter Forum Pro • Posts: 12,066
Re: AF tune technique without taking photos
2

I don't know if this will work accurate enough or not, and I'm sure you'll get numerous replies on why it will or will not work, but hats off to you for coming up with this.

 T O Shooter's gear list:T O Shooter's gear list
Canon PowerShot G5 Nikon D4S Nikon D500 Nikon D850 +5 more
ormdig
ormdig Senior Member • Posts: 2,581
Re: AF tune technique without taking photos

Hi Horshack, I have a question regarding steps 1 and 2. Do I establish critical focus in LV using MF and if that is so is step 2 before step 1? Or am I confused (not an uncommon occurance in my life)?
Thank you, Pete.

 ormdig's gear list:ormdig's gear list
Nikon D7000 Nikon D800 Nikon AF-S Nikkor 24-70mm f/2.8G ED Nikon AF-S Nikkor 70-200mm f/2.8G ED VR II Nikon AF-S 105mm F1.4E ED +7 more
digital ed
digital ed Veteran Member • Posts: 3,553
Good thinking...

I tried it with my lenses. One I was slightly unsure I had the best adjustment. I was one adjustment off on it and the others were right on. Can't say if this is better than the other focus methods but it costs nothing to try and for me it seems to be as good as Focal and other ruler tests I have tried.

For me it seems technically correct. If the green dot is on then the camera thinks it is in focus. It should agree with the focus when it searches focus and settles at what it thinks is correct.

 digital ed's gear list:digital ed's gear list
Olympus E-1 Olympus E-3 Nikon 1 V2 Nikon D810 Nikon D850 +16 more
OP Horshack Veteran Member • Posts: 9,376
Firmware idea: Automated AF tuning
7

Assuming the technique in the OP holds up to scrutiny, firmware could potentially automate the process of fine tuning via the following procedure:

  1. User selects a menu item/button that reads "Fine-tune AF"
  2. Firmware prompts the user to position the camera so that the center AF point is over a high-contrast target, preferably with the camera mounted on a tripod. Firmware prompts user to press a button to continue. Everything from this point is automated...
  3. Firmware lifts mirror and performs multiple CDAF (LV) acquisitions to establish the maximum contrast possible, then performs a final CDAF series to re-achieve the maximum determined contrast.
  4. Firmware drops mirror and samples the PDAF sensor to establish the split-beam direction (front/back focusing) and magnitude (delta) from what would otherwise be sampled as a centered PDAF reading. Firmware converts that delta to an AF tune value, rounding to the nearest integer if necessary. Preferably firmware would implement higher-precision AF tune increments than what is presently available, since the delta measured through this process would presumably be more precise than a user-measured reading.
  5. Firmware stores the reading in nonvolatile-memory and the procedure is done.

The process would only take a few seconds, depending on how many CDAF samples are necessary to establish optimal contrast. It would fast enough where photographers could take spot readings in the field if they wanted, tuning the AF for specific lighting conditions/shooting distances/etc..

OP Horshack Veteran Member • Posts: 9,376
Re: AF tune technique without taking photos
1

ormdig wrote:

Hi Horshack, I have a question regarding steps 1 and 2. Do I establish critical focus in LV using MF and if that is so is step 2 before step 1? Or am I confused (not an uncommon occurance in my life)?
Thank you, Pete.

You could use LV AF, MF, or any combination of the two. Keep in mind that LV AF is not always 100% consistent/precise - on the D800 I've found that PDAF is actually more consistent than LVAF with certain lenses like the 14-24mm.

JimPearce
JimPearce Veteran Member • Posts: 9,272
Just what I was thinking Horshack...

Such an algorithm would allow Nikon to introduce AF fine tune in the entry level 24 MP DX cameras - where it is sorely needed - and also increase the precision available to advanced photographers.

-- hide signature --

Jim

 JimPearce's gear list:JimPearce's gear list
Nikon D7100 Nikon D500
Robin Casady Forum Pro • Posts: 12,898
Re: AF tune technique without taking photos
1

Horshack wrote:

Proposed AF Fine Tune Technique

  1. Enter Live View and establish critical focus on a high-contrast subject. For cameras with poor LV clarity (D800/E), you may want to take a photograph and evaluate it on the computer to confirm critical focus

You don't need to use a computer. Shoot the image and zoom playback to 100%. It is much clearer than LV.

Overall, this sounds like an excellent method. Thanks for posting it.

-- hide signature --
macdane Regular Member • Posts: 484
Re: AF tune technique without taking photos

Horshack wrote:

  1. Enter Live View and establish critical focus on a high-contrast subject. For cameras with poor LV clarity (D800/E), you may want to take a photograph and evaluate it on the computer to confirm critical focus

Since LV allows the aperture to be stopped down, I would think doing this wide open would shorten the DOF in many cases to the point where critical focus would be pretty obvious. Right?

 macdane's gear list:macdane's gear list
Nikon D500 Nikon D850 Nikon AF-S Nikkor 24-70mm f/2.8G ED Nikon AF-S Nikkor 400mm f/2.8G ED VR II Nikon AF-S Nikkor 50mm F1.4G +2 more
DYswim
DYswim Regular Member • Posts: 267
Re: AF tune technique without taking photos

Kudos to you Horshack for your lateral thinking.  Sometimes there really is a return from reading these forums! As another poster noted, it seems so obvious in hindsight.

I have two new camera bodies that I am just about to fine tune.  I suspect you might just have saved me a lot of time.

Regards,

David

 DYswim's gear list:DYswim's gear list
Nikon D70 Nikon D700 Nikon D750 Nikon D850 +2 more
michaeladawson Forum Pro • Posts: 19,167
Re: AF tune technique without taking photos
3

Instead of having to switch the camera into MF after achieving critical LV focus...  Set the camera to AF-ON Only for the duration of the testing.  Now when you press the shutter button I think you will still get the rangefinder arrows and green dot but you won't be activating the AF.

-- hide signature --

Mike Dawson

 michaeladawson's gear list:michaeladawson's gear list
Nikon D7200 Nikon D5 Fujifilm X-T2 Nikon D850 Fujifilm X-E3 +39 more
OP Horshack Veteran Member • Posts: 9,376
Forgot to mention: always use largest aperture

macdane wrote:

Since LV allows the aperture to be stopped down, I would think doing this wide open would shorten the DOF in many cases to the point where critical focus would be pretty obvious. Right?

Yep! You want to dial in the largest aperture prior to entering LV, for a few reasons. First and most important is that PDAF (viewfinder AF) always focuses with the lens wide-open, so you want the aperture in LV to match that otherwise your focus results will incorporate focus-shift correction (spherical aberration). That is unless you want to AF tune your lenses to account for focus shift (ie, you'll be shooting stopped-down rather than wide open), which means you'd want to use an aperture that is 1-2 stops smaller than wide-open, depending on the lens.

The other reason is just as you said, a larger aperture will yield shallower DOF and thus more precise results.

OP Horshack Veteran Member • Posts: 9,376
Re: AF tune technique without taking photos

michaeladawson wrote:

Instead of having to switch the camera into MF after achieving critical LV focus... Set the camera to AF-ON Only for the duration of the testing. Now when you press the shutter button I think you will still get the rangefinder arrows and green dot but you won't be activating the AF.

I agree Mike, that's how I use my camera. I just thought it would be simpler to describe setting the camera to MF rather than having to explain what back-button focusing is and how to change its setting.

JP Scherrer
JP Scherrer Forum Pro • Posts: 10,703
Re: AF tune technique without taking photos

What a brilliant idea !!!

....inclusive the follow-up idea to make it as an "in-camera" automated firmware !!

I hope this thread comes to the ears of Nikon techs' and they would make the effort to implement it soon !?!? One can dream , can't one ?

J-P.

Photo Galeries at http://www.pbase.com/scherrer
Spherical Panoramas (360x180 degrees) at http://www.viewat.org/?sec=pn&id_aut=2489
Equipment list in profile

 JP Scherrer's gear list:JP Scherrer's gear list
Nikon 1 V1 Nikon 1 J1 Nikon D810 Nikon AF DX Fisheye-Nikkor 10.5mm f/2.8G ED Nikon AF-S Micro-Nikkor 105mm F2.8G IF-ED VR +7 more
OP Horshack Veteran Member • Posts: 9,376
Re: AF tune technique without taking photos

DYswim wrote:

Kudos to you Horshack for your lateral thinking. Sometimes there really is a return from reading these forums! As another poster noted, it seems so obvious in hindsight.

I have two new camera bodies that I am just about to fine tune. I suspect you might just have saved me a lot of time.

Regards,

Thanks David. I had to google what "lateral thinking" is

In essence this reverses the prevailing method; instead of adjusting AF tune until we get a sharp photo, we start with a sharp photo and then adjust AF tune to match it. One key benefit over the prevailing method is that it's not susceptible to shot-to-shot PDAF variation; with normal AF tune techniques you have to take multiple photographs at each tune value to eliminate AF variability from the measurements.

CraigBennett
CraigBennett Contributing Member • Posts: 699
Similar technique to this one
2

Horshack wrote:

I have a proposal for a new AF tune technique that doesn't require taking photographs. At least I think it's new because I haven't read it anywhere else yet. If anyone knows of a reference that describes this already please let me know.

Nikon DSLRs have an electronic rangefinder in the viewfinder that shows you when:

  • Subject is in focus (green dot)
  • Focus is behind subject - green arrow pointing left, indicating focus ring should be turned to the left, away from infinity
  • Focus is in front of subject - green arrow pointing right, indicating focus ring should be turned to the right, toward infinity

The rangefinder's determination of the above conditions is based on the phase-detect AF system's evaluation of focus. This system includes a configurable AF fine tune value which can be adjusted on a per-lens basis or globally for all lenses that don't have a per-lens value configured. Most would assume that this AF tune value is an "output" bias that the camera adds to all lens movement commands, so that instead of telling the lens "focus to X" it instead tells the lens "focus to X + tune value". In actuality the AF tune value is an "input" bias that feeds into the PDAF's sensing logic, altering when the camera believes it has acquired focus. You can read more about this here.

Since AF tune affects the camera's PDAF evaluation of what's in focus, it also affects the electronic rangefinder indication of focus. You can demonstrate this by establishing critical focus on a subject (green dot), changing the AF tune value, then without refocusing, observe that the rangefinder now shows a left or right arrow indicating the camera thinks the subject is no longer in focus, even though you didn't adjust focus.

Proposed AF Fine Tune Technique

  1. Enter Live View and establish critical focus on a high-contrast subject. For cameras with poor LV clarity (D800/E), you may want to take a photograph and evaluate it on the computer to confirm critical focus
  2. Set the body to MF. You could set the lens to MF instead but you may jostle the focus ring accidentally if you do so.
  3. Look through the viewfinder to see if the camera thinks the subject is in focus. You'll need to half-press the shutter while doing this to keep the metering/rangefinder from going to sleep. If you see the green arrow pointing to the left, then the camera+lens is back-focusing, so you need to decrease the value of AF tune (negative adjustment). If you see the green arrow pointing to the right, then the camera+lens is front-focusing, so you need to increase the value of AF tune (positive adjustment).
  4. Repeat step 3 until you get a green-dot from the rangefinder.
  5. Depending on focal length and subject distance there will be a range of AF tune values which produce green-dot confirmation. For example on my D800 w/50G f/1.4 @ 5' subject distance, I get the green dot from -6 to -14. Conceptually the optimal AF tune value should be the value that's the middle of the range, which in my case is -10 (I independently verified this using a LensAlign). So you'll want to establish the range of green-dot values by progressively increasing the AF tune values until the camera stops showing the green-dot (it'll alternate between the green dot and an arrow when it's at the margin of the range)...and repeat that procedure in the opposite direction to find the other end of the range.

Some notes:

  • When establishing the precise range of green-dot AF tune values you may need to examine the rangefinder for several seconds. I've found that for the extreme margins of the AF tune range the camera may take a few seconds to flicker the arrow/green-dot.

Questions and suggestions welcomed!

There was a thread similar to this where someone posted this link: Camera Micro adjust for free

http://www.northlight-images.co.uk/article_pages/cameras/1ds3_af_micoadjustment.html

It is for Canon, but works equally well for Nikon.

It is almost the same deal and but uses a pattern on your computer. When you see the beat patterns you are in focus. By switching back from LV to PD AF, you can see the error by watching the focus move or the green dot. Very, very accurate from what I can tell. Very easy to see the beat pattern for good focus.

I verified my microAF settings from FoCal with this method (it matched) and it cost nothing. It is very easy to find and dial in the correct AF setting.

Regards,

-- hide signature --

Craig Bennett
http://www.craigbennettphotography.com

(Edit: After I posted this, I found the thread :  http://forums.dpreview.com/forums/post/50687022

A Owens posted this info I reference)

 CraigBennett's gear list:CraigBennett's gear list
Nikon D90 Nikon D800 Nikon D800E Nikon AF-S DX Nikkor 18-105mm F3.5-5.6G ED VR Nikon AF-S Nikkor 70-200mm f/2.8G ED VR II +6 more
Daniel Clune
Daniel Clune Veteran Member • Posts: 3,453
Re: Firmware idea: Automated AF tuning Sounds great let nikon know

Horshack wrote:

Assuming the technique in the OP holds up to scrutiny, firmware could potentially automate the process of fine tuning via the following procedure:

  1. User selects a menu item/button that reads "Fine-tune AF"
  2. Firmware prompts the user to position the camera so that the center AF point is over a high-contrast target, preferably with the camera mounted on a tripod. Firmware prompts user to press a button to continue. Everything from this point is automated...
  3. Firmware lifts mirror and performs multiple CDAF (LV) acquisitions to establish the maximum contrast possible, then performs a final CDAF series to re-achieve the maximum determined contrast.
  4. Firmware drops mirror and samples the PDAF sensor to establish the split-beam direction (front/back focusing) and magnitude (delta) from what would otherwise be sampled as a centered PDAF reading. Firmware converts that delta to an AF tune value, rounding to the nearest integer if necessary. Preferably firmware would implement higher-precision AF tune increments than what is presently available, since the delta measured through this process would presumably be more precise than a user-measured reading.
  5. Firmware stores the reading in nonvolatile-memory and the procedure is done.

The process would only take a few seconds, depending on how many CDAF samples are necessary to establish optimal contrast. It would fast enough where photographers could take spot readings in the field if they wanted, tuning the AF for specific lighting conditions/shooting distances/etc..

If this actually works why not send Nikon this idea. No idea if they would do it but worth a shot. Make it a heck of alot easyer to do .

-- hide signature --
 Daniel Clune's gear list:Daniel Clune's gear list
Nikon D800 Nikon AF-S Nikkor 200-400mm f/4G ED-IF VR Nikon AF-S Nikkor 24-120mm F4G ED VR Epson Stylus Photo R1900
OP Horshack Veteran Member • Posts: 9,376
Re: Similar technique to this one

CraigBennett wrote:

There was a thread similar to this where someone posted this link: Camera Micro adjust for free

http://www.northlight-images.co.uk/article_pages/cameras/1ds3_af_micoadjustment.html

It is for Canon, but works equally well for Nikon.

It is almost the same deal and but uses a pattern on your computer. When you see the beat patterns you are in focus. By switching back from LV to PD AF, you can see the error by watching the focus move or the green dot. Very, very accurate from what I can tell. Very easy to see the beat pattern for good focus.

Thanks for the link Craig. In their method you have to watch the distance scale indicator on the lens to know when focus mismatches from LV, because unfortunately Canon doesn't provide a digital rangefinder on their bodies. Watching the distance scale works well for lenses with a long focus travel for the subject distance being tuned, otherwise it's hard to discern movement, requiring going back into LV and checking the on-screen pattern again. I used the distance scale a lot when I was fighting the D800's Left AF issue.

Edit: Another issue is that the method presumes the PDAF system wont engage the AF if the camera thinks the subject is in focus. I'd have to check on my Canon bodies but with my D800 the PDAF will still nudge the lens back and forth for each PDAF acquisition even when the lens is at critical focus, and even in AF-S mode.

michaeladawson Forum Pro • Posts: 19,167
There is a slight flaw or limitation to this method.

The flaw in the method...

The technique is dependent on the left arrow and the right arrow boundary points being within the -20 to +20 range.  You're probably SOL with this method if you have lenses that require AF fine tune values above say -15 or + 15.

-- hide signature --

Mike Dawson

 michaeladawson's gear list:michaeladawson's gear list
Nikon D7200 Nikon D5 Fujifilm X-T2 Nikon D850 Fujifilm X-E3 +39 more
Keyboard shortcuts:
FForum MMy threads