Jack L
Jack L

Reputation: 161

Camera Module Focus Adjust using Contrast Transfer Function

Currently I'm designing a test program for mobile phone camera module. I'm trying to control a precision motor that adjust the focus barrel of the camera to get optimum focus point. I've been looking for an algorithm for contrast transfer function but so far what I can find is only mathematical formulas.

Has anyone tried implementing CTF before?

Upvotes: 16

Views: 874

Answers (2)

Ed Staub
Ed Staub

Reputation: 15690

You probably want to CTF only the center of the image, both for speed and to "read user's mind". Depending on speed, you may even want to CTF just small sample regions within that - the faster your focus slew, the more impetus you have to be able to do a fast CTF. To me, the interesting question is the next part - what kind of control system should be used to find the best focus, given what-all the user's doing while you're trying to focus? [I'm just spouting off - I've never done this!!]

Upvotes: 1

Eric Fortis
Eric Fortis

Reputation: 17350

Yes check this one, it performs CTF for microscopes photographs

Upvotes: 1

Related Questions