Diff of /panorama.h [fa87ef] .. [476859]  Maximize  Restore

Switch to side-by-side view

--- a/panorama.h
+++ b/panorama.h
@@ -284,7 +284,9 @@
     _equipanini = 22,
     _biplane = 23,
    _triplane = 24,
-    _panini_general = 25
+    _panini_general = 25,
+    _thoby   = 26,             // generalizes the model found in modern fisheye lenses. It is
+                               // parametrizable but it defaults to the Nikkor 10.5 fisheye lens
 };
 
 enum
@@ -306,12 +308,13 @@
     PANO_FORMAT_ORTHOGRAPHIC = 14,
     PANO_FORMAT_EQUISOLID = 15,
     PANO_FORMAT_EQUI_PANINI = 16,
-	PANO_FORMAT_BIPLANE = 17,
-	PANO_FORMAT_TRIPLANE = 18,
-	PANO_FORMAT_PANINI_GENERAL = 19,
-};
-
-#define PANO_FORMAT_COUNT 20
+    PANO_FORMAT_BIPLANE = 17,
+    PANO_FORMAT_TRIPLANE = 18,
+    PANO_FORMAT_PANINI_GENERAL = 19,
+    PANO_FORMAT_THOBY   = 20,
+};
+
+#define PANO_FORMAT_COUNT 21
 
 enum
 {                               // Enumerates external number of image f<index>
@@ -324,8 +327,9 @@
     IMAGE_FORMAT_FISHEYE_ORTHOGRAPHIC = 8,
     IMAGE_FORMAT_FISHEYE_STEREOGRAPHIC = 10,
     IMAGE_FORMAT_FISHEYE_EQUISOLID = 21,
-};
-#define IMAGE_FORMAT_COUNT 9
+    IMAGE_FORMAT_FISHEYE_THOBY = PANO_FORMAT_THOBY,
+};
+#define IMAGE_FORMAT_COUNT 10
 
 // A large rectangle
 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks