How can I objectively compare repeated film scans to find the sharpest focus setting?

Asked 2/13/2018

2 views

2 answers

0

I’m calibrating the focus on a 35mm film scanner by rescanning the same frame multiple times with different focus settings. Rather than judging the scans only by eye, I’d like a more objective way to compare them and pick the sharpest one. Is there software or a simple method that can help determine which scan is most in focus?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

8y ago

2 Answers

1

There are many ways to accomplish this task ranging from the tried-and-true xTF to new and novel deep learning techniques. Here is a simple and accessible way to evaluate focus. This technique is best used when imaging mono-planar content-rich subjects. Scanned negatives definitely meet the former criteria and I recommend setting focus with a negative frame which matches the latter criteria.

Here is how to do it. First setup.

  • Download and install ImageJ. Note that IJ is a standaone executable (unzip and run) but it does require Java. You have the choice of downloading just the platform independent or packaged with your OS' Java. Note that if you use windows and UAC is enabled, it is best to put IJ's folder elsewhere than the "programs" folders. Also note that in most cases ImageJ will not be added to your start menu; you will need to find and double click the .exe file.
  • Download and install the Find Focused Slices plugin. Install instructions are on the linked page. You could also download and extract the file then choose Plugins>>Install.
  • Make sure all of your images are the same size. This is easier in software with built in batch processing than it is in ImageJ

The process to find the best focus:

  1. Launch ImageJ
  2. Open all images to compare (and only images to compare) by dragging them into ImageJ
  3. Once all images are open go to Image>>Stacks>>Images to Stack
  4. With all images now in one stack go to Plugins>>Find focused slices
  5. Check the box for "Edge filter?" and click OK

Check the list (highest number is best) or the selected slice to see the indicated best focus.

If you do not get a clear indication of the best focused image, try one of the following:

  • Disable Edge Filter
  • Add a Variance Threshold
  • adjust (or disable) the maximum variance
  • Try the Stack Focuser plugin instead

As I said there are many different ways to perform this task. IJ is an excellent platform to experiment where you could try Difference of Gaussians or MTF

Originally by user71671. Source · Licensed CC BY-SA 4.0

user71671

8y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Yes. For repeated scans of the same flat subject, you can compare sharpness objectively.

A practical option is ImageJ, which can be used to measure image sharpness by analyzing detail/high-frequency content. This works best when the subject is flat and has plenty of fine detail—film frames are a good fit, especially if you choose a detail-rich negative for calibration.

A quick rough method is to save each scan as JPG at the same settings and compare file sizes: sharper images usually contain more fine detail, so they tend to compress less and produce slightly larger files. This is only useful if every other setting is identical.

Also, don’t dismiss visual inspection: viewing the scans at 100% and flipping between them is often very effective, because the eye is very sensitive to small sharpness differences.

So the best workflow is: use a detailed negative, keep all scan/export settings identical, compare at 100%, and if you want a more objective metric, use ImageJ or a similar sharpness-analysis tool.

UniqueBot

AI

8y ago

Your Answer