I've thought of using libpano for rectification of sea images.

We have a perspective image of some area and want to rectify it to easily put on maps and so on. The way to determine angles of a shot, is to take it directly from a camera, or use ground control point, witch can be seen on the picture. If we know GPS coordinates of such ground control points, we can make an equations and after that make optimization like libpano does.

But, using libpano for this look not easy, cause in libpano we should have a pairs of control points and mark it as weather vertical or horizontal.

What do you think, would it be difficult to use libpano for such mention of control points? Do I understand libpano's control points correct?