Merge pull request #2987 from anishp:master
authorVadim Pisarevsky <vadim.pisarevsky@gmail.com>
Mon, 28 Jul 2014 21:15:39 +0000 (21:15 +0000)
committerVadim Pisarevsky <vadim.pisarevsky@gmail.com>
Mon, 28 Jul 2014 21:15:39 +0000 (21:15 +0000)
1  2 
modules/stitching/include/opencv2/stitching/detail/util.hpp

@@@ -46,7 -46,9 +46,9 @@@
  #include <list>
  #include "opencv2/core.hpp"
  
+ #ifndef ENABLE_LOG
  #define ENABLE_LOG 0
+ #endif
  
  // TODO remove LOG macros, add logging class
  #if ENABLE_LOG
@@@ -148,7 -150,6 +150,7 @@@ private
  CV_EXPORTS bool overlapRoi(Point tl1, Point tl2, Size sz1, Size sz2, Rect &roi);
  CV_EXPORTS Rect resultRoi(const std::vector<Point> &corners, const std::vector<UMat> &images);
  CV_EXPORTS Rect resultRoi(const std::vector<Point> &corners, const std::vector<Size> &sizes);
 +CV_EXPORTS Rect resultRoiIntersection(const std::vector<Point> &corners, const std::vector<Size> &sizes);
  CV_EXPORTS Point resultTl(const std::vector<Point> &corners);
  
  // Returns random 'count' element subset of the {0,1,...,size-1} set