From: <bru...@us...> - 2009-08-25 20:16:25
|
Revision: 4280 http://hugin.svn.sourceforge.net/hugin/?rev=4280&view=rev Author: brunopostle Date: 2009-08-25 20:16:19 +0000 (Tue, 25 Aug 2009) Log Message: ----------- Change EV threshold for determining exposure layers. Really needs to become a project option with feedback. Modified Paths: -------------- hugin/trunk/src/hugin_base/algorithms/panorama_makefile/PanoramaMakefileExport.cpp Modified: hugin/trunk/src/hugin_base/algorithms/panorama_makefile/PanoramaMakefileExport.cpp =================================================================== --- hugin/trunk/src/hugin_base/algorithms/panorama_makefile/PanoramaMakefileExport.cpp 2009-08-25 20:14:11 UTC (rev 4279) +++ hugin/trunk/src/hugin_base/algorithms/panorama_makefile/PanoramaMakefileExport.cpp 2009-08-25 20:16:19 UTC (rev 4280) @@ -61,6 +61,7 @@ // find all images that have a suitable overlap. SrcPanoImage simg = pano.getSrcImage(srcImg); + // FIXME this should be a user preference double maxShift = simg.getHFOV() / 10.0; double minShift = 360.0 - maxShift; for (UIntSet::iterator it = allImgs.begin(); it != allImgs.end(); ) { @@ -102,7 +103,8 @@ // find all images that have a suitable overlap. SrcPanoImage simg = pano.getSrcImage(srcImg); - double maxEVDiff = 0.2; + // FIXME this should be a user preference + double maxEVDiff = 0.5; for (UIntSet::iterator it = allImgs.begin(); it != allImgs.end(); ) { unsigned srcImg2 = *it; it++; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |