1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
===================================================================
RCS file: /cvsroot/hugin/hugin/src/include/PT/RemappedPanoImage.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- hugin/hugin/src/include/PT/RemappedPanoImage.h 2005/05/11 18:13:12 1.8
+++ hugin/hugin/src/include/PT/RemappedPanoImage.h 2005/11/16 18:50:05 1.9
@@ -6,7 +6,7 @@
*
* @author Pablo d'Angelo <pablo.dangelo@web.de>
*
- * $Id: hugin-0.5_rc2-gcc4.patch,v 1.1 2005/11/19 05:10:01 halcy0n Exp $
+ * $Id: hugin-0.5_rc2-gcc4.patch,v 1.1 2005/11/19 05:10:01 halcy0n Exp $
*
* This is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
@@ -436,8 +436,7 @@
if (imgOpts.docrop) {
vigra::BImage alpha(srcImgSize,255);
-
- if (pano.getLens(pano.getImage(imgNr)).getProjection() == Lens::CIRCULAR_FISHEYE) {
+ if (pano.getLens(img.getLensNr()).getProjection() == Lens::CIRCULAR_FISHEYE) {
FDiff2D m( (imgOpts.cropRect.left() + imgOpts.cropRect.width()/2.0) * scale,
(imgOpts.cropRect.top() + imgOpts.cropRect.height()/2.0) * scale);
@@ -494,7 +493,6 @@
vigra::BImage alpha(srcImgSize);
vigra::copyImage(vigra::make_triple(alphaImg.first, alphaImg.first + srcImgSize, alphaImg.second),
vigra::destImage(alpha));
-
if (pano.getLens(img.getLensNr()).getProjection() == Lens::CIRCULAR_FISHEYE) {
FDiff2D m( (imgOpts.cropRect.left() + imgOpts.cropRect.width()/2.0) * scale,
(imgOpts.cropRect.top() + imgOpts.cropRect.height()/2.0) * scale);
|