OpenCV  2.4.13.2
Open Source Computer Vision
util.hpp File Reference
#include <list>
#include "opencv2/core/core.hpp"
#include "util_inl.hpp"

Classes

class  cv::detail::DisjointSets
 
struct  cv::detail::GraphEdge
 
class  cv::detail::Graph
 

Namespaces

 cv
 
 cv::detail
 

Macros

#define ENABLE_LOG   0
 
#define LOG_STITCHING_MSG(msg)
 
#define LOG_(_level, _msg)
 
#define LOG(msg)   LOG_(1, msg)
 
#define LOG_CHAT(msg)   LOG_(0, msg)
 
#define LOGLN(msg)   LOG(msg << std::endl)
 
#define LOGLN_CHAT(msg)   LOG_CHAT(msg << std::endl)
 

Functions

bool cv::detail::overlapRoi (Point tl1, Point tl2, Size sz1, Size sz2, Rect &roi)
 
Rect cv::detail::resultRoi (const std::vector< Point > &corners, const std::vector< Mat > &images)
 
Rect cv::detail::resultRoi (const std::vector< Point > &corners, const std::vector< Size > &sizes)
 
Point cv::detail::resultTl (const std::vector< Point > &corners)
 
void cv::detail::selectRandomSubset (int count, int size, std::vector< int > &subset)
 
intcv::detail::stitchingLogLevel ()
 

Macro Definition Documentation

§ ENABLE_LOG

#define ENABLE_LOG   0

§ LOG

#define LOG (   msg)    LOG_(1, msg)

§ LOG_

#define LOG_ (   _level,
  _msg 
)
Value:
for(;;) \
{ \
if ((_level) >= ::cv::detail::stitchingLogLevel()) \
{ \
LOG_STITCHING_MSG(_msg); \
} \
break; \
}
int & stitchingLogLevel()

§ LOG_CHAT

#define LOG_CHAT (   msg)    LOG_(0, msg)

§ LOG_STITCHING_MSG

#define LOG_STITCHING_MSG (   msg)

§ LOGLN

#define LOGLN (   msg)    LOG(msg << std::endl)

§ LOGLN_CHAT

#define LOGLN_CHAT (   msg)    LOG_CHAT(msg << std::endl)