Available in the LEADTOOLS Imaging toolkit.
AutoPan Example for C++ 4.0 and later
m_LEAD1.Load("v:\\images\\babe.cmp", 0, 1, 1); m_LEAD1.SetAutoPan(TRUE);