Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Diff of /src/hugin_base/panodata/SrcPanoImage.h [40ba32] .. [9f824a] Maximize Restore

  Switch to side-by-side view

--- a/src/hugin_base/panodata/SrcPanoImage.h
+++ b/src/hugin_base/panodata/SrcPanoImage.h
@@ -376,7 +376,9 @@
     /** calcualte focal length, given crop factor and hfov */
     static double calcFocalLength(SrcPanoImage::Projection proj, double hfov, double crop, vigra::Size2D imageSize);
+    /** calculate crop factor, given focal length and hfov */
+    static double calcCropFactor(SrcPanoImage::Projection proj, double hfov, double focalLength, vigra::Size2D imageSize);
     std::string m_filename;