Calibrating autofocus
Posted: Thu Jul 05, 2012 3:31 am
There are two kinds of camera autofocus – phase detect and contrast detect. Cameras that use contrast detect (such as mirrorless cameras) do not require adjustment because they focus directly on the sensor. DSLRs that use phase detect have an autofocus sensor that is separate from the main sensor so the relative alignment of the two sensors is critical to autofocus accuracy. It is not peculiar to the camera body, either. Focusing adjustment will differ with different lenses and with zooms, at different focal lengths. Consequently many DSLRs, especially the higher models, have menu adjustments to calibrate the autofocus with each lens.
There are various methods to deal with this. One is to set your camera and lens on a thick piece of wood and administer three sharp taps to each side of the body with a hammer. Some may prefer to put a strip of rubber under the camera first. Then suspend the camera and lens in a watertight container in a solution 50% molasses and 50% cod liver oil. Cover with leaves, bury in six feet of moist soil and leave for eighty years or more. You will then not have any autofocus problems with this camera and lens but you will not be able to take any images either. So buy a new camera and lens.
This leads to the next method. It is well known that if you spend money on a camera in the right way, you become an excellent photographer and your equipment will be better than anyone else’s. There is no need to learn aesthetic sensitivity or technique or to test your equipment or even to take photographs because you will have become such an amazing photographer. And your images, if you take any, will be incredible whether they are in focus or not.
For those of us who do use DSLRs and take photographs, some will be in focus and some won’t. This will apply even if your camera and lens is calibrated, due to user error and shot-to-shot variation. It is good to have your equipment operating as well as it might, but with some methods of calibration you need to take care or you can make things worse than they were to start with. Continuing with the alternatives:
You can purchase the LensAlign system. This in essence gives you a target (placed square to the camera) and a rule (square with the camera but tilted) so you can focus on the target and determine what microfocus adjustment you may need from the rule.
You can also do this yourself at little or no cost, downloading or constructing an appropriate target and rule and using them either inside your house or in your back yard. You need to ensure that both the target and the camera are fixed and will not move or vibrate (including in the wind). You will need a very solid tripod for your camera and the camera and target will need to be precisely level and aligned. You will need to take many shots between each image to account for autofocus variation and manually defocus before each autofocus and shot. The focus on the tilted rule will then tell you what direction you need to adjust in but not how much.
You may see on the web methods using just a tilted rule but they are not recommended because autofocus may not be accurate.
There is another viable do-it-yourself approach using your monitor and a target that induces moire, as explained by Keith Cooper on Northlight Images.
There is also in my opinion a better approach than any of the above (even the molasses and cod liver oil one). I have recently purchased a copy of Reikan FoCal Pro and used that. The difference is that this is an automated or semi-automated process using a tethered camera that removes most of the guesswork. I’m not proposing to provide a review because Martin Bailey has already done that but just to relate a user experience.
FoCal currently supports seven Canon cameras and nine Nikon cameras. Most of the Canon cameras and one of the Nikons work in fully automatic mode. For the rest, you use semi-automatic mode and change the focus calibration setting in your camera’s menu when FoCal tells you to, which is still a lot easier than the manual methods above.
You need a strong lighting source, say natural light or halogen but not fluoro or LED because they flicker. I had some initial problems getting a lock on the target and worked out the main cure was ensuring the lighting was bright enough and moving closer to the target. I made some comments on providing user feedback through the interface when this happens and that will be incorporated in the next edition due soon.
The D3s and D3 columns headed 3 to 6 June are my initial testing results:
Plus or minus 20 is the maximum amount of adjustment for my cameras (and probably for any Canon or Nikon). I discovered that both my D3s and the 85mm f1.4G were hitting that max and sent them back to Nikon for repair. Both of them had previously been in for autofocus repair. I have received the D3s back, repaired under warranty and the results are now much better as shown under the 21 to 22 June column. Nikon still have the 85mm f1.4 and I will have to pay for that as the warranty had expired. I took it to Japan with the D3 and didn’t notice any problems though I was mainly shooting for landscapes and stopping down.
So what this demonstrates is that this program isn’t just good for calibrating autofocus but can indicate when you need to send a body or lens in for repair. This can be particularly useful to check when a lens is repaired or when you get a new lens.
As well as calibrating autofocus, FoCal offers methods to check for your sharpest aperture, find dust on your sensor and check focus accuracy from side sensor points. I haven’t undertaken these as yet. The program is under active development and more features will arrive in time. Low light autofocus consistency is one. I also suggested a method whereby they could check for focus shift and that will be in the release following the forthcoming one.
There are various methods to deal with this. One is to set your camera and lens on a thick piece of wood and administer three sharp taps to each side of the body with a hammer. Some may prefer to put a strip of rubber under the camera first. Then suspend the camera and lens in a watertight container in a solution 50% molasses and 50% cod liver oil. Cover with leaves, bury in six feet of moist soil and leave for eighty years or more. You will then not have any autofocus problems with this camera and lens but you will not be able to take any images either. So buy a new camera and lens.
This leads to the next method. It is well known that if you spend money on a camera in the right way, you become an excellent photographer and your equipment will be better than anyone else’s. There is no need to learn aesthetic sensitivity or technique or to test your equipment or even to take photographs because you will have become such an amazing photographer. And your images, if you take any, will be incredible whether they are in focus or not.
For those of us who do use DSLRs and take photographs, some will be in focus and some won’t. This will apply even if your camera and lens is calibrated, due to user error and shot-to-shot variation. It is good to have your equipment operating as well as it might, but with some methods of calibration you need to take care or you can make things worse than they were to start with. Continuing with the alternatives:
You can purchase the LensAlign system. This in essence gives you a target (placed square to the camera) and a rule (square with the camera but tilted) so you can focus on the target and determine what microfocus adjustment you may need from the rule.
You can also do this yourself at little or no cost, downloading or constructing an appropriate target and rule and using them either inside your house or in your back yard. You need to ensure that both the target and the camera are fixed and will not move or vibrate (including in the wind). You will need a very solid tripod for your camera and the camera and target will need to be precisely level and aligned. You will need to take many shots between each image to account for autofocus variation and manually defocus before each autofocus and shot. The focus on the tilted rule will then tell you what direction you need to adjust in but not how much.
You may see on the web methods using just a tilted rule but they are not recommended because autofocus may not be accurate.
There is another viable do-it-yourself approach using your monitor and a target that induces moire, as explained by Keith Cooper on Northlight Images.
There is also in my opinion a better approach than any of the above (even the molasses and cod liver oil one). I have recently purchased a copy of Reikan FoCal Pro and used that. The difference is that this is an automated or semi-automated process using a tethered camera that removes most of the guesswork. I’m not proposing to provide a review because Martin Bailey has already done that but just to relate a user experience.
FoCal currently supports seven Canon cameras and nine Nikon cameras. Most of the Canon cameras and one of the Nikons work in fully automatic mode. For the rest, you use semi-automatic mode and change the focus calibration setting in your camera’s menu when FoCal tells you to, which is still a lot easier than the manual methods above.
You need a strong lighting source, say natural light or halogen but not fluoro or LED because they flicker. I had some initial problems getting a lock on the target and worked out the main cure was ensuring the lighting was bright enough and moving closer to the target. I made some comments on providing user feedback through the interface when this happens and that will be incorporated in the next edition due soon.
The D3s and D3 columns headed 3 to 6 June are my initial testing results:
Plus or minus 20 is the maximum amount of adjustment for my cameras (and probably for any Canon or Nikon). I discovered that both my D3s and the 85mm f1.4G were hitting that max and sent them back to Nikon for repair. Both of them had previously been in for autofocus repair. I have received the D3s back, repaired under warranty and the results are now much better as shown under the 21 to 22 June column. Nikon still have the 85mm f1.4 and I will have to pay for that as the warranty had expired. I took it to Japan with the D3 and didn’t notice any problems though I was mainly shooting for landscapes and stopping down.
So what this demonstrates is that this program isn’t just good for calibrating autofocus but can indicate when you need to send a body or lens in for repair. This can be particularly useful to check when a lens is repaired or when you get a new lens.
As well as calibrating autofocus, FoCal offers methods to check for your sharpest aperture, find dust on your sensor and check focus accuracy from side sensor points. I haven’t undertaken these as yet. The program is under active development and more features will arrive in time. Low light autofocus consistency is one. I also suggested a method whereby they could check for focus shift and that will be in the release following the forthcoming one.