#include <AutoFocus.h>

Public Member Functions | |
| AutoFocus (FCam::Lens *l) | |
| Construct an AutoFocus helper object that uses the specified lens. | |
| void | startSweep () |
| Start the autofocus routine. | |
| void | update (FCam::Frame::Ptr f) |
| Feed the autofocus routine a new frame. | |
| bool | focused () |
| Is the lens currently focused? | |
| bool | idle () |
| Is the lens current focused, or ready to begin focusing? | |
You call startSweep, then feed it frames using update, until focused returns true.
Definition at line 18 of file AutoFocus.h.
| FCam::AutoFocus::AutoFocus | ( | FCam::Lens * | l | ) |
Construct an AutoFocus helper object that uses the specified lens.
Definition at line 7 of file AutoFocus.cpp.
| void FCam::AutoFocus::startSweep | ( | ) |
| void FCam::AutoFocus::update | ( | FCam::Frame::Ptr | f | ) |
Feed the autofocus routine a new frame.
It will have its sharpness map examined, and the autofocus will react appropriately. This function will ignore frames that aren't tagged by the lens this object was constructed with, and will also ignore frames with no sharpnes map.
Definition at line 18 of file AutoFocus.cpp.
1.5.6