std 267 3rdparty/include/opencl/1.2/CL/cl.hpp class Error : public std::exception std 465 3rdparty/include/opencl/1.2/CL/cl.hpp typedef std::string STRING_CLASS; std 647 3rdparty/include/opencl/1.2/CL/cl.hpp #define VECTOR_CLASS std::vector std 3053 3rdparty/include/opencl/1.2/CL/cl.hpp typedef typename std::iterator_traits<IteratorType>::value_type DataType; std 4572 3rdparty/include/opencl/1.2/CL/cl.hpp typedef VECTOR_CLASS<std::pair<const void*, ::size_t> > Binaries; std 4573 3rdparty/include/opencl/1.2/CL/cl.hpp typedef VECTOR_CLASS<std::pair<const char*, ::size_t> > Sources; std 5893 3rdparty/include/opencl/1.2/CL/cl.hpp std::pair<void*, ::size_t> args, std 6228 3rdparty/include/opencl/1.2/CL/cl.hpp typedef typename std::iterator_traits<IteratorType>::value_type DataType; std 6241 3rdparty/include/opencl/1.2/CL/cl.hpp std::copy( std 6247 3rdparty/include/opencl/1.2/CL/cl.hpp std::copy(startIterator, endIterator, pointer); std 6265 3rdparty/include/opencl/1.2/CL/cl.hpp typedef typename std::iterator_traits<IteratorType>::value_type DataType; std 6277 3rdparty/include/opencl/1.2/CL/cl.hpp std::copy(pointer, pointer + length, startIterator); std 35 3rdparty/libtiff/tif_stream.cxx using namespace std; std 37 3rdparty/libtiff/tiffio.hxx extern TIFF* TIFFStreamOpen(const char*, std::ostream *); std 38 3rdparty/libtiff/tiffio.hxx extern TIFF* TIFFStreamOpen(const char*, std::istream *); std 40 3rdparty/openexr/Half/eLut.cpp using namespace std; std 50 3rdparty/openexr/Half/half.cpp using namespace std; std 238 3rdparty/openexr/Half/half.h HALF_EXPORT std::ostream & operator << (std::ostream &os, half h); std 239 3rdparty/openexr/Half/half.h HALF_EXPORT std::istream & operator >> (std::istream &is, half &h); std 246 3rdparty/openexr/Half/half.h HALF_EXPORT void printBits (std::ostream &os, half h); std 247 3rdparty/openexr/Half/half.h HALF_EXPORT void printBits (std::ostream &os, float f); std 54 3rdparty/openexr/Half/halfLimits.h namespace std { std 53 3rdparty/openexr/Half/toFloat.cpp using namespace std; std 70 3rdparty/openexr/Iex/IexBaseExc.cpp std::string (s? s: ""), std 77 3rdparty/openexr/Iex/IexBaseExc.cpp BaseExc::BaseExc (const std::string &s) throw () : std 78 3rdparty/openexr/Iex/IexBaseExc.cpp std::string (s), std 85 3rdparty/openexr/Iex/IexBaseExc.cpp BaseExc::BaseExc (std::stringstream &s) throw () : std 86 3rdparty/openexr/Iex/IexBaseExc.cpp std::string (s.str()), std 94 3rdparty/openexr/Iex/IexBaseExc.cpp std::string (be), std 115 3rdparty/openexr/Iex/IexBaseExc.cpp BaseExc::assign (std::stringstream &s) std 117 3rdparty/openexr/Iex/IexBaseExc.cpp std::string::assign (s.str()); std 122 3rdparty/openexr/Iex/IexBaseExc.cpp BaseExc::append (std::stringstream &s) std 124 3rdparty/openexr/Iex/IexBaseExc.cpp std::string::append (s.str()); std 63 3rdparty/openexr/Iex/IexBaseExc.h class BaseExc: public std::string, public std::exception std 72 3rdparty/openexr/Iex/IexBaseExc.h BaseExc (const std::string &s) throw(); // std::string (s) std 73 3rdparty/openexr/Iex/IexBaseExc.h BaseExc (std::stringstream &s) throw(); // std::string (s.str()) std 89 3rdparty/openexr/Iex/IexBaseExc.h BaseExc & assign (std::stringstream &s); // assign (s.str()) std 90 3rdparty/openexr/Iex/IexBaseExc.h BaseExc & operator = (std::stringstream &s); std 92 3rdparty/openexr/Iex/IexBaseExc.h BaseExc & append (std::stringstream &s); // append (s.str()) std 93 3rdparty/openexr/Iex/IexBaseExc.h BaseExc & operator += (std::stringstream &s); std 115 3rdparty/openexr/Iex/IexBaseExc.h const std::string & stackTrace () const; std 119 3rdparty/openexr/Iex/IexBaseExc.h std::string _stackTrace; std 133 3rdparty/openexr/Iex/IexBaseExc.h name (const std::string &text) throw(): base (text) {} \ std 134 3rdparty/openexr/Iex/IexBaseExc.h name (std::stringstream &text) throw(): base (text) {} \ std 200 3rdparty/openexr/Iex/IexBaseExc.h typedef std::string (* StackTracer) (); std 211 3rdparty/openexr/Iex/IexBaseExc.h BaseExc::operator = (std::stringstream &s) std 218 3rdparty/openexr/Iex/IexBaseExc.h BaseExc::operator += (std::stringstream &s) std 227 3rdparty/openexr/Iex/IexBaseExc.h std::string::assign(s); std 242 3rdparty/openexr/Iex/IexBaseExc.h std::string::append(s); std 254 3rdparty/openexr/Iex/IexBaseExc.h inline const std::string & std 61 3rdparty/openexr/Iex/IexMacros.h std::stringstream s; \ std 94 3rdparty/openexr/Iex/IexMacros.h std::stringstream s; \ std 103 3rdparty/openexr/Iex/IexMacros.h std::stringstream s; \ std 123 3rdparty/openexr/Iex/IexMacros.h std::stringstream s; \ std 52 3rdparty/openexr/Iex/IexThrowErrnoExc.cpp void throwErrnoExc (const std::string &text, int errnum) std 55 3rdparty/openexr/Iex/IexThrowErrnoExc.cpp std::string tmp (text); std 56 3rdparty/openexr/Iex/IexThrowErrnoExc.cpp std::string::size_type pos; std 58 3rdparty/openexr/Iex/IexThrowErrnoExc.cpp while (std::string::npos != (pos = tmp.find ("%T"))) std 853 3rdparty/openexr/Iex/IexThrowErrnoExc.cpp void throwErrnoExc (const std::string &text) std 90 3rdparty/openexr/Iex/IexThrowErrnoExc.h void throwErrnoExc (const std::string &txt, int errnum); std 91 3rdparty/openexr/Iex/IexThrowErrnoExc.h void throwErrnoExc (const std::string &txt = "%T." /*, int errnum = oserror() */); std 47 3rdparty/openexr/IlmImf/ImfAcesFile.cpp using namespace std; std 116 3rdparty/openexr/IlmImf/ImfAcesFile.cpp (const std::string &name, std 162 3rdparty/openexr/IlmImf/ImfAcesFile.cpp (const std::string &name, std 198 3rdparty/openexr/IlmImf/ImfAcesFile.cpp (const std::string &name, std 469 3rdparty/openexr/IlmImf/ImfAcesFile.cpp AcesInputFile::AcesInputFile (const std::string &name, int numThreads): std 114 3rdparty/openexr/IlmImf/ImfAcesFile.h AcesOutputFile (const std::string &name, std 137 3rdparty/openexr/IlmImf/ImfAcesFile.h AcesOutputFile (const std::string &name, std 155 3rdparty/openexr/IlmImf/ImfAcesFile.h AcesOutputFile (const std::string &name, std 242 3rdparty/openexr/IlmImf/ImfAcesFile.h AcesInputFile (const std::string &name, std 64 3rdparty/openexr/IlmImf/ImfAttribute.cpp struct NameCompare: std::binary_function <const char *, const char *, bool> std 75 3rdparty/openexr/IlmImf/ImfAttribute.cpp typedef std::map <const char *, Constructor, NameCompare> TypeMap; std 120 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp using std::min; std 76 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp setErrorMessage (const std::exception &e) std 193 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 215 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 356 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 372 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 397 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 422 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 438 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 458 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 485 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 505 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 535 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 561 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 591 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 617 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 641 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 664 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 688 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 711 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 735 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 759 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 783 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 807 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 831 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 863 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 887 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 927 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 943 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 959 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 978 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 994 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 1039 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 1055 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 1074 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 1092 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 1111 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 1168 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 1184 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 1203 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 1219 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 1255 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 1271 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 1290 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 1308 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 1327 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 1392 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 1408 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp catch (const std::exception &e) std 48 3rdparty/openexr/IlmImf/ImfChannelList.cpp using std::string; std 49 3rdparty/openexr/IlmImf/ImfChannelList.cpp using std::set; std 125 3rdparty/openexr/IlmImf/ImfChannelList.h void insert (const std::string &name, std 143 3rdparty/openexr/IlmImf/ImfChannelList.h Channel & operator [] (const std::string &name); std 144 3rdparty/openexr/IlmImf/ImfChannelList.h const Channel & operator [] (const std::string &name) const; std 149 3rdparty/openexr/IlmImf/ImfChannelList.h Channel * findChannel (const std::string &name); std 150 3rdparty/openexr/IlmImf/ImfChannelList.h const Channel * findChannel (const std::string &name) const; std 157 3rdparty/openexr/IlmImf/ImfChannelList.h typedef std::map <Name, Channel> ChannelMap; std 171 3rdparty/openexr/IlmImf/ImfChannelList.h Iterator find (const std::string &name); std 172 3rdparty/openexr/IlmImf/ImfChannelList.h ConstIterator find (const std::string &name) const; std 215 3rdparty/openexr/IlmImf/ImfChannelList.h void layers (std::set <std::string> &layerNames) const; std 217 3rdparty/openexr/IlmImf/ImfChannelList.h void channelsInLayer (const std::string &layerName, std 221 3rdparty/openexr/IlmImf/ImfChannelList.h void channelsInLayer (const std::string &layerName, std 246 3rdparty/openexr/IlmImf/ImfChannelList.h void channelsWithPrefix (const std::string &prefix, std 250 3rdparty/openexr/IlmImf/ImfChannelList.h void channelsWithPrefix (const std::string &prefix, std 57 3rdparty/openexr/IlmImf/ImfChannelListAttribute.cpp std::stringstream s; std 65 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h IMF_STATIC_ASSERT (!std::numeric_limits<T>::is_signed && std 66 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h std::numeric_limits<T>::is_integer); std 68 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h if (a > 0 && b > std::numeric_limits<T>::max() / a) std 83 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h IMF_STATIC_ASSERT (!std::numeric_limits<T>::is_signed && std 84 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h std::numeric_limits<T>::is_integer); std 101 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h IMF_STATIC_ASSERT (!std::numeric_limits<T>::is_signed && std 102 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h std::numeric_limits<T>::is_integer); std 104 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h if (a > std::numeric_limits<T>::max() - b) std 119 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h IMF_STATIC_ASSERT (!std::numeric_limits<T>::is_signed && std 120 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h std::numeric_limits<T>::is_integer); std 147 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h IMF_STATIC_ASSERT (!std::numeric_limits<T>::is_signed && std 148 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h std::numeric_limits<T>::is_integer); std 152 3rdparty/openexr/IlmImf/ImfCheckedArithmetic.h if (size_t (n) > std::numeric_limits<size_t>::max() / s) std 47 3rdparty/openexr/IlmImf/ImfEnvmap.cpp using namespace std; std 48 3rdparty/openexr/IlmImf/ImfFrameBuffer.cpp using namespace std; std 161 3rdparty/openexr/IlmImf/ImfFrameBuffer.h void insert (const std::string &name, std 179 3rdparty/openexr/IlmImf/ImfFrameBuffer.h Slice & operator [] (const std::string &name); std 180 3rdparty/openexr/IlmImf/ImfFrameBuffer.h const Slice & operator [] (const std::string &name) const; std 185 3rdparty/openexr/IlmImf/ImfFrameBuffer.h Slice * findSlice (const std::string &name); std 186 3rdparty/openexr/IlmImf/ImfFrameBuffer.h const Slice * findSlice (const std::string &name) const; std 193 3rdparty/openexr/IlmImf/ImfFrameBuffer.h typedef std::map <Name, Slice> SliceMap; std 207 3rdparty/openexr/IlmImf/ImfFrameBuffer.h Iterator find (const std::string &name); std 208 3rdparty/openexr/IlmImf/ImfFrameBuffer.h ConstIterator find (const std::string &name) const; std 76 3rdparty/openexr/IlmImf/ImfHeader.cpp using namespace std; std 156 3rdparty/openexr/IlmImf/ImfHeader.cpp std::stringstream s; std 929 3rdparty/openexr/IlmImf/ImfHeader.cpp std::string s = oss.str(); std 157 3rdparty/openexr/IlmImf/ImfHeader.h void insert (const std::string &name, std 183 3rdparty/openexr/IlmImf/ImfHeader.h Attribute & operator [] (const std::string &name); std 184 3rdparty/openexr/IlmImf/ImfHeader.h const Attribute & operator [] (const std::string &name) const; std 189 3rdparty/openexr/IlmImf/ImfHeader.h template <class T> T& typedAttribute (const std::string &name); std 190 3rdparty/openexr/IlmImf/ImfHeader.h template <class T> const T& typedAttribute (const std::string &name) const; std 195 3rdparty/openexr/IlmImf/ImfHeader.h template <class T> T* findTypedAttribute (const std::string &name); std 196 3rdparty/openexr/IlmImf/ImfHeader.h template <class T> const T* findTypedAttribute (const std::string &name) std 203 3rdparty/openexr/IlmImf/ImfHeader.h typedef std::map <Name, Attribute *> AttributeMap; std 217 3rdparty/openexr/IlmImf/ImfHeader.h Iterator find (const std::string &name); std 218 3rdparty/openexr/IlmImf/ImfHeader.h ConstIterator find (const std::string &name) const; std 577 3rdparty/openexr/IlmImf/ImfHeader.h Header::typedAttribute (const std::string &name) std 585 3rdparty/openexr/IlmImf/ImfHeader.h Header::typedAttribute (const std::string &name) const std 611 3rdparty/openexr/IlmImf/ImfHeader.h Header::findTypedAttribute (const std::string &name) std 619 3rdparty/openexr/IlmImf/ImfHeader.h Header::findTypedAttribute (const std::string &name) const std 57 3rdparty/openexr/IlmImf/ImfHuf.cpp using namespace std; std 143 3rdparty/openexr/IlmImf/ImfIO.h std::string _fileName; std 206 3rdparty/openexr/IlmImf/ImfIO.h std::string _fileName; std 182 3rdparty/openexr/IlmImf/ImfInputFile.cpp int minY = std::min (scanLine1, scanLine2); std 183 3rdparty/openexr/IlmImf/ImfInputFile.cpp int maxY = std::max (scanLine1, scanLine2); std 233 3rdparty/openexr/IlmImf/ImfInputFile.cpp int minYThisRow = std::max (minY, tileRange.min.y); std 234 3rdparty/openexr/IlmImf/ImfInputFile.cpp int maxYThisRow = std::min (maxY, tileRange.max.y); std 58 3rdparty/openexr/IlmImf/ImfMisc.cpp using std::vector; std 81 3rdparty/openexr/IlmImf/ImfMisc.h std::vector<size_t> &bytesPerLine); std 93 3rdparty/openexr/IlmImf/ImfMisc.h void offsetInLineBufferTable (const std::vector<size_t> &bytesPerLine, std 95 3rdparty/openexr/IlmImf/ImfMisc.h std::vector<size_t> &offsetInLineBuffer); std 43 3rdparty/openexr/IlmImf/ImfMultiView.cpp using namespace std; std 91 3rdparty/openexr/IlmImf/ImfMultiView.h std::string defaultViewName (const StringVector &multiView); std 100 3rdparty/openexr/IlmImf/ImfMultiView.h std::string viewFromChannelName (const std::string &channel, std 110 3rdparty/openexr/IlmImf/ImfMultiView.h bool areCounterparts (const std::string &channel1, std 111 3rdparty/openexr/IlmImf/ImfMultiView.h const std::string &channel2, std 118 3rdparty/openexr/IlmImf/ImfMultiView.h ChannelList channelsInView (const std::string &viewName, std 135 3rdparty/openexr/IlmImf/ImfMultiView.h ChannelList channelInAllViews (const std::string &channame, std 146 3rdparty/openexr/IlmImf/ImfMultiView.h std::string channelInOtherView (const std::string &channel, std 149 3rdparty/openexr/IlmImf/ImfMultiView.h const std::string &otherViewName); std 158 3rdparty/openexr/IlmImf/ImfMultiView.h std::string insertViewName (const std::string &channel, std 69 3rdparty/openexr/IlmImf/ImfOutputFile.cpp using std::string; std 70 3rdparty/openexr/IlmImf/ImfOutputFile.cpp using std::vector; std 71 3rdparty/openexr/IlmImf/ImfOutputFile.cpp using std::ofstream; std 72 3rdparty/openexr/IlmImf/ImfOutputFile.cpp using std::min; std 73 3rdparty/openexr/IlmImf/ImfOutputFile.cpp using std::max; std 628 3rdparty/openexr/IlmImf/ImfOutputFile.cpp catch (std::exception &e) std 79 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp using namespace std; std 47 3rdparty/openexr/IlmImf/ImfRational.cpp using namespace std; std 57 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp using namespace std; std 259 3rdparty/openexr/IlmImf/ImfRgbaFile.h const std::string &layerName, std 263 3rdparty/openexr/IlmImf/ImfRgbaFile.h const std::string &layerName, std 294 3rdparty/openexr/IlmImf/ImfRgbaFile.h void setLayerName (const std::string &layerName); std 338 3rdparty/openexr/IlmImf/ImfRgbaFile.h std::string _channelNamePrefix; std 50 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp using namespace std; std 67 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp using std::string; std 68 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp using std::vector; std 69 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp using std::ifstream; std 70 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp using std::min; std 71 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp using std::max; std 572 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp catch (std::exception &e) std 626 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp catch (std::exception &e) std 95 3rdparty/openexr/IlmImf/ImfStandardAttributes.cpp IMF_STD_ATTRIBUTE_IMP (renderingTransform, RenderingTransform, std::string) std 96 3rdparty/openexr/IlmImf/ImfStandardAttributes.cpp IMF_STD_ATTRIBUTE_IMP (lookModTransform, LookModTransform, std::string) std 98 3rdparty/openexr/IlmImf/ImfStandardAttributes.cpp IMF_STD_ATTRIBUTE_IMP (owner, Owner, std::string) std 99 3rdparty/openexr/IlmImf/ImfStandardAttributes.cpp IMF_STD_ATTRIBUTE_IMP (comments, Comments, std::string) std 100 3rdparty/openexr/IlmImf/ImfStandardAttributes.cpp IMF_STD_ATTRIBUTE_IMP (capDate, CapDate, std::string) std 112 3rdparty/openexr/IlmImf/ImfStandardAttributes.cpp IMF_STD_ATTRIBUTE_IMP (wrapmodes, Wrapmodes, std::string) std 119 3rdparty/openexr/IlmImf/ImfStandardAttributes.h IMF_STD_ATTRIBUTE_DEF (renderingTransform, RenderingTransform, std::string) std 120 3rdparty/openexr/IlmImf/ImfStandardAttributes.h IMF_STD_ATTRIBUTE_DEF (lookModTransform, LookModTransform, std::string) std 135 3rdparty/openexr/IlmImf/ImfStandardAttributes.h IMF_STD_ATTRIBUTE_DEF (owner, Owner, std::string) std 143 3rdparty/openexr/IlmImf/ImfStandardAttributes.h IMF_STD_ATTRIBUTE_DEF (comments, Comments, std::string) std 159 3rdparty/openexr/IlmImf/ImfStandardAttributes.h IMF_STD_ATTRIBUTE_DEF (capDate, CapDate, std::string) std 269 3rdparty/openexr/IlmImf/ImfStandardAttributes.h IMF_STD_ATTRIBUTE_DEF (wrapmodes, Wrapmodes, std::string) std 47 3rdparty/openexr/IlmImf/ImfStdIO.cpp using namespace std; std 138 3rdparty/openexr/IlmImf/ImfStdIO.cpp return std::streamoff (_is->tellg()); std 198 3rdparty/openexr/IlmImf/ImfStdIO.cpp return std::streamoff (_os->tellp()); std 228 3rdparty/openexr/IlmImf/ImfStdIO.cpp return std::streamoff (_os.tellp()); std 75 3rdparty/openexr/IlmImf/ImfStdIO.h StdIFStream (std::ifstream &is, const char fileName[]); std 87 3rdparty/openexr/IlmImf/ImfStdIO.h std::ifstream * _is; std 115 3rdparty/openexr/IlmImf/ImfStdIO.h StdOFStream (std::ofstream &os, const char fileName[]); std 126 3rdparty/openexr/IlmImf/ImfStdIO.h std::ofstream * _os; std 146 3rdparty/openexr/IlmImf/ImfStdIO.h std::string str () const {return _os.str();} std 150 3rdparty/openexr/IlmImf/ImfStdIO.h std::ostringstream _os; std 53 3rdparty/openexr/IlmImf/ImfStringAttribute.h typedef TypedAttribute<std::string> StringAttribute; std 83 3rdparty/openexr/IlmImf/ImfStringVectorAttribute.cpp std::string str; std 52 3rdparty/openexr/IlmImf/ImfStringVectorAttribute.h typedef std::vector<std::string> StringVector; std 101 3rdparty/openexr/IlmImf/ImfTileOffsets.h std::vector<std::vector<std::vector <Int64> > > _offsets; std 69 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp using std::string; std 70 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp using std::vector; std 71 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp using std::min; std 72 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp using std::max; std 560 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp catch (std::exception &e) std 964 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp std::swap (dx1, dx2); std 967 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp std::swap (dy1, dy2); std 68 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp return std::max (size, 1); std 103 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp tileMax = V2i (std::min (tileMax[0], levelMax[0]), std 104 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp std::min (tileMax[1], levelMax[1])); std 198 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp num = roundLog2 (std::max (w, h), tileDesc.roundingMode) + 1; std 238 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp num = roundLog2 (std::max (w, h), tileDesc.roundingMode) + 1; std 73 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp using std::string; std 74 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp using std::vector; std 75 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp using std::ofstream; std 76 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp using std::map; std 77 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp using std::min; std 78 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp using std::max; std 79 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp using std::swap; std 812 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp catch (std::exception &e) std 57 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp using namespace std; std 873 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp TiledRgbaInputFile::setLayerName (const std::string &layerName) std 332 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.h const std::string &layerName, std 336 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.h const std::string &layerName, std 365 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.h void setLayerName (const std::string &layerName); std 473 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.h std::string _channelNamePrefix; std 57 3rdparty/openexr/IlmImf/b44ExpLogTable.cpp using namespace std; std 48 3rdparty/openexr/IlmThread/IlmThreadPool.cpp using namespace std; std 53 3rdparty/openexr/IlmThread/IlmThreadSemaphoreWin32.cpp std::string std 58 3rdparty/openexr/IlmThread/IlmThreadSemaphoreWin32.cpp std::string message; std 259 3rdparty/openexr/Imath/ImathColor.h std::ostream & operator << (std::ostream &s, const Color4<T> &v); std 715 3rdparty/openexr/Imath/ImathColor.h std::ostream & std 716 3rdparty/openexr/Imath/ImathColor.h operator << (std::ostream &s, const Color4<T> &v) std 828 3rdparty/openexr/Imath/ImathEuler.h std::ostream& operator << (std::ostream &o, const Euler<T> &euler) std 170 3rdparty/openexr/Imath/ImathLine.h std::ostream& operator<< (std::ostream &o, const Line3<T> &line) std 832 3rdparty/openexr/Imath/ImathMatrix.h std::ostream & operator << (std::ostream & s, const Matrix33<T> &m); std 835 3rdparty/openexr/Imath/ImathMatrix.h std::ostream & operator << (std::ostream & s, const Matrix44<T> &m); std 3245 3rdparty/openexr/Imath/ImathMatrix.h std::ostream & std 3246 3rdparty/openexr/Imath/ImathMatrix.h operator << (std::ostream &s, const Matrix33<T> &m) std 3248 3rdparty/openexr/Imath/ImathMatrix.h std::ios_base::fmtflags oldFlags = s.flags(); std 3251 3rdparty/openexr/Imath/ImathMatrix.h if (s.flags() & std::ios_base::fixed) std 3253 3rdparty/openexr/Imath/ImathMatrix.h s.setf (std::ios_base::showpoint); std 3258 3rdparty/openexr/Imath/ImathMatrix.h s.setf (std::ios_base::scientific); std 3259 3rdparty/openexr/Imath/ImathMatrix.h s.setf (std::ios_base::showpoint); std 3263 3rdparty/openexr/Imath/ImathMatrix.h s << "(" << std::setw (width) << m[0][0] << std 3264 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[0][1] << std 3265 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[0][2] << "\n" << std 3267 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][0] << std 3268 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][1] << std 3269 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][2] << "\n" << std 3271 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][0] << std 3272 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][1] << std 3273 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][2] << ")\n"; std 3280 3rdparty/openexr/Imath/ImathMatrix.h std::ostream & std 3281 3rdparty/openexr/Imath/ImathMatrix.h operator << (std::ostream &s, const Matrix44<T> &m) std 3283 3rdparty/openexr/Imath/ImathMatrix.h std::ios_base::fmtflags oldFlags = s.flags(); std 3286 3rdparty/openexr/Imath/ImathMatrix.h if (s.flags() & std::ios_base::fixed) std 3288 3rdparty/openexr/Imath/ImathMatrix.h s.setf (std::ios_base::showpoint); std 3293 3rdparty/openexr/Imath/ImathMatrix.h s.setf (std::ios_base::scientific); std 3294 3rdparty/openexr/Imath/ImathMatrix.h s.setf (std::ios_base::showpoint); std 3298 3rdparty/openexr/Imath/ImathMatrix.h s << "(" << std::setw (width) << m[0][0] << std 3299 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[0][1] << std 3300 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[0][2] << std 3301 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[0][3] << "\n" << std 3303 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][0] << std 3304 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][1] << std 3305 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][2] << std 3306 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[1][3] << "\n" << std 3308 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][0] << std 3309 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][1] << std 3310 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][2] << std 3311 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[2][3] << "\n" << std 3313 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[3][0] << std 3314 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[3][1] << std 3315 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[3][2] << std 3316 3rdparty/openexr/Imath/ImathMatrix.h " " << std::setw (width) << m[3][3] << ")\n"; std 343 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp if (std::abs(mu_2) <= tol*std::abs(mu_1)) // Already symmetric (to tolerance) std 356 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp s = T(1) / std::sqrt (T(1) + rho*rho); // TODO is there a native inverse square root function? std 371 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp if (std::abs(mu_2) <= tol*std::abs(mu_1)) std 379 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp T t_2 = T(1) / (std::abs(rho_2) + std::sqrt(1 + rho_2*rho_2)); std 382 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp c_2 = T(1) / std::sqrt (T(1) + t_2*t_2); std 484 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp if (std::abs(mu_2) <= tol*std::abs(mu_1)) // Already symmetric (to tolerance) std 497 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp s = T(1) / std::sqrt (T(1) + rho*rho); // TODO is there a native inverse square root function? std 512 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp if (std::abs(mu_2) <= tol*std::abs(mu_1)) std 520 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp T t_2 = T(1) / (std::abs(rho_2) + std::sqrt(1 + rho_2*rho_2)); std 523 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp c_2 = T(1) / std::sqrt (T(1) + t_2*t_2); std 623 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp std::swap (A[i][j], A[i][k]); std 631 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[0][1])); std 632 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[0][2])); std 633 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[1][0])); std 634 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[1][2])); std 635 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[2][0])); std 636 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[2][1])); std 650 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[i][j])); std 747 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp std::swap (S[j], S[j+1]); std 845 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp while (std::abs (S[j]) < std::abs (sVal)) std 986 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp if (std::abs(mu2) <= tol*std::abs(mu1)) std 996 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T t = (rho < 0 ? T(-1) : T(1)) / (std::abs(rho) + std::sqrt(1 + rho*rho)); std 997 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T c = T(1) / std::sqrt (T(1) + t*t); std 1044 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp if (std::abs(mu2) <= tol*std::abs(mu1)) std 1051 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T t = (rho < 0 ? T(-1) : T(1)) / (std::abs(rho) + std::sqrt(1 + rho*rho)); std 1052 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp const T c = T(1) / std::sqrt (T(1) + t*t); std 1095 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp result = std::max (result, std::abs (A[i][j])); std 1190 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp if(std::abs(S[i]) > std::abs(S[maxIdx])) std 1209 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp if(std::abs(S[i]) < std::abs(S[minIdx])) std 205 3rdparty/openexr/Imath/ImathPlane.h std::ostream &operator<< (std::ostream &o, const Plane3<T> &plane) std 183 3rdparty/openexr/Imath/ImathQuat.h std::ostream & operator << (std::ostream &o, const Quat<T> &q); std 632 3rdparty/openexr/Imath/ImathQuat.h T theta = Math<T>::acos (std::min (r, (T) 1.0)); std 864 3rdparty/openexr/Imath/ImathQuat.h std::ostream & std 865 3rdparty/openexr/Imath/ImathQuat.h operator << (std::ostream &o, const Quat<T> &q) std 166 3rdparty/openexr/Imath/ImathRoots.h std::complex<T> u = std::pow (-q / 2 + std::sqrt (std::complex<T> (D)), std 169 3rdparty/openexr/Imath/ImathRoots.h std::complex<T> v = -p / (T (3) * u); std 173 3rdparty/openexr/Imath/ImathRoots.h std::complex<T> y0 (u + v); std 175 3rdparty/openexr/Imath/ImathRoots.h std::complex<T> y1 (-(u + v) / T (2) + std 176 3rdparty/openexr/Imath/ImathRoots.h (u - v) / T (2) * std::complex<T> (0, sqrt3)); std 178 3rdparty/openexr/Imath/ImathRoots.h std::complex<T> y2 (-(u + v) / T (2) - std 179 3rdparty/openexr/Imath/ImathRoots.h (u - v) / T (2) * std::complex<T> (0, sqrt3)); std 227 3rdparty/openexr/Imath/ImathShear.h std::ostream & operator << (std::ostream &s, const Shear6<T> &h); std 634 3rdparty/openexr/Imath/ImathShear.h std::ostream & std 635 3rdparty/openexr/Imath/ImathShear.h operator << (std::ostream &s, const Shear6<T> &h) std 665 3rdparty/openexr/Imath/ImathVec.h std::ostream & operator << (std::ostream &s, const Vec2<T> &v); std 668 3rdparty/openexr/Imath/ImathVec.h std::ostream & operator << (std::ostream &s, const Vec3<T> &v); std 671 3rdparty/openexr/Imath/ImathVec.h std::ostream & operator << (std::ostream &s, const Vec4<T> &v); std 2173 3rdparty/openexr/Imath/ImathVec.h std::ostream & std 2174 3rdparty/openexr/Imath/ImathVec.h operator << (std::ostream &s, const Vec2<T> &v) std 2180 3rdparty/openexr/Imath/ImathVec.h std::ostream & std 2181 3rdparty/openexr/Imath/ImathVec.h operator << (std::ostream &s, const Vec3<T> &v) std 2187 3rdparty/openexr/Imath/ImathVec.h std::ostream & std 2188 3rdparty/openexr/Imath/ImathVec.h operator << (std::ostream &s, const Vec4<T> &v) std 17 apps/annotation/opencv_annotation.cpp using namespace std; std 54 apps/createsamples/createsamples.cpp using namespace std; std 7 apps/traincascade/HOGfeatures.cpp using namespace std; std 29 apps/traincascade/HOGfeatures.h virtual void integralHistogram(const cv::Mat &img, std::vector<cv::Mat> &histogram, cv::Mat &norm, int nbins) const; std 35 apps/traincascade/HOGfeatures.h float calc( const std::vector<cv::Mat> &_hists, const cv::Mat &_normSum, size_t y, int featComponent ) const; std 46 apps/traincascade/HOGfeatures.h std::vector<Feature> features; std 49 apps/traincascade/HOGfeatures.h std::vector<cv::Mat> hist; std 60 apps/traincascade/HOGfeatures.h inline float CvHOGEvaluator::Feature::calc( const std::vector<cv::Mat>& _hists, const cv::Mat& _normSum, size_t y, int featComponent ) const std 77 apps/traincascade/boost.cpp using namespace std; std 801 apps/traincascade/boost.cpp std::sort(sortedIndicesBuf, sortedIndicesBuf + nodeSampleCount, LessThanIdx<float, int>(&sampleValues[0]) ); std 870 apps/traincascade/boost.cpp std::sort(udst + (size_t)fi*sample_count, udst + (size_t)(fi + 1)*sample_count, LessThanIdx<float, unsigned short>(valCachePtr) ); std 872 apps/traincascade/boost.cpp std::sort(idst + (size_t)fi*sample_count, idst + (size_t)(fi + 1)*sample_count, LessThanIdx<float, int>(valCachePtr) ); std 906 apps/traincascade/boost.cpp std::sort(udst + (size_t)fi*sample_count, udst + (size_t)(fi + 1)*sample_count, LessThanIdx<float, unsigned short>(valCache->ptr<float>(fi)) ); std 908 apps/traincascade/boost.cpp std::sort(idst + (size_t)fi*sample_count, idst + (size_t)(fi + 1)*sample_count, LessThanIdx<float, int>(valCache->ptr<float>(fi)) ); std 987 apps/traincascade/boost.cpp std::vector<float> leafVals(size); std 1681 apps/traincascade/boost.cpp std::sort(&eval[0], &eval[0] + numPos); std 20 apps/traincascade/boost.h virtual bool scanAttr( const std::string prmName, const std::string val); std 6 apps/traincascade/cascadeclassifier.cpp using namespace std; std 241 apps/traincascade/cascadeclassifier.cpp std::string paramsFilename = dirName + CC_PARAMS_FILENAME; std 78 apps/traincascade/cascadeclassifier.h bool scanAttr( const std::string prmName, const std::string val ); std 88 apps/traincascade/cascadeclassifier.h bool train( const std::string _cascadeDirName, std 89 apps/traincascade/cascadeclassifier.h const std::string _posFilename, std 90 apps/traincascade/cascadeclassifier.h const std::string _negFilename, std 101 apps/traincascade/cascadeclassifier.h void save( const std::string cascadeDirName, bool baseFormat = false ); std 102 apps/traincascade/cascadeclassifier.h bool load( const std::string cascadeDirName ); std 119 apps/traincascade/cascadeclassifier.h std::vector< cv::Ptr<CvCascadeBoost> > stageClassifiers; std 6 apps/traincascade/features.cpp using namespace std; std 7 apps/traincascade/haarfeatures.cpp using namespace std; std 26 apps/traincascade/haarfeatures.h virtual bool scanAttr( const std::string prm, const std::string val); std 67 apps/traincascade/haarfeatures.h std::vector<Feature> features; std 11 apps/traincascade/imagestorage.cpp using namespace std; std 32 apps/traincascade/imagestorage.cpp std::ifstream file(_filename.c_str()); std 38 apps/traincascade/imagestorage.cpp std::getline(file, str); std 65 apps/traincascade/imagestorage.cpp _offset.x = std::min( (int)round % winSize.width, src.cols - winSize.width ); std 66 apps/traincascade/imagestorage.cpp _offset.y = std::min( (int)round / winSize.width, src.rows - winSize.height ); std 8 apps/traincascade/imagestorage.h bool create( const std::string _posFilename, const std::string _negFilename, cv::Size _winSize ); std 19 apps/traincascade/imagestorage.h bool create( const std::string _filename ); std 35 apps/traincascade/imagestorage.h bool create( const std::string _filename, cv::Size _winSize ); std 40 apps/traincascade/imagestorage.h std::vector<std::string> imgFilenames; std 37 apps/traincascade/lbpfeatures.h std::vector<Feature> features; std 783 apps/traincascade/old_ml.hpp virtual float calc_error( CvMLData* trainData, int type, std::vector<float> *resp = 0 ); std 948 apps/traincascade/old_ml.hpp virtual float calc_error( CvMLData* data, int type , std::vector<float>* resp = 0 ); // type in {CV_TRAIN_ERROR, CV_TEST_ERROR} std 1157 apps/traincascade/old_ml.hpp virtual float calc_error( CvMLData* _data, int type , std::vector<float> *resp = 0 ); // type in {CV_TRAIN_ERROR, CV_TEST_ERROR} std 1544 apps/traincascade/old_ml.hpp std::vector<float> *resp = 0 ); std 1995 apps/traincascade/old_ml.hpp const std::map<cv::String, int>& get_class_labels_map() const; std 2024 apps/traincascade/old_ml.hpp std::map<cv::String, int> class_map; std 418 apps/traincascade/old_ml_boost.cpp std::sort(dbl_ptr, dbl_ptr + mi, LessThanPtr<double>()); std 600 apps/traincascade/old_ml_boost.cpp std::sort(sum_ptr, sum_ptr + mi, LessThanPtr<double>()); std 1443 apps/traincascade/old_ml_boost.cpp std::sort(weak_eval->data.db, weak_eval->data.db + count); std 1830 apps/traincascade/old_ml_boost.cpp float CvBoost::calc_error( CvMLData* _data, int type, std::vector<float> *resp ) std 124 apps/traincascade/old_ml_data.cpp header_lines_number = std::max(0, idx); std 168 apps/traincascade/old_ml_data.cpp std::vector<char> _buf(M); std 294 apps/traincascade/old_ml_data.cpp const std::map<cv::String, int>& CvMLData::get_class_labels_map() const std 644 apps/traincascade/old_ml_data.cpp train_sample_count = std::max(1, cvFloor( train_sample_portion * sample_count )); std 475 apps/traincascade/old_ml_tree.cpp std::sort(pair16u32s_ptr, pair16u32s_ptr + sample_count, LessThanPairs()); std 483 apps/traincascade/old_ml_tree.cpp std::sort(int_ptr, int_ptr + sample_count, LessThanPtr<int>()); std 575 apps/traincascade/old_ml_tree.cpp std::sort(udst, udst + sample_count, LessThanIdx<float, unsigned short>(_fdst)); std 577 apps/traincascade/old_ml_tree.cpp std::sort(idst, idst + sample_count, LessThanIdx<float, int>(_fdst)); std 2198 apps/traincascade/old_ml_tree.cpp base_size += (m*std::min(data->params.max_categories, n) + mi)*sizeof(int); std 2256 apps/traincascade/old_ml_tree.cpp std::sort(int_ptr, int_ptr + mi, LessThanPtr<int>()); std 2483 apps/traincascade/old_ml_tree.cpp std::sort(sum_ptr, sum_ptr + mi, LessThanPtr<double>()); std 3317 apps/traincascade/old_ml_tree.cpp float CvDTree::calc_error( CvMLData* _data, int type, std::vector<float> *resp ) std 4 apps/traincascade/traincascade.cpp using namespace std; std 33 apps/traincascade/traincascade_features.h void _writeFeatures( const std::vector<Feature> features, cv::FileStorage &fs, const cv::Mat& featureMap ) std 58 apps/traincascade/traincascade_features.h virtual bool scanAttr( const std::string prmName, const std::string val ); std 59 apps/traincascade/traincascade_features.h std::string name; std 51 modules/calib3d/perf/opencl/perf_stereobm.cpp typedef std::tr1::tuple<int, int> StereoBMFixture_t; std 3 modules/calib3d/perf/perf_cicrlesGrid.cpp using namespace std; std 6 modules/calib3d/perf/perf_cicrlesGrid.cpp using std::tr1::make_tuple; std 7 modules/calib3d/perf/perf_cicrlesGrid.cpp using std::tr1::get; std 9 modules/calib3d/perf/perf_cicrlesGrid.cpp typedef std::tr1::tuple<std::string, cv::Size> String_Size_t; std 7 modules/calib3d/perf/perf_pnp.cpp using namespace std; std 10 modules/calib3d/perf/perf_pnp.cpp using std::tr1::make_tuple; std 11 modules/calib3d/perf/perf_pnp.cpp using std::tr1::get; std 15 modules/calib3d/perf/perf_pnp.cpp typedef std::tr1::tuple<int, pnpAlgo> PointsNum_Algo_t; std 649 modules/calib3d/src/calibinit.cpp std::map<int, int> col_hist; std 650 modules/calib3d/src/calibinit.cpp std::map<int, int> row_hist; std 1258 modules/calib3d/src/calibinit.cpp std::vector<CvCBCorner*> corners(quad_count*4); std 1906 modules/calib3d/src/calibinit.cpp std::vector<Point2f> tmpcorners(count+1); std 1952 modules/calib3d/src/calibinit.cpp std::vector<Point2f> centers; std 1954 modules/calib3d/src/calibinit.cpp std::vector<KeyPoint> keypoints; std 1956 modules/calib3d/src/calibinit.cpp std::vector<Point2f> points; std 310 modules/calib3d/src/calibration.cpp theta = std::sqrt(rx*rx + ry*ry + rz*rz); std 396 modules/calib3d/src/calibration.cpp s = std::sqrt((rx*rx + ry*ry + rz*rz)*0.25); std 410 modules/calib3d/src/calibration.cpp rx = std::sqrt(MAX(t,0.)); std 412 modules/calib3d/src/calibration.cpp ry = std::sqrt(MAX(t,0.))*(R[1] < 0 ? -1. : 1.); std 414 modules/calib3d/src/calibration.cpp rz = std::sqrt(MAX(t,0.))*(R[2] < 0 ? -1. : 1.); std 417 modules/calib3d/src/calibration.cpp theta /= std::sqrt(rx*rx + ry*ry + rz*rz); std 1025 modules/calib3d/src/calibration.cpp h1_norm = std::sqrt(h[0]*h[0] + h[3]*h[3] + h[6]*h[6]); std 1026 modules/calib3d/src/calibration.cpp h2_norm = std::sqrt(h[1]*h[1] + h[4]*h[4] + h[7]*h[7]); std 1200 modules/calib3d/src/calibration.cpp n[j] = 1./std::sqrt(n[j]); std 1214 modules/calib3d/src/calibration.cpp a[0] = std::sqrt(fabs(1./f[0])); std 1215 modules/calib3d/src/calibration.cpp a[4] = std::sqrt(fabs(1./f[1])); std 1561 modules/calib3d/src/calibration.cpp return std::sqrt(reprojErr/total); std 2092 modules/calib3d/src/calibration.cpp return std::sqrt(reprojErr/(pointsTotal*2)); std 2283 modules/calib3d/src/calibration.cpp double s0 = std::max(std::max(std::max((double)cx1/(cx1_0 - inner1.x), (double)cy1/(cy1_0 - inner1.y)), std 2286 modules/calib3d/src/calibration.cpp s0 = std::max(std::max(std::max(std::max((double)cx2/(cx2_0 - inner2.x), (double)cy2/(cy2_0 - inner2.y)), std 2291 modules/calib3d/src/calibration.cpp double s1 = std::min(std::min(std::min((double)cx1/(cx1_0 - outer1.x), (double)cy1/(cy1_0 - outer1.y)), std 2294 modules/calib3d/src/calibration.cpp s1 = std::min(std::min(std::min(std::min((double)cx2/(cx2_0 - outer2.x), (double)cy2/(cy2_0 - outer2.y)), std 2370 modules/calib3d/src/calibration.cpp double s0 = std::max(std::max(std::max((double)cx/(cx0 - inner.x), (double)cy/(cy0 - inner.y)), std 2373 modules/calib3d/src/calibration.cpp double s1 = std::min(std::min(std::min((double)cx/(cx0 - outer.x), (double)cy/(cy0 - outer.y)), std 2533 modules/calib3d/src/calibration.cpp double d = MAX(std::sqrt(e2[0]*e2[0] + e2[1]*e2[1]),DBL_EPSILON); std 2653 modules/calib3d/src/calibration.cpp std::vector<float> _sbuf(cols+1), _dbuf(cols*3+1); std 2770 modules/calib3d/src/calibration.cpp z = 1./std::sqrt(c * c + s * s + DBL_EPSILON); std 2789 modules/calib3d/src/calibration.cpp z = 1./std::sqrt(c * c + s * s + DBL_EPSILON); std 2809 modules/calib3d/src/calibration.cpp z = 1./std::sqrt(c * c + s * s + DBL_EPSILON); std 3501 modules/calib3d/src/calibration.cpp std::vector<Point2f> imgpt1, imgpt3; std 3503 modules/calib3d/src/calibration.cpp for( int i = 0; i < (int)std::min(n1, n3); i++ ) std 3510 modules/calib3d/src/calibration.cpp std::copy(pt1data, pt1data + ni1, std::back_inserter(imgpt1)); std 3511 modules/calib3d/src/calibration.cpp std::copy(pt3data, pt3data + ni3, std::back_inserter(imgpt3)); std 60 modules/calib3d/src/checkchessboard.cpp static void icvGetQuadrangleHypotheses(CvSeq* contours, std::vector<std::pair<float, int> >& quads, int class_id) std 81 modules/calib3d/src/checkchessboard.cpp quads.push_back(std::pair<float, int>(box_size, class_id)); std 85 modules/calib3d/src/checkchessboard.cpp static void countClasses(const std::vector<std::pair<float, int> >& pairs, size_t idx1, size_t idx2, std::vector<int>& counts) std 94 modules/calib3d/src/checkchessboard.cpp inline bool less_pred(const std::pair<float, int>& p1, const std::pair<float, int>& p2) std 150 modules/calib3d/src/checkchessboard.cpp std::vector<std::pair<float, int> > quads; std 165 modules/calib3d/src/checkchessboard.cpp std::sort(quads.begin(), quads.end(), less_pred); std 185 modules/calib3d/src/checkchessboard.cpp std::vector<int> counts; std 60 modules/calib3d/src/circlesgrid.cpp void drawPoints(const std::vector<Point2f> &points, Mat &outImage, int radius = 2, Scalar color = Scalar::all(255), int thickness = -1) std 69 modules/calib3d/src/circlesgrid.cpp void CirclesGridClusterFinder::hierarchicalClustering(const std::vector<Point2f> &points, const Size &patternSz, std::vector<Point2f> &patternPoints) std 100 modules/calib3d/src/circlesgrid.cpp std::vector<std::list<size_t> > clusters(points.size()); std 111 modules/calib3d/src/circlesgrid.cpp int minIdx = std::min(minLoc.x, minLoc.y); std 112 modules/calib3d/src/circlesgrid.cpp int maxIdx = std::max(minLoc.x, minLoc.y); std 132 modules/calib3d/src/circlesgrid.cpp for(std::list<size_t>::iterator it = clusters[patternClusterIdx].begin(); it != clusters[patternClusterIdx].end(); it++) std 138 modules/calib3d/src/circlesgrid.cpp void CirclesGridClusterFinder::findGrid(const std::vector<cv::Point2f> &points, cv::Size _patternSize, std::vector<Point2f>& centers) std 147 modules/calib3d/src/circlesgrid.cpp std::vector<Point2f> patternPoints; std 160 modules/calib3d/src/circlesgrid.cpp std::vector<Point2f> hull2f; std 166 modules/calib3d/src/circlesgrid.cpp std::vector<Point2f> corners; std 171 modules/calib3d/src/circlesgrid.cpp std::vector<Point2f> outsideCorners, sortedCorners; std 183 modules/calib3d/src/circlesgrid.cpp std::vector<Point2f> rectifiedPatternPoints; std 191 modules/calib3d/src/circlesgrid.cpp void CirclesGridClusterFinder::findCorners(const std::vector<cv::Point2f> &hull2f, std::vector<cv::Point2f> &corners) std 194 modules/calib3d/src/circlesgrid.cpp std::vector<float> angles; std 220 modules/calib3d/src/circlesgrid.cpp void CirclesGridClusterFinder::findOutsideCorners(const std::vector<cv::Point2f> &corners, std::vector<cv::Point2f> &outsideCorners) std 233 modules/calib3d/src/circlesgrid.cpp std::vector<Point2f> tangentVectors(corners.size()); std 272 modules/calib3d/src/circlesgrid.cpp int maxIdx = std::max(maxLoc.x, maxLoc.y); std 273 modules/calib3d/src/circlesgrid.cpp int minIdx = std::min(maxLoc.x, maxLoc.y); std 278 modules/calib3d/src/circlesgrid.cpp std::swap(maxIdx, minIdx); std 296 modules/calib3d/src/circlesgrid.cpp void CirclesGridClusterFinder::getSortedCorners(const std::vector<cv::Point2f> &hull2f, const std::vector<cv::Point2f> &corners, const std::vector<cv::Point2f> &outsideCorners, std::vector<cv::Point2f> &sortedCorners) std 301 modules/calib3d/src/circlesgrid.cpp Point2f center = std::accumulate(corners.begin(), corners.end(), Point2f(0.0f, 0.0f)); std 304 modules/calib3d/src/circlesgrid.cpp std::vector<Point2f> centerToCorners; std 321 modules/calib3d/src/circlesgrid.cpp std::vector<Point2f>::const_iterator firstCornerIterator = std::find(hull2f.begin(), hull2f.end(), firstCorner); std 323 modules/calib3d/src/circlesgrid.cpp for(std::vector<Point2f>::const_iterator it = firstCornerIterator; it != hull2f.end(); it++) std 325 modules/calib3d/src/circlesgrid.cpp std::vector<Point2f>::const_iterator itCorners = std::find(corners.begin(), corners.end(), *it); std 331 modules/calib3d/src/circlesgrid.cpp for(std::vector<Point2f>::const_iterator it = hull2f.begin(); it != firstCornerIterator; it++) std 333 modules/calib3d/src/circlesgrid.cpp std::vector<Point2f>::const_iterator itCorners = std::find(corners.begin(), corners.end(), *it); std 356 modules/calib3d/src/circlesgrid.cpp void CirclesGridClusterFinder::rectifyPatternPoints(const std::vector<cv::Point2f> &patternPoints, const std::vector<cv::Point2f> &sortedCorners, std::vector<cv::Point2f> &rectifiedPatternPoints) std 359 modules/calib3d/src/circlesgrid.cpp std::vector<Point> trueIndices; std 370 modules/calib3d/src/circlesgrid.cpp std::vector<Point2f> idealPoints; std 392 modules/calib3d/src/circlesgrid.cpp void CirclesGridClusterFinder::parsePatternPoints(const std::vector<cv::Point2f> &patternPoints, const std::vector<cv::Point2f> &rectifiedPatternPoints, std::vector<cv::Point2f> ¢ers) std 446 modules/calib3d/src/circlesgrid.cpp vertices.insert(std::pair<size_t, Vertex> (id, Vertex())); std 522 modules/calib3d/src/circlesgrid.cpp distanceMatrix.at<int> (i2, i3) = (val1 == infinity) ? val2 : std::min(val1, val2); std 541 modules/calib3d/src/circlesgrid.cpp void computeShortestPath(Mat &predecessorMatrix, int v1, int v2, std::vector<int> &path); std 564 modules/calib3d/src/circlesgrid.cpp CirclesGridFinder::CirclesGridFinder(Size _patternSize, const std::vector<Point2f> &testKeypoints, std 582 modules/calib3d/src/circlesgrid.cpp std::vector<Point2f> vectors, filteredVectors, basis; std 586 modules/calib3d/src/circlesgrid.cpp std::vector<Graph> basisGraphs; std 594 modules/calib3d/src/circlesgrid.cpp std::vector<Point2f> vectors, tmpVectors, filteredVectors, basis; std 599 modules/calib3d/src/circlesgrid.cpp std::vector<Graph> basisGraphs; std 616 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::rng2gridGraph(Graph &rng, std::vector<cv::Point2f> &vectors) const std 642 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::eraseUsedGraph(std::vector<Graph> &basisGraphs) const std 673 modules/calib3d/src/circlesgrid.cpp std::set<size_t> vertices; std 709 modules/calib3d/src/circlesgrid.cpp std::swap(lh, lw); std 713 modules/calib3d/src/circlesgrid.cpp std::swap(sh, sw); std 721 modules/calib3d/src/circlesgrid.cpp std::set<size_t> vertices; std 757 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::findMCS(const std::vector<Point2f> &basis, std::vector<Graph> &basisGraphs) std 762 modules/calib3d/src/circlesgrid.cpp std::vector<size_t> holesRow = longestPath.vertices; std 764 modules/calib3d/src/circlesgrid.cpp while (holesRow.size() > std::max(patternSize.width, patternSize.height)) std 816 modules/calib3d/src/circlesgrid.cpp Mat CirclesGridFinder::rectifyGrid(Size detectedGridSize, const std::vector<Point2f>& centers, std 817 modules/calib3d/src/circlesgrid.cpp const std::vector<Point2f> &keypoints, std::vector<Point2f> &warpedKeypoints) std 823 modules/calib3d/src/circlesgrid.cpp std::vector<Point2f> dstPoints; std 844 modules/calib3d/src/circlesgrid.cpp std::vector<Point2f> srcKeypoints; std 852 modules/calib3d/src/circlesgrid.cpp std::vector<Point2f> dstKeypoints; std 868 modules/calib3d/src/circlesgrid.cpp double minDist = std::numeric_limits<double>::max(); std 881 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::addPoint(Point2f pt, std::vector<size_t> &points) std 896 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::findCandidateLine(std::vector<size_t> &line, size_t seedLineIdx, bool addRow, Point2f basisVec, std 897 modules/calib3d/src/circlesgrid.cpp std::vector<size_t> &seeds) std 924 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::findCandidateHoles(std::vector<size_t> &above, std::vector<size_t> &below, bool addRow, Point2f basisVec, std 925 modules/calib3d/src/circlesgrid.cpp std::vector<size_t> &aboveSeeds, std::vector<size_t> &belowSeeds) std 941 modules/calib3d/src/circlesgrid.cpp bool CirclesGridFinder::areCentersNew(const std::vector<size_t> &newCenters, const std::vector<std::vector<size_t> > &holes) std 947 modules/calib3d/src/circlesgrid.cpp if (holes[j].end() != std::find(holes[j].begin(), holes[j].end(), newCenters[i])) std 958 modules/calib3d/src/circlesgrid.cpp const std::vector<size_t> &above, const std::vector<size_t> &below, std 959 modules/calib3d/src/circlesgrid.cpp std::vector<std::vector<size_t> > &holes) std 1006 modules/calib3d/src/circlesgrid.cpp float CirclesGridFinder::computeGraphConfidence(const std::vector<Graph> &basisGraphs, bool addRow, std 1007 modules/calib3d/src/circlesgrid.cpp const std::vector<size_t> &points, const std::vector<size_t> &seeds) std 1052 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::addHolesByGraph(const std::vector<Graph> &basisGraphs, bool addRow, Point2f basisVec) std 1054 modules/calib3d/src/circlesgrid.cpp std::vector<size_t> above, below, aboveSeeds, belowSeeds; std 1062 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::filterOutliersByDensity(const std::vector<Point2f> &samples, std::vector<Point2f> &filteredSamples) std 1087 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::findBasis(const std::vector<Point2f> &samples, std::vector<Point2f> &basis, std::vector<Graph> &basisGraphs) std 1098 modules/calib3d/src/circlesgrid.cpp std::vector<int> basisIndices; std 1115 modules/calib3d/src/circlesgrid.cpp std::swap(basis[0], basis[1]); std 1116 modules/calib3d/src/circlesgrid.cpp std::swap(basisIndices[0], basisIndices[1]); std 1123 modules/calib3d/src/circlesgrid.cpp std::vector<std::vector<Point2f> > clusters(2), hulls(2); std 1165 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::computeRNG(Graph &rng, std::vector<cv::Point2f> &vectors, Mat *drawImage) const std 1233 modules/calib3d/src/circlesgrid.cpp static void computeShortestPath(Mat &predecessorMatrix, size_t v1, size_t v2, std::vector<size_t> &path) std 1245 modules/calib3d/src/circlesgrid.cpp size_t CirclesGridFinder::findLongestPath(std::vector<Graph> &basisGraphs, Path &bestPath) std 1247 modules/calib3d/src/circlesgrid.cpp std::vector<Path> longestPaths(1); std 1248 modules/calib3d/src/circlesgrid.cpp std::vector<int> confidences; std 1308 modules/calib3d/src/circlesgrid.cpp std::swap(bestPath.lastVertex, bestPath.firstVertex); std 1309 modules/calib3d/src/circlesgrid.cpp std::reverse(bestPath.vertices.begin(), bestPath.vertices.end()); std 1314 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::drawBasis(const std::vector<Point2f> &basis, Point2f origin, Mat &drawImg) const std 1323 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::drawBasisGraphs(const std::vector<Graph> &basisGraphs, Mat &drawImage, bool drawEdges, std 1399 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::getHoles(std::vector<Point2f> &outHoles) const std 1412 modules/calib3d/src/circlesgrid.cpp static bool areIndicesCorrect(Point pos, std::vector<std::vector<size_t> > *points) std 1419 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::getAsymmetricHoles(std::vector<cv::Point2f> &outHoles) const std 1423 modules/calib3d/src/circlesgrid.cpp std::vector<Point> largeCornerIndices, smallCornerIndices; std 1424 modules/calib3d/src/circlesgrid.cpp std::vector<Point> firstSteps, secondSteps; std 1481 modules/calib3d/src/circlesgrid.cpp void CirclesGridFinder::getCornerSegments(const std::vector<std::vector<size_t> > &points, std::vector<std::vector<Segment> > &segments, std 1482 modules/calib3d/src/circlesgrid.cpp std::vector<Point> &cornerIndices, std::vector<Point> &firstSteps, std 1483 modules/calib3d/src/circlesgrid.cpp std::vector<Point> &secondSteps) const std 1495 modules/calib3d/src/circlesgrid.cpp std::vector<Segment> corner; std 1536 modules/calib3d/src/circlesgrid.cpp std::reverse(segments.begin(), segments.end()); std 1537 modules/calib3d/src/circlesgrid.cpp std::reverse(cornerIndices.begin(), cornerIndices.end()); std 1538 modules/calib3d/src/circlesgrid.cpp std::reverse(firstSteps.begin(), firstSteps.end()); std 1539 modules/calib3d/src/circlesgrid.cpp std::reverse(secondSteps.begin(), secondSteps.end()); std 1540 modules/calib3d/src/circlesgrid.cpp std::swap(firstSteps, secondSteps); std 1544 modules/calib3d/src/circlesgrid.cpp bool CirclesGridFinder::doesIntersectionExist(const std::vector<Segment> &corner, const std::vector<std::vector<Segment> > &segments) std 1561 modules/calib3d/src/circlesgrid.cpp size_t CirclesGridFinder::getFirstCorner(std::vector<Point> &largeCornerIndices, std::vector<Point> &smallCornerIndices, std::vector< std 1562 modules/calib3d/src/circlesgrid.cpp Point> &firstSteps, std::vector<Point> &secondSteps) const std 1564 modules/calib3d/src/circlesgrid.cpp std::vector<std::vector<Segment> > largeSegments; std 1565 modules/calib3d/src/circlesgrid.cpp std::vector<std::vector<Segment> > smallSegments; std 65 modules/calib3d/src/circlesgrid.hpp void findGrid(const std::vector<cv::Point2f> &points, cv::Size patternSize, std::vector<cv::Point2f>& centers); std 68 modules/calib3d/src/circlesgrid.hpp void hierarchicalClustering(const std::vector<cv::Point2f> &points, const cv::Size &patternSize, std::vector<cv::Point2f> &patternPoints); std 70 modules/calib3d/src/circlesgrid.hpp void findCorners(const std::vector<cv::Point2f> &hull2f, std::vector<cv::Point2f> &corners); std 71 modules/calib3d/src/circlesgrid.hpp void findOutsideCorners(const std::vector<cv::Point2f> &corners, std::vector<cv::Point2f> &outsideCorners); std 72 modules/calib3d/src/circlesgrid.hpp void getSortedCorners(const std::vector<cv::Point2f> &hull2f, const std::vector<cv::Point2f> &corners, const std::vector<cv::Point2f> &outsideCorners, std::vector<cv::Point2f> &sortedCorners); std 73 modules/calib3d/src/circlesgrid.hpp void rectifyPatternPoints(const std::vector<cv::Point2f> &patternPoints, const std::vector<cv::Point2f> &sortedCorners, std::vector<cv::Point2f> &rectifiedPatternPoints); std 74 modules/calib3d/src/circlesgrid.hpp void parsePatternPoints(const std::vector<cv::Point2f> &patternPoints, const std::vector<cv::Point2f> &rectifiedPatternPoints, std::vector<cv::Point2f> ¢ers); std 85 modules/calib3d/src/circlesgrid.hpp typedef std::set<size_t> Neighbors; std 90 modules/calib3d/src/circlesgrid.hpp typedef std::map<size_t, Vertex> Vertices; std 112 modules/calib3d/src/circlesgrid.hpp std::vector<size_t> vertices; std 149 modules/calib3d/src/circlesgrid.hpp CirclesGridFinder(cv::Size patternSize, const std::vector<cv::Point2f> &testKeypoints, std 152 modules/calib3d/src/circlesgrid.hpp static cv::Mat rectifyGrid(cv::Size detectedGridSize, const std::vector<cv::Point2f>& centers, const std::vector< std 153 modules/calib3d/src/circlesgrid.hpp cv::Point2f> &keypoint, std::vector<cv::Point2f> &warpedKeypoints); std 155 modules/calib3d/src/circlesgrid.hpp void getHoles(std::vector<cv::Point2f> &holes) const; std 156 modules/calib3d/src/circlesgrid.hpp void getAsymmetricHoles(std::vector<cv::Point2f> &holes) const; std 159 modules/calib3d/src/circlesgrid.hpp void drawBasis(const std::vector<cv::Point2f> &basis, cv::Point2f origin, cv::Mat &drawImg) const; std 160 modules/calib3d/src/circlesgrid.hpp void drawBasisGraphs(const std::vector<Graph> &basisGraphs, cv::Mat &drawImg, bool drawEdges = true, std 164 modules/calib3d/src/circlesgrid.hpp void computeRNG(Graph &rng, std::vector<cv::Point2f> &vectors, cv::Mat *drawImage = 0) const; std 165 modules/calib3d/src/circlesgrid.hpp void rng2gridGraph(Graph &rng, std::vector<cv::Point2f> &vectors) const; std 166 modules/calib3d/src/circlesgrid.hpp void eraseUsedGraph(std::vector<Graph> &basisGraphs) const; std 167 modules/calib3d/src/circlesgrid.hpp void filterOutliersByDensity(const std::vector<cv::Point2f> &samples, std::vector<cv::Point2f> &filteredSamples); std 168 modules/calib3d/src/circlesgrid.hpp void findBasis(const std::vector<cv::Point2f> &samples, std::vector<cv::Point2f> &basis, std 169 modules/calib3d/src/circlesgrid.hpp std::vector<Graph> &basisGraphs); std 170 modules/calib3d/src/circlesgrid.hpp void findMCS(const std::vector<cv::Point2f> &basis, std::vector<Graph> &basisGraphs); std 171 modules/calib3d/src/circlesgrid.hpp size_t findLongestPath(std::vector<Graph> &basisGraphs, Path &bestPath); std 172 modules/calib3d/src/circlesgrid.hpp float computeGraphConfidence(const std::vector<Graph> &basisGraphs, bool addRow, const std::vector<size_t> &points, std 173 modules/calib3d/src/circlesgrid.hpp const std::vector<size_t> &seeds); std 174 modules/calib3d/src/circlesgrid.hpp void addHolesByGraph(const std::vector<Graph> &basisGraphs, bool addRow, cv::Point2f basisVec); std 177 modules/calib3d/src/circlesgrid.hpp void addPoint(cv::Point2f pt, std::vector<size_t> &points); std 178 modules/calib3d/src/circlesgrid.hpp void findCandidateLine(std::vector<size_t> &line, size_t seedLineIdx, bool addRow, cv::Point2f basisVec, std::vector< std 180 modules/calib3d/src/circlesgrid.hpp void findCandidateHoles(std::vector<size_t> &above, std::vector<size_t> &below, bool addRow, cv::Point2f basisVec, std 181 modules/calib3d/src/circlesgrid.hpp std::vector<size_t> &aboveSeeds, std::vector<size_t> &belowSeeds); std 182 modules/calib3d/src/circlesgrid.hpp static bool areCentersNew(const std::vector<size_t> &newCenters, const std::vector<std::vector<size_t> > &holes); std 186 modules/calib3d/src/circlesgrid.hpp const std::vector<size_t> &above, const std::vector<size_t> &below, std::vector<std::vector< std 198 modules/calib3d/src/circlesgrid.hpp static bool doesIntersectionExist(const std::vector<Segment> &corner, const std::vector<std::vector<Segment> > &segments); std 199 modules/calib3d/src/circlesgrid.hpp void getCornerSegments(const std::vector<std::vector<size_t> > &points, std::vector<std::vector<Segment> > &segments, std 200 modules/calib3d/src/circlesgrid.hpp std::vector<cv::Point> &cornerIndices, std::vector<cv::Point> &firstSteps, std 201 modules/calib3d/src/circlesgrid.hpp std::vector<cv::Point> &secondSteps) const; std 202 modules/calib3d/src/circlesgrid.hpp size_t getFirstCorner(std::vector<cv::Point> &largeCornerIndices, std::vector<cv::Point> &smallCornerIndices, std 203 modules/calib3d/src/circlesgrid.hpp std::vector<cv::Point> &firstSteps, std::vector<cv::Point> &secondSteps) const; std 206 modules/calib3d/src/circlesgrid.hpp std::vector<cv::Point2f> keypoints; std 208 modules/calib3d/src/circlesgrid.hpp std::vector<std::vector<size_t> > holes; std 209 modules/calib3d/src/circlesgrid.hpp std::vector<std::vector<size_t> > holes2; std 210 modules/calib3d/src/circlesgrid.hpp std::vector<std::vector<size_t> > *largeHoles; std 211 modules/calib3d/src/circlesgrid.hpp std::vector<std::vector<size_t> > *smallHoles; std 15 modules/calib3d/src/dls.cpp using namespace std; std 20 modules/calib3d/src/dls.cpp N = std::max(opoints.checkVector(3, CV_32F), opoints.checkVector(3, CV_64F)); std 52 modules/calib3d/src/dls.cpp std::vector<cv::Mat> R_; std 110 modules/calib3d/src/dls.cpp std::vector<double> cost; std 160 modules/calib3d/src/dls.cpp std::vector<cv::Mat> C_est, t_est; std 245 modules/calib3d/src/dls.cpp std::vector<double> u(5); std 400 modules/calib3d/src/dls.cpp cv::Mat dls::cayley_LS_M(const std::vector<double>& a, const std::vector<double>& b, const std::vector<double>& c, const std::vector<double>& u) std 8 modules/calib3d/src/dls.h using namespace std; std 37 modules/calib3d/src/dls.h double sr = std::pow(ipoints.at<IpointType>(i).x, 2) + std 38 modules/calib3d/src/dls.h std::pow(ipoints.at<IpointType>(i).y, 2) + (double)1; std 39 modules/calib3d/src/dls.h sr = std::sqrt(sr); std 60 modules/calib3d/src/dls.h cv::Mat cayley_LS_M(const std::vector<double>& a, const std::vector<double>& b, std 61 modules/calib3d/src/dls.h const std::vector<double>& c, const std::vector<double>& u); std 76 modules/calib3d/src/dls.h std::vector<double> f1coeff, f2coeff, f3coeff, cost_; // coefficient for coefficients matrix std 77 modules/calib3d/src/dls.h std::vector<cv::Mat> C_est_, t_est_; // optimal candidates std 139 modules/calib3d/src/dls.h if (std::abs(yr) > std::abs(yi)) { std 166 modules/calib3d/src/dls.h double eps = std::pow(2.0, -52.0); std 178 modules/calib3d/src/dls.h for (int j = std::max(i - 1, 0); j < nn; j++) { std 179 modules/calib3d/src/dls.h norm = norm + std::abs(H[i][j]); std 190 modules/calib3d/src/dls.h s = std::abs(H[l - 1][l - 1]) + std::abs(H[l][l]); std 194 modules/calib3d/src/dls.h if (std::abs(H[l][l - 1]) < eps * s) { std 216 modules/calib3d/src/dls.h z = std::sqrt(std::abs(q)); std 237 modules/calib3d/src/dls.h s = std::abs(x) + std::abs(z); std 240 modules/calib3d/src/dls.h r = std::sqrt(p * p + q * q); std 300 modules/calib3d/src/dls.h s = std::abs(H[n1][n1 - 1]) + std::abs(H[n1 - 1][n1 - 2]); std 311 modules/calib3d/src/dls.h s = std::sqrt(s); std 335 modules/calib3d/src/dls.h s = std::abs(p) + std::abs(q) + std::abs(r); std 342 modules/calib3d/src/dls.h if (std::abs(H[m][m - 1]) * (std::abs(q) + std::abs(r)) < eps * (std::abs(p) std 343 modules/calib3d/src/dls.h * (std::abs(H[m - 1][m - 1]) + std::abs(z) + std::abs( std 365 modules/calib3d/src/dls.h x = std::abs(p) + std::abs(q) + std::abs(r); std 375 modules/calib3d/src/dls.h s = std::sqrt(p * p + q * q + r * r); std 406 modules/calib3d/src/dls.h for (int i = 0; i <= std::min(n1, k + 3); i++) { std 473 modules/calib3d/src/dls.h if (std::abs(x) > std::abs(z)) { std 482 modules/calib3d/src/dls.h t = std::abs(H[i][n1]); std 496 modules/calib3d/src/dls.h if (std::abs(H[n1][n1 - 1]) > std::abs(H[n1 - 1][n1])) { std 535 modules/calib3d/src/dls.h vr = eps * norm * (std::abs(w) + std::abs(q) + std::abs(x) std 536 modules/calib3d/src/dls.h + std::abs(y) + std::abs(z)); std 542 modules/calib3d/src/dls.h if (std::abs(x) > (std::abs(z) + std::abs(q))) { std 557 modules/calib3d/src/dls.h t = std::max(std::abs(H[i][n1 - 1]), std::abs(H[i][n1])); std 584 modules/calib3d/src/dls.h for (int k = low; k <= std::min(j, high); k++) { std 607 modules/calib3d/src/dls.h scale = scale + std::abs(H[i][m - 1]); std 618 modules/calib3d/src/dls.h double g = std::sqrt(h); std 15 modules/calib3d/src/epnp.cpp number_of_correspondences = std::max(opoints.checkVector(3, CV_32F), opoints.checkVector(3, CV_64F)); std 76 modules/calib3d/src/epnp.h std::vector<double> pws, us, alphas, pcs; std 56 modules/calib3d/src/fisheye.cpp void subMatrix(const Mat& src, Mat& dst, const std::vector<int>& cols, const std::vector<int>& rows); std 128 modules/calib3d/src/fisheye.cpp double r = std::sqrt(r2); std 285 modules/calib3d/src/fisheye.cpp double r = std::sqrt(r2); std 382 modules/calib3d/src/fisheye.cpp scale = std::tan(theta) / theta_d; std 518 modules/calib3d/src/fisheye.cpp balance = std::min(std::max(balance, 0.0), 1.0); std 556 modules/calib3d/src/fisheye.cpp miny = std::min(miny, pptr[i][1]); std 557 modules/calib3d/src/fisheye.cpp maxy = std::max(maxy, pptr[i][1]); std 558 modules/calib3d/src/fisheye.cpp minx = std::min(minx, pptr[i][0]); std 559 modules/calib3d/src/fisheye.cpp maxx = std::max(maxx, pptr[i][0]); std 566 modules/calib3d/src/fisheye.cpp if (i % 4 == 0) miny = std::max(miny, pptr[i][1]); std 567 modules/calib3d/src/fisheye.cpp if (i % 4 == 1) maxy = std::min(maxy, pptr[i][1]); std 568 modules/calib3d/src/fisheye.cpp if (i % 4 == 2) minx = std::max(minx, pptr[i][0]); std 569 modules/calib3d/src/fisheye.cpp if (i % 4 == 3) maxx = std::min(maxx, pptr[i][0]); std 578 modules/calib3d/src/fisheye.cpp double fmin = std::min(f1, std::min(f2, std::min(f3, f4))); std 579 modules/calib3d/src/fisheye.cpp double fmax = std::max(f1, std::max(f2, std::max(f3, f4))); std 661 modules/calib3d/src/fisheye.cpp double fc_new = std::min(newK1(1,1), newK2(1,1)); std 750 modules/calib3d/src/fisheye.cpp std::vector<Vec3d> omc(objectPoints.total()), Tc(objectPoints.total()); std 763 modules/calib3d/src/fisheye.cpp double alpha_smooth2 = 1 - std::pow(1 - alpha_smooth, iter + 1.0); std 859 modules/calib3d/src/fisheye.cpp std::vector<Vec3d> rvecs1(n_images), tvecs1(n_images), rvecs2(n_images), tvecs2(n_images); std 902 modules/calib3d/src/fisheye.cpp std::vector<int> selectedParams; std 903 modules/calib3d/src/fisheye.cpp std::vector<int> tmp(6 * (n_images + 1), 1); std 1003 modules/calib3d/src/fisheye.cpp cv::subMatrix(J, J, selectedParams, std::vector<int>(J.rows, 1)); std 1055 modules/calib3d/src/fisheye.cpp void subMatrix(const Mat& src, Mat& dst, const std::vector<int>& cols, const std::vector<int>& rows) std 1168 modules/calib3d/src/fisheye.cpp std::vector<Point2d> x; std 1410 modules/calib3d/src/fisheye.cpp std::vector<Point2d> x; std 1444 modules/calib3d/src/fisheye.cpp std::vector<int> idxs(param.isEstimate); std 1448 modules/calib3d/src/fisheye.cpp subMatrix(ex3, ex3, std::vector<int>(1, 1), idxs); std 1472 modules/calib3d/src/fisheye.cpp std::vector<Point2d> x; std 13 modules/calib3d/src/fisheye.hpp std::vector<int> isEstimate; std 103 modules/calib3d/src/five-point.cpp std::vector<Complex<double> > roots; std 106 modules/calib3d/src/five-point.cpp std::vector<double> xs, ys, zs; std 585 modules/calib3d/src/fundam.cpp scale1 += std::sqrt(x*x + y*y); std 588 modules/calib3d/src/fundam.cpp scale2 += std::sqrt(x*x + y*y); std 597 modules/calib3d/src/fundam.cpp scale1 = std::sqrt(2.)/scale1; std 598 modules/calib3d/src/fundam.cpp scale2 = std::sqrt(2.)/scale2; std 719 modules/calib3d/src/fundam.cpp err[i] = (float)std::max(d1*d1*s1, d2*d2*s2); std 847 modules/calib3d/src/fundam.cpp nu = nu ? 1./std::sqrt(nu) : 1.; std 863 modules/calib3d/src/fundam.cpp nu = nu ? 1./std::sqrt(nu) : 1.; std 76 modules/calib3d/src/homography_decomp.cpp std::vector<CameraMotion>& camMotions); std 81 modules/calib3d/src/homography_decomp.cpp virtual void decompose(std::vector<CameraMotion>& camMotions) = 0; std 99 modules/calib3d/src/homography_decomp.cpp virtual void decompose(std::vector<CameraMotion>& camMotions); std 110 modules/calib3d/src/homography_decomp.cpp virtual void decompose(std::vector<CameraMotion>& camMotions); std 153 modules/calib3d/src/homography_decomp.cpp std::vector<CameraMotion>& camMotions) std 182 modules/calib3d/src/homography_decomp.cpp void HomographyDecompZhang::decompose(std::vector<CameraMotion>& camMotions) std 305 modules/calib3d/src/homography_decomp.cpp void HomographyDecompInria::decompose(std::vector<CameraMotion>& camMotions) std 441 modules/calib3d/src/homography_decomp.cpp using namespace std; std 154 modules/calib3d/src/levmarq.cpp nu = std::min(std::max(nu, 2.), 10.); std 160 modules/calib3d/src/levmarq.cpp maxval = std::max(maxval, std::abs(Ap.at<double>(i,i))); std 171 modules/calib3d/src/levmarq.cpp std::swap(x, xd); std 37 modules/calib3d/src/p3p.cpp std::vector<double> points; std 34 modules/calib3d/src/p3p.h void extract_points(const cv::Mat& opoints, const cv::Mat& ipoints, std::vector<double>& points) std 65 modules/calib3d/src/ptsetreg.cpp double denom = 1. - std::pow(1. - ep, modelPoints); std 69 modules/calib3d/src/ptsetreg.cpp num = std::log(num); std 70 modules/calib3d/src/ptsetreg.cpp denom = std::log(denom); std 234 modules/calib3d/src/ptsetreg.cpp std::swap(mask, bestMask); std 347 modules/calib3d/src/ptsetreg.cpp std::sort(errf.ptr<int>(), errf.ptr<int>() + count); std 362 modules/calib3d/src/ptsetreg.cpp sigma = 2.5*1.4826*(1 + 5./(count - modelPoints))*std::sqrt(minMedian); std 465 modules/calib3d/src/ptsetreg.cpp errptr[i] = (float)std::sqrt(a*a + b*b + c*c); std 52 modules/calib3d/src/quadsubpix.cpp inline bool is_smaller(const std::pair<int, float>& p1, const std::pair<int, float>& p2) std 57 modules/calib3d/src/quadsubpix.cpp static void orderContours(const std::vector<std::vector<Point> >& contours, Point2f point, std::vector<std::pair<int, float> >& order) std 64 modules/calib3d/src/quadsubpix.cpp double min_dist = std::numeric_limits<double>::max(); std 70 modules/calib3d/src/quadsubpix.cpp order.push_back(std::pair<int, float>((int)i, (float)min_dist)); std 73 modules/calib3d/src/quadsubpix.cpp std::sort(order.begin(), order.end(), is_smaller); std 77 modules/calib3d/src/quadsubpix.cpp inline void fitCurve2Order(const std::vector<Point2f>& /*points*/, std::vector<float>& /*curve*/) std 82 modules/calib3d/src/quadsubpix.cpp inline void findCurvesCross(const std::vector<float>& /*curve1*/, const std::vector<float>& /*curve2*/, Point2f& /*cross_point*/) std 95 modules/calib3d/src/quadsubpix.cpp static void findCorner(const std::vector<Point2f>& contour, Point2f point, Point2f& corner) std 98 modules/calib3d/src/quadsubpix.cpp double min_dist = std::numeric_limits<double>::max(); std 194 modules/calib3d/src/quadsubpix.cpp std::vector<std::vector<Point> > white_contours, black_contours; std 195 modules/calib3d/src/quadsubpix.cpp std::vector<Vec4i> white_hierarchy, black_hierarchy; std 202 modules/calib3d/src/quadsubpix.cpp std::vector<std::pair<int, float> > white_order, black_order; std 213 modules/calib3d/src/quadsubpix.cpp const std::vector<Point>* quads[4] = {&black_contours[black_order[0].first], &black_contours[black_order[1].first], std 215 modules/calib3d/src/quadsubpix.cpp std::vector<Point2f> quads_approx[4]; std 219 modules/calib3d/src/quadsubpix.cpp std::vector<Point2f> temp; std 295 modules/calib3d/src/rho.cpp std::vector<unsigned> tbl; /* Non-Randomness: Table */ std 60 modules/calib3d/src/solvepnp.cpp int npoints = std::max(opoints.checkVector(3, CV_32F), opoints.checkVector(3, CV_64F)); std 61 modules/calib3d/src/solvepnp.cpp CV_Assert( npoints >= 0 && npoints == std::max(ipoints.checkVector(2, CV_32F), ipoints.checkVector(2, CV_64F)) ); std 229 modules/calib3d/src/solvepnp.cpp int npoints = std::max(opoints.checkVector(3, CV_32F), opoints.checkVector(3, CV_64F)); std 230 modules/calib3d/src/solvepnp.cpp CV_Assert( npoints >= 0 && npoints == std::max(ipoints.checkVector(2, CV_32F), ipoints.checkVector(2, CV_64F)) ); std 360 modules/calib3d/src/stereobm.cpp tab[x] = (uchar)std::abs(x - ftzero); std 556 modules/calib3d/src/stereobm.cpp d = p + n - 2*sad[mind] + std::abs(p - n); std 617 modules/calib3d/src/stereobm.cpp tab[x] = (uchar)std::abs(x - ftzero); std 626 modules/calib3d/src/stereobm.cpp lptr = lptr0 + std::min(std::max(x, -lofs), width-lofs-1) - dy0*sstep; std 627 modules/calib3d/src/stereobm.cpp rptr = rptr0 + std::min(std::max(x, -rofs), width-rofs-1) - dy0*sstep; std 649 modules/calib3d/src/stereobm.cpp int diff = std::abs(lval - rptr[d]); std 703 modules/calib3d/src/stereobm.cpp int diff = std::abs(lval - rptr[d]); std 844 modules/calib3d/src/stereobm.cpp d = p + n - 2*sad[mind] + std::abs(p - n); std 908 modules/calib3d/src/stereobm.cpp int sizeX = devDef.isIntel() ? 32 : std::max(11, 27 - devDef.maxComputeUnits()), std 964 modules/calib3d/src/stereobm.cpp int _row0 = std::min(cvRound(range.start * rows / nstripes), rows); std 965 modules/calib3d/src/stereobm.cpp int _row1 = std::min(cvRound(range.end * rows / nstripes), rows); std 1063 modules/calib3d/src/stereobm.cpp params.SADWindowSize >= std::min(leftsize.width, leftsize.height) ) std 1109 modules/calib3d/src/stereobm.cpp int lofs = std::max(ndisp - 1 + mindisp, 0); std 1110 modules/calib3d/src/stereobm.cpp int rofs = -std::min(ndisp - 1 + mindisp, 0); std 1145 modules/calib3d/src/stereobm.cpp double maxStripeSize = std::min(std::max(N0 / (width * ndisp), (wsz-1) * SAD_overhead_coeff), (double)height); std 1147 modules/calib3d/src/stereobm.cpp int bufSize = std::max(bufSize0 * nstripes, std::max(bufSize1 * 2, bufSize2)); std 128 modules/calib3d/src/stereosgbm.cpp int minX1 = std::max(-maxD, 0), maxX1 = width + std::min(minD, 0); std 129 modules/calib3d/src/stereosgbm.cpp int minX2 = std::max(minX1 - maxD, 0), maxX2 = std::min(maxX1 - minD, width); std 200 modules/calib3d/src/stereosgbm.cpp int v0 = std::min(vl, vr); v0 = std::min(v0, v); std 201 modules/calib3d/src/stereosgbm.cpp int v1 = std::max(vl, vr); v1 = std::max(v1, v); std 211 modules/calib3d/src/stereosgbm.cpp int u0 = std::min(ul, ur); u0 = std::min(u0, u); std 212 modules/calib3d/src/stereosgbm.cpp int u1 = std::max(ul, ur); u1 = std::max(u1, u); std 245 modules/calib3d/src/stereosgbm.cpp int c0 = std::max(0, u - v1); c0 = std::max(c0, v0 - u); std 246 modules/calib3d/src/stereosgbm.cpp int c1 = std::max(0, v - u1); c1 = std::max(c1, u0 - v); std 248 modules/calib3d/src/stereosgbm.cpp cost[x*D + d] = (CostType)(cost[x*D+d] + (std::min(c0, c1) >> diff_scale)); std 281 modules/calib3d/src/stereosgbm.cpp cost[x*D + d] = (CostType)(cost[x*D + d] + (CostType)std::abs(u - v)); std 338 modules/calib3d/src/stereosgbm.cpp int ftzero = std::max(params.preFilterCap, 15) | 1; std 341 modules/calib3d/src/stereosgbm.cpp int P1 = params.P1 > 0 ? params.P1 : 2, P2 = std::max(params.P2 > 0 ? params.P2 : 5, P1+1); std 343 modules/calib3d/src/stereosgbm.cpp int minX1 = std::max(-maxD, 0), maxX1 = width + std::min(minD, 0); std 353 modules/calib3d/src/stereosgbm.cpp clipTab[k] = (PixType)(std::min(std::max(k - TAB_OFS, -ftzero), ftzero) + ftzero); std 447 modules/calib3d/src/stereosgbm.cpp CostType* hsumAdd = hsumBuf + (std::min(k, height-1) % hsumBufNRows)*costBufSize; std 463 modules/calib3d/src/stereosgbm.cpp const CostType* hsumSub = hsumBuf + (std::max(y - SH2 - 1, 0) % hsumBufNRows)*costBufSize; std 468 modules/calib3d/src/stereosgbm.cpp const CostType* pixAdd = pixDiff + std::min(x + SW2*D, (width1-1)*D); std 469 modules/calib3d/src/stereosgbm.cpp const CostType* pixSub = pixDiff + std::max(x - (SW2+1)*D, 0); std 503 modules/calib3d/src/stereosgbm.cpp const CostType* pixAdd = pixDiff + std::min(x + SW2*D, (width1-1)*D); std 504 modules/calib3d/src/stereosgbm.cpp const CostType* pixSub = pixDiff + std::max(x - (SW2+1)*D, 0); std 645 modules/calib3d/src/stereosgbm.cpp L0 = Cpd + std::min((int)Lr_p0[d], std::min(Lr_p0[d-1] + P1, std::min(Lr_p0[d+1] + P1, delta0))) - delta0; std 646 modules/calib3d/src/stereosgbm.cpp L1 = Cpd + std::min((int)Lr_p1[d], std::min(Lr_p1[d-1] + P1, std::min(Lr_p1[d+1] + P1, delta1))) - delta1; std 647 modules/calib3d/src/stereosgbm.cpp L2 = Cpd + std::min((int)Lr_p2[d], std::min(Lr_p2[d-1] + P1, std::min(Lr_p2[d+1] + P1, delta2))) - delta2; std 648 modules/calib3d/src/stereosgbm.cpp L3 = Cpd + std::min((int)Lr_p3[d], std::min(Lr_p3[d-1] + P1, std::min(Lr_p3[d+1] + P1, delta3))) - delta3; std 651 modules/calib3d/src/stereosgbm.cpp minL0 = std::min(minL0, L0); std 654 modules/calib3d/src/stereosgbm.cpp minL1 = std::min(minL1, L1); std 657 modules/calib3d/src/stereosgbm.cpp minL2 = std::min(minL2, L2); std 660 modules/calib3d/src/stereosgbm.cpp minL3 = std::min(minL3, L3); std 752 modules/calib3d/src/stereosgbm.cpp int L0 = Cp[d] + std::min((int)Lr_p0[d], std::min(Lr_p0[d-1] + P1, std::min(Lr_p0[d+1] + P1, delta0))) - delta0; std 755 modules/calib3d/src/stereosgbm.cpp minL0 = std::min(minL0, L0); std 782 modules/calib3d/src/stereosgbm.cpp if( Sp[d]*(100 - uniquenessRatio) < minS*100 && std::abs(bestDisp - d) > 1 ) std 800 modules/calib3d/src/stereosgbm.cpp int denom2 = std::max(Sp[d-1] + Sp[d+1] - 2*Sp[d], 1); std 819 modules/calib3d/src/stereosgbm.cpp if( 0 <= _x && _x < width && disp2ptr[_x] >= minD && std::abs(disp2ptr[_x] - _d) > disp12MaxDiff && std 820 modules/calib3d/src/stereosgbm.cpp 0 <= x_ && x_ < width && disp2ptr[x_] >= minD && std::abs(disp2ptr[x_] - d_) > disp12MaxDiff ) std 826 modules/calib3d/src/stereosgbm.cpp std::swap( Lr[0], Lr[1] ); std 827 modules/calib3d/src/stereosgbm.cpp std::swap( minLr[0], minLr[1] ); std 964 modules/calib3d/src/stereosgbm.cpp int xmin = std::max(roi1.x, roi2.x + maxD) + SW2; std 965 modules/calib3d/src/stereosgbm.cpp int xmax = std::min(roi1.x + roi1.width, roi2.x + roi2.width - minD) - SW2; std 966 modules/calib3d/src/stereosgbm.cpp int ymin = std::max(roi1.y, roi2.y) + SW2; std 967 modules/calib3d/src/stereosgbm.cpp int ymax = std::min(roi1.y + roi1.height, roi2.y + roi2.height) - SW2; std 1030 modules/calib3d/src/stereosgbm.cpp if( p.y < height-1 && !lpp[+width] && dpp[+dstep] != newVal && std::abs(dp - dpp[+dstep]) <= maxDiff ) std 1036 modules/calib3d/src/stereosgbm.cpp if( p.y > 0 && !lpp[-width] && dpp[-dstep] != newVal && std::abs(dp - dpp[-dstep]) <= maxDiff ) std 1042 modules/calib3d/src/stereosgbm.cpp if( p.x < width-1 && !lpp[+1] && dpp[+1] != newVal && std::abs(dp - dpp[+1]) <= maxDiff ) std 1048 modules/calib3d/src/stereosgbm.cpp if( p.x > 0 && !lpp[-1] && dpp[-1] != newVal && std::abs(dp - dpp[-1]) <= maxDiff ) std 1129 modules/calib3d/src/stereosgbm.cpp int x, minX1 = std::max(maxD, 0), maxX1 = cols + std::min(minD, 0); std 1197 modules/calib3d/src/stereosgbm.cpp if( (0 <= x0 && x0 < cols && disp2buf[x0] > INVALID_DISP_SCALED && std::abs(disp2buf[x0] - d) > disp12MaxDiff) && std 1198 modules/calib3d/src/stereosgbm.cpp (0 <= x1 && x1 < cols && disp2buf[x1] > INVALID_DISP_SCALED && std::abs(disp2buf[x1] - d) > disp12MaxDiff) ) std 52 modules/calib3d/src/upnp.cpp using namespace std; std 62 modules/calib3d/src/upnp.cpp number_of_correspondences = std::max(opoints.checkVector(3, CV_32F), opoints.checkVector(3, CV_64F)); std 376 modules/calib3d/src/upnp.cpp double min_error = std::numeric_limits<double>::max(); std 126 modules/calib3d/src/upnp.h std::vector<double> pws, us, alphas, pcs; std 64 modules/calib3d/test/test_affine3.cpp R.val[0] = R.val[4] = std::cos(CV_PI*angle/180.0); std 65 modules/calib3d/test/test_affine3.cpp R.val[3] = std::sin(CV_PI*angle/180.0); std 46 modules/calib3d/test/test_affine3d_estimator.cpp using namespace std; std 47 modules/calib3d/test/test_cameracalibration.cpp using namespace std; std 978 modules/calib3d/test/test_cameracalibration.cpp CV_Assert( fabs(eps) > std::numeric_limits<double>::epsilon() ); std 1726 modules/calib3d/test/test_cameracalibration.cpp std::copy(objectPoints[i].begin(), objectPoints[i].end(), objPtData + j); std 1727 modules/calib3d/test/test_cameracalibration.cpp std::copy(imagePoints1[i].begin(), imagePoints1[i].end(), imgPtData + j); std 1728 modules/calib3d/test/test_cameracalibration.cpp std::copy(imagePoints2[i].begin(), imagePoints2[i].end(), imgPtData2 + j); std 55 modules/calib3d/test/test_cameracalibration_artificial.cpp using namespace std; std 326 modules/calib3d/test/test_cameracalibration_artificial.cpp throw std::exception(); std 49 modules/calib3d/test/test_cameracalibration_badarg.cpp using namespace std; std 51 modules/calib3d/test/test_chessboardgenerator.cpp using namespace std; std 54 modules/calib3d/test/test_chessboardgenerator.cpp squareEdgePointsNum(200), min_cos(std::sqrt(2.f)*0.5f), cov(0.5), std 181 modules/calib3d/test/test_chessboardgenerator.cpp cov = std::min(cov, 0.8); std 202 modules/calib3d/test/test_chessboardgenerator.cpp float cbHalfWidth = static_cast<float>(norm(p) * sin( std::min(fovx, fovy) * 0.5 * CV_PI / 180)); std 246 modules/calib3d/test/test_chessboardgenerator.cpp cov = std::min(cov, 0.8); std 305 modules/calib3d/test/test_chessboardgenerator.cpp cov = std::min(cov, 0.8); std 21 modules/calib3d/test/test_chessboardgenerator.hpp Mat operator()(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, std::vector<Point2f>& corners) const; std 22 modules/calib3d/test/test_chessboardgenerator.hpp Mat operator()(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, const Size2f& squareSize, std::vector<Point2f>& corners) const; std 23 modules/calib3d/test/test_chessboardgenerator.hpp Mat operator()(const Mat& bg, const Mat& camMat, const Mat& distCoeffs, const Size2f& squareSize, const Point3f& pos, std::vector<Point2f>& corners) const; std 26 modules/calib3d/test/test_chessboardgenerator.hpp mutable std::vector<Point3f> corners3d; std 28 modules/calib3d/test/test_chessboardgenerator.hpp void generateEdge(const Point3f& p1, const Point3f& p2, std::vector<Point3f>& out) const; std 31 modules/calib3d/test/test_chessboardgenerator.hpp float sqWidth, float sqHeight, const std::vector<Point3f>& whole, std::vector<Point2f>& corners) const; std 49 modules/calib3d/test/test_chesscorners.cpp using namespace std; std 337 modules/calib3d/test/test_chesscorners.cpp double minNeibDist = std::numeric_limits<double>::max(); std 448 modules/calib3d/test/test_chesscorners.cpp Point2f c = std::accumulate(cg.begin(), cg.end(), Point2f(), plus<Point2f>()) * (1.f/cg.size()); std 48 modules/calib3d/test/test_chesscorners_badarg.cpp using namespace std; std 65 modules/calib3d/test/test_chesscorners_timing.cpp std::string filepath; std 66 modules/calib3d/test/test_chesscorners_timing.cpp std::string filename; std 46 modules/calib3d/test/test_compose_rt.cpp using namespace std; std 47 modules/calib3d/test/test_cornerssubpix.cpp using namespace std; std 72 modules/calib3d/test/test_cornerssubpix.cpp std::vector<int> indices; std 76 modules/calib3d/test/test_cornerssubpix.cpp double min_dist = std::numeric_limits<double>::max(); std 94 modules/calib3d/test/test_cornerssubpix.cpp std::vector<int>::iterator it = std::find(indices.begin(), indices.end(), min_idx); std 55 modules/calib3d/test/test_fisheye.cpp std::string datasets_repository_path; std 62 modules/calib3d/test/test_fisheye.cpp std::string combine(const std::string& _item1, const std::string& _item2); std 105 modules/calib3d/test/test_fisheye.cpp std::string file = combine(datasets_repository_path, "/calib-3_stereo_from_JY/left/stereo_pair_014.jpg"); std 240 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point2d> > imagePoints(n_images); std 241 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point3d> > objectPoints(n_images); std 243 modules/calib3d/test/test_fisheye.cpp const std::string folder =combine(datasets_repository_path, "calib-3_stereo_from_JY"); std 275 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point2d> > imagePoints(n_images); std 276 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point3d> > objectPoints(n_images); std 278 modules/calib3d/test/test_fisheye.cpp const std::string folder =combine(datasets_repository_path, "calib-3_stereo_from_JY"); std 336 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point2d> > imagePoints(n_images); std 337 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point3d> > objectPoints(n_images); std 339 modules/calib3d/test/test_fisheye.cpp const std::string folder =combine(datasets_repository_path, "calib-3_stereo_from_JY"); std 359 modules/calib3d/test/test_fisheye.cpp std::vector<cv::Vec3d> rvec; std 360 modules/calib3d/test/test_fisheye.cpp std::vector<cv::Vec3d> tvec; std 370 modules/calib3d/test/test_fisheye.cpp param.isEstimate = std::vector<int>(9, 1); std 395 modules/calib3d/test/test_fisheye.cpp const std::string folder =combine(datasets_repository_path, "calib-3_stereo_from_JY"); std 446 modules/calib3d/test/test_fisheye.cpp const std::string folder =combine(datasets_repository_path, "calib-3_stereo_from_JY"); std 448 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point2d> > leftPoints(n_images); std 449 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point2d> > rightPoints(n_images); std 450 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point3d> > objectPoints(n_images); std 514 modules/calib3d/test/test_fisheye.cpp const std::string folder =combine(datasets_repository_path, "calib-3_stereo_from_JY"); std 516 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point2d> > leftPoints(n_images); std 517 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point2d> > rightPoints(n_images); std 518 modules/calib3d/test/test_fisheye.cpp std::vector<std::vector<cv::Point3d> > objectPoints(n_images); std 589 modules/calib3d/test/test_fisheye.cpp std::string fisheyeTest::combine(const std::string& _item1, const std::string& _item2) std 591 modules/calib3d/test/test_fisheye.cpp std::string item1 = _item1, item2 = _item2; std 592 modules/calib3d/test/test_fisheye.cpp std::replace(item1.begin(), item1.end(), '\\', '/'); std 593 modules/calib3d/test/test_fisheye.cpp std::replace(item2.begin(), item2.end(), '\\', '/'); std 46 modules/calib3d/test/test_fundam.cpp using namespace std; std 71 modules/calib3d/test/test_homography.cpp using namespace std; std 649 modules/calib3d/test/test_homography.cpp std::vector< DMatch > matches; std 662 modules/calib3d/test/test_homography.cpp std::vector< DMatch > good_matches; std 670 modules/calib3d/test/test_homography.cpp std::vector<Point2f> pointframe1; std 671 modules/calib3d/test/test_homography.cpp std::vector<Point2f> pointframe2; std 686 modules/calib3d/test/test_homography.cpp min_t0 = std::min(min_t0, t); std 694 modules/calib3d/test/test_homography.cpp min_t1 = std::min(min_t1, t); std 51 modules/calib3d/test/test_homography_decomp.cpp using namespace std; std 106 modules/calib3d/test/test_homography_decomp.cpp bool containsValidMotion(std::vector<Mat>& rotations, std 107 modules/calib3d/test/test_homography_decomp.cpp std::vector<Mat>& translations, std 108 modules/calib3d/test/test_homography_decomp.cpp std::vector<Mat>& normals std 47 modules/calib3d/test/test_modelest.cpp using namespace std; std 46 modules/calib3d/test/test_posit.cpp using namespace std; std 49 modules/calib3d/test/test_reproject_image_to_3d.cpp using namespace std; std 50 modules/calib3d/test/test_solvepnp_ransac.cpp using namespace std; std 224 modules/calib3d/test/test_solvepnp_ransac.cpp std::vector<Point3f> opoints; std 227 modules/calib3d/test/test_solvepnp_ransac.cpp opoints = std::vector<Point3f>(points.begin(), points.begin()+4); std 231 modules/calib3d/test/test_solvepnp_ransac.cpp opoints = std::vector<Point3f>(points.begin(), points.begin()+50); std 321 modules/calib3d/test/test_solvepnp_ransac.cpp std::vector<cv::Point3d> points3d; std 322 modules/calib3d/test/test_solvepnp_ransac.cpp std::vector<cv::Point2d> points2d; std 323 modules/calib3d/test/test_solvepnp_ransac.cpp std::vector<cv::Point3f> points3dF; std 324 modules/calib3d/test/test_solvepnp_ransac.cpp std::vector<cv::Point2f> points2dF; std 53 modules/calib3d/test/test_stereomatching.cpp using namespace std; std 47 modules/calib3d/test/test_undistort.cpp using namespace std; std 193 modules/calib3d/test/test_undistort.cpp std::vector<cv::Point2f> dst_points; std 75 modules/calib3d/test/test_undistort_badarg.cpp std::vector<cv::Point2f> dst_points; std 5 modules/calib3d/test/test_undistort_points.cpp using namespace std; std 98 modules/core/include/opencv2/core.hpp class CV_EXPORTS Exception : public std::exception std 920 modules/core/include/opencv2/core.hpp const std::vector<int>& fromTo); std 3054 modules/core/include/opencv2/core.hpp template<> struct ParamType<std::vector<Mat> > std 3056 modules/core/include/opencv2/core.hpp typedef const std::vector<Mat>& const_param_type; std 3057 modules/core/include/opencv2/core.hpp typedef std::vector<Mat> member_type; std 245 modules/core/include/opencv2/core/affine.hpp double theta = std::sqrt(rx*rx + ry*ry + rz*rz); std 253 modules/core/include/opencv2/core/affine.hpp double c = std::cos(theta); std 254 modules/core/include/opencv2/core/affine.hpp double s = std::sin(theta); std 343 modules/core/include/opencv2/core/affine.hpp double s = std::sqrt((rx*rx + ry*ry + rz*rz)*0.25); std 356 modules/core/include/opencv2/core/affine.hpp rx = std::sqrt(std::max(t, 0.0)); std 358 modules/core/include/opencv2/core/affine.hpp ry = std::sqrt(std::max(t, 0.0)) * (R.val[1] < 0 ? -1.0 : 1.0); std 360 modules/core/include/opencv2/core/affine.hpp rz = std::sqrt(std::max(t, 0.0)) * (R.val[2] < 0 ? -1.0 : 1.0); std 364 modules/core/include/opencv2/core/affine.hpp theta /= std::sqrt(rx*rx + ry*ry + rz*rz); std 423 modules/core/include/opencv2/core/base.hpp template<typename _Tp> inline _Tp cv_abs(_Tp x) { return std::abs(x); } std 425 modules/core/include/opencv2/core/base.hpp inline int cv_abs(schar x) { return std::abs(x); } std 427 modules/core/include/opencv2/core/base.hpp inline int cv_abs(short x) { return std::abs(x); } std 471 modules/core/include/opencv2/core/base.hpp s = std::max(s, (_AccTp)cv_abs(a[i])); std 515 modules/core/include/opencv2/core/base.hpp s += std::abs(v0) + std::abs(v1) + std::abs(v2) + std::abs(v3); std 521 modules/core/include/opencv2/core/base.hpp s += std::abs(v); std 531 modules/core/include/opencv2/core/base.hpp s += std::abs(a[i] - b[i]); std 541 modules/core/include/opencv2/core/base.hpp s += std::abs(a[i] - b[i]); std 553 modules/core/include/opencv2/core/base.hpp s = std::max(s, std::abs(v0)); std 2879 modules/core/include/opencv2/core/core_c.h void copyTo(std::vector<_Tp>& vec, const Range& range=Range::all()) const; std 2881 modules/core/include/opencv2/core/core_c.h operator std::vector<_Tp>() const; std 3039 modules/core/include/opencv2/core/core_c.h template<typename _Tp> inline void Seq<_Tp>::copyTo(std::vector<_Tp>& vec, const Range& range) const std 3047 modules/core/include/opencv2/core/core_c.h template<typename _Tp> inline Seq<_Tp>::operator std::vector<_Tp>() const std 3049 modules/core/include/opencv2/core/core_c.h std::vector<_Tp> vec; std 142 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(flags, b.flags); std 143 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(rows, b.rows); std 144 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(cols, b.cols); std 145 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(step, b.step); std 146 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(data, b.data); std 147 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(datastart, b.datastart); std 148 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(dataend, b.dataend); std 149 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(refcount, b.refcount); std 150 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(allocator, b.allocator); std 442 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(flags, b.flags); std 443 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(rows, b.rows); std 444 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(cols, b.cols); std 445 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(step, b.step); std 446 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(data, b.data); std 447 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(datastart, b.datastart); std 448 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(dataend, b.dataend); std 449 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(refcount, b.refcount); std 450 modules/core/include/opencv2/core/cuda.inl.hpp std::swap(alloc_type, b.alloc_type); std 61 modules/core/include/opencv2/core/cuda/functional.hpp template<typename Argument, typename Result> struct unary_function : public std::unary_function<Argument, Result> {}; std 62 modules/core/include/opencv2/core/cuda/functional.hpp template<typename Argument1, typename Argument2, typename Result> struct binary_function : public std::binary_function<Argument1, Argument2, Result> {}; std 70 modules/core/include/opencv2/core/cvstd.hpp using std::min; std 71 modules/core/include/opencv2/core/cvstd.hpp using std::max; std 72 modules/core/include/opencv2/core/cvstd.hpp using std::abs; std 73 modules/core/include/opencv2/core/cvstd.hpp using std::swap; std 74 modules/core/include/opencv2/core/cvstd.hpp using std::sqrt; std 75 modules/core/include/opencv2/core/cvstd.hpp using std::exp; std 76 modules/core/include/opencv2/core/cvstd.hpp using std::pow; std 77 modules/core/include/opencv2/core/cvstd.hpp using std::log; std 558 modules/core/include/opencv2/core/cvstd.hpp String(const std::string& str); std 559 modules/core/include/opencv2/core/cvstd.hpp String(const std::string& str, size_t pos, size_t len = npos); std 560 modules/core/include/opencv2/core/cvstd.hpp String& operator=(const std::string& str); std 561 modules/core/include/opencv2/core/cvstd.hpp String& operator+=(const std::string& str); std 562 modules/core/include/opencv2/core/cvstd.hpp operator std::string() const; std 564 modules/core/include/opencv2/core/cvstd.hpp friend String operator+ (const String& lhs, const std::string& rhs); std 565 modules/core/include/opencv2/core/cvstd.hpp friend String operator+ (const std::string& lhs, const String& rhs); std 58 modules/core/include/opencv2/core/cvstd.inl.hpp template<typename _Tp> class DataType< std::complex<_Tp> > std 61 modules/core/include/opencv2/core/cvstd.inl.hpp typedef std::complex<_Tp> value_type; std 75 modules/core/include/opencv2/core/cvstd.inl.hpp String::String(const std::string& str) std 86 modules/core/include/opencv2/core/cvstd.inl.hpp String::String(const std::string& str, size_t pos, size_t len) std 97 modules/core/include/opencv2/core/cvstd.inl.hpp String& String::operator = (const std::string& str) std 109 modules/core/include/opencv2/core/cvstd.inl.hpp String& String::operator += (const std::string& str) std 116 modules/core/include/opencv2/core/cvstd.inl.hpp String::operator std::string() const std 118 modules/core/include/opencv2/core/cvstd.inl.hpp return std::string(cstr_, len_); std 122 modules/core/include/opencv2/core/cvstd.inl.hpp String operator + (const String& lhs, const std::string& rhs) std 133 modules/core/include/opencv2/core/cvstd.inl.hpp String operator + (const std::string& lhs, const String& rhs) std 144 modules/core/include/opencv2/core/cvstd.inl.hpp FileNode::operator std::string() const std 152 modules/core/include/opencv2/core/cvstd.inl.hpp void operator >> (const FileNode& n, std::string& value) std 160 modules/core/include/opencv2/core/cvstd.inl.hpp FileStorage& operator << (FileStorage& fs, const std::string& value) std 166 modules/core/include/opencv2/core/cvstd.inl.hpp std::ostream& operator << (std::ostream& os, const String& str) std 172 modules/core/include/opencv2/core/cvstd.inl.hpp std::ostream& operator << (std::ostream& out, Ptr<Formatted> fmtd) std 181 modules/core/include/opencv2/core/cvstd.inl.hpp std::ostream& operator << (std::ostream& out, const Mat& mtx) std 187 modules/core/include/opencv2/core/cvstd.inl.hpp std::ostream& operator << (std::ostream& out, const std::vector<Point_<_Tp> >& vec) std 194 modules/core/include/opencv2/core/cvstd.inl.hpp std::ostream& operator << (std::ostream& out, const std::vector<Point3_<_Tp> >& vec) std 201 modules/core/include/opencv2/core/cvstd.inl.hpp std::ostream& operator << (std::ostream& out, const Matx<_Tp, m, n>& matx) std 207 modules/core/include/opencv2/core/cvstd.inl.hpp std::ostream& operator << (std::ostream& out, const Point_<_Tp>& p) std 214 modules/core/include/opencv2/core/cvstd.inl.hpp std::ostream& operator << (std::ostream& out, const Point3_<_Tp>& p) std 221 modules/core/include/opencv2/core/cvstd.inl.hpp std::ostream& operator << (std::ostream& out, const Vec<_Tp, n>& vec) std 250 modules/core/include/opencv2/core/cvstd.inl.hpp std::ostream& operator << (std::ostream& out, const Size_<_Tp>& size) std 256 modules/core/include/opencv2/core/cvstd.inl.hpp std::ostream& operator << (std::ostream& out, const Rect_<_Tp>& rect) std 174 modules/core/include/opencv2/core/mat.hpp _InputArray(const std::vector<Mat>& vec); std 176 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _InputArray(const std::vector<_Tp>& vec); std 177 modules/core/include/opencv2/core/mat.hpp _InputArray(const std::vector<bool>& vec); std 178 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _InputArray(const std::vector<std::vector<_Tp> >& vec); std 179 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _InputArray(const std::vector<Mat_<_Tp> >& vec); std 188 modules/core/include/opencv2/core/mat.hpp _InputArray(const std::vector<UMat>& umv); std 193 modules/core/include/opencv2/core/mat.hpp void getMatVector(std::vector<Mat>& mv) const; std 194 modules/core/include/opencv2/core/mat.hpp void getUMatVector(std::vector<UMat>& umv) const; std 283 modules/core/include/opencv2/core/mat.hpp _OutputArray(std::vector<Mat>& vec); std 288 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _OutputArray(std::vector<_Tp>& vec); std 289 modules/core/include/opencv2/core/mat.hpp _OutputArray(std::vector<bool>& vec); std 290 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _OutputArray(std::vector<std::vector<_Tp> >& vec); std 291 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _OutputArray(std::vector<Mat_<_Tp> >& vec); std 296 modules/core/include/opencv2/core/mat.hpp _OutputArray(std::vector<UMat>& vec); std 299 modules/core/include/opencv2/core/mat.hpp _OutputArray(const std::vector<Mat>& vec); std 304 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _OutputArray(const std::vector<_Tp>& vec); std 305 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _OutputArray(const std::vector<std::vector<_Tp> >& vec); std 306 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _OutputArray(const std::vector<Mat_<_Tp> >& vec); std 311 modules/core/include/opencv2/core/mat.hpp _OutputArray(const std::vector<UMat>& vec); std 340 modules/core/include/opencv2/core/mat.hpp _InputOutputArray(std::vector<Mat>& vec); std 345 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _InputOutputArray(std::vector<_Tp>& vec); std 346 modules/core/include/opencv2/core/mat.hpp _InputOutputArray(std::vector<bool>& vec); std 347 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _InputOutputArray(std::vector<std::vector<_Tp> >& vec); std 348 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _InputOutputArray(std::vector<Mat_<_Tp> >& vec); std 353 modules/core/include/opencv2/core/mat.hpp _InputOutputArray(std::vector<UMat>& vec); std 356 modules/core/include/opencv2/core/mat.hpp _InputOutputArray(const std::vector<Mat>& vec); std 361 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _InputOutputArray(const std::vector<_Tp>& vec); std 362 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _InputOutputArray(const std::vector<std::vector<_Tp> >& vec); std 363 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> _InputOutputArray(const std::vector<Mat_<_Tp> >& vec); std 368 modules/core/include/opencv2/core/mat.hpp _InputOutputArray(const std::vector<UMat>& vec); std 902 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> explicit Mat(const std::vector<_Tp>& vec, bool copyData=false); std 1478 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> operator std::vector<_Tp>() const; std 1983 modules/core/include/opencv2/core/mat.hpp explicit Mat_(const std::vector<_Tp>& vec, bool copyData=false); std 2081 modules/core/include/opencv2/core/mat.hpp operator std::vector<_Tp>() const; std 2144 modules/core/include/opencv2/core/mat.hpp template<typename _Tp> explicit UMat(const std::vector<_Tp>& vec, bool copyData=false); std 2414 modules/core/include/opencv2/core/mat.hpp std::vector<uchar> pool; std 2415 modules/core/include/opencv2/core/mat.hpp std::vector<size_t> hashtab; std 2753 modules/core/include/opencv2/core/mat.hpp typedef std::random_access_iterator_tag iterator_category; std 2820 modules/core/include/opencv2/core/mat.hpp typedef std::random_access_iterator_tag iterator_category; std 2873 modules/core/include/opencv2/core/mat.hpp typedef std::random_access_iterator_tag iterator_category; std 3009 modules/core/include/opencv2/core/mat.hpp typedef std::forward_iterator_tag iterator_category; std 3045 modules/core/include/opencv2/core/mat.hpp typedef std::forward_iterator_tag iterator_category; std 72 modules/core/include/opencv2/core/mat.inl.hpp inline _InputArray::_InputArray(const std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_READ, &vec); } std 74 modules/core/include/opencv2/core/mat.inl.hpp inline _InputArray::_InputArray(const std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_READ, &vec); } std 77 modules/core/include/opencv2/core/mat.inl.hpp _InputArray::_InputArray(const std::vector<_Tp>& vec) std 81 modules/core/include/opencv2/core/mat.inl.hpp _InputArray::_InputArray(const std::vector<bool>& vec) std 85 modules/core/include/opencv2/core/mat.inl.hpp _InputArray::_InputArray(const std::vector<std::vector<_Tp> >& vec) std 89 modules/core/include/opencv2/core/mat.inl.hpp _InputArray::_InputArray(const std::vector<Mat_<_Tp> >& vec) std 139 modules/core/include/opencv2/core/mat.inl.hpp inline _OutputArray::_OutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_WRITE, &vec); } std 141 modules/core/include/opencv2/core/mat.inl.hpp inline _OutputArray::_OutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_WRITE, &vec); } std 144 modules/core/include/opencv2/core/mat.inl.hpp _OutputArray::_OutputArray(std::vector<_Tp>& vec) std 148 modules/core/include/opencv2/core/mat.inl.hpp _OutputArray::_OutputArray(std::vector<bool>&) std 152 modules/core/include/opencv2/core/mat.inl.hpp _OutputArray::_OutputArray(std::vector<std::vector<_Tp> >& vec) std 156 modules/core/include/opencv2/core/mat.inl.hpp _OutputArray::_OutputArray(std::vector<Mat_<_Tp> >& vec) std 172 modules/core/include/opencv2/core/mat.inl.hpp _OutputArray::_OutputArray(const std::vector<_Tp>& vec) std 176 modules/core/include/opencv2/core/mat.inl.hpp _OutputArray::_OutputArray(const std::vector<std::vector<_Tp> >& vec) std 180 modules/core/include/opencv2/core/mat.inl.hpp _OutputArray::_OutputArray(const std::vector<Mat_<_Tp> >& vec) std 207 modules/core/include/opencv2/core/mat.inl.hpp inline _OutputArray::_OutputArray(const std::vector<Mat>& vec) std 213 modules/core/include/opencv2/core/mat.inl.hpp inline _OutputArray::_OutputArray(const std::vector<UMat>& vec) std 230 modules/core/include/opencv2/core/mat.inl.hpp inline _InputOutputArray::_InputOutputArray(std::vector<Mat>& vec) { init(STD_VECTOR_MAT+ACCESS_RW, &vec); } std 232 modules/core/include/opencv2/core/mat.inl.hpp inline _InputOutputArray::_InputOutputArray(std::vector<UMat>& vec) { init(STD_VECTOR_UMAT+ACCESS_RW, &vec); } std 235 modules/core/include/opencv2/core/mat.inl.hpp _InputOutputArray::_InputOutputArray(std::vector<_Tp>& vec) std 238 modules/core/include/opencv2/core/mat.inl.hpp inline _InputOutputArray::_InputOutputArray(std::vector<bool>&) std 242 modules/core/include/opencv2/core/mat.inl.hpp _InputOutputArray::_InputOutputArray(std::vector<std::vector<_Tp> >& vec) std 246 modules/core/include/opencv2/core/mat.inl.hpp _InputOutputArray::_InputOutputArray(std::vector<Mat_<_Tp> >& vec) std 262 modules/core/include/opencv2/core/mat.inl.hpp _InputOutputArray::_InputOutputArray(const std::vector<_Tp>& vec) std 266 modules/core/include/opencv2/core/mat.inl.hpp _InputOutputArray::_InputOutputArray(const std::vector<std::vector<_Tp> >& vec) std 270 modules/core/include/opencv2/core/mat.inl.hpp _InputOutputArray::_InputOutputArray(const std::vector<Mat_<_Tp> >& vec) std 297 modules/core/include/opencv2/core/mat.inl.hpp inline _InputOutputArray::_InputOutputArray(const std::vector<Mat>& vec) std 303 modules/core/include/opencv2/core/mat.inl.hpp inline _InputOutputArray::_InputOutputArray(const std::vector<UMat>& vec) std 456 modules/core/include/opencv2/core/mat.inl.hpp Mat::Mat(const std::vector<_Tp>& vec, bool copyData) std 1039 modules/core/include/opencv2/core/mat.inl.hpp Mat::operator std::vector<_Tp>() const std 1041 modules/core/include/opencv2/core/mat.inl.hpp std::vector<_Tp> v; std 1314 modules/core/include/opencv2/core/mat.inl.hpp Mat_<_Tp>::Mat_(const std::vector<_Tp>& vec, bool copyData) std 1578 modules/core/include/opencv2/core/mat.inl.hpp Mat_<_Tp>::operator std::vector<_Tp>() const std 1580 modules/core/include/opencv2/core/mat.inl.hpp std::vector<_Tp> v; std 3188 modules/core/include/opencv2/core/mat.inl.hpp UMat::UMat(const std::vector<_Tp>& vec, bool copyData) std 827 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < std::min(m, n); i++ ) std 835 modules/core/include/opencv2/core/matx.hpp return std::sqrt(normL2Sqr<_Tp, double>(M.val, m*n)); std 843 modules/core/include/opencv2/core/matx.hpp std::sqrt((double)normL2Sqr<_Tp, typename DataType<_Tp>::work_type>(M.val, m*n)); std 610 modules/core/include/opencv2/core/ocl.hpp CV_EXPORTS void getPlatfomsInfo(std::vector<PlatformInfo>& platform_info); std 400 modules/core/include/opencv2/core/operations.hpp int print(const std::vector<Point_<_Tp> >& vec, FILE* stream = stdout) std 406 modules/core/include/opencv2/core/operations.hpp int print(const std::vector<Point3_<_Tp> >& vec, FILE* stream = stdout) std 439 modules/core/include/opencv2/core/operations.hpp partition( const std::vector<_Tp>& _vec, std::vector<int>& labels, std 448 modules/core/include/opencv2/core/operations.hpp std::vector<int> _nodes(N*2); std 436 modules/core/include/opencv2/core/persistence.hpp std::vector<char> structs; //!< the stack of written structures std 543 modules/core/include/opencv2/core/persistence.hpp operator std::string() const; std 662 modules/core/include/opencv2/core/persistence.hpp CV_EXPORTS void write( FileStorage& fs, const String& name, const std::vector<KeyPoint>& value); std 663 modules/core/include/opencv2/core/persistence.hpp CV_EXPORTS void write( FileStorage& fs, const String& name, const std::vector<DMatch>& value); std 681 modules/core/include/opencv2/core/persistence.hpp CV_EXPORTS void read(const FileNode& node, std::vector<KeyPoint>& keypoints); std 682 modules/core/include/opencv2/core/persistence.hpp CV_EXPORTS void read(const FileNode& node, std::vector<DMatch>& matches); std 686 modules/core/include/opencv2/core/persistence.hpp std::vector<_Tp> temp; FileNodeIterator it = node.begin(); it >> temp; std 692 modules/core/include/opencv2/core/persistence.hpp std::vector<_Tp> temp; FileNodeIterator it = node.begin(); it >> temp; std 699 modules/core/include/opencv2/core/persistence.hpp std::vector<_Tp> temp; FileNodeIterator it = node.begin(); it >> temp; std 705 modules/core/include/opencv2/core/persistence.hpp std::vector<_Tp> temp; FileNodeIterator it = node.begin(); it >> temp; std 711 modules/core/include/opencv2/core/persistence.hpp std::vector<_Tp> temp; FileNodeIterator it = node.begin(); it >> temp; std 718 modules/core/include/opencv2/core/persistence.hpp std::vector<_Tp> temp; FileNodeIterator it = node.begin(); it >> temp; std 724 modules/core/include/opencv2/core/persistence.hpp std::vector<_Tp> temp; FileNodeIterator it = node.begin(); it >> temp; std 760 modules/core/include/opencv2/core/persistence.hpp void operator()(const std::vector<_Tp>& vec) const std 774 modules/core/include/opencv2/core/persistence.hpp void operator()(const std::vector<_Tp>& vec) const std 788 modules/core/include/opencv2/core/persistence.hpp void operator()(std::vector<_Tp>& vec, size_t count) const std 790 modules/core/include/opencv2/core/persistence.hpp count = std::min(count, it->remaining); std 803 modules/core/include/opencv2/core/persistence.hpp void operator()(std::vector<_Tp>& vec, size_t count) const std 917 modules/core/include/opencv2/core/persistence.hpp void write( FileStorage& fs, const std::vector<_Tp>& vec ) std 981 modules/core/include/opencv2/core/persistence.hpp void write( FileStorage& fs, const String& name, const std::vector<_Tp>& vec ) std 1033 modules/core/include/opencv2/core/persistence.hpp void read( FileNodeIterator& it, std::vector<_Tp>& vec, size_t maxCount = (size_t)INT_MAX ) std 1040 modules/core/include/opencv2/core/persistence.hpp void read( const FileNode& node, std::vector<_Tp>& vec, const std::vector<_Tp>& default_value = std::vector<_Tp>() ) std 1104 modules/core/include/opencv2/core/persistence.hpp FileNodeIterator& operator >> (FileNodeIterator& it, std::vector<_Tp>& vec) std 1127 modules/core/include/opencv2/core/persistence.hpp void operator >> (const FileNode& n, std::vector<_Tp>& vec) std 116 modules/core/include/opencv2/core/private.hpp typedef std::vector<Rect> ConcurrentRectVector; std 199 modules/core/include/opencv2/core/ptr.inl.hpp std::swap(owner, o.owner); std 200 modules/core/include/opencv2/core/ptr.inl.hpp std::swap(stored, o.stored); std 668 modules/core/include/opencv2/core/types.hpp CV_WRAP static void convert(const std::vector<KeyPoint>& keypoints, std 669 modules/core/include/opencv2/core/types.hpp CV_OUT std::vector<Point2f>& points2f, std 670 modules/core/include/opencv2/core/types.hpp const std::vector<int>& keypointIndexes=std::vector<int>()); std 679 modules/core/include/opencv2/core/types.hpp CV_WRAP static void convert(const std::vector<Point2f>& points2f, std 680 modules/core/include/opencv2/core/types.hpp CV_OUT std::vector<KeyPoint>& keypoints, std 1020 modules/core/include/opencv2/core/types.hpp return std::sqrt( (double)a.re*a.re + (double)a.im*a.im); std 1192 modules/core/include/opencv2/core/types.hpp return std::sqrt((double)pt.x*pt.x + (double)pt.y*pt.y); std 1436 modules/core/include/opencv2/core/types.hpp return std::sqrt((double)pt.x*pt.x + (double)pt.y*pt.y + (double)pt.z*pt.z); std 1680 modules/core/include/opencv2/core/types.hpp x = std::min(pt1.x, pt2.x); std 1681 modules/core/include/opencv2/core/types.hpp y = std::min(pt1.y, pt2.y); std 1682 modules/core/include/opencv2/core/types.hpp width = std::max(pt1.x, pt2.x) - x; std 1683 modules/core/include/opencv2/core/types.hpp height = std::max(pt1.y, pt2.y) - y; std 1768 modules/core/include/opencv2/core/types.hpp _Tp x1 = std::max(a.x, b.x); std 1769 modules/core/include/opencv2/core/types.hpp _Tp y1 = std::max(a.y, b.y); std 1770 modules/core/include/opencv2/core/types.hpp a.width = std::min(a.x + a.width, b.x + b.width) - x1; std 1771 modules/core/include/opencv2/core/types.hpp a.height = std::min(a.y + a.height, b.y + b.height) - y1; std 1782 modules/core/include/opencv2/core/types.hpp _Tp x1 = std::min(a.x, b.x); std 1783 modules/core/include/opencv2/core/types.hpp _Tp y1 = std::min(a.y, b.y); std 1784 modules/core/include/opencv2/core/types.hpp a.width = std::max(a.x + a.width, b.x + b.width) - x1; std 1785 modules/core/include/opencv2/core/types.hpp a.height = std::max(a.y + a.height, b.y + b.height) - y1; std 1899 modules/core/include/opencv2/core/types.hpp Range r(std::max(r1.start, r2.start), std::min(r1.end, r2.end)); std 1900 modules/core/include/opencv2/core/types.hpp r.end = std::max(r.end, r.start); std 62 modules/core/include/opencv2/core/utility.hpp CV_EXPORTS int getImpl(std::vector<int> &impl, std::vector<String> &funName); std 184 modules/core/include/opencv2/core/utility.hpp CV_EXPORTS void glob(String pattern, std::vector<String>& result, bool recursive = false); std 419 modules/core/include/opencv2/core/utility.hpp std::vector<int> idx(COLS); /// idx is modified in this->rowCall std 871 modules/core/include/opencv2/core/utility.hpp template<> inline std::string CommandLineParser::get<std::string>(int index, bool space_delete) const std 875 modules/core/include/opencv2/core/utility.hpp template<> inline std::string CommandLineParser::get<std::string>(const String& name, bool space_delete) const std 50 modules/core/perf/cuda/perf_gpumat.cpp using namespace std; std 337 modules/core/perf/opencl/perf_arithm.cpp typedef std::tr1::tuple<Size, MatType, FlipType> FlipParams; std 555 modules/core/perf/opencl/perf_arithm.cpp typedef std::tr1::tuple<Size, MatType, CmpCode> CompareParams; std 755 modules/core/perf/opencl/perf_arithm.cpp typedef std::tr1::tuple<Size, MatType, NormType> NormParams; std 1013 modules/core/perf/opencl/perf_arithm.cpp ptr[x] = (x + y) % 2 == 0 ? std::numeric_limits<float>::quiet_NaN() : ptr[x]; std 1070 modules/core/perf/opencl/perf_arithm.cpp typedef tuple<Size, std::pair<MatType, MatType>, int, ReduceMinMaxOp> ReduceMinMaxParams; std 1075 modules/core/perf/opencl/perf_arithm.cpp OCL_PERF_ENUM(std::make_pair<MatType, MatType>(CV_8UC1, CV_8UC1), std 1076 modules/core/perf/opencl/perf_arithm.cpp std::make_pair<MatType, MatType>(CV_32FC4, CV_32FC4)), std 1081 modules/core/perf/opencl/perf_arithm.cpp const std::pair<MatType, MatType> types = get<1>(params); std 1101 modules/core/perf/opencl/perf_arithm.cpp typedef tuple<Size, std::pair<MatType, MatType>, int, ReduceAccOp> ReduceAccParams; std 1106 modules/core/perf/opencl/perf_arithm.cpp OCL_PERF_ENUM(std::make_pair<MatType, MatType>(CV_8UC4, CV_32SC4), std 1107 modules/core/perf/opencl/perf_arithm.cpp std::make_pair<MatType, MatType>(CV_32FC1, CV_32FC1)), std 1112 modules/core/perf/opencl/perf_arithm.cpp const std::pair<MatType, MatType> types = get<1>(params); std 100 modules/core/perf/opencl/perf_channels.cpp std::vector<UMat> dst(cn, UMat(srcSize, CV_MAKE_TYPE(depth, 1))); std 140 modules/core/perf/opencl/perf_channels.cpp std::vector<UMat> src(n), dst(n); std 15 modules/core/perf/opencl/perf_usage_flags.cpp typedef TestBaseWithParam<std::tr1::tuple<cv::Size, bool> > UsageFlagsBoolFixture; std 3 modules/core/perf/perf_abs.cpp using namespace std; std 6 modules/core/perf/perf_abs.cpp using std::tr1::make_tuple; std 7 modules/core/perf/perf_abs.cpp using std::tr1::get; std 3 modules/core/perf/perf_addWeighted.cpp using namespace std; std 6 modules/core/perf/perf_addWeighted.cpp using std::tr1::make_tuple; std 7 modules/core/perf/perf_addWeighted.cpp using std::tr1::get; std 3 modules/core/perf/perf_arithm.cpp using namespace std; std 6 modules/core/perf/perf_arithm.cpp using std::tr1::make_tuple; std 7 modules/core/perf/perf_arithm.cpp using std::tr1::get; std 3 modules/core/perf/perf_bitwise.cpp using namespace std; std 6 modules/core/perf/perf_bitwise.cpp using std::tr1::make_tuple; std 7 modules/core/perf/perf_bitwise.cpp using std::tr1::get; std 3 modules/core/perf/perf_compare.cpp using namespace std; std 6 modules/core/perf/perf_compare.cpp using std::tr1::make_tuple; std 7 modules/core/perf/perf_compare.cpp using std::tr1::get; std 11 modules/core/perf/perf_compare.cpp typedef std::tr1::tuple<Size, MatType, CmpType> Size_MatType_CmpType_t; std 3 modules/core/perf/perf_convertTo.cpp using namespace std; std 6 modules/core/perf/perf_convertTo.cpp using std::tr1::make_tuple; std 7 modules/core/perf/perf_convertTo.cpp using std::tr1::get; std 9 modules/core/perf/perf_convertTo.cpp typedef std::tr1::tuple<Size, MatType, MatType, int, double> Size_DepthSrc_DepthDst_Channels_alpha_t; std 3 modules/core/perf/perf_cvround.cpp using namespace std; std 6 modules/core/perf/perf_cvround.cpp using std::tr1::make_tuple; std 7 modules/core/perf/perf_cvround.cpp using std::tr1::get; std 3 modules/core/perf/perf_dft.cpp using namespace std; std 6 modules/core/perf/perf_dft.cpp using std::tr1::make_tuple; std 7 modules/core/perf/perf_dft.cpp using std::tr1::get; std 16 modules/core/perf/perf_dft.cpp typedef std::tr1::tuple<Size, MatType, FlagsType, bool> Size_MatType_FlagsType_NzeroRows_t; std 45 modules/core/perf/perf_dft.cpp typedef std::tr1::tuple<Size, MatType, DCT_FlagsType> Size_MatType_Flag_t; std 3 modules/core/perf/perf_dot.cpp using namespace std; std 6 modules/core/perf/perf_dot.cpp using std::tr1::make_tuple; std 7 modules/core/perf/perf_dot.cpp using std::tr1::get; std 3 modules/core/perf/perf_inRange.cpp using namespace std; std 6 modules/core/perf/perf_inRange.cpp using std::tr1::make_tuple; std 7 modules/core/perf/perf_inRange.cpp using std::tr1::get; std 3 modules/core/perf/perf_mat.cpp using namespace std; std 6 modules/core/perf/perf_mat.cpp using std::tr1::make_tuple; std 7 modules/core/perf/perf_mat.cpp using std::tr1::get; std 3 modules/core/perf/perf_math.cpp using namespace std; std 6 modules/core/perf/perf_math.cpp using std::tr1::make_tuple; std 7 modules/core/perf/perf_math.cpp using std::tr1::get; std 11 modules/core/perf/perf_math.cpp typedef std::tr1::tuple<int, int> MaxDim_MaxPoints_t; std 3 modules/core/perf/perf_merge.cpp using namespace std; std 6 modules/core/perf/perf_merge.cpp using std::tr1::make_tuple; std 7 modules/core/perf/perf_merge.cpp using std::tr1::get; std 9 modules/core/perf/perf_merge.cpp typedef std::tr1::tuple<Size, MatType, int> Size_SrcDepth_DstChannels_t; std 3 modules/core/perf/perf_minmaxloc.cpp using namespace std; std 6 modules/core/perf/perf_minmaxloc.cpp using std::tr1::make_tuple; std 7 modules/core/perf/perf_minmaxloc.cpp using std::tr1::get; std 3 modules/core/perf/perf_norm.cpp using namespace std; std 6 modules/core/perf/perf_norm.cpp using std::tr1::make_tuple; std 7 modules/core/perf/perf_norm.cpp using std::tr1::get; std 11 modules/core/perf/perf_norm.cpp typedef std::tr1::tuple<Size, MatType, NormType> Size_MatType_NormType_t; std 4 modules/core/perf/perf_reduce.cpp using namespace std; std 7 modules/core/perf/perf_reduce.cpp using std::tr1::make_tuple; std 8 modules/core/perf/perf_reduce.cpp using std::tr1::get; std 11 modules/core/perf/perf_reduce.cpp typedef std::tr1::tuple<Size, MatType, ROp> Size_MatType_ROp_t; std 3 modules/core/perf/perf_sort.cpp using namespace std; std 7 modules/core/perf/perf_sort.cpp using std::tr1::tuple; std 8 modules/core/perf/perf_sort.cpp using std::tr1::make_tuple; std 9 modules/core/perf/perf_sort.cpp using std::tr1::get; std 3 modules/core/perf/perf_split.cpp using namespace std; std 6 modules/core/perf/perf_split.cpp using std::tr1::make_tuple; std 7 modules/core/perf/perf_split.cpp using std::tr1::get; std 9 modules/core/perf/perf_split.cpp typedef std::tr1::tuple<Size, MatType, int> Size_Depth_Channels_t; std 3 modules/core/perf/perf_stat.cpp using namespace std; std 6 modules/core/perf/perf_stat.cpp using std::tr1::make_tuple; std 7 modules/core/perf/perf_stat.cpp using std::tr1::get; std 698 modules/core/src/arithm.cpp T operator()(T a, T b) const { return (T)std::abs(a - b); } std 702 modules/core/src/arithm.cpp { return saturate_cast<short>(std::abs(a - b)); } std 705 modules/core/src/arithm.cpp { return saturate_cast<schar>(std::abs(a - b)); } std 712 modules/core/src/arithm.cpp T operator()(T a, WT b) const { return saturate_cast<T>(std::abs(a - b)); } std 1412 modules/core/src/arithm.cpp getConvertFunc(sc.depth(), buftype)(sc.ptr(), 1, 0, 1, scbuf, 1, Size(std::min(cn, scn), 1), 0); std 1631 modules/core/src/arithm.cpp blocksize = std::min(blocksize, blocksize0); std 1660 modules/core/src/arithm.cpp size_t total = it.size, blocksize = std::min(total, blocksize0); std 1818 modules/core/src/arithm.cpp int dtype = _dst.type(), ddepth = CV_MAT_DEPTH(dtype), wdepth = std::max(CV_32S, CV_MAT_DEPTH(wtype)); std 1820 modules/core/src/arithm.cpp wdepth = std::min(wdepth, CV_32F); std 1953 modules/core/src/arithm.cpp (!usrdata ? type1 : std::max(depth1, CV_32F)), std 2022 modules/core/src/arithm.cpp depth1 <= CV_32S && depth2 <= CV_32S ? CV_32S : std::max(depth1, depth2); std 2023 modules/core/src/arithm.cpp wtype = std::max(wtype, dtype); std 2033 modules/core/src/arithm.cpp wtype = std::max(depth1, std::max(depth2, CV_32F)); std 2034 modules/core/src/arithm.cpp wtype = std::max(wtype, dtype); std 2082 modules/core/src/arithm.cpp blocksize = std::min(blocksize, blocksize0); std 2146 modules/core/src/arithm.cpp size_t total = it.size, blocksize = std::min(total, blocksize0); std 2178 modules/core/src/arithm.cpp std::swap(sptr1, sptr2); std 3471 modules/core/src/arithm.cpp if (std::fabs(fscale - 1) <= FLT_EPSILON) std 3498 modules/core/src/arithm.cpp if (std::fabs(fscale - 1) <= FLT_EPSILON) std 3519 modules/core/src/arithm.cpp if (std::fabs(fscale - 1) <= FLT_EPSILON) std 3546 modules/core/src/arithm.cpp if (std::fabs(fscale - 1) <= FLT_EPSILON) std 3696 modules/core/src/arithm.cpp true, &scale, std::abs(scale - 1.0) < DBL_EPSILON ? OCL_OP_MUL : OCL_OP_MUL_SCALE); std 4494 modules/core/src/arithm.cpp std::swap(src1, src2); std 4495 modules/core/src/arithm.cpp std::swap(step1, step2); std 4584 modules/core/src/arithm.cpp std::swap(src1, src2); std 4585 modules/core/src/arithm.cpp std::swap(step1, step2); std 4714 modules/core/src/arithm.cpp std::swap(src1, src2); std 4715 modules/core/src/arithm.cpp std::swap(step1, step2); std 5054 modules/core/src/arithm.cpp size_t total = it.size, blocksize = std::min(total, blocksize0); std 5600 modules/core/src/arithm.cpp int kercn = haveScalar ? cn : std::max(std::min(ocl::predictOptimalVectorWidth(_src, _lowerb, _upperb, _dst), 4), cn); std 5725 modules/core/src/arithm.cpp size_t total = it.size, blocksize = std::min(total, blocksize0); std 3022 modules/core/src/array.cpp rect.x = std::max(rect.x, 0); std 3023 modules/core/src/array.cpp rect.y = std::max(rect.y, 0); std 3024 modules/core/src/array.cpp rect.width = std::min(rect.width, image->width); std 3025 modules/core/src/array.cpp rect.height = std::min(rect.height, image->height); std 12 modules/core/src/command_line_parser.cpp std::vector<String> keys; std 26 modules/core/src/command_line_parser.cpp std::vector<CommandLineParserParams> data; std 28 modules/core/src/command_line_parser.cpp std::vector<String> split_range_string(const String& str, char fs, char ss) const; std 29 modules/core/src/command_line_parser.cpp std::vector<String> split_string(const String& str, char symbol = ' ', bool create_empty_item = false) const; std 61 modules/core/src/command_line_parser.cpp std::stringstream ss(str.c_str()); std 66 modules/core/src/command_line_parser.cpp std::string temp; std 113 modules/core/src/command_line_parser.cpp catch (std::exception& e) std 138 modules/core/src/command_line_parser.cpp catch(std::exception & e) std 178 modules/core/src/command_line_parser.cpp std::vector<String> k = impl->split_range_string(keys, '{', '}'); std 183 modules/core/src/command_line_parser.cpp std::vector<String> l = impl->split_string(k[i], '|', true); std 214 modules/core/src/command_line_parser.cpp std::vector<String> k_v = impl->split_string(s, '=', true); std 300 modules/core/src/command_line_parser.cpp std::sort(data[i].keys.begin(), data[i].keys.end()); std 303 modules/core/src/command_line_parser.cpp std::sort (data.begin(), data.end(), cmp_params); std 421 modules/core/src/command_line_parser.cpp std::vector<String> CommandLineParser::Impl::split_range_string(const String& _str, char fs, char ss) const std 424 modules/core/src/command_line_parser.cpp std::vector<String> vec; std 493 modules/core/src/command_line_parser.cpp std::vector<String> CommandLineParser::Impl::split_string(const String& _str, char symbol, bool create_empty_item) const std 496 modules/core/src/command_line_parser.cpp std::vector<String> vec; std 848 modules/core/src/convert.cpp int total = (int)it.size, blocksize = cn <= 4 ? total : std::min(total, blocksize0); std 854 modules/core/src/convert.cpp int bsz = std::min(total - j, blocksize); std 897 modules/core/src/convert.cpp std::vector<UMat> dst; std 933 modules/core/src/convert.cpp std::vector<Mat> dst; std 994 modules/core/src/convert.cpp int total = (int)it.size, blocksize = cn <= 4 ? total : std::min(total, blocksize0); std 1001 modules/core/src/convert.cpp int bsz = std::min(total - j, blocksize); std 1020 modules/core/src/convert.cpp std::vector<UMat> src, ksrc; std 1085 modules/core/src/convert.cpp std::vector<Mat> mv; std 1224 modules/core/src/convert.cpp int total = (int)it.size, blocksize = std::min(total, (int)((BLOCK_SIZE + esz1-1)/esz1)); std 1237 modules/core/src/convert.cpp int bsz = std::min(total - t, blocksize); std 1254 modules/core/src/convert.cpp static void getUMatIndex(const std::vector<UMat> & um, int cn, int & idx, int & cnidx) std 1282 modules/core/src/convert.cpp std::vector<UMat> src, dst; std 1299 modules/core/src/convert.cpp std::vector<UMat> srcargs(npairs), dstargs(npairs); std 1379 modules/core/src/convert.cpp const std::vector<int>& fromTo) std 1418 modules/core/src/convert.cpp mixChannels(std::vector<UMat>(1, src), std::vector<UMat>(1, dst), ch, 1); std 1439 modules/core/src/convert.cpp mixChannels(std::vector<UMat>(1, src), std::vector<UMat>(1, dst), ch, 1); std 1926 modules/core/src/convert.cpp t0 = saturate_cast<DT>(std::abs(src[x]*scale + shift)); std 1927 modules/core/src/convert.cpp t1 = saturate_cast<DT>(std::abs(src[x+1]*scale + shift)); std 1929 modules/core/src/convert.cpp t0 = saturate_cast<DT>(std::abs(src[x+2]*scale + shift)); std 1930 modules/core/src/convert.cpp t1 = saturate_cast<DT>(std::abs(src[x+3]*scale + shift)); std 1935 modules/core/src/convert.cpp dst[x] = saturate_cast<DT>(std::abs(src[x]*scale + shift)); std 5504 modules/core/src/convert.cpp int wdepth = std::max(depth, CV_32F); std 5687 modules/core/src/convert.cpp int kercn = lcn == 1 ? std::min(4, ocl::predictOptimalVectorWidth(_src, _dst)) : dcn; std 5959 modules/core/src/convert.cpp parallel_for_(all, *body, (double)std::max((size_t)1, dst.total()>>16)); std 5995 modules/core/src/convert.cpp ddepth = CV_MAT_DEPTH(dtype), wdepth = std::max(CV_32F, std::max(sdepth, ddepth)), std 5999 modules/core/src/convert.cpp bool haveScale = std::fabs(scale - 1) > DBL_EPSILON, std 6000 modules/core/src/convert.cpp haveZeroScale = !(std::fabs(scale) > DBL_EPSILON), std 6001 modules/core/src/convert.cpp haveDelta = std::fabs(delta) > DBL_EPSILON, std 6121 modules/core/src/convert.cpp std::vector<cv::Mat> dvec(nz); std 6122 modules/core/src/convert.cpp std::vector<int> pairs(nz*2); std 6157 modules/core/src/convert.cpp std::vector<cv::Mat> svec(nz); std 6158 modules/core/src/convert.cpp std::vector<int> pairs(nz*2); std 562 modules/core/src/copy.cpp int totalsz = (int)it.size, blockSize0 = std::min(totalsz, (int)((BLOCK_SIZE + esz-1)/esz)); std 571 modules/core/src/copy.cpp Size sz(std::min(blockSize0, totalsz - j), 1); std 680 modules/core/src/copy.cpp flipType, kercn = std::min(ocl::predictOptimalVectorWidth(_src, _dst), 4); std 698 modules/core/src/copy.cpp kercn = (cn!=3 || flipType == FLIP_ROWS) ? std::max(kercn, cn) : cn; std 1115 modules/core/src/copy.cpp int dtop = std::min(ofs.y, top); std 1116 modules/core/src/copy.cpp int dbottom = std::min(wholeSize.height - src.rows - ofs.y, bottom); std 1117 modules/core/src/copy.cpp int dleft = std::min(ofs.x, left); std 1118 modules/core/src/copy.cpp int dright = std::min(wholeSize.width - src.cols - ofs.x, right); std 1163 modules/core/src/copy.cpp int dtop = std::min(ofs.y, top); std 1164 modules/core/src/copy.cpp int dbottom = std::min(wholeSize.height - src.rows - ofs.y, bottom); std 1165 modules/core/src/copy.cpp int dleft = std::min(ofs.x, left); std 1166 modules/core/src/copy.cpp int dright = std::min(wholeSize.width - src.cols - ofs.x, right); std 1374 modules/core/src/copy.cpp int pair[] = { std::max(coi1-1, 0), std::max(coi2-1, 0) }; std 226 modules/core/src/cuda_gpu_mat.cpp wholeSize.height = std::max(static_cast<int>((delta2 - minstep) / step + 1), ofs.y + rows); std 227 modules/core/src/cuda_gpu_mat.cpp wholeSize.width = std::max(static_cast<int>((delta2 - step * (wholeSize.height - 1)) / esz), ofs.x + cols); std 238 modules/core/src/cuda_gpu_mat.cpp int row1 = std::max(ofs.y - dtop, 0); std 239 modules/core/src/cuda_gpu_mat.cpp int row2 = std::min(ofs.y + rows + dbottom, wholeSize.height); std 241 modules/core/src/cuda_gpu_mat.cpp int col1 = std::max(ofs.x - dleft, 0); std 242 modules/core/src/cuda_gpu_mat.cpp int col2 = std::min(ofs.x + cols + dright, wholeSize.width); std 308 modules/core/src/cuda_gpu_mat.cpp wholeSize.height = std::max(static_cast<int>((delta2 - minstep) / static_cast<size_t>(obj.step) + 1), obj.rows); std 309 modules/core/src/cuda_gpu_mat.cpp wholeSize.width = std::max(static_cast<int>((delta2 - static_cast<size_t>(obj.step) * (wholeSize.height - 1)) / esz), obj.cols); std 143 modules/core/src/cuda_host_mem.cpp static std::map<unsigned int, Ptr<MatAllocator> > allocators; std 151 modules/core/src/cuda_info.cpp static void fromStr(const char* set_as_str, std::vector<int>& arr); std 153 modules/core/src/cuda_info.cpp std::vector<int> bin; std 154 modules/core/src/cuda_info.cpp std::vector<int> ptx; std 155 modules/core/src/cuda_info.cpp std::vector<int> features; std 174 modules/core/src/cuda_info.cpp return std::find(ptx.begin(), ptx.end(), major * 10 + minor) != ptx.end(); std 179 modules/core/src/cuda_info.cpp return std::find(bin.begin(), bin.end(), major * 10 + minor) != bin.end(); std 197 modules/core/src/cuda_info.cpp void CudaArch::fromStr(const char* set_as_str, std::vector<int>& arr) std 222 modules/core/src/cuda_info.cpp std::sort(arr.begin(), arr.end()); std 314 modules/core/src/cuda_info.cpp std::vector<cudaDeviceProp> props_; std 1243 modules/core/src/cuda_info.cpp size_t idx = std::find_if(errors, errors + n, ErrorEntryComparer(code)) - errors; std 71 modules/core/src/cuda_stream.cpp std::vector<size_t> allocations; std 138 modules/core/src/cuda_stream.cpp std::vector<MemoryStack> stacks_; std 333 modules/core/src/cuda_stream.cpp std::vector<Ptr<Stream> > streams_; std 336 modules/core/src/cuda_stream.cpp std::vector<MemoryPool> pools_; std 254 modules/core/src/directx.cpp std::vector<cl_platform_id> platforms(numPlatforms); std 362 modules/core/src/directx.cpp std::vector<cl_platform_id> platforms(numPlatforms); std 470 modules/core/src/directx.cpp std::vector<cl_platform_id> platforms(numPlatforms); std 580 modules/core/src/directx.cpp std::vector<cl_platform_id> platforms(numPlatforms); std 182 modules/core/src/downhill_simplex.cpp CV_Assert( std::min(_step.cols, _step.rows) == 1 && std 183 modules/core/src/downhill_simplex.cpp std::max(_step.cols, _step.rows) >= 2 && std 336 modules/core/src/downhill_simplex.cpp minval = std::min(minval, pval); std 337 modules/core/src/downhill_simplex.cpp maxval = std::max(maxval, pval); std 339 modules/core/src/downhill_simplex.cpp range = std::max(range, fabs(maxval - minval)); std 345 modules/core/src/downhill_simplex.cpp std::swap(y_[0], y_[ilo]); std 348 modules/core/src/downhill_simplex.cpp std::swap(p.at<double>(0, j), p.at<double>(ilo, j)); std 319 modules/core/src/dxt.cpp w.re = w1.re = std::sqrt(1. - w1.im*w1.im); std 1834 modules/core/src/dxt.cpp std::vector<int> radixes, blocks; std 1928 modules/core/src/dxt.cpp static void ocl_getRadixes(int cols, std::vector<int>& radixes, std::vector<int>& blocks, int& min_radix) std 1998 modules/core/src/dxt.cpp static void fillRadixTable(UMat twiddles, const std::vector<int>& radixes) std 2036 modules/core/src/dxt.cpp std::map<int, Ptr<OCL_FftPlan> >::iterator f = planStorage.find(key); std 2059 modules/core/src/dxt.cpp std::map<int, Ptr<OCL_FftPlan> > planStorage; std 2343 modules/core/src/dxt.cpp std::vector<Ptr<FftPlan> > planStorage; std 3243 modules/core/src/dxt.cpp scale = (!inv ? 2 : 1)*std::sqrt(t); std 3245 modules/core/src/dxt.cpp w1.re = std::sqrt(1. - w1.im*w1.im); std 220 modules/core/src/glob.cpp static void glob_rec(const cv::String& directory, const cv::String& wildchart, std::vector<cv::String>& result, bool recursive) std 260 modules/core/src/glob.cpp void cv::glob(String pattern, std::vector<String>& result, bool recursive) std 292 modules/core/src/glob.cpp std::sort(result.begin(), result.end()); std 51 modules/core/src/kmeans.cpp static void generateRandomCenter(const std::vector<Vec2f>& box, float* center, RNG& rng) std 82 modules/core/src/kmeans.cpp tdist2[i] = std::min(normL2Sqr(data + step*i, data + stepci, dims), dist[i]); std 107 modules/core/src/kmeans.cpp std::vector<int> _centers(K); std 109 modules/core/src/kmeans.cpp std::vector<float> _dist(N*3); std 145 modules/core/src/kmeans.cpp std::swap(tdist, tdist2); std 150 modules/core/src/kmeans.cpp std::swap(dist, tdist); std 229 modules/core/src/kmeans.cpp attempts = std::max(attempts, 1); std 258 modules/core/src/kmeans.cpp std::vector<int> counters(K); std 259 modules/core/src/kmeans.cpp std::vector<Vec2f> _box(dims); std 266 modules/core/src/kmeans.cpp criteria.epsilon = std::max(criteria.epsilon, 0.); std 272 modules/core/src/kmeans.cpp criteria.maxCount = std::min(std::max(criteria.maxCount, 2), 100); std 292 modules/core/src/kmeans.cpp box[j][0] = std::min(box[j][0], v); std 293 modules/core/src/kmeans.cpp box[j][1] = std::max(box[j][1], v); std 426 modules/core/src/kmeans.cpp max_center_shift = std::max(max_center_shift, dist); std 75 modules/core/src/lapack.cpp a = std::abs(a); std 76 modules/core/src/lapack.cpp b = std::abs(b); std 80 modules/core/src/lapack.cpp return a*std::sqrt(1 + b*b); std 85 modules/core/src/lapack.cpp return b*std::sqrt(1 + a*a); std 94 modules/core/src/lapack.cpp const _Tp eps = std::numeric_limits<_Tp>::epsilon(); std 120 modules/core/src/lapack.cpp for( m = k+1, mv = std::abs(A[astep*k + m]), i = k+2; i < n; i++ ) std 122 modules/core/src/lapack.cpp _Tp val = std::abs(A[astep*k+i]); std 130 modules/core/src/lapack.cpp for( m = 0, mv = std::abs(A[k]), i = 1; i < k; i++ ) std 132 modules/core/src/lapack.cpp _Tp val = std::abs(A[astep*i+k]); std 143 modules/core/src/lapack.cpp for( k = 0, mv = std::abs(A[indR[0]]), i = 1; i < n-1; i++ ) std 145 modules/core/src/lapack.cpp _Tp val = std::abs(A[astep*i + indR[i]]); std 152 modules/core/src/lapack.cpp _Tp val = std::abs(A[astep*indC[i] + i]); std 158 modules/core/src/lapack.cpp if( std::abs(p) <= eps ) std 161 modules/core/src/lapack.cpp _Tp t = std::abs(y) + hypot(p, y); std 197 modules/core/src/lapack.cpp for( m = idx+1, mv = std::abs(A[astep*idx + m]), i = idx+2; i < n; i++ ) std 199 modules/core/src/lapack.cpp _Tp val = std::abs(A[astep*idx+i]); std 207 modules/core/src/lapack.cpp for( m = 0, mv = std::abs(A[idx]), i = 1; i < idx; i++ ) std 209 modules/core/src/lapack.cpp _Tp val = std::abs(A[astep*i+idx]); std 229 modules/core/src/lapack.cpp std::swap(W[m], W[k]); std 232 modules/core/src/lapack.cpp std::swap(V[vstep*m + i], V[vstep*k + i]); std 399 modules/core/src/lapack.cpp int i, j, k, iter, max_iter = std::max(m, 30); std 435 modules/core/src/lapack.cpp if( std::abs(p) <= eps*std::sqrt((double)a*b) ) std 443 modules/core/src/lapack.cpp s = (_Tp)std::sqrt(delta/gamma); std 448 modules/core/src/lapack.cpp c = (_Tp)std::sqrt((gamma + beta)/(gamma*2)); std 489 modules/core/src/lapack.cpp W[i] = std::sqrt(sd); std 502 modules/core/src/lapack.cpp std::swap(W[i], W[j]); std 506 modules/core/src/lapack.cpp std::swap(At[i*astep + k], At[j*astep + k]); std 509 modules/core/src/lapack.cpp std::swap(Vt[i*vstep + k], Vt[j*vstep + k]); std 548 modules/core/src/lapack.cpp asum += std::abs(t); std 561 modules/core/src/lapack.cpp sd = std::sqrt(sd); std 619 modules/core/src/lapack.cpp int i, j, nm = std::min(m, n); std 636 modules/core/src/lapack.cpp if( (double)std::abs(wi) <= threshold ) std 805 modules/core/src/lapack.cpp int nm = std::min(m, n); std 1380 modules/core/src/lapack.cpp std::swap(m, n); std 1449 modules/core/src/lapack.cpp int m = u.rows, n = vt.cols, nb = rhs.data ? rhs.cols : m, nm = std::min(m, n); std 1595 modules/core/src/lapack.cpp int m = a.rows, n = a.cols, type = a.type(), mn = std::max(m, n), nm = std::min(m, n); std 29 modules/core/src/lda.cpp inline std::vector<_Tp> remove_dups(const std::vector<_Tp>& src) { std 30 modules/core/src/lda.cpp typedef typename std::set<_Tp>::const_iterator constSetIterator; std 31 modules/core/src/lda.cpp typedef typename std::vector<_Tp>::const_iterator constVecIterator; std 32 modules/core/src/lda.cpp std::set<_Tp> set_elems; std 35 modules/core/src/lda.cpp std::vector<_Tp> elems; std 93 modules/core/src/lda.cpp std::vector<int> indices = _indices.getMat(); std 136 modules/core/src/lda.cpp if (std::abs(a - b) > eps) { std 301 modules/core/src/lda.cpp if (std::abs(yr) > std::abs(yi)) { std 328 modules/core/src/lda.cpp double eps = std::pow(2.0, -52.0); std 340 modules/core/src/lda.cpp for (int j = std::max(i - 1, 0); j < nn; j++) { std 341 modules/core/src/lda.cpp norm = norm + std::abs(H[i][j]); std 352 modules/core/src/lda.cpp s = std::abs(H[l - 1][l - 1]) + std::abs(H[l][l]); std 356 modules/core/src/lda.cpp if (std::abs(H[l][l - 1]) < eps * s) { std 378 modules/core/src/lda.cpp z = std::sqrt(std::abs(q)); std 399 modules/core/src/lda.cpp s = std::abs(x) + std::abs(z); std 402 modules/core/src/lda.cpp r = std::sqrt(p * p + q * q); std 462 modules/core/src/lda.cpp s = std::abs(H[n1][n1 - 1]) + std::abs(H[n1 - 1][n1 - 2]); std 473 modules/core/src/lda.cpp s = std::sqrt(s); std 497 modules/core/src/lda.cpp s = std::abs(p) + std::abs(q) + std::abs(r); std 504 modules/core/src/lda.cpp if (std::abs(H[m][m - 1]) * (std::abs(q) + std::abs(r)) < eps * (std::abs(p) std 505 modules/core/src/lda.cpp * (std::abs(H[m - 1][m - 1]) + std::abs(z) + std::abs( std 527 modules/core/src/lda.cpp x = std::abs(p) + std::abs(q) + std::abs(r); std 537 modules/core/src/lda.cpp s = std::sqrt(p * p + q * q + r * r); std 568 modules/core/src/lda.cpp for (int i = 0; i <= std::min(n1, k + 3); i++) { std 635 modules/core/src/lda.cpp if (std::abs(x) > std::abs(z)) { std 644 modules/core/src/lda.cpp t = std::abs(H[i][n1]); std 658 modules/core/src/lda.cpp if (std::abs(H[n1][n1 - 1]) > std::abs(H[n1 - 1][n1])) { std 697 modules/core/src/lda.cpp vr = eps * norm * (std::abs(w) + std::abs(q) + std::abs(x) std 698 modules/core/src/lda.cpp + std::abs(y) + std::abs(z)); std 704 modules/core/src/lda.cpp if (std::abs(x) > (std::abs(z) + std::abs(q))) { std 719 modules/core/src/lda.cpp t = std::max(std::abs(H[i][n1 - 1]), std::abs(H[i][n1])); std 746 modules/core/src/lda.cpp for (int k = low; k <= std::min(j, high); k++) { std 769 modules/core/src/lda.cpp scale = scale + std::abs(H[i][m - 1]); std 780 modules/core/src/lda.cpp double g = std::sqrt(h); std 987 modules/core/src/lda.cpp std::vector<int> labels; std 1000 modules/core/src/lda.cpp std::vector<int> mapped_labels(labels.size()); std 1001 modules/core/src/lda.cpp std::vector<int> num2label = remove_dups(labels); std 1002 modules/core/src/lda.cpp std::map<int, int> label2num; std 1025 modules/core/src/lda.cpp std::cout << "Warning: Less observations than feature dimension given!" std 1027 modules/core/src/lda.cpp << std::endl; std 1036 modules/core/src/lda.cpp std::vector<Mat> meanClass(C); std 1037 modules/core/src/lda.cpp std::vector<int> numClass(C); std 1085 modules/core/src/lda.cpp std::vector<int> sorted_indices = argsort(_eigenvalues, false); std 52 modules/core/src/lpsolver.cpp using std::vector; std 55 modules/core/src/lpsolver.cpp static void print_simplex_state(const Mat& c,const Mat& b,double v,const std::vector<int> N,const std::vector<int> B){ std 146 modules/core/src/lpsolver.cpp for (std::vector<int>::iterator it = N.begin()+1 ; it != N.end(); ++it){ std 151 modules/core/src/lpsolver.cpp for (std::vector<int>::iterator it = B.begin()+1 ; it != B.end(); ++it){ std 156 modules/core/src/lpsolver.cpp for (std::vector<unsigned int>::iterator it = indexToRow.begin()+1 ; it != indexToRow.end(); ++it){ std 174 modules/core/src/lpsolver.cpp for (std::vector<unsigned int>::iterator it = indexToRow.begin()+1 ; it != indexToRow.end(); ++it){ std 212 modules/core/src/lpsolver.cpp std::iter_swap(iterator,N.begin()); std 243 modules/core/src/lpsolver.cpp for (std::vector<unsigned int>::iterator it = indexToRow.begin()+1 ; it != indexToRow.end(); ++it){ std 104 modules/core/src/mathfuncs.cpp float ax = std::abs(x), ay = std::abs(y); std 227 modules/core/src/mathfuncs.cpp blockSize = std::min(blockSize, ((BLOCK_SIZE+cn-1)/cn)*cn); std 237 modules/core/src/mathfuncs.cpp int len = std::min(total - j, blockSize); std 357 modules/core/src/mathfuncs.cpp int j, k, total = (int)(it.size*cn), blockSize = std::min(total, ((BLOCK_SIZE+cn-1)/cn)*cn); std 371 modules/core/src/mathfuncs.cpp int len = std::min(total - j, blockSize); std 664 modules/core/src/mathfuncs.cpp int j, k, total = (int)(it.size*cn), blockSize = std::min(total, ((BLOCK_SIZE+cn-1)/cn)*cn); std 678 modules/core/src/mathfuncs.cpp int len = std::min(total - j, blockSize); std 732 modules/core/src/mathfuncs.cpp std::memcpy(x, buf[0], sizeof(float) * len); std 733 modules/core/src/mathfuncs.cpp std::memcpy(y, buf[1], sizeof(float) * len); std 1100 modules/core/src/mathfuncs.cpp int p = std::abs(power); std 1143 modules/core/src/mathfuncs.cpp int p = std::abs(power); std 1185 modules/core/src/mathfuncs.cpp std::numeric_limits<T>::max(), 1, power == -1 ? 1 : 0 std 1222 modules/core/src/mathfuncs.cpp int power = std::abs(power0); std 1323 modules/core/src/mathfuncs.cpp bool issqrt = std::abs(power - 0.5) < DBL_EPSILON; std 1419 modules/core/src/mathfuncs.cpp int j, k, blockSize = std::min(len, ((BLOCK_SIZE + cn-1)/cn)*cn); std 1442 modules/core/src/mathfuncs.cpp int bsz = std::min(len - j, blockSize); std 1656 modules/core/src/mathfuncs.cpp a.f = (float)std::max(minVal, (double)-FLT_MAX); std 1657 modules/core/src/mathfuncs.cpp b.f = (float)std::min(maxVal, (double)FLT_MAX); std 1966 modules/core/src/mathfuncs.cpp d = std::sqrt(d); std 1997 modules/core/src/mathfuncs.cpp double theta = acos(R / std::sqrt(Qcubed)); std 1998 modules/core/src/mathfuncs.cpp double sqrtQ = std::sqrt(Q); std 2010 modules/core/src/mathfuncs.cpp d = std::sqrt(-d); std 2011 modules/core/src/mathfuncs.cpp e = std::pow(d + fabs(R), 0.333333333333); std 2068 modules/core/src/mathfuncs.cpp if( std::abs(coeffs[n].re) + std::abs(coeffs[n].im) > DBL_EPSILON ) std 2095 modules/core/src/mathfuncs.cpp maxDiff = std::max(maxDiff, cv::abs(num)); std 1351 modules/core/src/matmul.cpp dm0 = std::min( block_lin_size, d_size.height ); std 1352 modules/core/src/matmul.cpp dn0 = std::min( block_lin_size, d_size.width ); std 1355 modules/core/src/matmul.cpp dk0 = std::min( dk0_1, dk0_2 ); std 1356 modules/core/src/matmul.cpp dk0 = std::min( dk0, len ); std 1425 modules/core/src/matmul.cpp std::swap( a_bl_size.width, a_bl_size.height ); std 1563 modules/core/src/matmul.cpp std::abs(m[0]) < MAX_M && std::abs(m[1]) < MAX_M && std::abs(m[2]) < MAX_M && std::abs(m[3]) < MAX_M*256 && std 1564 modules/core/src/matmul.cpp std::abs(m[4]) < MAX_M && std::abs(m[5]) < MAX_M && std::abs(m[6]) < MAX_M && std::abs(m[7]) < MAX_M*256 && std 1565 modules/core/src/matmul.cpp std::abs(m[8]) < MAX_M && std::abs(m[9]) < MAX_M && std::abs(m[10]) < MAX_M && std::abs(m[11]) < MAX_M*256 ) std 2278 modules/core/src/matmul.cpp int cn = CV_MAT_CN(type), wdepth = std::max(depth, CV_32F); std 2367 modules/core/src/matmul.cpp ctype = std::max(std::max(CV_MAT_DEPTH(ctype >= 0 ? ctype : type), _mean.depth()), CV_32F); std 2404 modules/core/src/matmul.cpp std::vector<cv::Mat> src; std 2412 modules/core/src/matmul.cpp ctype = std::max(std::max(CV_MAT_DEPTH(ctype >= 0 ? ctype : type), _mean.depth()), CV_32F); std 2417 modules/core/src/matmul.cpp for(std::vector<cv::Mat>::iterator each = src.begin(); each != src.end(); each++, i++ ) std 2462 modules/core/src/matmul.cpp ctype = std::max(std::max(CV_MAT_DEPTH(ctype >= 0 ? ctype : type), mean.depth()), CV_32F); std 2474 modules/core/src/matmul.cpp ctype = std::max(CV_MAT_DEPTH(ctype >= 0 ? ctype : type), CV_32F); std 2571 modules/core/src/matmul.cpp return std::sqrt(result); std 2782 modules/core/src/matmul.cpp dtype = std::max(std::max(CV_MAT_DEPTH(dtype >= 0 ? dtype : stype), delta.depth()), CV_32F); std 2943 modules/core/src/matmul.cpp blockSize = std::min(len0 - i, blockSize0); std 2984 modules/core/src/matmul.cpp blockSize = std::min(len0 - i, blockSize0); std 3035 modules/core/src/matmul.cpp blockSize = std::min(len0 - i, blockSize0); std 3078 modules/core/src/matmul.cpp blockSize = std::min(len0 - i, blockSize0); std 3188 modules/core/src/matmul.cpp blockSize = std::min(len0 - i, blockSize0); std 3346 modules/core/src/matmul.cpp std::vector<cv::Mat> data(count); std 233 modules/core/src/matrix.cpp std::swap(a.flags, b.flags); std 234 modules/core/src/matrix.cpp std::swap(a.dims, b.dims); std 235 modules/core/src/matrix.cpp std::swap(a.rows, b.rows); std 236 modules/core/src/matrix.cpp std::swap(a.cols, b.cols); std 237 modules/core/src/matrix.cpp std::swap(a.data, b.data); std 238 modules/core/src/matrix.cpp std::swap(a.datastart, b.datastart); std 239 modules/core/src/matrix.cpp std::swap(a.dataend, b.dataend); std 240 modules/core/src/matrix.cpp std::swap(a.datalimit, b.datalimit); std 241 modules/core/src/matrix.cpp std::swap(a.allocator, b.allocator); std 242 modules/core/src/matrix.cpp std::swap(a.u, b.u); std 244 modules/core/src/matrix.cpp std::swap(a.size.p, b.size.p); std 245 modules/core/src/matrix.cpp std::swap(a.step.p, b.step.p); std 246 modules/core/src/matrix.cpp std::swap(a.step.buf[0], b.step.buf[0]); std 247 modules/core/src/matrix.cpp std::swap(a.step.buf[1], b.step.buf[1]); std 678 modules/core/src/matrix.cpp len = std::min(cols - d, rows); std 683 modules/core/src/matrix.cpp len = std::min(rows + d, cols); std 728 modules/core/src/matrix.cpp reserve( std::max(r + 1, (r*3+1)/2) ); std 751 modules/core/src/matrix.cpp size.p[0] = std::max((int)nelems, 1); std 826 modules/core/src/matrix.cpp reserve( std::max(r + delta, (r*3+1)/2) ); std 900 modules/core/src/matrix.cpp wholeSize.height = std::max(wholeSize.height, ofs.y + rows); std 902 modules/core/src/matrix.cpp wholeSize.width = std::max(wholeSize.width, ofs.x + cols); std 911 modules/core/src/matrix.cpp int row1 = std::max(ofs.y - dtop, 0), row2 = std::min(ofs.y + rows + dbottom, wholeSize.height); std 912 modules/core/src/matrix.cpp int col1 = std::max(ofs.x - dleft, 0), col2 = std::min(ofs.x + cols + dright, wholeSize.width); std 1152 modules/core/src/matrix.cpp const std::vector<uchar>& v = *(const std::vector<uchar>*)obj; std 1161 modules/core/src/matrix.cpp const std::vector<bool>& v = *(const std::vector<bool>*)obj; std 1178 modules/core/src/matrix.cpp const std::vector<std::vector<uchar> >& vv = *(const std::vector<std::vector<uchar> >*)obj; std 1180 modules/core/src/matrix.cpp const std::vector<uchar>& v = vv[i]; std 1187 modules/core/src/matrix.cpp const std::vector<Mat>& v = *(const std::vector<Mat>*)obj; std 1195 modules/core/src/matrix.cpp const std::vector<UMat>& v = *(const std::vector<UMat>*)obj; std 1243 modules/core/src/matrix.cpp const std::vector<UMat>& v = *(const std::vector<UMat>*)obj; std 1260 modules/core/src/matrix.cpp void _InputArray::getMatVector(std::vector<Mat>& mv) const std 1300 modules/core/src/matrix.cpp const std::vector<uchar>& v = *(const std::vector<uchar>*)obj; std 1319 modules/core/src/matrix.cpp const std::vector<std::vector<uchar> >& vv = *(const std::vector<std::vector<uchar> >*)obj; std 1326 modules/core/src/matrix.cpp const std::vector<uchar>& v = vv[i]; std 1334 modules/core/src/matrix.cpp const std::vector<Mat>& v = *(const std::vector<Mat>*)obj; std 1345 modules/core/src/matrix.cpp const std::vector<UMat>& v = *(const std::vector<UMat>*)obj; std 1357 modules/core/src/matrix.cpp void _InputArray::getUMatVector(std::vector<UMat>& umv) const std 1370 modules/core/src/matrix.cpp const std::vector<Mat>& v = *(const std::vector<Mat>*)obj; std 1381 modules/core/src/matrix.cpp const std::vector<UMat>& v = *(const std::vector<UMat>*)obj; std 1493 modules/core/src/matrix.cpp const std::vector<uchar>& v = *(const std::vector<uchar>*)obj; std 1494 modules/core/src/matrix.cpp const std::vector<int>& iv = *(const std::vector<int>*)obj; std 1502 modules/core/src/matrix.cpp const std::vector<bool>& v = *(const std::vector<bool>*)obj; std 1511 modules/core/src/matrix.cpp const std::vector<std::vector<uchar> >& vv = *(const std::vector<std::vector<uchar> >*)obj; std 1515 modules/core/src/matrix.cpp const std::vector<std::vector<int> >& ivv = *(const std::vector<std::vector<int> >*)obj; std 1523 modules/core/src/matrix.cpp const std::vector<Mat>& vv = *(const std::vector<Mat>*)obj; std 1533 modules/core/src/matrix.cpp const std::vector<UMat>& vv = *(const std::vector<UMat>*)obj; std 1592 modules/core/src/matrix.cpp const std::vector<Mat>& vv = *(const std::vector<Mat>*)obj; std 1602 modules/core/src/matrix.cpp const std::vector<UMat>& vv = *(const std::vector<UMat>*)obj; std 1697 modules/core/src/matrix.cpp const std::vector<std::vector<uchar> >& vv = *(const std::vector<std::vector<uchar> >*)obj; std 1706 modules/core/src/matrix.cpp const std::vector<Mat>& vv = *(const std::vector<Mat>*)obj; std 1716 modules/core/src/matrix.cpp const std::vector<UMat>& vv = *(const std::vector<UMat>*)obj; std 1764 modules/core/src/matrix.cpp const std::vector<Mat>& vv = *(const std::vector<Mat>*)obj; std 1774 modules/core/src/matrix.cpp const std::vector<UMat>& vv = *(const std::vector<UMat>*)obj; std 1806 modules/core/src/matrix.cpp const std::vector<UMat>& vv = *(const std::vector<UMat>*)obj; std 1818 modules/core/src/matrix.cpp const std::vector<Mat>& vv = *(const std::vector<Mat>*)obj; std 1869 modules/core/src/matrix.cpp const std::vector<uchar>& v = *(const std::vector<uchar>*)obj; std 1875 modules/core/src/matrix.cpp const std::vector<bool>& v = *(const std::vector<bool>*)obj; std 1884 modules/core/src/matrix.cpp const std::vector<std::vector<uchar> >& vv = *(const std::vector<std::vector<uchar> >*)obj; std 1890 modules/core/src/matrix.cpp const std::vector<Mat>& vv = *(const std::vector<Mat>*)obj; std 1896 modules/core/src/matrix.cpp const std::vector<UMat>& vv = *(const std::vector<UMat>*)obj; std 1929 modules/core/src/matrix.cpp const std::vector<Mat>& vv = *(const std::vector<Mat>*)obj; std 1936 modules/core/src/matrix.cpp const std::vector<UMat>& vv = *(const std::vector<UMat>*)obj; std 1961 modules/core/src/matrix.cpp const std::vector<Mat>& vv = *(const std::vector<Mat>*)obj; std 1968 modules/core/src/matrix.cpp const std::vector<UMat>& vv = *(const std::vector<UMat>*)obj; std 2000 modules/core/src/matrix.cpp const std::vector<Mat>& vv = *(const std::vector<Mat>*)obj; std 2010 modules/core/src/matrix.cpp const std::vector<UMat>& vv = *(const std::vector<UMat>*)obj; std 2048 modules/core/src/matrix.cpp const std::vector<Mat>& vv = *(const std::vector<Mat>*)obj; std 2057 modules/core/src/matrix.cpp const std::vector<UMat>& vv = *(const std::vector<UMat>*)obj; std 2296 modules/core/src/matrix.cpp std::vector<uchar>* v = (std::vector<uchar>*)obj; std 2300 modules/core/src/matrix.cpp std::vector<std::vector<uchar> >& vv = *(std::vector<std::vector<uchar> >*)obj; std 2317 modules/core/src/matrix.cpp CV_Assert(!fixedSize() || len == ((std::vector<uchar>*)v)->size() / esz); std 2321 modules/core/src/matrix.cpp ((std::vector<uchar>*)v)->resize(len); std 2324 modules/core/src/matrix.cpp ((std::vector<Vec2b>*)v)->resize(len); std 2327 modules/core/src/matrix.cpp ((std::vector<Vec3b>*)v)->resize(len); std 2330 modules/core/src/matrix.cpp ((std::vector<int>*)v)->resize(len); std 2333 modules/core/src/matrix.cpp ((std::vector<Vec3s>*)v)->resize(len); std 2336 modules/core/src/matrix.cpp ((std::vector<Vec2i>*)v)->resize(len); std 2339 modules/core/src/matrix.cpp ((std::vector<Vec3i>*)v)->resize(len); std 2342 modules/core/src/matrix.cpp ((std::vector<Vec4i>*)v)->resize(len); std 2345 modules/core/src/matrix.cpp ((std::vector<Vec6i>*)v)->resize(len); std 2348 modules/core/src/matrix.cpp ((std::vector<Vec8i>*)v)->resize(len); std 2351 modules/core/src/matrix.cpp ((std::vector<Vec<int, 9> >*)v)->resize(len); std 2354 modules/core/src/matrix.cpp ((std::vector<Vec<int, 12> >*)v)->resize(len); std 2357 modules/core/src/matrix.cpp ((std::vector<Vec<int, 16> >*)v)->resize(len); std 2360 modules/core/src/matrix.cpp ((std::vector<Vec<int, 32> >*)v)->resize(len); std 2363 modules/core/src/matrix.cpp ((std::vector<Vec<int, 64> >*)v)->resize(len); std 2366 modules/core/src/matrix.cpp ((std::vector<Vec<int, 128> >*)v)->resize(len); std 2382 modules/core/src/matrix.cpp std::vector<Mat>& v = *(std::vector<Mat>*)obj; std 2441 modules/core/src/matrix.cpp std::vector<UMat>& v = *(std::vector<UMat>*)obj; std 2554 modules/core/src/matrix.cpp ((std::vector<std::vector<uchar> >*)obj)->clear(); std 2560 modules/core/src/matrix.cpp ((std::vector<Mat>*)obj)->clear(); std 2566 modules/core/src/matrix.cpp ((std::vector<UMat>*)obj)->clear(); std 2603 modules/core/src/matrix.cpp std::vector<Mat>& v = *(std::vector<Mat>*)obj; std 2620 modules/core/src/matrix.cpp std::vector<UMat>& v = *(std::vector<UMat>*)obj; std 2759 modules/core/src/matrix.cpp std::vector<Mat> src; std 2799 modules/core/src/matrix.cpp std::vector<Mat> src; std 2819 modules/core/src/matrix.cpp kercn = std::min(ocl::predictOptimalVectorWidth(_m), 4); std 2896 modules/core/src/matrix.cpp int nm = std::min(m.rows, m.cols); std 2991 modules/core/src/matrix.cpp std::swap( row[j], *(T*)(data1 + step*j) ); std 3549 modules/core/src/matrix.cpp int wdepth = std::max(ddepth, CV_32F); std 3620 modules/core/src/matrix.cpp size_t globalsize = std::max(dsize.width, dsize.height); std 3876 modules/core/src/matrix.cpp std::sort( ptr, ptr + len ); std 3887 modules/core/src/matrix.cpp std::swap(ptr[j], ptr[len-1-j]); std 4001 modules/core/src/matrix.cpp std::sort( iptr, iptr + len, LessThanIdx<T>(ptr) ); std 4012 modules/core/src/matrix.cpp std::swap(iptr[j], iptr[len-1-j]); std 4338 modules/core/src/matrix.cpp iterdepth = std::max(iterdepth, j); std 4517 modules/core/src/matrix.cpp int y1 = std::min(std::max((int)y, 0), m->rows-1); std 5078 modules/core/src/matrix.cpp newsize = std::max(newsize, (size_t)8); std 5080 modules/core/src/matrix.cpp newsize = (size_t)1 << cvCeil(std::log((double)newsize)/CV_LOG2); std 5083 modules/core/src/matrix.cpp std::vector<size_t> _newh(newsize); std 5111 modules/core/src/matrix.cpp resizeHashTab(std::max(hsize*2, (size_t)8)); std 5118 modules/core/src/matrix.cpp newpsize = std::max(psize*3/2, 8*nsz); std 5122 modules/core/src/matrix.cpp hdr->freeList = std::max(psize, nsz); std 5173 modules/core/src/matrix.cpp const std::vector<size_t>& htab = hdr.hashtab; std 5230 modules/core/src/matrix.cpp result = std::max(result, std::abs((double)it.value<float>())); std 5233 modules/core/src/matrix.cpp result += std::abs(it.value<float>()); std 5245 modules/core/src/matrix.cpp result = std::max(result, std::abs(it.value<double>())); std 5248 modules/core/src/matrix.cpp result += std::abs(it.value<double>()); std 5260 modules/core/src/matrix.cpp result = std::sqrt(result); std 5387 modules/core/src/matrix.cpp Rect r(cvFloor(std::min(std::min(std::min(pt[0].x, pt[1].x), pt[2].x), pt[3].x)), std 5388 modules/core/src/matrix.cpp cvFloor(std::min(std::min(std::min(pt[0].y, pt[1].y), pt[2].y), pt[3].y)), std 5389 modules/core/src/matrix.cpp cvCeil(std::max(std::max(std::max(pt[0].x, pt[1].x), pt[2].x), pt[3].x)), std 5390 modules/core/src/matrix.cpp cvCeil(std::max(std::max(std::max(pt[0].y, pt[1].y), pt[2].y), pt[3].y))); std 2180 modules/core/src/ocl.cpp inline cl_int getStringInfo(Functor f, ObjectType obj, cl_uint name, std::string& param) std 2201 modules/core/src/ocl.cpp static void split(const std::string &s, char delim, std::vector<std::string> &elems) std 2206 modules/core/src/ocl.cpp std::istringstream ss(s); std 2207 modules/core/src/ocl.cpp std::string item; std 2210 modules/core/src/ocl.cpp std::getline(ss, item, delim); std 2219 modules/core/src/ocl.cpp static bool parseOpenCLDeviceConfiguration(const std::string& configurationStr, std 2220 modules/core/src/ocl.cpp std::string& platform, std::vector<std::string>& deviceTypes, std::string& deviceNameOrID) std 2222 modules/core/src/ocl.cpp std::vector<std::string> parts; std 2226 modules/core/src/ocl.cpp std::cerr << "ERROR: Invalid configuration string for OpenCL device" << std::endl; std 2250 modules/core/src/ocl.cpp std::string platform, deviceName; std 2251 modules/core/src/ocl.cpp std::vector<std::string> deviceTypes; std 2256 modules/core/src/ocl.cpp !parseOpenCLDeviceConfiguration(std::string(configuration), platform, deviceTypes, deviceName) std 2286 modules/core/src/ocl.cpp std::vector<cl_platform_id> platforms; std 2303 modules/core/src/ocl.cpp std::string name; std 2305 modules/core/src/ocl.cpp if (name.find(platform) != std::string::npos) std 2313 modules/core/src/ocl.cpp std::cerr << "ERROR: Can't find OpenCL platform by name: " << platform << std::endl; std 2331 modules/core/src/ocl.cpp std::string tempStrDeviceType = deviceTypes[t]; std 2332 modules/core/src/ocl.cpp std::transform( tempStrDeviceType.begin(), tempStrDeviceType.end(), tempStrDeviceType.begin(), tolower ); std 2344 modules/core/src/ocl.cpp std::cerr << "ERROR: Unsupported device type for OpenCL device (GPU, CPU, ACCELERATOR): " << deviceTypes[t] << std::endl; std 2348 modules/core/src/ocl.cpp std::vector<cl_device_id> devices; // TODO Use clReleaseDevice to cleanup std 2368 modules/core/src/ocl.cpp std::string name; std 2377 modules/core/src/ocl.cpp if ( (isID || name.find(deviceName) != std::string::npos) && useGPU) std 2389 modules/core/src/ocl.cpp std::cerr << "ERROR: Requested OpenCL device not found, check configuration: " << (configuration == NULL ? "" : configuration) << std::endl std 2390 modules/core/src/ocl.cpp << " Platform: " << (platform.length() == 0 ? "any" : platform) << std::endl std 2393 modules/core/src/ocl.cpp std::cerr << deviceTypes[t] << " "; std 2395 modules/core/src/ocl.cpp std::cerr << std::endl << " Device name: " << (deviceName.length() == 0 ? "any" : deviceName) << std::endl; std 2591 modules/core/src/ocl.cpp phash.insert(std::pair<HashKey,Program>(k, prog)); std 2598 modules/core/src/ocl.cpp std::vector<Device> devices; std 2610 modules/core/src/ocl.cpp typedef std::map<HashKey, Program> phash_t; std 3149 modules/core/src/ocl.cpp std::list<Image2D> images; std 3793 modules/core/src/ocl.cpp std::list<BufferEntry> allocatedEntries_; // Allocated and used entries std 3794 modules/core/src/ocl.cpp std::list<BufferEntry> reservedEntries_; // LRU order. Allocated, but not used entries std 3799 modules/core/src/ocl.cpp typename std::list<BufferEntry>::iterator i = allocatedEntries_.begin(); std 3818 modules/core/src/ocl.cpp typename std::list<BufferEntry>::iterator i = reservedEntries_.begin(); std 3819 modules/core/src/ocl.cpp typename std::list<BufferEntry>::iterator result_pos = reservedEntries_.end(); std 3933 modules/core/src/ocl.cpp typename std::list<BufferEntry>::iterator i = reservedEntries_.begin(); std 3953 modules/core/src/ocl.cpp typename std::list<BufferEntry>::const_iterator i = reservedEntries_.begin(); std 5171 modules/core/src/ocl.cpp static void getDevices(std::vector<cl_device_id>& devices, cl_platform_id platform) std 5206 modules/core/src/ocl.cpp std::vector<cl_device_id> devices; std 5273 modules/core/src/ocl.cpp static void getPlatforms(std::vector<cl_platform_id>& platforms) std 5288 modules/core/src/ocl.cpp void getPlatfomsInfo(std::vector<PlatformInfo>& platformsInfo) std 5290 modules/core/src/ocl.cpp std::vector<cl_platform_id> platforms; std 5369 modules/core/src/ocl.cpp static std::string kerToStr(const Mat & k) std 5374 modules/core/src/ocl.cpp std::ostringstream stream; std 5385 modules/core/src/ocl.cpp stream.setf(std::ios_base::showpoint); std 5411 modules/core/src/ocl.cpp typedef std::string (* func_t)(const Mat &); std 5476 modules/core/src/ocl.cpp std::vector<size_t> offsets, steps, cols; std 5477 modules/core/src/ocl.cpp std::vector<int> dividers, kercns; std 5495 modules/core/src/ocl.cpp int kercn = *std::min_element(kercns.begin(), kercns.end()); std 106 modules/core/src/out.cpp sprintf(floatFormat, "%%.%dg", std::min(precision, 20)); std 452 modules/core/src/parallel.cpp return std::max(0, (int)Concurrency::Context::VirtualProcessorId()); // zero for master thread, unique number for others but not necessary 1,2,3,... std 218 modules/core/src/parallel_pthreads.cpp std::vector<ForThread> m_threads; std 337 modules/core/src/parallel_pthreads.cpp int end = std::min(start + load.m_nstripes, load.m_range->end); std 422 modules/core/src/parallel_pthreads.cpp nstripes = std::max(nstripes, min_stripes); std 432 modules/core/src/parallel_pthreads.cpp m_work_load.set(range, body, std::ceil(nstripes)); std 563 modules/core/src/parallel_pthreads.cpp result = std::max(1u, result); std 88 modules/core/src/pca.cpp int count = std::min(len, in_count), out_count = count; std 90 modules/core/src/pca.cpp out_count = std::min(count, maxComponents); std 97 modules/core/src/pca.cpp int ctype = std::max(CV_32F, data.depth()); std 197 modules/core/src/pca.cpp L = std::max(2, L); std 227 modules/core/src/pca.cpp int count = std::min(len, in_count); std 234 modules/core/src/pca.cpp int ctype = std::max(CV_32F, data.depth()); std 239 modules/core/src/persistence.cpp std::deque<char>* outbuf; std 248 modules/core/src/persistence.cpp std::copy(str, str + strlen(str), std::back_inserter(*fs->outbuf)); std 2734 modules/core/src/persistence.cpp fs->outbuf = new std::deque<char>; std 5411 modules/core/src/persistence.cpp ofs = std::min(ofs, (int)remaining); std 5415 modules/core/src/persistence.cpp ofs = (int)(remaining - std::min(remaining - ofs, count)); std 5436 modules/core/src/persistence.cpp size_t count = std::min(remaining, maxCount); std 5566 modules/core/src/persistence.cpp void write(FileStorage& fs, const String& objname, const std::vector<KeyPoint>& keypoints) std 5585 modules/core/src/persistence.cpp void read(const FileNode& node, std::vector<KeyPoint>& keypoints) std 5598 modules/core/src/persistence.cpp void write(FileStorage& fs, const String& objname, const std::vector<DMatch>& matches) std 5613 modules/core/src/persistence.cpp void read(const FileNode& node, std::vector<DMatch>& matches) std 143 modules/core/src/precomp.hpp T operator ()(const T a, const T b) const { return std::min(a, b); } std 151 modules/core/src/precomp.hpp T operator ()(const T a, const T b) const { return std::max(a, b); } std 255 modules/core/src/precomp.hpp std::vector<int> implCode; std 256 modules/core/src/precomp.hpp std::vector<String> implFun; std 342 modules/core/src/rand.cpp double q = vn/std::exp(-.5*dn*dn); std 350 modules/core/src/rand.cpp fn[127] = (float)std::exp(-.5*dn*dn); std 354 modules/core/src/rand.cpp dn = std::sqrt(-2.*std::log(vn/dn+std::exp(-.5*dn*dn))); std 357 modules/core/src/rand.cpp fn[i] = (float)std::exp(-.5*dn*dn); std 372 modules/core/src/rand.cpp if( (unsigned)std::abs(hz) < kn[iz] ) std 382 modules/core/src/rand.cpp x = (float)(-std::log(x+FLT_MIN)*0.2904764); std 383 modules/core/src/rand.cpp y = (float)-std::log(y+FLT_MIN); std 392 modules/core/src/rand.cpp if( fn[iz] + y*(fn[iz - 1] - fn[iz]) < std::exp(-.5*x*x) ) std 542 modules/core/src/rand.cpp double a = std::min(p1[j], p2[j]); std 543 modules/core/src/rand.cpp double b = std::max(p1[j], p2[j]); std 546 modules/core/src/rand.cpp a = std::max(a, depth == CV_8U || depth == CV_16U ? 0. : std 548 modules/core/src/rand.cpp b = std::min(b, depth == CV_8U ? 256. : depth == CV_16U ? 65536. : std 578 modules/core/src/rand.cpp ds[j].sh1 = std::min(l, 1); std 579 modules/core/src/rand.cpp ds[j].sh2 = std::max(l - 1, 0); std 601 modules/core/src/rand.cpp fp[j][0] = (float)(std::min(maxdiff, p2[j] - p1[j])*scale); std 610 modules/core/src/rand.cpp dp[j][0] = std::min(DBL_MAX, p2[j] - p1[j])*scale; std 663 modules/core/src/rand.cpp int total = (int)it.size, blockSize = std::min((BLOCK_SIZE + cn - 1)/cn, total); std 716 modules/core/src/rand.cpp int len = std::min(total - j, blockSize); std 760 modules/core/src/rand.cpp std::swap( arr[j], arr[i] ); std 778 modules/core/src/rand.cpp std::swap( p[j0], ((T*)(data + step*i1))[j1] ); std 531 modules/core/src/stat.cpp int blockSizei = std::min(len0 - i, blockSize0), j = 0; std 535 modules/core/src/stat.cpp int blockSizej = std::min(blockSizei - j, blockSize1), k = 0; std 586 modules/core/src/stat.cpp int blockSizei = std::min(len0 - i, blockSize0), j = 0; std 590 modules/core/src/stat.cpp int blockSizej = std::min(blockSizei - j, blockSize1), k = 0; std 638 modules/core/src/stat.cpp int blockSizei = std::min(len0 - i, blockSize0), j = 0; std 642 modules/core/src/stat.cpp int blockSizej = std::min(blockSizei - j, blockSize1), k = 0; std 692 modules/core/src/stat.cpp int blockSizei = std::min(len0 - i, blockSize0), j = 0; std 696 modules/core/src/stat.cpp int blockSizej = std::min(blockSizei - j, blockSize1), k = 0; std 1059 modules/core/src/stat.cpp mcn = std::max(cn, kercn); std 1069 modules/core/src/stat.cpp int ddepth = std::max(sum_op == OCL_OP_SUM_SQR ? CV_32F : CV_32S, depth), std 1219 modules/core/src/stat.cpp blockSize = std::min(blockSize, intSumBlockSize); std 1232 modules/core/src/stat.cpp int bsz = std::min(total - j, blockSize); std 1467 modules/core/src/stat.cpp blockSize = std::min(blockSize, intSumBlockSize); std 1480 modules/core/src/stat.cpp int bsz = std::min(total - j, blockSize); std 1525 modules/core/src/stat.cpp int ddepth = std::max(CV_32S, depth), sqddepth = std::max(CV_32F, depth), std 1591 modules/core/src/stat.cpp stddev[i] = std::sqrt(std::max(stddev[i] * total - mean[i] * mean[i] , 0.)); std 1765 modules/core/src/stat.cpp blockSize = std::min(blockSize, intSumBlockSize); std 1778 modules/core/src/stat.cpp int bsz = std::min(total - j, blockSize); std 1809 modules/core/src/stat.cpp sq[k] = std::sqrt(std::max(sq[k]*scale - s[k]*s[k], 0.)); std 1959 modules/core/src/stat.cpp uint index_max = std::numeric_limits<uint>::max(); std 1960 modules/core/src/stat.cpp T minval = std::numeric_limits<T>::max(); std 1961 modules/core/src/stat.cpp T maxval = std::numeric_limits<T>::min() > 0 ? -std::numeric_limits<T>::max() : std::numeric_limits<T>::min(), maxval2 = maxval; std 1997 modules/core/src/stat.cpp minloc = std::min(minlocptr[i], minloc); std 2011 modules/core/src/stat.cpp maxloc = std::min(maxlocptr[i], maxloc); std 2061 modules/core/src/stat.cpp kercn = haveMask ? cn : std::min(4, ocl::predictOptimalVectorWidth(_src, _src2)); std 2342 modules/core/src/stat.cpp std::swap(minLoc->x, minLoc->y); std 2344 modules/core/src/stat.cpp std::swap(maxLoc->x, maxLoc->y); std 2360 modules/core/src/stat.cpp result = std::max(result, normInf<T, ST>(src, len*cn)); std 2368 modules/core/src/stat.cpp result = std::max(result, ST(cv_abs(src[k]))); std 2426 modules/core/src/stat.cpp result = std::max(result, normInf<T, ST>(src1, src2, len*cn)); std 2434 modules/core/src/stat.cpp result = std::max(result, (ST)std::abs(src1[k] - src2[k])); std 2455 modules/core/src/stat.cpp result += std::abs(src1[k] - src2[k]); std 2587 modules/core/src/stat.cpp std::max(depth, CV_32S), depth != CV_8U && depth != CV_16U)) std 2606 modules/core/src/stat.cpp result = normType == NORM_L1 || normType == NORM_L2SQR ? s : std::sqrt(s); std 2784 modules/core/src/stat.cpp normType == NORM_INF ? std::max(norm, norm_array[i]) : std 2790 modules/core/src/stat.cpp return normType == NORM_L2 ? (double)std::sqrt(norm) : (double)norm; std 2812 modules/core/src/stat.cpp return std::sqrt(result); std 2900 modules/core/src/stat.cpp blockSize = std::min(blockSize, intSumBlockSize); std 2909 modules/core/src/stat.cpp int bsz = std::min(total - j, blockSize); std 2934 modules/core/src/stat.cpp result.d = std::sqrt(result.d); std 2964 modules/core/src/stat.cpp if (!ocl_minMaxIdx(_src1, NULL, &sc1[0], NULL, NULL, _mask, std::max(CV_32S, depth), std 2980 modules/core/src/stat.cpp result = std::sqrt(result); std 2982 modules/core/src/stat.cpp s2 = std::sqrt(s2); std 3200 modules/core/src/stat.cpp normType == NORM_INF ? std::max(std::max(norm1, norm2), norm3) : std 3202 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR ? std::sqrt(norm1 * norm1 + norm2 * norm2 + norm3 * norm3) : std 3280 modules/core/src/stat.cpp normType == NORM_INF ? std::max(norm, norm_array[i]) : std 3286 modules/core/src/stat.cpp return normType == NORM_L2 ? (double)std::sqrt(norm) : (double)norm; std 3309 modules/core/src/stat.cpp return std::sqrt(result); std 3385 modules/core/src/stat.cpp blockSize = std::min(blockSize, intSumBlockSize); std 3394 modules/core/src/stat.cpp int bsz = std::min(total - j, blockSize); std 3420 modules/core/src/stat.cpp result.d = std::sqrt(result.d); std 3443 modules/core/src/stat.cpp _Rt val0 = std::numeric_limits<_Rt>::max(); std 3461 modules/core/src/stat.cpp _Rt val0 = std::numeric_limits<_Rt>::max(); std 3475 modules/core/src/stat.cpp dist[i] = std::sqrt(normL2Sqr<_Tp, _Rt>(src1, src2 + step2*i, len)); std 3479 modules/core/src/stat.cpp _Rt val0 = std::numeric_limits<_Rt>::max(); std 3481 modules/core/src/stat.cpp dist[i] = mask[i] ? std::sqrt(normL2Sqr<_Tp, _Rt>(src1, src2 + step2*i, len)) : val0; std 3664 modules/core/src/stat.cpp K = std::min(K, src2.rows); std 3788 modules/core/src/stat.cpp double diff = std::sqrt(norm(_src1, _src2, NORM_L2SQR)/(_src1.total()*_src1.channels())); std 119 modules/core/src/system.cpp std::wstring GetTempPathWinRT() std 122 modules/core/src/system.cpp return std::wstring(Windows::Storage::ApplicationData::Current->TemporaryFolder->Path->Data()); std 130 modules/core/src/system.cpp std::wstring wstr; std 151 modules/core/src/system.cpp std::wstring GetTempFileNameWinRT(std::wstring prefix) std 162 modules/core/src/system.cpp return prefix.append(std::wstring(guidStr)); std 535 modules/core/src/system.cpp buf.resize(std::max(bsize << 1, len + 1)); std 552 modules/core/src/system.cpp std::wstring temp_dir = GetTempPathWinRT(); std 554 modules/core/src/system.cpp std::wstring temp_file = GetTempFileNameWinRT(L"ocv"); std 558 modules/core/src/system.cpp temp_file = temp_dir.append(std::wstring(L"\\")).append(temp_file); std 927 modules/core/src/system.cpp std::vector<void*> tlsData_; std 1064 modules/core/src/system.cpp std::vector<TLSDataContainer*> tlsContainers_; std 1197 modules/core/src/system.cpp int getImpl(std::vector<int> &impl, std::vector<String> &funName) std 63 modules/core/src/types.cpp void KeyPoint::convert(const std::vector<KeyPoint>& keypoints, std::vector<Point2f>& points2f, std 64 modules/core/src/types.cpp const std::vector<int>& keypointIndexes) std 89 modules/core/src/types.cpp void KeyPoint::convert( const std::vector<Point2f>& points2f, std::vector<KeyPoint>& keypoints, std 111 modules/core/src/types.cpp if( std::min( a, b ) + c <= std::max( a, b ) ) std 112 modules/core/src/types.cpp return std::min( a_2, b_2 ) / std::max( a_2, b_2 ); std 99 modules/core/src/umatrix.cpp std::swap(a.flags, b.flags); std 100 modules/core/src/umatrix.cpp std::swap(a.dims, b.dims); std 101 modules/core/src/umatrix.cpp std::swap(a.rows, b.rows); std 102 modules/core/src/umatrix.cpp std::swap(a.cols, b.cols); std 103 modules/core/src/umatrix.cpp std::swap(a.allocator, b.allocator); std 104 modules/core/src/umatrix.cpp std::swap(a.u, b.u); std 105 modules/core/src/umatrix.cpp std::swap(a.offset, b.offset); std 107 modules/core/src/umatrix.cpp std::swap(a.size.p, b.size.p); std 108 modules/core/src/umatrix.cpp std::swap(a.step.p, b.step.p); std 109 modules/core/src/umatrix.cpp std::swap(a.step.buf[0], b.step.buf[0]); std 110 modules/core/src/umatrix.cpp std::swap(a.step.buf[1], b.step.buf[1]); std 413 modules/core/src/umatrix.cpp len = std::min(cols - d, rows); std 418 modules/core/src/umatrix.cpp len = std::min(rows + d, cols); std 454 modules/core/src/umatrix.cpp wholeSize.height = std::max(wholeSize.height, ofs.y + rows); std 456 modules/core/src/umatrix.cpp wholeSize.width = std::max(wholeSize.width, ofs.x + cols); std 466 modules/core/src/umatrix.cpp int row1 = std::max(ofs.y - dtop, 0), row2 = std::min(ofs.y + rows + dbottom, wholeSize.height); std 467 modules/core/src/umatrix.cpp int col1 = std::max(ofs.x - dleft, 0), col2 = std::min(ofs.x + cols + dright, wholeSize.width); std 712 modules/core/src/umatrix.cpp bool noScale = std::fabs(alpha - 1) < DBL_EPSILON && std::fabs(beta) < DBL_EPSILON; std 732 modules/core/src/umatrix.cpp int wdepth = std::max(CV_32F, sdepth), rowsPerWI = 4; std 779 modules/core/src/umatrix.cpp int kercn = haveMask || cn == 3 ? cn : std::max(cn, ocl::predictOptimalVectorWidth(*this)), std 868 modules/core/src/umatrix.cpp int ddepth = std::max(CV_32F, depth); std 149 modules/core/test/ocl/test_arithm.cpp randomSubMat(src2, src2_roi, roiSize, src2Border, type, std::max(-1540., minV), std::min(1740., maxV)); std 1217 modules/core/test/ocl/test_arithm.cpp return std::abs(actual - expected) < eps*(1 + std::abs(actual)); std 1664 modules/core/test/ocl/test_arithm.cpp ptr[x] = randomInt(-1, 1) == 0 ? std::numeric_limits<float>::quiet_NaN() : ptr[x]; std 1712 modules/core/test/ocl/test_arithm.cpp PARAM_TEST_CASE(Reduce, std::pair<MatDepth, MatDepth>, Channels, int, bool) std 1722 modules/core/test/ocl/test_arithm.cpp const std::pair<MatDepth, MatDepth> p = GET_PARAM(0); std 1852 modules/core/test/ocl/test_arithm.cpp OCL_INSTANTIATE_TEST_CASE_P(Arithm, ReduceSum, Combine(testing::Values(std::make_pair<MatDepth, MatDepth>(CV_8U, CV_32S), std 1853 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_8U, CV_32F), std 1854 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_8U, CV_64F), std 1855 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_16U, CV_32F), std 1856 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_16U, CV_64F), std 1857 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_16S, CV_32F), std 1858 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_16S, CV_64F), std 1859 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_32F, CV_32F), std 1860 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_32F, CV_64F), std 1861 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_64F, CV_64F)), std 1863 modules/core/test/ocl/test_arithm.cpp OCL_INSTANTIATE_TEST_CASE_P(Arithm, ReduceAvg, Combine(testing::Values(std::make_pair<MatDepth, MatDepth>(CV_8U, CV_32S), std 1864 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_8U, CV_32F), std 1865 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_8U, CV_64F), std 1866 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_16U, CV_32F), std 1867 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_16U, CV_64F), std 1868 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_16S, CV_32F), std 1869 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_16S, CV_64F), std 1870 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_32F, CV_32F), std 1871 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_32F, CV_64F), std 1872 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_64F, CV_64F)), std 1874 modules/core/test/ocl/test_arithm.cpp OCL_INSTANTIATE_TEST_CASE_P(Arithm, ReduceMax, Combine(testing::Values(std::make_pair<MatDepth, MatDepth>(CV_8U, CV_8U), std 1875 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_16U, CV_16U), std 1876 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_16S, CV_16S), std 1877 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_32F, CV_32F), std 1878 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_64F, CV_64F)), std 1880 modules/core/test/ocl/test_arithm.cpp OCL_INSTANTIATE_TEST_CASE_P(Arithm, ReduceMin, Combine(testing::Values(std::make_pair<MatDepth, MatDepth>(CV_8U, CV_8U), std 1881 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_16U, CV_16U), std 1882 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_16S, CV_16S), std 1883 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_32F, CV_32F), std 1884 modules/core/test/ocl/test_arithm.cpp std::make_pair<MatDepth, MatDepth>(CV_64F, CV_64F)), std 68 modules/core/test/ocl/test_channels.cpp std::vector<Mat> src_roi; std 69 modules/core/test/ocl/test_channels.cpp std::vector<UMat> usrc_roi; std 159 modules/core/test/ocl/test_channels.cpp std::vector<Mat> dst_roi, dst; std 160 modules/core/test/ocl/test_channels.cpp std::vector<UMat> udst_roi, udst; std 244 modules/core/test/ocl/test_channels.cpp std::vector<Mat> src_roi, dst_roi, dst; std 245 modules/core/test/ocl/test_channels.cpp std::vector<UMat> usrc_roi, udst_roi, udst; std 246 modules/core/test/ocl/test_channels.cpp std::vector<int> fromTo; std 339 modules/core/test/ocl/test_channels.cpp int npairs = randomInt(1, std::min(scntotal, dcntotal) + 1); std 24 modules/core/test/ocl/test_image2d.cpp std::cout << "OpenCL runtime not found. Test skipped." << std::endl; std 35 modules/core/test/ocl/test_image2d.cpp std::cout << "OpenCL runtime not found. Test skipped." << std::endl; std 59 modules/core/test/ocl/test_image2d.cpp std::cout << "Impossible to create alias for selected image. Test skipped." << std::endl; std 63 modules/core/test/ocl/test_image2d.cpp std::cout << "OpenCL runtime not found. Test skipped" << std::endl; std 85 modules/core/test/ocl/test_image2d.cpp std::cout << "CV_8UC1 is not supported for OpenCL images. Test skipped." << std::endl; std 91 modules/core/test/ocl/test_image2d.cpp std::cout << "OpenCL runtime not found. Test skipped." << std::endl; std 4 modules/core/test/test_arithm.cpp using namespace std; std 201 modules/core/test/test_arithm.cpp minval = std::max(minval, -30000.); std 202 modules/core/test/test_arithm.cpp maxval = std::min(maxval, 30000.); std 672 modules/core/test/test_arithm.cpp gamma1[i] = std::max(gamma[i], temp[i]); std 673 modules/core/test/test_arithm.cpp gamma[i] = std::min(gamma[i], temp[i]); std 914 modules/core/test/test_arithm.cpp ((float*)dptr)[j] = std::exp(((const float*)sptr)[j]); std 919 modules/core/test/test_arithm.cpp ((double*)dptr)[j] = std::exp(((const double*)sptr)[j]); std 943 modules/core/test/test_arithm.cpp ((float*)dptr)[j] = (float)std::log(fabs(((const float*)sptr)[j])); std 948 modules/core/test/test_arithm.cpp ((double*)dptr)[j] = std::log(fabs(((const double*)sptr)[j])); std 1037 modules/core/test/test_arithm.cpp mptr[j] = std::sqrt(xptr[j]*xptr[j] + yptr[j]*yptr[j]); std 1052 modules/core/test/test_arithm.cpp mptr[j] = std::sqrt(xptr[j]*xptr[j] + yptr[j]*yptr[j]); std 1212 modules/core/test/test_arithm.cpp sqmean[c] = std::sqrt(std::max(sqmean[c] - mean[c]*mean[c], 0.)); std 1223 modules/core/test/test_arithm.cpp err = std::max(err, sqmeanRef[i]); std 1582 modules/core/test/test_arithm.cpp class SubtractOutputMatNotEmpty : public testing::TestWithParam< std::tr1::tuple<cv::Size, perf::MatType, perf::MatDepth, bool> > std 1592 modules/core/test/test_arithm.cpp size = std::tr1::get<0>(GetParam()); std 1593 modules/core/test/test_arithm.cpp src_type = std::tr1::get<1>(GetParam()); std 1594 modules/core/test/test_arithm.cpp dst_depth = std::tr1::get<2>(GetParam()); std 1595 modules/core/test/test_arithm.cpp fixed = std::tr1::get<3>(GetParam()); std 1807 modules/core/test/test_arithm.cpp std::vector<bool> test; std 45 modules/core/test/test_concatenation.cpp using namespace std; std 49 modules/core/test/test_conjugate_gradient.cpp std::cout<<"res:\n\t"<<res<<std::endl; std 50 modules/core/test/test_conjugate_gradient.cpp std::cout<<"x:\n\t"<<x<<std::endl; std 51 modules/core/test/test_conjugate_gradient.cpp std::cout<<"etalon_res:\n\t"<<etalon_res<<std::endl; std 52 modules/core/test/test_conjugate_gradient.cpp std::cout<<"etalon_x:\n\t"<<etalon_x<<std::endl; std 54 modules/core/test/test_conjugate_gradient.cpp ASSERT_TRUE(std::abs(res-etalon_res)<tol); std 58 modules/core/test/test_conjugate_gradient.cpp std::cout<<"--------------------------\n"; std 47 modules/core/test/test_countnonzero.cpp using namespace std; std 82 modules/core/test/test_countnonzero.cpp CV_CountNonZeroTest::CV_CountNonZeroTest(): eps_32(std::numeric_limits<float>::min()), eps_64(std::numeric_limits<double>::min()), src(Mat()), current_type(-1) {} std 54 modules/core/test/test_downhill_simplex.cpp ASSERT_TRUE(std::equal(step.begin<double>(),step.end<double>(),settedStep.begin<double>())); std 55 modules/core/test/test_downhill_simplex.cpp std::cout<<"step setted:\n\t"<<step<<std::endl; std 57 modules/core/test/test_downhill_simplex.cpp std::cout<<"res:\n\t"<<res<<std::endl; std 58 modules/core/test/test_downhill_simplex.cpp std::cout<<"x:\n\t"<<x<<std::endl; std 59 modules/core/test/test_downhill_simplex.cpp std::cout<<"etalon_res:\n\t"<<etalon_res<<std::endl; std 60 modules/core/test/test_downhill_simplex.cpp std::cout<<"etalon_x:\n\t"<<etalon_x<<std::endl; std 62 modules/core/test/test_downhill_simplex.cpp ASSERT_TRUE(std::abs(res-etalon_res)<tol); std 66 modules/core/test/test_downhill_simplex.cpp std::cout<<"--------------------------\n"; std 4 modules/core/test/test_ds.cpp using namespace std; std 4 modules/core/test/test_dxt.cpp using namespace std; std 47 modules/core/test/test_eigen.cpp using namespace std; std 176 modules/core/test/test_eigen.cpp std::cout << endl; std::cout << "Checking sizes of eigen values matrix " << evalues << "..." << endl; std 177 modules/core/test/test_eigen.cpp std::cout << "Number of rows: " << evalues.rows << " Number of cols: " << evalues.cols << endl; std 178 modules/core/test/test_eigen.cpp std::cout << "Size of src symmetric matrix: " << src.rows << " * " << src.cols << endl; std::cout << endl; std 192 modules/core/test/test_eigen.cpp std::cout << endl; std::cout << "Checking sizes of eigen vectors matrix " << evectors << "..." << endl; std 193 modules/core/test/test_eigen.cpp std::cout << "Number of rows: " << evectors.rows << " Number of cols: " << evectors.cols << endl; std 194 modules/core/test/test_eigen.cpp std:: cout << "Size of src symmetric matrix: " << src.rows << " * " << src.cols << endl; std::cout << endl; std 201 modules/core/test/test_eigen.cpp std::cout << endl; std::cout << "Checking sizes of eigen values matrix " << evalues << "..." << endl; std 202 modules/core/test/test_eigen.cpp std::cout << "Number of rows: " << evalues.rows << " Number of cols: " << evalues.cols << endl; std 203 modules/core/test/test_eigen.cpp std:: cout << "Size of src symmetric matrix: " << src.rows << " * " << src.cols << endl; std::cout << endl; std 215 modules/core/test/test_eigen.cpp case cv::NORM_L1: std::cout << "L1"; break; std 216 modules/core/test/test_eigen.cpp case cv::NORM_L2: std::cout << "L2"; break; std 217 modules/core/test/test_eigen.cpp case cv::NORM_INF: std::cout << "INF"; break; std 240 modules/core/test/test_eigen.cpp std::cout << endl; std::cout << "Checking orthogonality of matrix " << U << ": "; std 259 modules/core/test/test_eigen.cpp std::cout << endl; std::cout << "Checking order of eigen values vector " << eigen_values << "..." << endl; std 260 modules/core/test/test_eigen.cpp std::cout << "Pair of indexes with non ascending of eigen values: (" << i << ", " << i+1 << ")." << endl; std 261 modules/core/test/test_eigen.cpp std::cout << endl; std 274 modules/core/test/test_eigen.cpp std::cout << endl; std::cout << "Checking order of eigen values vector " << eigen_values << "..." << endl; std 275 modules/core/test/test_eigen.cpp std::cout << "Pair of indexes with non ascending of eigen values: (" << i << ", " << i+1 << ")." << endl; std 276 modules/core/test/test_eigen.cpp std::cout << endl; std 349 modules/core/test/test_eigen.cpp std::cout << endl; std::cout << "Checking accuracy of eigen vectors computing for matrix " << src << ": "; std 378 modules/core/test/test_eigen.cpp std::cout << endl; std::cout << "Checking accuracy of eigen values computing for matrix " << src << ": "; std 396 modules/core/test/test_eigen.cpp int src_size = (int)(std::pow(2.0, (rand()%MAX_DEGREE)+1.)); std 95 modules/core/test/test_hal_core.cpp min_hal_t = std::min(min_hal_t, t); std 113 modules/core/test/test_hal_core.cpp min_ocv_t = std::min(min_ocv_t, t); std 176 modules/core/test/test_hal_core.cpp min_hal_t = std::min(min_hal_t, t); std 181 modules/core/test/test_hal_core.cpp min_ocv_t = std::min(min_ocv_t, t); std 4 modules/core/test/test_io.cpp using namespace std; std 545 modules/core/test/test_io.cpp std::string patternLena = cvtest::TS::ptr()->get_data_path() + "lena*.*"; std 546 modules/core/test/test_io.cpp std::string patternLenaPng = cvtest::TS::ptr()->get_data_path() + "lena.png"; std 548 modules/core/test/test_io.cpp std::vector<String> lenas, pngLenas; std 556 modules/core/test/test_io.cpp ASSERT_NE(std::find(lenas.begin(), lenas.end(), pngLenas[i]), lenas.end()); std 562 modules/core/test/test_io.cpp std::string file = cv::tempfile(".xml"); std 8 modules/core/test/test_ippasync.cpp using namespace std; std 51 modules/core/test/test_lpsolver.cpp std::cout<<"here A goes\n"<<A<<"\n"; std 53 modules/core/test/test_lpsolver.cpp std::cout<<"here z goes\n"<<z<<"\n"; std 62 modules/core/test/test_lpsolver.cpp std::cout<<"here A goes\n"<<A<<"\n"; std 64 modules/core/test/test_lpsolver.cpp std::cout<<"here z goes\n"<<z<<"\n"; std 73 modules/core/test/test_lpsolver.cpp std::cout<<"here A goes\n"<<A<<"\n"; std 75 modules/core/test/test_lpsolver.cpp std::cout<<"here z goes\n"<<z<<"\n"; std 88 modules/core/test/test_lpsolver.cpp std::cout<<"here A goes\n"<<A<<"\n"; std 90 modules/core/test/test_lpsolver.cpp std::cout<<"here z goes\n"<<z<<"\n"; std 103 modules/core/test/test_lpsolver.cpp std::cout<<"here A goes\n"<<A<<"\n"; std 116 modules/core/test/test_lpsolver.cpp std::cout<<"here A goes\n"<<A<<"\n"; std 120 modules/core/test/test_lpsolver.cpp std::cout<<"here z goes\n"<<z<<"\n"; std 133 modules/core/test/test_lpsolver.cpp std::cout<<"here A goes\n"<<A<<"\n"; std 137 modules/core/test/test_lpsolver.cpp std::cout<<"here z goes\n"<<z<<"\n"; std 6 modules/core/test/test_mat.cpp using namespace std; std 53 modules/core/test/test_mat.cpp max_(0, ci) = std::max( max_(0, ci), (double)src_(ri, ci) ); std 54 modules/core/test/test_mat.cpp min_(0, ci) = std::min( min_(0, ci), (double)src_(ri, ci) ); std 65 modules/core/test/test_mat.cpp max_(ri, 0) = std::max( max_(ri, 0), (double)src_(ri, ci) ); std 66 modules/core/test/test_mat.cpp min_(ri, 0) = std::min( min_(ri, 0), (double)src_(ri, ci) ); std 1197 modules/core/test/test_mat.cpp std::vector<uchar> dst8; std 1198 modules/core/test/test_mat.cpp std::vector<ushort> dst16; std 10 modules/core/test/test_math.cpp using namespace std; std 2194 modules/core/test/test_math.cpp typedef std::complex<double> complex_type; std 2236 modules/core/test/test_math.cpp std::vector<complex_type> r(n), ar(n), c(n + 1, 0); std 2237 modules/core/test/test_math.cpp std::vector<double> a(n + 1), u(n * 2), ar1(n), ar2(n); std 2248 modules/core/test/test_math.cpp r[j + 1] = std::conj(r[j]); std 2285 modules/core/test/test_math.cpp std::sort(r.begin(), r.end(), pred_complex()); std 2286 modules/core/test/test_math.cpp std::sort(ar.begin(), ar.end(), pred_complex()); std 2301 modules/core/test/test_math.cpp std::sort(ar2.begin(), ar2.begin()+nr2, pred_double()); std 2665 modules/core/test/test_math.cpp std::vector<cv::Point2f> data0(N0); std 2668 modules/core/test/test_math.cpp std::vector<cv::Point2f> data(N); std 2737 modules/core/test/test_math.cpp std::cout << labels << std::endl; std 2767 modules/core/test/test_math.cpp std::vector<cv::Mat> srcVec; std 2802 modules/core/test/test_math.cpp std::vector<cv::Mat> srcVec; std 2851 modules/core/test/test_math.cpp for( int k = 0; k < std::abs(ipower); k++ ) std 2857 modules/core/test/test_math.cpp r0 = std::pow(val, power); std 4 modules/core/test/test_misc.cpp using namespace std; std 53 modules/core/test/test_operations.cpp using namespace std; std 484 modules/core/test/test_operations.cpp std::vector<float>coords; std 4 modules/core/test/test_rand.cpp using namespace std; std 139 modules/core/test/test_rand.cpp std::swap(a, b); std 45 modules/core/test/test_rotatedrect.cpp using namespace std; std 419 modules/core/test/test_umat.cpp roi_shift_x = std::max(0, roi.x-adjLeft); std 420 modules/core/test/test_umat.cpp roi_shift_y = std::max(0, roi.y-adjTop); std 421 modules/core/test/test_umat.cpp Rect new_roi( roi_shift_x, roi_shift_y, std::min(roi.width+adjRight+adjLeft, size.width-roi_shift_x), std::min(roi.height+adjBot+adjTop, size.height-roi_shift_y) ); std 550 modules/core/test/test_umat.cpp std::cout << "Skipped, no OpenCL" << std::endl; std 733 modules/core/test/test_umat.cpp std::cout << "m: " << std::endl << m << std::endl; std 734 modules/core/test/test_umat.cpp std::cout << "ref: " << std::endl << ref << std::endl; std 902 modules/core/test/test_umat.cpp std::cout << "data processed..." << std::endl; std 904 modules/core/test/test_umat.cpp std::cout << "leave ProcessData()" << std::endl; std 439 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void merge(const std::vector<GpuMat>& src, OutputArray dst, Stream& stream = Stream::Null()); std 451 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void split(InputArray src, std::vector<GpuMat>& dst, Stream& stream = Stream::Null()); std 45 modules/cudaarithm/perf/perf_arithm.cpp using namespace std; std 45 modules/cudaarithm/perf/perf_core.cpp using namespace std; std 63 modules/cudaarithm/perf/perf_core.cpp std::vector<cv::Mat> src(channels); std 72 modules/cudaarithm/perf/perf_core.cpp std::vector<cv::cuda::GpuMat> d_src(channels); std 110 modules/cudaarithm/perf/perf_core.cpp std::vector<cv::cuda::GpuMat> dst; std 122 modules/cudaarithm/perf/perf_core.cpp std::vector<cv::Mat> dst; std 45 modules/cudaarithm/perf/perf_element_operations.cpp using namespace std; std 45 modules/cudaarithm/perf/perf_reductions.cpp using namespace std; std 80 modules/cudaarithm/src/arithm.cpp size_t idx = std::find_if(errors, errors + n, ErrorEntryComparer(code)) - errors; std 337 modules/cudaarithm/src/arithm.cpp dft_size_opt.width = std::max(dft_size.width, dft_size.height); std 338 modules/cudaarithm/src/arithm.cpp dft_size_opt.height = std::min(dft_size.width, dft_size.height); std 434 modules/cudaarithm/src/arithm.cpp dft_size.width = 1 << int(ceil(std::log(block_size.width + templ_size.width - 1.) / std::log(2.))); std 435 modules/cudaarithm/src/arithm.cpp dft_size.height = 1 << int(ceil(std::log(block_size.height + templ_size.height - 1.) / std::log(2.))); std 445 modules/cudaarithm/src/arithm.cpp dft_size.width = std::max(dft_size.width, 512); std 446 modules/cudaarithm/src/arithm.cpp dft_size.height = std::max(dft_size.height, 512); std 458 modules/cudaarithm/src/arithm.cpp block_size.width = std::min(dft_size.width - templ_size.width + 1, result_size.width); std 459 modules/cudaarithm/src/arithm.cpp block_size.height = std::min(dft_size.height - templ_size.height + 1, result_size.height); std 466 modules/cudaarithm/src/arithm.cpp width = std::min(width, result_size.width); std 467 modules/cudaarithm/src/arithm.cpp height = std::min(height, result_size.height); std 503 modules/cudaarithm/src/arithm.cpp Size image_roi_size(std::min(x + dft_size.width, image.cols) - x, std 504 modules/cudaarithm/src/arithm.cpp std::min(y + dft_size.height, image.rows) - y); std 517 modules/cudaarithm/src/arithm.cpp Size result_roi_size(std::min(x + block_size.width, result.cols) - x, std 518 modules/cudaarithm/src/arithm.cpp std::min(y + block_size.height, result.rows) - y); std 51 modules/cudaarithm/src/core.cpp void cv::cuda::merge(const std::vector<GpuMat>&, OutputArray, Stream&) { throw_no_cuda(); } std 54 modules/cudaarithm/src/core.cpp void cv::cuda::split(InputArray, std::vector<GpuMat>&, Stream&) { throw_no_cuda(); } std 201 modules/cudaarithm/test/test_arithm.cpp void testC2C(const std::string& hint, int cols, int rows, int flags, bool inplace) std 253 modules/cudaarithm/test/test_arithm.cpp void testR2CThenC2R(const std::string& hint, int cols, int rows, bool inplace) std 322 modules/cudaarithm/test/test_arithm.cpp C.create(std::abs(A.rows - B.rows) + 1, std::abs(A.cols - B.cols) + 1, A.type()); std 74 modules/cudaarithm/test/test_core.cpp std::vector<cv::Mat> src; std 79 modules/cudaarithm/test/test_core.cpp std::vector<cv::cuda::GpuMat> d_src; std 149 modules/cudaarithm/test/test_core.cpp std::vector<cv::cuda::GpuMat> dst; std 159 modules/cudaarithm/test/test_core.cpp std::vector<cv::cuda::GpuMat> dst; std 162 modules/cudaarithm/test/test_core.cpp std::vector<cv::Mat> dst_gold; std 52 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Add_Array, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, Channels, UseRoi) std 56 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; std 115 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Add_Array_Mask, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) std 119 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; std 179 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Add_Scalar, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) std 183 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; std 267 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Add_Scalar_First, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) std 271 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; std 355 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Subtract_Array, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, Channels, UseRoi) std 359 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; std 418 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Subtract_Array_Mask, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) std 422 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; std 482 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Subtract_Scalar, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) std 486 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; std 570 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Subtract_Scalar_First, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) std 574 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; std 658 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Multiply_Array, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, Channels, UseRoi) std 662 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; std 798 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[0] - actual[0]), 1.0); std 799 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); std 800 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); std 801 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); std 835 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[0] - actual[0]), 1.0); std 836 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); std 837 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); std 838 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); std 851 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Multiply_Scalar, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) std 855 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; std 938 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Multiply_Scalar_First, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) std 942 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; std 1025 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Divide_Array, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, Channels, UseRoi) std 1029 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; std 1165 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[0] - actual[0]), 1.0); std 1166 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); std 1167 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); std 1168 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); std 1202 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[0] - actual[0]), 1.0); std 1203 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); std 1204 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); std 1205 modules/cudaarithm/test/test_element_operations.cpp ASSERT_LE(std::abs(gold[1] - actual[1]), 1.0); std 1218 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Divide_Scalar, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) std 1222 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; std 1304 modules/cudaarithm/test/test_element_operations.cpp PARAM_TEST_CASE(Divide_Scalar_First, cv::cuda::DeviceInfo, cv::Size, std::pair<MatDepth, MatDepth>, UseRoi) std 1308 modules/cudaarithm/test/test_element_operations.cpp std::pair<MatDepth, MatDepth> depth; std 1565 modules/cudaarithm/test/test_element_operations.cpp dst.at<T>(y, x) = static_cast<T>(std::sqrt(static_cast<float>(src.at<T>(y, x)))); std 1635 modules/cudaarithm/test/test_element_operations.cpp dst.at<T>(y, x) = static_cast<T>(std::log(static_cast<float>(src.at<T>(y, x)))); std 1705 modules/cudaarithm/test/test_element_operations.cpp dst.at<T>(y, x) = cv::saturate_cast<T>(static_cast<int>(std::exp(static_cast<float>(src.at<T>(y, x))))); std 1715 modules/cudaarithm/test/test_element_operations.cpp dst.at<float>(y, x) = std::exp(static_cast<float>(src.at<float>(y, x))); std 1927 modules/cudaarithm/test/test_element_operations.cpp {compareScalarImpl<std::equal_to, unsigned char> , compareScalarImpl<std::greater, unsigned char> , compareScalarImpl<std::greater_equal, unsigned char> , compareScalarImpl<std::less, unsigned char> , compareScalarImpl<std::less_equal, unsigned char> , compareScalarImpl<std::not_equal_to, unsigned char> }, std 1928 modules/cudaarithm/test/test_element_operations.cpp {compareScalarImpl<std::equal_to, signed char> , compareScalarImpl<std::greater, signed char> , compareScalarImpl<std::greater_equal, signed char> , compareScalarImpl<std::less, signed char> , compareScalarImpl<std::less_equal, signed char> , compareScalarImpl<std::not_equal_to, signed char> }, std 1929 modules/cudaarithm/test/test_element_operations.cpp {compareScalarImpl<std::equal_to, unsigned short>, compareScalarImpl<std::greater, unsigned short>, compareScalarImpl<std::greater_equal, unsigned short>, compareScalarImpl<std::less, unsigned short>, compareScalarImpl<std::less_equal, unsigned short>, compareScalarImpl<std::not_equal_to, unsigned short>}, std 1930 modules/cudaarithm/test/test_element_operations.cpp {compareScalarImpl<std::equal_to, short> , compareScalarImpl<std::greater, short> , compareScalarImpl<std::greater_equal, short> , compareScalarImpl<std::less, short> , compareScalarImpl<std::less_equal, short> , compareScalarImpl<std::not_equal_to, short> }, std 1931 modules/cudaarithm/test/test_element_operations.cpp {compareScalarImpl<std::equal_to, int> , compareScalarImpl<std::greater, int> , compareScalarImpl<std::greater_equal, int> , compareScalarImpl<std::less, int> , compareScalarImpl<std::less_equal, int> , compareScalarImpl<std::not_equal_to, int> }, std 1932 modules/cudaarithm/test/test_element_operations.cpp {compareScalarImpl<std::equal_to, float> , compareScalarImpl<std::greater, float> , compareScalarImpl<std::greater_equal, float> , compareScalarImpl<std::less, float> , compareScalarImpl<std::less_equal, float> , compareScalarImpl<std::not_equal_to, float> }, std 1933 modules/cudaarithm/test/test_element_operations.cpp {compareScalarImpl<std::equal_to, double> , compareScalarImpl<std::greater, double> , compareScalarImpl<std::greater_equal, double> , compareScalarImpl<std::less, double> , compareScalarImpl<std::less_equal, double> , compareScalarImpl<std::not_equal_to, double> } std 2025 modules/cudaarithm/test/test_element_operations.cpp src1 = randomMat(size, type, 0.0, std::numeric_limits<int>::max()); std 2026 modules/cudaarithm/test/test_element_operations.cpp src2 = randomMat(size, type, 0.0, std::numeric_limits<int>::max()); std 2098 modules/cudaarithm/test/test_element_operations.cpp cv::Scalar_<int> ival = randomScalar(0.0, std::numeric_limits<int>::max()); std 193 modules/cudaarithm/test/test_reductions.cpp sum[c] += std::abs(src.at<T>(y, x * cn + c)); std 45 modules/cudabgsegm/perf/perf_bgsegm.cpp using namespace std; std 122 modules/cudabgsegm/src/mog.cpp nmixtures_ = std::min(nmixtures > 0 ? nmixtures : defaultNMixtures, 8); std 152 modules/cudabgsegm/src/mog.cpp learningRate = learningRate >= 0 && nframes_ > 1 ? learningRate : 1.0 / std::min(nframes_, history_); std 197 modules/cudabgsegm/src/mog2.cpp learningRate = learningRate >= 0 && nframes_ > 1 ? learningRate : 1.0 / std::min(2 * nframes_, history_); std 73 modules/cudabgsegm/test/test_bgsegm.cpp PARAM_TEST_CASE(MOG2, cv::cuda::DeviceInfo, std::string, UseGray, DetectShadow, UseRoi) std 76 modules/cudabgsegm/test/test_bgsegm.cpp std::string inputFile; std 86 modules/cudabgsegm/test/test_bgsegm.cpp inputFile = std::string(cvtest::TS::ptr()->get_data_path()) + "video/" + GET_PARAM(1); std 176 modules/cudabgsegm/test/test_bgsegm.cpp testing::Values(std::string("768x576.avi")), std 46 modules/cudacodec/perf/perf_video.cpp using namespace std; std 55 modules/cudacodec/src/cuvid_video_source.cpp std::memset(¶ms, 0, sizeof(CUVIDSOURCEPARAMS)); std 65 modules/cudacodec/src/cuvid_video_source.cpp throw std::runtime_error(""); std 53 modules/cudacodec/src/frame_queue.cpp std::memset(displayQueue_, 0, sizeof(displayQueue_)); std 54 modules/cudacodec/src/frame_queue.cpp std::memset((void*) isFrameInUse_, 0, sizeof(isFrameInUse_)); std 78 modules/cudacodec/src/video_decoder.cpp std::memset(&createInfo_, 0, sizeof(CUVIDDECODECREATEINFO)); std 52 modules/cudacodec/src/video_parser.cpp std::memset(¶ms, 0, sizeof(CUVIDPARSERPARAMS)); std 68 modules/cudacodec/src/video_parser.cpp std::memset(&packet, 0, sizeof(CUVIDSOURCEDATAPACKET)); std 81 modules/cudacodec/src/video_reader.cpp std::deque< std::pair<CUVIDPARSERDISPINFO, CUVIDPROCPARAMS> > frames_; std 158 modules/cudacodec/src/video_reader.cpp std::memset(&videoProcParams, 0, sizeof(CUVIDPROCPARAMS)); std 165 modules/cudacodec/src/video_reader.cpp frames_.push_back(std::make_pair(displayInfo, videoProcParams)); std 172 modules/cudacodec/src/video_reader.cpp std::pair<CUVIDPARSERDISPINFO, CUVIDPROCPARAMS> frameInfo = frames_.front(); std 716 modules/cudacodec/src/video_writer.cpp std::vector<uchar> buf_; std 770 modules/cudacodec/src/video_writer.cpp int buf_size = std::max(frameSize.area() * 4, 1024 * 1024); std 47 modules/cudacodec/test/test_video.cpp PARAM_TEST_CASE(Video, cv::cuda::DeviceInfo, std::string) std 58 modules/cudacodec/test/test_video.cpp const std::string inputFile = std::string(cvtest::TS::ptr()->get_data_path()) + "video/" + GET_PARAM(1); std 80 modules/cudacodec/test/test_video.cpp const std::string inputFile = std::string(cvtest::TS::ptr()->get_data_path()) + "video/" + GET_PARAM(1); std 82 modules/cudacodec/test/test_video.cpp std::string outputFile = cv::tempfile(".avi"); std 123 modules/cudacodec/test/test_video.cpp testing::Values(std::string("768x576.avi"), std::string("1920x1080.avi")))); std 113 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp virtual void add(const std::vector<GpuMat>& descriptors) = 0; std 117 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp virtual const std::vector<GpuMat>& getTrainDescriptors() const = 0; std 155 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp std::vector<DMatch>& matches, std 161 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp std::vector<DMatch>& matches, std 162 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp const std::vector<GpuMat>& masks = std::vector<GpuMat>()) = 0; std 190 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp const std::vector<GpuMat>& masks = std::vector<GpuMat>(), std 202 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp std::vector<DMatch>& matches) = 0; std 227 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp std::vector<std::vector<DMatch> >& matches, std 235 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp std::vector<std::vector<DMatch> >& matches, std 237 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp const std::vector<GpuMat>& masks = std::vector<GpuMat>(), std 268 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp const std::vector<GpuMat>& masks = std::vector<GpuMat>(), std 283 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp std::vector< std::vector<DMatch> >& matches, std 310 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp std::vector<std::vector<DMatch> >& matches, std 318 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp std::vector<std::vector<DMatch> >& matches, std 320 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp const std::vector<GpuMat>& masks = std::vector<GpuMat>(), std 352 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp const std::vector<GpuMat>& masks = std::vector<GpuMat>(), std 367 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp std::vector< std::vector<DMatch> >& matches, std 417 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp std::vector<KeyPoint>& keypoints) = 0; std 45 modules/cudafeatures2d/perf/perf_features2d.cpp using namespace std; std 77 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::KeyPoint> gpu_keypoints; std 86 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::KeyPoint> cpu_keypoints; std 119 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::KeyPoint> gpu_keypoints; std 136 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::KeyPoint> cpu_keypoints; std 178 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::DMatch> gpu_matches; std 187 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::DMatch> cpu_matches; std 198 modules/cudafeatures2d/perf/perf_features2d.cpp static void toOneRowMatches(const std::vector< std::vector<cv::DMatch> >& src, std::vector<cv::DMatch>& dst) std 237 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector< std::vector<cv::DMatch> > matchesTbl; std 240 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::DMatch> gpu_matches; std 249 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector< std::vector<cv::DMatch> > matchesTbl; std 253 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::DMatch> cpu_matches; std 291 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector< std::vector<cv::DMatch> > matchesTbl; std 294 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::DMatch> gpu_matches; std 303 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector< std::vector<cv::DMatch> > matchesTbl; std 307 modules/cudafeatures2d/perf/perf_features2d.cpp std::vector<cv::DMatch> cpu_matches; std 130 modules/cudafeatures2d/src/brute_force_matcher.cpp static void makeGpuCollection(const std::vector<GpuMat>& trainDescCollection, std 131 modules/cudafeatures2d/src/brute_force_matcher.cpp const std::vector<GpuMat>& masks, std 186 modules/cudafeatures2d/src/brute_force_matcher.cpp virtual void add(const std::vector<GpuMat>& descriptors) std 191 modules/cudafeatures2d/src/brute_force_matcher.cpp virtual const std::vector<GpuMat>& getTrainDescriptors() const std 211 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<DMatch>& matches, std 215 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<DMatch>& matches, std 216 modules/cudafeatures2d/src/brute_force_matcher.cpp const std::vector<GpuMat>& masks = std::vector<GpuMat>()); std 225 modules/cudafeatures2d/src/brute_force_matcher.cpp const std::vector<GpuMat>& masks = std::vector<GpuMat>(), std 229 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<DMatch>& matches); std 232 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<std::vector<DMatch> >& matches, std 238 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<std::vector<DMatch> >& matches, std 240 modules/cudafeatures2d/src/brute_force_matcher.cpp const std::vector<GpuMat>& masks = std::vector<GpuMat>(), std 252 modules/cudafeatures2d/src/brute_force_matcher.cpp const std::vector<GpuMat>& masks = std::vector<GpuMat>(), std 256 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector< std::vector<DMatch> >& matches, std 260 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<std::vector<DMatch> >& matches, std 266 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<std::vector<DMatch> >& matches, std 268 modules/cudafeatures2d/src/brute_force_matcher.cpp const std::vector<GpuMat>& masks = std::vector<GpuMat>(), std 280 modules/cudafeatures2d/src/brute_force_matcher.cpp const std::vector<GpuMat>& masks = std::vector<GpuMat>(), std 284 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector< std::vector<DMatch> >& matches, std 289 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<GpuMat> trainDescCollection_; std 297 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<DMatch>& matches, std 306 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<DMatch>& matches, std 307 modules/cudafeatures2d/src/brute_force_matcher.cpp const std::vector<GpuMat>& masks) std 379 modules/cudafeatures2d/src/brute_force_matcher.cpp const std::vector<GpuMat>& masks, std 441 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<DMatch>& matches) std 502 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<std::vector<DMatch> >& matches, std 513 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<std::vector<DMatch> >& matches, std 515 modules/cudafeatures2d/src/brute_force_matcher.cpp const std::vector<GpuMat>& masks, std 536 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector< std::vector<DMatch> > curMatches; std 537 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<DMatch> temp; std 550 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<DMatch>& localMatch = curMatches[queryIdx]; std 551 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<DMatch>& globalMatch = matches[queryIdx]; std 557 modules/cudafeatures2d/src/brute_force_matcher.cpp std::merge(globalMatch.begin(), globalMatch.end(), localMatch.begin(), localMatch.end(), std::back_inserter(temp)); std 560 modules/cudafeatures2d/src/brute_force_matcher.cpp const size_t count = std::min(static_cast<size_t>(k), temp.size()); std 561 modules/cudafeatures2d/src/brute_force_matcher.cpp std::copy(temp.begin(), temp.begin() + count, std::back_inserter(globalMatch)); std 567 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector< std::vector<DMatch> >::iterator new_end = std::remove_if(matches.begin(), matches.end(), std::mem_fun_ref(&std::vector<DMatch>::empty)); std 658 modules/cudafeatures2d/src/brute_force_matcher.cpp const std::vector<GpuMat>& masks, std 727 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector< std::vector<DMatch> >& matches, std 786 modules/cudafeatures2d/src/brute_force_matcher.cpp matches.push_back(std::vector<DMatch>()); std 787 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<DMatch>& curMatches = matches.back(); std 821 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<std::vector<DMatch> >& matches, std 832 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<std::vector<DMatch> >& matches, std 834 modules/cudafeatures2d/src/brute_force_matcher.cpp const std::vector<GpuMat>& masks, std 898 modules/cudafeatures2d/src/brute_force_matcher.cpp const int cols = std::max((nTrain / 100), nQuery); std 915 modules/cudafeatures2d/src/brute_force_matcher.cpp const std::vector<GpuMat>& masks, std 976 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<PtrStepSzb> trains_(trainDescCollection_.begin(), trainDescCollection_.end()); std 977 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<PtrStepSzb> masks_(masks.begin(), masks.end()); std 984 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector< std::vector<DMatch> >& matches, std 1035 modules/cudafeatures2d/src/brute_force_matcher.cpp const int nMatched = std::min(nMatchesPtr[queryIdx], gpu_matches.cols); std 1041 modules/cudafeatures2d/src/brute_force_matcher.cpp matches.push_back(std::vector<DMatch>()); std 1046 modules/cudafeatures2d/src/brute_force_matcher.cpp matches.push_back(std::vector<DMatch>(nMatched)); std 1047 modules/cudafeatures2d/src/brute_force_matcher.cpp std::vector<DMatch>& curMatches = matches.back(); std 1061 modules/cudafeatures2d/src/brute_force_matcher.cpp std::sort(curMatches.begin(), curMatches.end()); std 70 modules/cudafeatures2d/src/fast.cpp virtual void detect(InputArray _image, std::vector<KeyPoint>& keypoints, InputArray _mask); std 73 modules/cudafeatures2d/src/fast.cpp virtual void convert(InputArray _gpu_keypoints, std::vector<KeyPoint>& keypoints); std 98 modules/cudafeatures2d/src/fast.cpp void FAST_Impl::detect(InputArray _image, std::vector<KeyPoint>& keypoints, InputArray _mask) std 135 modules/cudafeatures2d/src/fast.cpp count = std::min(count, max_npoints_); std 166 modules/cudafeatures2d/src/fast.cpp void FAST_Impl::convert(InputArray _gpu_keypoints, std::vector<KeyPoint>& keypoints) std 352 modules/cudafeatures2d/src/orb.cpp virtual void detectAndCompute(InputArray _image, InputArray _mask, std::vector<KeyPoint>& keypoints, OutputArray _descriptors, bool useProvidedKeypoints); std 355 modules/cudafeatures2d/src/orb.cpp virtual void convert(InputArray _gpu_keypoints, std::vector<KeyPoint>& keypoints); std 413 modules/cudafeatures2d/src/orb.cpp std::vector<size_t> n_features_per_level_; std 418 modules/cudafeatures2d/src/orb.cpp std::vector<GpuMat> imagePyr_; std 419 modules/cudafeatures2d/src/orb.cpp std::vector<GpuMat> maskPyr_; std 423 modules/cudafeatures2d/src/orb.cpp std::vector<GpuMat> keyPointsPyr_; std 424 modules/cudafeatures2d/src/orb.cpp std::vector<int> keyPointsCount_; std 507 modules/cudafeatures2d/src/orb.cpp float n_desired_features_per_scale = nFeatures_ * (1.0f - factor) / (1.0f - std::pow(factor, nLevels_)); std 521 modules/cudafeatures2d/src/orb.cpp std::vector<int> u_max(half_patch_size + 2); std 522 modules/cudafeatures2d/src/orb.cpp for (int v = 0; v <= half_patch_size * std::sqrt(2.f) / 2 + 1; ++v) std 524 modules/cudafeatures2d/src/orb.cpp u_max[v] = cvRound(std::sqrt(static_cast<float>(half_patch_size * half_patch_size - v * v))); std 528 modules/cudafeatures2d/src/orb.cpp for (int v = half_patch_size, v_0 = 0; v >= half_patch_size * std::sqrt(2.f) / 2; --v) std 573 modules/cudafeatures2d/src/orb.cpp void ORB_Impl::detectAndCompute(InputArray _image, InputArray _mask, std::vector<KeyPoint>& keypoints, OutputArray _descriptors, bool useProvidedKeypoints) std 806 modules/cudafeatures2d/src/orb.cpp void ORB_Impl::convert(InputArray _gpu_keypoints, std::vector<KeyPoint>& keypoints) std 85 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::KeyPoint> keypoints; std 95 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::KeyPoint> keypoints; std 98 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::KeyPoint> keypoints_gold; std 173 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::KeyPoint> keypoints; std 184 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::KeyPoint> keypoints; std 190 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::KeyPoint> keypoints_gold; std 195 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::DMatch> matches; std 298 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::DMatch> matches; std 322 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(0, train.rows / 2))); std 323 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(train.rows / 2, train.rows))); std 326 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::cuda::GpuMat> masks(2); std 334 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::DMatch> matches; std 383 modules/cudafeatures2d/test/test_features2d.cpp std::vector< std::vector<cv::DMatch> > matches; std 423 modules/cudafeatures2d/test/test_features2d.cpp std::vector< std::vector<cv::DMatch> > matches; std 459 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(0, train.rows / 2))); std 460 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(train.rows / 2, train.rows))); std 463 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::cuda::GpuMat> masks(2); std 471 modules/cudafeatures2d/test/test_features2d.cpp std::vector< std::vector<cv::DMatch> > matches; std 522 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(0, train.rows / 2))); std 523 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(train.rows / 2, train.rows))); std 526 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::cuda::GpuMat> masks(2); std 534 modules/cudafeatures2d/test/test_features2d.cpp std::vector< std::vector<cv::DMatch> > matches; std 586 modules/cudafeatures2d/test/test_features2d.cpp std::vector< std::vector<cv::DMatch> > matches; std 603 modules/cudafeatures2d/test/test_features2d.cpp std::vector< std::vector<cv::DMatch> > matches; std 636 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(0, train.rows / 2))); std 637 modules/cudafeatures2d/test/test_features2d.cpp matcher->add(std::vector<cv::cuda::GpuMat>(1, d_train.rowRange(train.rows / 2, train.rows))); std 640 modules/cudafeatures2d/test/test_features2d.cpp std::vector<cv::cuda::GpuMat> masks(2); std 652 modules/cudafeatures2d/test/test_features2d.cpp std::vector< std::vector<cv::DMatch> > matches; std 662 modules/cudafeatures2d/test/test_features2d.cpp std::vector< std::vector<cv::DMatch> > matches; std 45 modules/cudafilters/perf/perf_filters.cpp using namespace std; std 483 modules/cudafilters/src/filtering.cpp sigma1 = std::max(sigma1, 0.0); std 484 modules/cudafilters/src/filtering.cpp sigma2 = std::max(sigma2, 0.0); std 488 modules/cudafilters/src/filtering.cpp if (ksize.height == ksize.width && std::abs(sigma1 - sigma2) < DBL_EPSILON) std 45 modules/cudaimgproc/perf/perf_bilateral_filter.cpp using namespace std; std 45 modules/cudaimgproc/perf/perf_blend.cpp using namespace std; std 45 modules/cudaimgproc/perf/perf_canny.cpp using namespace std; std 45 modules/cudaimgproc/perf/perf_color.cpp using namespace std; std 45 modules/cudaimgproc/perf/perf_corners.cpp using namespace std; std 45 modules/cudaimgproc/perf/perf_gftt.cpp using namespace std; std 45 modules/cudaimgproc/perf/perf_histogram.cpp using namespace std; std 45 modules/cudaimgproc/perf/perf_hough.cpp using namespace std; std 114 modules/cudaimgproc/perf/perf_hough.cpp std::sort(begin, end, Vec2fComparator()); std 119 modules/cudaimgproc/perf/perf_hough.cpp std::vector<cv::Vec2f> cpu_lines; std 130 modules/cudaimgproc/perf/perf_hough.cpp DEF_PARAM_TEST_1(Image, std::string); std 137 modules/cudaimgproc/perf/perf_hough.cpp const std::string fileName = getDataPath(GetParam()); std 163 modules/cudaimgproc/perf/perf_hough.cpp std::sort(begin, end, Vec4iComparator()); std 168 modules/cudaimgproc/perf/perf_hough.cpp std::vector<cv::Vec4i> cpu_lines; std 214 modules/cudaimgproc/perf/perf_hough.cpp std::sort(begin, end, Vec3fComparator()); std 219 modules/cudaimgproc/perf/perf_hough.cpp std::vector<cv::Vec3f> cpu_circles; std 45 modules/cudaimgproc/perf/perf_match_template.cpp using namespace std; std 45 modules/cudaimgproc/perf/perf_mean_shift.cpp using namespace std; std 83 modules/cudaimgproc/src/bilateral_filter.cpp kernel_size = std::max(radius, 1)*2 + 1; std 139 modules/cudaimgproc/src/canny.cpp std::swap(low_thresh_, high_thresh_); std 183 modules/cudaimgproc/src/canny.cpp std::swap(low_thresh_, high_thresh_); std 197 modules/cudaimgproc/src/canny.cpp CV_Assert(image_size.width < std::numeric_limits<short>::max() && image_size.height < std::numeric_limits<short>::max()); std 156 modules/cudaimgproc/src/generalized_hough.cpp std::vector<float4> oldPosBuf_; std 157 modules/cudaimgproc/src/generalized_hough.cpp std::vector<int3> oldVoteBuf_; std 158 modules/cudaimgproc/src/generalized_hough.cpp std::vector<float4> newPosBuf_; std 159 modules/cudaimgproc/src/generalized_hough.cpp std::vector<int3> newVoteBuf_; std 160 modules/cudaimgproc/src/generalized_hough.cpp std::vector<int> indexies_; std 352 modules/cudaimgproc/src/generalized_hough.cpp std::sort(indexies_.begin(), indexies_.end(), IndexCmp(&oldVoteBuf_[0])); std 363 modules/cudaimgproc/src/generalized_hough.cpp std::vector< std::vector<Point2f> > grid(gridWidth * gridHeight); std 384 modules/cudaimgproc/src/generalized_hough.cpp x1 = std::max(0, x1); std 385 modules/cudaimgproc/src/generalized_hough.cpp y1 = std::max(0, y1); std 386 modules/cudaimgproc/src/generalized_hough.cpp x2 = std::min(gridWidth - 1, x2); std 387 modules/cudaimgproc/src/generalized_hough.cpp y2 = std::min(gridHeight - 1, y2); std 393 modules/cudaimgproc/src/generalized_hough.cpp const std::vector<Point2f>& m = grid[yy * gridWidth + xx]; std 680 modules/cudaimgproc/src/generalized_hough.cpp std::vector< std::pair<double, int> > angles_; std 681 modules/cudaimgproc/src/generalized_hough.cpp std::vector< std::pair<double, int> > scales_; std 684 modules/cudaimgproc/src/generalized_hough.cpp std::vector<int> h_buf_; std 740 modules/cudaimgproc/src/generalized_hough.cpp templFeatures_.maxSize = *std::max_element(h_buf_.begin(), h_buf_.end()); std 768 modules/cudaimgproc/src/generalized_hough.cpp ensureSizeIsEnough(histRows + 2, std::max(angleRange + 1, std::max(scaleRange + 1, histCols + 2)), CV_32SC1, hist_); std 769 modules/cudaimgproc/src/generalized_hough.cpp h_buf_.resize(std::max(angleRange + 1, scaleRange + 1)); std 858 modules/cudaimgproc/src/generalized_hough.cpp angles_.push_back(std::make_pair(angle, h_buf_[n])); std 883 modules/cudaimgproc/src/generalized_hough.cpp scales_.push_back(std::make_pair(scale, h_buf_[s])); std 116 modules/cudaimgproc/src/gftt.cpp ensureSizeIsEnough(1, std::max(1000, static_cast<int>(image.size().area() * 0.05)), CV_32FC2, tmpCorners_); std 130 modules/cudaimgproc/src/gftt.cpp tmpCorners_.colRange(0, maxCorners_ > 0 ? std::min(maxCorners_, total) : total).copyTo(_corners); std 134 modules/cudaimgproc/src/gftt.cpp std::vector<Point2f> tmp(total); std 138 modules/cudaimgproc/src/gftt.cpp std::vector<Point2f> tmp2; std 145 modules/cudaimgproc/src/gftt.cpp std::vector< std::vector<Point2f> > grid(grid_width * grid_height); std 162 modules/cudaimgproc/src/gftt.cpp x1 = std::max(0, x1); std 163 modules/cudaimgproc/src/gftt.cpp y1 = std::max(0, y1); std 164 modules/cudaimgproc/src/gftt.cpp x2 = std::min(grid_width - 1, x2); std 165 modules/cudaimgproc/src/gftt.cpp y2 = std::min(grid_height - 1, y2); std 171 modules/cudaimgproc/src/gftt.cpp std::vector<Point2f>& m = grid[yy * grid_width + xx]; std 215 modules/cudaimgproc/src/histogram.cpp clipLimit = std::max(clipLimit, 1); std 151 modules/cudaimgproc/src/hough_circles.cpp canny_ = cuda::createCannyEdgeDetector(std::max(cannyThreshold_ / 2, 1), cannyThreshold_); std 168 modules/cudaimgproc/src/hough_circles.cpp CV_Assert( src.cols < std::numeric_limits<unsigned short>::max() ); std 169 modules/cudaimgproc/src/hough_circles.cpp CV_Assert( src.rows < std::numeric_limits<unsigned short>::max() ); std 181 modules/cudaimgproc/src/hough_circles.cpp canny_->setLowThreshold(std::max(cannyThreshold_ / 2, 1)); std 226 modules/cudaimgproc/src/hough_circles.cpp std::vector< std::vector<ushort2> > grid(gridWidth * gridHeight); std 230 modules/cudaimgproc/src/hough_circles.cpp std::vector<Vec3f> sortBuf; std 238 modules/cudaimgproc/src/hough_circles.cpp std::sort(sortBuf.begin(), sortBuf.end(), centersCompare); std 257 modules/cudaimgproc/src/hough_circles.cpp x1 = std::max(0, x1); std 258 modules/cudaimgproc/src/hough_circles.cpp y1 = std::max(0, y1); std 259 modules/cudaimgproc/src/hough_circles.cpp x2 = std::min(gridWidth - 1, x2); std 260 modules/cudaimgproc/src/hough_circles.cpp y2 = std::min(gridHeight - 1, y2); std 266 modules/cudaimgproc/src/hough_circles.cpp std::vector<ushort2>& m = grid[yy * gridWidth + xx]; std 139 modules/cudaimgproc/src/hough_lines.cpp CV_Assert( src.cols < std::numeric_limits<unsigned short>::max() ); std 140 modules/cudaimgproc/src/hough_lines.cpp CV_Assert( src.rows < std::numeric_limits<unsigned short>::max() ); std 143 modules/cudaimgproc/src/hough_segments.cpp CV_Assert( src.cols < std::numeric_limits<unsigned short>::max() ); std 144 modules/cudaimgproc/src/hough_segments.cpp CV_Assert( src.rows < std::numeric_limits<unsigned short>::max() ); std 421 modules/cudaimgproc/src/match_template.cpp std::vector<GpuMat> images_; std 422 modules/cudaimgproc/src/match_template.cpp std::vector<GpuMat> image_sums_; std 500 modules/cudaimgproc/src/match_template.cpp std::vector<GpuMat> images_; std 501 modules/cudaimgproc/src/match_template.cpp std::vector<GpuMat> image_sums_; std 502 modules/cudaimgproc/src/match_template.cpp std::vector<GpuMat> image_sqsums_; std 80 modules/cudaimgproc/src/mean_shift.cpp int maxIter = std::min(std::max(criteria.maxCount, 1), 100); std 85 modules/cudaimgproc/src/mean_shift.cpp float eps = (float) std::max(criteria.epsilon, 0.0); std 118 modules/cudaimgproc/src/mean_shift.cpp int maxIter = std::min(std::max(criteria.maxCount, 1), 100); std 123 modules/cudaimgproc/src/mean_shift.cpp float eps = (float) std::max(criteria.epsilon, 0.0); std 65 modules/cudaimgproc/src/mssegmentation.cpp std::vector<int> parent; std 66 modules/cudaimgproc/src/mssegmentation.cpp std::vector<int> rank; std 67 modules/cudaimgproc/src/mssegmentation.cpp std::vector<int> size; std 95 modules/cudaimgproc/src/mssegmentation.cpp std::vector<int> start; std 96 modules/cudaimgproc/src/mssegmentation.cpp std::vector<Edge> edges; std 330 modules/cudaimgproc/src/mssegmentation.cpp std::vector<SegmLink> edges; std 346 modules/cudaimgproc/src/mssegmentation.cpp std::sort(edges.begin(), edges.end()); std 359 modules/cudaimgproc/src/mssegmentation.cpp std::vector<Vec4i> sumcols(nrows * ncols, Vec4i(0, 0, 0, 0)); std 86 modules/cudaimgproc/test/test_gftt.cpp std::vector<cv::Point2f> pts(d_pts.cols); std 90 modules/cudaimgproc/test/test_gftt.cpp std::vector<cv::Point2f> pts_gold; std 101 modules/cudaimgproc/test/test_gftt.cpp bool eq = std::abs(a.x - b.x) < 1 && std::abs(a.y - b.y) < 1; std 64 modules/cudaimgproc/test/test_hough.cpp static void drawLines(cv::Mat& dst, const std::vector<cv::Vec2f>& lines) std 72 modules/cudaimgproc/test/test_hough.cpp double a = std::cos(theta), b = std::sin(theta); std 102 modules/cudaimgproc/test/test_hough.cpp std::vector<cv::Vec2f> lines; std 121 modules/cudaimgproc/test/test_hough.cpp static void drawCircles(cv::Mat& dst, const std::vector<cv::Vec3f>& circles, bool fill) std 144 modules/cudaimgproc/test/test_hough.cpp std::vector<cv::Vec3f> circles_gold(4); std 158 modules/cudaimgproc/test/test_hough.cpp std::vector<cv::Vec3f> circles; std 173 modules/cudaimgproc/test/test_hough.cpp if (std::fabs(cur[0] - gold[0]) < 5 && std::fabs(cur[1] - gold[1]) < 5 && std::fabs(cur[2] - gold[2]) < 5) std 229 modules/cudaimgproc/test/test_hough.cpp std::vector<cv::Vec4f> pos; std 221 modules/cudaimgproc/test/test_match_template.cpp PARAM_TEST_CASE(MatchTemplate_CCOEF_NORMED, cv::cuda::DeviceInfo, std::pair<std::string, std::string>) std 224 modules/cudaimgproc/test/test_match_template.cpp std::string imageName; std 225 modules/cudaimgproc/test/test_match_template.cpp std::string patternName; std 271 modules/cudaimgproc/test/test_match_template.cpp testing::Values(std::make_pair(std::string("matchtemplate/source-0.png"), std::string("matchtemplate/target-0.png"))))); std 101 modules/cudaimgproc/test/test_mean_shift.cpp fs.open(std::string(cvtest::TS::ptr()->get_data_path()) + "meanshift/spmap.yaml", cv::FileStorage::READ); std 103 modules/cudaimgproc/test/test_mean_shift.cpp fs.open(std::string(cvtest::TS::ptr()->get_data_path()) + "meanshift/spmap_CC1X.yaml", cv::FileStorage::READ); std 152 modules/cudaimgproc/test/test_mean_shift.cpp std::ostringstream path; std 284 modules/cudalegacy/include/opencv2/cudalegacy.hpp std::vector<int>* inliers=NULL); std 77 modules/cudalegacy/include/opencv2/cudalegacy/NCVPyramid.hpp void push_back(NCVMatrix<T> *elem) {this->_arr.push_back(std::tr1::shared_ptr< NCVMatrix<T> >(elem));} std 81 modules/cudalegacy/include/opencv2/cudalegacy/NCVPyramid.hpp std::vector< std::tr1::shared_ptr< NCVMatrix<T> > > _arr; std 49 modules/cudalegacy/perf/perf_bgsegm.cpp using namespace std; std 150 modules/cudalegacy/perf/perf_bgsegm.cpp const std::string inputFile = perf::TestBase::getDataPath(GET_PARAM(0)); std 49 modules/cudalegacy/perf/perf_calib3d.cpp using namespace std; std 117 modules/cudalegacy/perf/perf_calib3d.cpp std::vector<cv::Point2f> image_vec; std 45 modules/cudalegacy/perf/perf_labeling.cpp using namespace std; std 123 modules/cudalegacy/src/NCV.cpp size_t idx = std::find_if(ncv_errors, ncv_errors + ncv_error_num, ErrorEntryComparer(code)) - ncv_errors; std 134 modules/cudalegacy/src/NCV.cpp std::cout << msg.c_str() << std::endl; std 428 modules/cudalegacy/src/NCV.cpp this->_maxSize = std::max(this->_maxSize, this->currentSize); std 536 modules/cudalegacy/src/NCV.cpp this->_maxSize = std::max(this->_maxSize, this->currentSize); std 738 modules/cudalegacy/src/NCV.cpp static void groupRectangles(std::vector<NcvRect32u> &hypotheses, int groupThreshold, double eps, std::vector<Ncv32u> *weights) std 747 modules/cudalegacy/src/NCV.cpp std::vector<cv::Rect> rects(hypotheses.size()); std 748 modules/cudalegacy/src/NCV.cpp std::transform(hypotheses.begin(), hypotheses.end(), rects.begin(), RectConvert()); std 752 modules/cudalegacy/src/NCV.cpp std::vector<int> weights_int; std 760 modules/cudalegacy/src/NCV.cpp std::transform(rects.begin(), rects.end(), hypotheses.begin(), RectConvert()); std 786 modules/cudalegacy/src/NCV.cpp std::vector<NcvRect32u> rects(numHypotheses); std 789 modules/cudalegacy/src/NCV.cpp std::vector<Ncv32u> weights; std 72 modules/cudalegacy/src/bm.cpp std::vector<short2> ss((2 * maxRange.width + 1) * (2 * maxRange.height + 1)); std 76 modules/cudalegacy/src/bm.cpp const int minCount = std::min(maxRange.width, maxRange.height); std 54 modules/cudalegacy/src/calib3d.cpp void cv::cuda::solvePnPRansac(const Mat&, const Mat&, const Mat&, const Mat&, Mat&, Mat&, bool, int, float, int, std::vector<int>*) { throw_no_cuda(); } std 132 modules/cudalegacy/src/calib3d.cpp void selectRandom(int subset_size, int num_points, std::vector<int>& subset) std 166 modules/cudalegacy/src/calib3d.cpp std::vector<int> subset_indices(subset_size); std 214 modules/cudalegacy/src/calib3d.cpp std::vector<int>* inliers) std 157 modules/cudalegacy/src/cuda/NCVRuntimeTemplates.hpp std::vector<int> templateParamList; std 176 modules/cudalegacy/src/cuda/NCVRuntimeTemplates.hpp static void call( Func &functor, std::vector<int> &templateParamList) std 213 modules/cudalegacy/src/cuda/NCVRuntimeTemplates.hpp static void call(Func &functor, std::vector<int> &templateParams) std 180 modules/cudalegacy/src/fgd.cpp std::memset(relativeVariance, 0, 3 * fgd::HISTOGRAM_BIN_COUNT * sizeof(double)); std 203 modules/cudalegacy/src/fgd.cpp count[0] = std::max(count[0], 1); std 204 modules/cudalegacy/src/fgd.cpp count[1] = std::max(count[1], 1); std 205 modules/cudalegacy/src/fgd.cpp count[2] = std::max(count[2], 1); std 213 modules/cudalegacy/src/fgd.cpp relativeVariance[0][thres] = std::sqrt(sqsum[0] / count[0] - my[0] * my[0]); std 214 modules/cudalegacy/src/fgd.cpp relativeVariance[1][thres] = std::sqrt(sqsum[1] / count[1] - my[1] * my[1]); std 215 modules/cudalegacy/src/fgd.cpp relativeVariance[2][thres] = std::sqrt(sqsum[2] / count[2] - my[2] * my[2]); std 253 modules/cudalegacy/src/fgd.cpp bestThres[0] = std::max(bestThres[0], relativeVariance[0][i]); std 254 modules/cudalegacy/src/fgd.cpp bestThres[1] = std::max(bestThres[1], relativeVariance[1][i]); std 255 modules/cudalegacy/src/fgd.cpp bestThres[2] = std::max(bestThres[2], relativeVariance[2][i]); std 368 modules/cudalegacy/src/fgd.cpp int findForegroundRegions(GpuMat& d_foreground, Mat& h_foreground, std::vector< std::vector<Point> >& foreground_regions, std 596 modules/cudalegacy/src/fgd.cpp std::vector< std::vector<Point> > foreground_regions_; std 685 modules/cudalegacy/src/fgd.cpp std::vector<Point>& c = foreground_regions_[i]; std 203 modules/cudalegacy/src/gmg.cpp maxVal = frame.depth() == CV_8U ? 255.0 : frame.depth() == CV_16U ? std::numeric_limits<ushort>::max() : 1.0; std 65 modules/cudalegacy/src/image_pyramid.cpp std::vector<GpuMat> pyramid_; std 93 modules/cudalegacy/src/needle_map.cpp float max_flow = static_cast<float>(std::sqrt(uMax * uMax + vMax * vMax)); std 55 modules/cudalegacy/test/NCVAutoTestLister.hpp NCVAutoTestLister(std::string testSuiteName_, OutputLevel outputLevel_ = OutputLevelCompact, NcvBool bStopOnFirstFail_=false) std 160 modules/cudalegacy/test/NCVAutoTestLister.hpp std::string testSuiteName; std 163 modules/cudalegacy/test/NCVAutoTestLister.hpp std::vector<INCVTest *> tests; std 64 modules/cudalegacy/test/NCVTest.hpp std::map<std::string, Ncv32u> statsNums; std 65 modules/cudalegacy/test/NCVTest.hpp std::map<std::string, std::string> statsText; std 73 modules/cudalegacy/test/NCVTest.hpp virtual std::string getName() const = 0; std 82 modules/cudalegacy/test/NCVTest.hpp NCVTestProvider(std::string testName_) std 94 modules/cudalegacy/test/NCVTest.hpp virtual bool toString(std::ofstream &strOut) = 0; std 96 modules/cudalegacy/test/NCVTest.hpp virtual std::string getName() const std 154 modules/cudalegacy/test/NCVTest.hpp std::auto_ptr<INCVMemAllocator> allocatorGPU; std 155 modules/cudalegacy/test/NCVTest.hpp std::auto_ptr<INCVMemAllocator> allocatorCPU; std 159 modules/cudalegacy/test/NCVTest.hpp std::string testName; std 208 modules/cudalegacy/test/NCVTest.hpp std::string fname = "TestDump_"; std 210 modules/cudalegacy/test/NCVTest.hpp std::ofstream stream(fname.c_str(), std::ios::trunc | std::ios::out); std 213 modules/cudalegacy/test/NCVTest.hpp stream << "NCV Test Failure Log: " << this->testName << std::endl; std 214 modules/cudalegacy/test/NCVTest.hpp stream << "====================================================" << std::endl << std::endl; std 215 modules/cudalegacy/test/NCVTest.hpp stream << "Test initialization report: " << std::endl; std 216 modules/cudalegacy/test/NCVTest.hpp for (std::map<std::string,std::string>::iterator it=report.statsText.begin(); std 219 modules/cudalegacy/test/NCVTest.hpp stream << it->first << "=" << it->second << std::endl; std 221 modules/cudalegacy/test/NCVTest.hpp for (std::map<std::string,Ncv32u>::iterator it=report.statsNums.begin(); std 224 modules/cudalegacy/test/NCVTest.hpp stream << it->first << "=" << it->second << std::endl; std 226 modules/cudalegacy/test/NCVTest.hpp stream << std::endl; std 228 modules/cudalegacy/test/NCVTest.hpp stream << "Test initialization parameters: " << std::endl; std 240 modules/cudalegacy/test/NCVTest.hpp stream << "Couldn't retrieve object dump" << std::endl; std 91 modules/cudalegacy/test/NCVTestSourceProvider.hpp NCVTestSourceProvider(std::string pgmFilename) std 187 modules/cudalegacy/test/NCVTestSourceProvider.hpp std::auto_ptr< INCVMemAllocator > allocatorCPU; std 188 modules/cudalegacy/test/NCVTestSourceProvider.hpp std::auto_ptr< NCVMatrixAlloc<T> > data; std 45 modules/cudalegacy/test/TestCompact.cpp TestCompact::TestCompact(std::string testName_, NCVTestSourceProvider<Ncv32u> &src_, std 57 modules/cudalegacy/test/TestCompact.cpp bool TestCompact::toString(std::ofstream &strOut) std 59 modules/cudalegacy/test/TestCompact.cpp strOut << "length=" << length << std::endl; std 60 modules/cudalegacy/test/TestCompact.cpp strOut << "badElem=" << badElem << std::endl; std 61 modules/cudalegacy/test/TestCompact.cpp strOut << "badElemPercentage=" << badElemPercentage << std::endl; std 54 modules/cudalegacy/test/TestCompact.h TestCompact(std::string testName, NCVTestSourceProvider<Ncv32u> &src, std 60 modules/cudalegacy/test/TestCompact.h virtual bool toString(std::ofstream &strOut); std 47 modules/cudalegacy/test/TestDrawRects.cpp TestDrawRects<T>::TestDrawRects(std::string testName_, NCVTestSourceProvider<T> &src_, std 63 modules/cudalegacy/test/TestDrawRects.cpp bool TestDrawRects<T>::toString(std::ofstream &strOut) std 65 modules/cudalegacy/test/TestDrawRects.cpp strOut << "sizeof(T)=" << sizeof(T) << std::endl; std 66 modules/cudalegacy/test/TestDrawRects.cpp strOut << "width=" << width << std::endl; std 67 modules/cudalegacy/test/TestDrawRects.cpp strOut << "height=" << height << std::endl; std 68 modules/cudalegacy/test/TestDrawRects.cpp strOut << "numRects=" << numRects << std::endl; std 69 modules/cudalegacy/test/TestDrawRects.cpp strOut << "color=" << color << std::endl; std 55 modules/cudalegacy/test/TestDrawRects.h TestDrawRects(std::string testName, NCVTestSourceProvider<T> &src, NCVTestSourceProvider<Ncv32u> &src32u, std 61 modules/cudalegacy/test/TestDrawRects.h virtual bool toString(std::ofstream &strOut); std 85 modules/cudalegacy/test/TestHaarCascadeApplication.cpp TestHaarCascadeApplication::TestHaarCascadeApplication(std::string testName_, NCVTestSourceProvider<Ncv8u> &src_, std 86 modules/cudalegacy/test/TestHaarCascadeApplication.cpp std::string cascadeName_, Ncv32u width_, Ncv32u height_) std 97 modules/cudalegacy/test/TestHaarCascadeApplication.cpp bool TestHaarCascadeApplication::toString(std::ofstream &strOut) std 99 modules/cudalegacy/test/TestHaarCascadeApplication.cpp strOut << "cascadeName=" << cascadeName << std::endl; std 100 modules/cudalegacy/test/TestHaarCascadeApplication.cpp strOut << "width=" << width << std::endl; std 101 modules/cudalegacy/test/TestHaarCascadeApplication.cpp strOut << "height=" << height << std::endl; std 206 modules/cudalegacy/test/TestHaarCascadeApplication.cpp NCVVectorAlloc<Ncv8u> d_tmpIIbuf(*this->allocatorGPU.get(), std::max(szTmpBufIntegral, szTmpBufSqIntegral)); std 311 modules/cudalegacy/test/TestHaarCascadeApplication.cpp std::sort(h_pixelMask_d.ptr(), h_pixelMask_d.ptr() + detectionsOnThisScale_d); std 54 modules/cudalegacy/test/TestHaarCascadeApplication.h TestHaarCascadeApplication(std::string testName, NCVTestSourceProvider<Ncv8u> &src, std 55 modules/cudalegacy/test/TestHaarCascadeApplication.h std::string cascadeName, Ncv32u width, Ncv32u height); std 60 modules/cudalegacy/test/TestHaarCascadeApplication.h virtual bool toString(std::ofstream &strOut); std 68 modules/cudalegacy/test/TestHaarCascadeApplication.h std::string cascadeName; std 46 modules/cudalegacy/test/TestHaarCascadeLoader.cpp TestHaarCascadeLoader::TestHaarCascadeLoader(std::string testName_, std::string cascadeName_) std 54 modules/cudalegacy/test/TestHaarCascadeLoader.cpp bool TestHaarCascadeLoader::toString(std::ofstream &strOut) std 56 modules/cudalegacy/test/TestHaarCascadeLoader.cpp strOut << "cascadeName=" << cascadeName << std::endl; std 98 modules/cudalegacy/test/TestHaarCascadeLoader.cpp const std::string testNvbinName = cv::tempfile("test.nvbin"); std 54 modules/cudalegacy/test/TestHaarCascadeLoader.h TestHaarCascadeLoader(std::string testName, std::string cascadeName); std 59 modules/cudalegacy/test/TestHaarCascadeLoader.h virtual bool toString(std::ofstream &strOut); std 63 modules/cudalegacy/test/TestHaarCascadeLoader.h std::string cascadeName; std 46 modules/cudalegacy/test/TestHypothesesFilter.cpp TestHypothesesFilter::TestHypothesesFilter(std::string testName_, NCVTestSourceProvider<Ncv32u> &src_, std 58 modules/cudalegacy/test/TestHypothesesFilter.cpp bool TestHypothesesFilter::toString(std::ofstream &strOut) std 60 modules/cudalegacy/test/TestHypothesesFilter.cpp strOut << "numDstRects=" << numDstRects << std::endl; std 61 modules/cudalegacy/test/TestHypothesesFilter.cpp strOut << "minNeighbors=" << minNeighbors << std::endl; std 62 modules/cudalegacy/test/TestHypothesesFilter.cpp strOut << "eps=" << eps << std::endl; std 77 modules/cudalegacy/test/TestHypothesesFilter.cpp double delta = eps*(std::min(r1.width, r2.width) + std::min(r1.height, r2.height))*0.5; std 78 modules/cudalegacy/test/TestHypothesesFilter.cpp return std::abs((Ncv32s)r1.x - (Ncv32s)r2.x) <= delta && std 79 modules/cudalegacy/test/TestHypothesesFilter.cpp std::abs((Ncv32s)r1.y - (Ncv32s)r2.y) <= delta && std 80 modules/cudalegacy/test/TestHypothesesFilter.cpp std::abs((Ncv32s)r1.x + (Ncv32s)r1.width - (Ncv32s)r2.x - (Ncv32s)r2.width) <= delta && std 81 modules/cudalegacy/test/TestHypothesesFilter.cpp std::abs((Ncv32s)r1.y + (Ncv32s)r1.height - (Ncv32s)r2.y - (Ncv32s)r2.height) <= delta; std 181 modules/cudalegacy/test/TestHypothesesFilter.cpp std::vector<NcvRect32u> tmpRects(numHypothesesSrc); std 183 modules/cudalegacy/test/TestHypothesesFilter.cpp std::sort(tmpRects.begin(), tmpRects.end()); std 54 modules/cudalegacy/test/TestHypothesesFilter.h TestHypothesesFilter(std::string testName, NCVTestSourceProvider<Ncv32u> &src, std 60 modules/cudalegacy/test/TestHypothesesFilter.h virtual bool toString(std::ofstream &strOut); std 46 modules/cudalegacy/test/TestHypothesesGrow.cpp TestHypothesesGrow::TestHypothesesGrow(std::string testName_, NCVTestSourceProvider<Ncv32u> &src_, std 63 modules/cudalegacy/test/TestHypothesesGrow.cpp bool TestHypothesesGrow::toString(std::ofstream &strOut) std 65 modules/cudalegacy/test/TestHypothesesGrow.cpp strOut << "rectWidth=" << rectWidth << std::endl; std 66 modules/cudalegacy/test/TestHypothesesGrow.cpp strOut << "rectHeight=" << rectHeight << std::endl; std 67 modules/cudalegacy/test/TestHypothesesGrow.cpp strOut << "rectScale=" << rectScale << std::endl; std 68 modules/cudalegacy/test/TestHypothesesGrow.cpp strOut << "maxLenSrc=" << maxLenSrc << std::endl; std 69 modules/cudalegacy/test/TestHypothesesGrow.cpp strOut << "lenSrc=" << lenSrc << std::endl; std 70 modules/cudalegacy/test/TestHypothesesGrow.cpp strOut << "maxLenDst=" << maxLenDst << std::endl; std 71 modules/cudalegacy/test/TestHypothesesGrow.cpp strOut << "lenDst=" << lenDst << std::endl; std 54 modules/cudalegacy/test/TestHypothesesGrow.h TestHypothesesGrow(std::string testName, NCVTestSourceProvider<Ncv32u> &src, std 61 modules/cudalegacy/test/TestHypothesesGrow.h virtual bool toString(std::ofstream &strOut); std 47 modules/cudalegacy/test/TestIntegralImage.cpp TestIntegralImage<T_in, T_out>::TestIntegralImage(std::string testName_, NCVTestSourceProvider<T_in> &src_, std 59 modules/cudalegacy/test/TestIntegralImage.cpp bool TestIntegralImage<T_in, T_out>::toString(std::ofstream &strOut) std 61 modules/cudalegacy/test/TestIntegralImage.cpp strOut << "sizeof(T_in)=" << sizeof(T_in) << std::endl; std 62 modules/cudalegacy/test/TestIntegralImage.cpp strOut << "sizeof(T_out)=" << sizeof(T_out) << std::endl; std 63 modules/cudalegacy/test/TestIntegralImage.cpp strOut << "width=" << width << std::endl; std 64 modules/cudalegacy/test/TestIntegralImage.cpp strOut << "height=" << height << std::endl; std 55 modules/cudalegacy/test/TestIntegralImage.h TestIntegralImage(std::string testName, NCVTestSourceProvider<T_in> &src, std 61 modules/cudalegacy/test/TestIntegralImage.h virtual bool toString(std::ofstream &strOut); std 46 modules/cudalegacy/test/TestIntegralImageSquared.cpp TestIntegralImageSquared::TestIntegralImageSquared(std::string testName_, NCVTestSourceProvider<Ncv8u> &src_, std 57 modules/cudalegacy/test/TestIntegralImageSquared.cpp bool TestIntegralImageSquared::toString(std::ofstream &strOut) std 59 modules/cudalegacy/test/TestIntegralImageSquared.cpp strOut << "width=" << width << std::endl; std 60 modules/cudalegacy/test/TestIntegralImageSquared.cpp strOut << "height=" << height << std::endl; std 54 modules/cudalegacy/test/TestIntegralImageSquared.h TestIntegralImageSquared(std::string testName, NCVTestSourceProvider<Ncv8u> &src, std 60 modules/cudalegacy/test/TestIntegralImageSquared.h virtual bool toString(std::ofstream &strOut); std 46 modules/cudalegacy/test/TestRectStdDev.cpp TestRectStdDev::TestRectStdDev(std::string testName_, NCVTestSourceProvider<Ncv8u> &src_, std 61 modules/cudalegacy/test/TestRectStdDev.cpp bool TestRectStdDev::toString(std::ofstream &strOut) std 63 modules/cudalegacy/test/TestRectStdDev.cpp strOut << "width=" << width << std::endl; std 64 modules/cudalegacy/test/TestRectStdDev.cpp strOut << "height=" << height << std::endl; std 66 modules/cudalegacy/test/TestRectStdDev.cpp strOut << "scaleFactor=" << scaleFactor << std::endl; std 67 modules/cudalegacy/test/TestRectStdDev.cpp strOut << "bTextureCache=" << bTextureCache << std::endl; std 54 modules/cudalegacy/test/TestRectStdDev.h TestRectStdDev(std::string testName, NCVTestSourceProvider<Ncv8u> &src, std 61 modules/cudalegacy/test/TestRectStdDev.h virtual bool toString(std::ofstream &strOut); std 47 modules/cudalegacy/test/TestResize.cpp TestResize<T>::TestResize(std::string testName_, NCVTestSourceProvider<T> &src_, std 61 modules/cudalegacy/test/TestResize.cpp bool TestResize<T>::toString(std::ofstream &strOut) std 63 modules/cudalegacy/test/TestResize.cpp strOut << "sizeof(T)=" << sizeof(T) << std::endl; std 64 modules/cudalegacy/test/TestResize.cpp strOut << "width=" << width << std::endl; std 65 modules/cudalegacy/test/TestResize.cpp strOut << "scaleFactor=" << scaleFactor << std::endl; std 66 modules/cudalegacy/test/TestResize.cpp strOut << "bTextureCache=" << bTextureCache << std::endl; std 54 modules/cudalegacy/test/TestResize.h TestResize(std::string testName, NCVTestSourceProvider<T> &src, std 60 modules/cudalegacy/test/TestResize.h virtual bool toString(std::ofstream &strOut); std 47 modules/cudalegacy/test/TestTranspose.cpp TestTranspose<T>::TestTranspose(std::string testName_, NCVTestSourceProvider<T> &src_, std 59 modules/cudalegacy/test/TestTranspose.cpp bool TestTranspose<T>::toString(std::ofstream &strOut) std 61 modules/cudalegacy/test/TestTranspose.cpp strOut << "sizeof(T)=" << sizeof(T) << std::endl; std 62 modules/cudalegacy/test/TestTranspose.cpp strOut << "width=" << width << std::endl; std 55 modules/cudalegacy/test/TestTranspose.h TestTranspose(std::string testName, NCVTestSourceProvider<T> &src, std 61 modules/cudalegacy/test/TestTranspose.h virtual bool toString(std::ofstream &strOut); std 49 modules/cudalegacy/test/main_nvidia.cpp static std::string path; std 300 modules/cudalegacy/test/main_nvidia.cpp bool nvidia_NPPST_Integral_Image(const std::string& test_data_path, OutputLevel outputLevel) std 316 modules/cudalegacy/test/main_nvidia.cpp bool nvidia_NPPST_Squared_Integral_Image(const std::string& test_data_path, OutputLevel outputLevel) std 330 modules/cudalegacy/test/main_nvidia.cpp bool nvidia_NPPST_RectStdDev(const std::string& test_data_path, OutputLevel outputLevel) std 344 modules/cudalegacy/test/main_nvidia.cpp bool nvidia_NPPST_Resize(const std::string& test_data_path, OutputLevel outputLevel) std 360 modules/cudalegacy/test/main_nvidia.cpp bool nvidia_NPPST_Vector_Operations(const std::string& test_data_path, OutputLevel outputLevel) std 374 modules/cudalegacy/test/main_nvidia.cpp bool nvidia_NPPST_Transpose(const std::string& test_data_path, OutputLevel outputLevel) std 390 modules/cudalegacy/test/main_nvidia.cpp bool nvidia_NCV_Vector_Operations(const std::string& test_data_path, OutputLevel outputLevel) std 405 modules/cudalegacy/test/main_nvidia.cpp bool nvidia_NCV_Haar_Cascade_Loader(const std::string& test_data_path, OutputLevel outputLevel) std 417 modules/cudalegacy/test/main_nvidia.cpp bool nvidia_NCV_Haar_Cascade_Application(const std::string& test_data_path, OutputLevel outputLevel) std 431 modules/cudalegacy/test/main_nvidia.cpp bool nvidia_NCV_Hypotheses_Filtration(const std::string& test_data_path, OutputLevel outputLevel) std 445 modules/cudalegacy/test/main_nvidia.cpp bool nvidia_NCV_Visualization(const std::string& test_data_path, OutputLevel outputLevel) std 55 modules/cudalegacy/test/main_test_nvidia.h bool nvidia_NPPST_Integral_Image(const std::string& test_data_path, OutputLevel outputLevel); std 56 modules/cudalegacy/test/main_test_nvidia.h bool nvidia_NPPST_Squared_Integral_Image(const std::string& test_data_path, OutputLevel outputLevel); std 57 modules/cudalegacy/test/main_test_nvidia.h bool nvidia_NPPST_RectStdDev(const std::string& test_data_path, OutputLevel outputLevel); std 58 modules/cudalegacy/test/main_test_nvidia.h bool nvidia_NPPST_Resize(const std::string& test_data_path, OutputLevel outputLevel); std 59 modules/cudalegacy/test/main_test_nvidia.h bool nvidia_NPPST_Vector_Operations(const std::string& test_data_path, OutputLevel outputLevel); std 60 modules/cudalegacy/test/main_test_nvidia.h bool nvidia_NPPST_Transpose(const std::string& test_data_path, OutputLevel outputLevel); std 61 modules/cudalegacy/test/main_test_nvidia.h bool nvidia_NCV_Vector_Operations(const std::string& test_data_path, OutputLevel outputLevel); std 62 modules/cudalegacy/test/main_test_nvidia.h bool nvidia_NCV_Haar_Cascade_Loader(const std::string& test_data_path, OutputLevel outputLevel); std 63 modules/cudalegacy/test/main_test_nvidia.h bool nvidia_NCV_Haar_Cascade_Application(const std::string& test_data_path, OutputLevel outputLevel); std 64 modules/cudalegacy/test/main_test_nvidia.h bool nvidia_NCV_Hypotheses_Filtration(const std::string& test_data_path, OutputLevel outputLevel); std 65 modules/cudalegacy/test/main_test_nvidia.h bool nvidia_NCV_Visualization(const std::string& test_data_path, OutputLevel outputLevel); std 131 modules/cudalegacy/test/test_calib3d.cpp std::vector<cv::Point2f> dst_gold; std 173 modules/cudalegacy/test/test_calib3d.cpp std::vector<cv::Point2f> image_vec; std 181 modules/cudalegacy/test/test_calib3d.cpp std::vector<int> inliers; std 166 modules/cudalegacy/test/test_labeling.cpp return cv::imread(std::string( cvtest::TS::ptr()->get_data_path() ) + "labeling/label.png"); std 47 modules/cudalegacy/test/test_main.cpp using namespace std; std 57 modules/cudalegacy/test/test_main.cpp const std::string keys = std 56 modules/cudalegacy/test/test_nvidia.cpp std::string _path; std 167 modules/cudaobjdetect/include/opencv2/cudaobjdetect.hpp std::vector<Point>& found_locations, std 168 modules/cudaobjdetect/include/opencv2/cudaobjdetect.hpp std::vector<double>* confidences = NULL) = 0; std 177 modules/cudaobjdetect/include/opencv2/cudaobjdetect.hpp std::vector<Rect>& found_locations, std 178 modules/cudaobjdetect/include/opencv2/cudaobjdetect.hpp std::vector<double>* confidences = NULL) = 0; std 281 modules/cudaobjdetect/include/opencv2/cudaobjdetect.hpp std::vector<Rect>& objects) = 0; std 45 modules/cudaobjdetect/perf/perf_objdetect.cpp using namespace std; std 72 modules/cudaobjdetect/perf/perf_objdetect.cpp std::vector<cv::Rect> gpu_found_locations; std 83 modules/cudaobjdetect/perf/perf_objdetect.cpp std::vector<cv::Rect> cpu_found_locations; std 118 modules/cudaobjdetect/perf/perf_objdetect.cpp std::vector<cv::Rect> gpu_rects; std 129 modules/cudaobjdetect/perf/perf_objdetect.cpp std::vector<cv::Rect> cpu_rects; std 156 modules/cudaobjdetect/perf/perf_objdetect.cpp std::vector<cv::Rect> gpu_rects; std 167 modules/cudaobjdetect/perf/perf_objdetect.cpp std::vector<cv::Rect> cpu_rects; std 125 modules/cudaobjdetect/src/cascadeclassifier.cpp std::vector<Rect>& objects); std 204 modules/cudaobjdetect/src/cascadeclassifier.cpp void HaarCascade_Impl::convert(OutputArray _gpu_objects, std::vector<Rect>& objects) std 476 modules/cudaobjdetect/src/cascadeclassifier.cpp std::vector<Rect>& objects); std 609 modules/cudaobjdetect/src/cascadeclassifier.cpp void LbpCascade_Impl::convert(OutputArray _gpu_objects, std::vector<Rect>& objects) std 681 modules/cudaobjdetect/src/cascadeclassifier.cpp std::vector<Stage> stages; std 684 modules/cudaobjdetect/src/cascadeclassifier.cpp std::vector<int> cl_trees; std 685 modules/cudaobjdetect/src/cascadeclassifier.cpp std::vector<int> cl_nodes; std 686 modules/cudaobjdetect/src/cascadeclassifier.cpp std::vector<float> cl_leaves; std 687 modules/cudaobjdetect/src/cascadeclassifier.cpp std::vector<int> subsets; std 751 modules/cudaobjdetect/src/cascadeclassifier.cpp std::vector<uchar> features; std 143 modules/cudaobjdetect/src/hog.cpp std::vector<Point>& found_locations, std 144 modules/cudaobjdetect/src/hog.cpp std::vector<double>* confidences); std 147 modules/cudaobjdetect/src/hog.cpp std::vector<Rect>& found_locations, std 148 modules/cudaobjdetect/src/hog.cpp std::vector<double>* confidences); std 253 modules/cudaobjdetect/src/hog.cpp std::vector<float> detector_reordered(detector.ptr<float>(), detector.ptr<float>() + detector.cols); std 286 modules/cudaobjdetect/src/hog.cpp void HOG_Impl::detect(InputArray _img, std::vector<Point>& hits, std::vector<double>* confidences) std 364 modules/cudaobjdetect/src/hog.cpp std::vector<Rect>& found_locations, std 365 modules/cudaobjdetect/src/hog.cpp std::vector<double>* confidences) std 372 modules/cudaobjdetect/src/hog.cpp std::vector<double> level_scale; std 388 modules/cudaobjdetect/src/hog.cpp levels = std::max(levels, 1); std 391 modules/cudaobjdetect/src/hog.cpp std::vector<Point> level_hits; std 392 modules/cudaobjdetect/src/hog.cpp std::vector<double> level_confidences; std 57 modules/cudaobjdetect/test/test_objdetect.cpp std::ofstream f; std 59 modules/cudaobjdetect/test/test_objdetect.cpp std::ifstream f; std 78 modules/cudaobjdetect/test/test_objdetect.cpp void dump(const std::vector<cv::Point>& locations) std 87 modules/cudaobjdetect/test/test_objdetect.cpp void compare(const std::vector<cv::Point>& locations) std 120 modules/cudaobjdetect/test/test_objdetect.cpp std::vector<cv::Point> locations; std 160 modules/cudaobjdetect/test/test_objdetect.cpp f.open((std::string(cvtest::TS::ptr()->get_data_path()) + "hog/expected_output.bin").c_str(), std::ios_base::binary); std 225 modules/cudaobjdetect/test/test_objdetect.cpp struct CalTech : public ::testing::TestWithParam<std::tr1::tuple<cv::cuda::DeviceInfo, std::string> > std 249 modules/cudaobjdetect/test/test_objdetect.cpp std::vector<cv::Rect> found_locations; std 257 modules/cudaobjdetect/test/test_objdetect.cpp std::cout << r.x << " " << r.y << " " << r.width << " " << r.height << std::endl; std 267 modules/cudaobjdetect/test/test_objdetect.cpp ::testing::Values<std::string>("caltech/image_00000009_0.png", "caltech/image_00000032_0.png", std 290 modules/cudaobjdetect/test/test_objdetect.cpp std::string classifierXmlPath = std::string(cvtest::TS::ptr()->get_data_path()) + "lbpcascade/lbpcascade_frontalface.xml"; std 318 modules/cudaobjdetect/test/test_objdetect.cpp std::string classifierXmlPath = std::string(cvtest::TS::ptr()->get_data_path()) + "lbpcascade/lbpcascade_frontalface.xml"; std 319 modules/cudaobjdetect/test/test_objdetect.cpp std::string imagePath = std::string(cvtest::TS::ptr()->get_data_path()) + "lbpcascade/er.png"; std 330 modules/cudaobjdetect/test/test_objdetect.cpp std::vector<cv::Rect> rects; std 334 modules/cudaobjdetect/test/test_objdetect.cpp std::vector<cv::Rect>::iterator it = rects.begin(); std 345 modules/cudaobjdetect/test/test_objdetect.cpp std::vector<cv::Rect> gpu_rects; std 353 modules/cudaobjdetect/test/test_objdetect.cpp std::cout << r.x << " " << r.y << " " << r.width << " " << r.height << std::endl; std 45 modules/cudaoptflow/perf/perf_optflow.cpp using namespace std; std 161 modules/cudaoptflow/src/farneback.cpp std::vector<GpuMat> pyramid0_, pyramid1_; std 194 modules/cudaoptflow/src/farneback.cpp g[x] = (float)std::exp(-x*x/(2*sigma*sigma)); std 242 modules/cudaoptflow/src/farneback.cpp std::vector<float> buf(n*6 + 3); std 297 modules/cudaoptflow/src/farneback.cpp CV_Assert(!fastPyramids_ || std::abs(pyrScale_ - 0.5) < 1e-6); std 351 modules/cudaoptflow/src/farneback.cpp smoothSize = std::max(smoothSize, 3); std 88 modules/cudaoptflow/src/pyrlk.cpp std::vector<GpuMat> prevPyr_; std 89 modules/cudaoptflow/src/pyrlk.cpp std::vector<GpuMat> nextPyr_; std 134 modules/cudaoptflow/src/tvl1flow.cpp std::vector<GpuMat> I0s; std 135 modules/cudaoptflow/src/tvl1flow.cpp std::vector<GpuMat> I1s; std 136 modules/cudaoptflow/src/tvl1flow.cpp std::vector<GpuMat> u1s; std 137 modules/cudaoptflow/src/tvl1flow.cpp std::vector<GpuMat> u2s; std 138 modules/cudaoptflow/src/tvl1flow.cpp std::vector<GpuMat> u3s; std 348 modules/cudaoptflow/src/tvl1flow.cpp double error = std::numeric_limits<double>::max(); std 363 modules/cudaoptflow/src/tvl1flow.cpp error = std::numeric_limits<double>::max(); std 87 modules/cudaoptflow/test/test_optflow.cpp std::string fname(cvtest::TS::ptr()->get_data_path()); std 94 modules/cudaoptflow/test/test_optflow.cpp std::ifstream f(fname.c_str(), std::ios_base::binary); std 114 modules/cudaoptflow/test/test_optflow.cpp std::ofstream f(fname.c_str(), std::ios_base::binary); std 201 modules/cudaoptflow/test/test_optflow.cpp std::vector<cv::Point2f> pts; std 215 modules/cudaoptflow/test/test_optflow.cpp std::vector<cv::Point2f> nextPts(d_nextPts.cols); std 219 modules/cudaoptflow/test/test_optflow.cpp std::vector<unsigned char> status(d_status.cols); std 223 modules/cudaoptflow/test/test_optflow.cpp std::vector<cv::Point2f> nextPts_gold; std 224 modules/cudaoptflow/test/test_optflow.cpp std::vector<unsigned char> status_gold; std 244 modules/cudaoptflow/test/test_optflow.cpp bool eq = std::abs(a.x - b.x) <= 1 && std::abs(a.y - b.y) <= 1; std 45 modules/cudastereo/perf/perf_stereo.cpp using namespace std; std 52 modules/cudastereo/perf/perf_stereo.cpp typedef std::tr1::tuple<string, string> pair_string; std 102 modules/cudastereo/src/disparity_bilateral_filter.cpp line[i] = static_cast<float>(std::exp(-double(i * i) / (2 * sigma_range * sigma_range))); std 156 modules/cudastereo/src/disparity_bilateral_filter.cpp const short edge_disc = std::max<short>(short(1), short(ndisp * edge_threshold + 0.5)); std 141 modules/cudastereo/src/stereobp.cpp std::vector<int> cols_all_, rows_all_; std 143 modules/cudastereo/src/stereobp.cpp std::vector<GpuMat> datas_; std 180 modules/cudastereo/src/stereobp.cpp CV_Assert( msg_type_ == CV_32F || (1 << (levels_ - 1)) * scale_ * max_data_term_ < std::numeric_limits<short>::max() ); std 195 modules/cudastereo/src/stereobp.cpp CV_Assert( std::min(lowest_cols, lowest_rows) > min_image_dim_size ); std 212 modules/cudastereo/src/stereobp.cpp CV_Assert( msg_type_ == CV_32F || (1 << (levels_ - 1)) * scale_ * max_data_term_ < std::numeric_limits<short>::max() ); std 225 modules/cudastereo/src/stereobp.cpp CV_Assert( std::min(lowest_cols, lowest_rows) > min_image_dim_size ); std 373 modules/cudastereo/src/stereobp.cpp int mm = std::max(width, height); std 171 modules/cudastereo/src/stereocsbp.cpp levels_ = std::min(levels_, int(log((double)ndisp_) / log(2.0))); std 348 modules/cudastereo/src/stereocsbp.cpp int mm = std::max(width, height); std 354 modules/cudastereo/src/stereocsbp.cpp nr_plane = (int) ((float) ndisp / std::pow(2.0, levels + 1)); std 45 modules/cudawarping/perf/perf_warping.cpp using namespace std; std 256 modules/cudawarping/perf/perf_warping.cpp std::cos(aplha), -std::sin(aplha), static_cast<double>(src.cols) / 2.0, std 257 modules/cudawarping/perf/perf_warping.cpp std::sin(aplha), std::cos(aplha), 0 std 304 modules/cudawarping/perf/perf_warping.cpp double mat[3][3] = { {std::cos(aplha), -std::sin(aplha), static_cast<double>(src.cols) / 2.0}, std 305 modules/cudawarping/perf/perf_warping.cpp {std::sin(aplha), std::cos(aplha), 0}, std 141 modules/cudawarping/test/test_remap.cpp static double M[2][3] = { {std::cos(aplha), -std::sin(aplha), size.width / 2.0}, std 142 modules/cudawarping/test/test_remap.cpp {std::sin(aplha), std::cos(aplha), 0.0}}; std 55 modules/cudawarping/test/test_warp_affine.cpp M.at<double>(0, 0) = std::cos(angle); M.at<double>(0, 1) = -std::sin(angle); M.at<double>(0, 2) = srcSize.width / 2; std 56 modules/cudawarping/test/test_warp_affine.cpp M.at<double>(1, 0) = std::sin(angle); M.at<double>(1, 1) = std::cos(angle); M.at<double>(1, 2) = 0.0; std 55 modules/cudawarping/test/test_warp_perspective.cpp M.at<double>(0, 0) = std::cos(angle); M.at<double>(0, 1) = -std::sin(angle); M.at<double>(0, 2) = srcSize.width / 2; std 56 modules/cudawarping/test/test_warp_perspective.cpp M.at<double>(1, 0) = std::sin(angle); M.at<double>(1, 1) = std::cos(angle); M.at<double>(1, 2) = 0.0; std 109 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.setTo(Scalar::all(std::numeric_limits<ResType>::max()), stream); std 127 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.setTo(Scalar::all(std::numeric_limits<ResType>::max()), stream); std 143 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.setTo(Scalar::all(-std::numeric_limits<ResType>::max()), stream); std 161 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.setTo(Scalar::all(-std::numeric_limits<ResType>::max()), stream); std 177 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.col(0).setTo(Scalar::all(std::numeric_limits<ResType>::max()), stream); std 178 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.col(1).setTo(Scalar::all(-std::numeric_limits<ResType>::max()), stream); std 196 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.col(0).setTo(Scalar::all(std::numeric_limits<ResType>::max()), stream); std 197 modules/cudev/include/opencv2/cudev/grid/reduce.hpp dst.col(1).setTo(Scalar::all(-std::numeric_limits<ResType>::max()), stream); std 138 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp std::memset(&texRes, 0, sizeof(texRes)); std 147 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp std::memset(&texDescr, 0, sizeof(texDescr)); std 221 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp std::memset(&texRes, 0, sizeof(texRes)); std 230 modules/cudev/include/opencv2/cudev/ptr2d/texture.hpp std::memset(&texDescr, 0, sizeof(texDescr)); std 106 modules/features2d/include/opencv2/features2d.hpp static void runByImageBorder( std::vector<KeyPoint>& keypoints, Size imageSize, int borderSize ); std 110 modules/features2d/include/opencv2/features2d.hpp static void runByKeypointSize( std::vector<KeyPoint>& keypoints, float minSize, std 115 modules/features2d/include/opencv2/features2d.hpp static void runByPixelsMask( std::vector<KeyPoint>& keypoints, const Mat& mask ); std 119 modules/features2d/include/opencv2/features2d.hpp static void removeDuplicated( std::vector<KeyPoint>& keypoints ); std 124 modules/features2d/include/opencv2/features2d.hpp static void retainBest( std::vector<KeyPoint>& keypoints, int npoints ); std 146 modules/features2d/include/opencv2/features2d.hpp CV_OUT std::vector<KeyPoint>& keypoints, std 157 modules/features2d/include/opencv2/features2d.hpp std::vector<std::vector<KeyPoint> >& keypoints, std 172 modules/features2d/include/opencv2/features2d.hpp CV_OUT CV_IN_OUT std::vector<KeyPoint>& keypoints, std 186 modules/features2d/include/opencv2/features2d.hpp std::vector<std::vector<KeyPoint> >& keypoints, std 191 modules/features2d/include/opencv2/features2d.hpp CV_OUT std::vector<KeyPoint>& keypoints, std 243 modules/features2d/include/opencv2/features2d.hpp CV_WRAP static Ptr<BRISK> create(const std::vector<float> &radiusList, const std::vector<int> &numberList, std 244 modules/features2d/include/opencv2/features2d.hpp float dMax=5.85f, float dMin=8.2f, const std::vector<int>& indexChange=std::vector<int>()); std 340 modules/features2d/include/opencv2/features2d.hpp CV_OUT std::vector<std::vector<Point> >& msers, std 341 modules/features2d/include/opencv2/features2d.hpp std::vector<Rect>& bboxes ) = 0; std 357 modules/features2d/include/opencv2/features2d.hpp CV_EXPORTS void FAST( InputArray image, CV_OUT std::vector<KeyPoint>& keypoints, std 378 modules/features2d/include/opencv2/features2d.hpp CV_EXPORTS void FAST( InputArray image, CV_OUT std::vector<KeyPoint>& keypoints, std 412 modules/features2d/include/opencv2/features2d.hpp CV_EXPORTS void AGAST( InputArray image, CV_OUT std::vector<KeyPoint>& keypoints, std 430 modules/features2d/include/opencv2/features2d.hpp CV_EXPORTS void AGAST( InputArray image, CV_OUT std::vector<KeyPoint>& keypoints, std 713 modules/features2d/include/opencv2/features2d.hpp return (ResultType)std::sqrt((double)normL2Sqr<ValueType, ResultType>(a, b, size)); std 762 modules/features2d/include/opencv2/features2d.hpp CV_WRAP const std::vector<Mat>& getTrainDescriptors() const; std 802 modules/features2d/include/opencv2/features2d.hpp CV_OUT std::vector<DMatch>& matches, InputArray mask=noArray() ) const; std 823 modules/features2d/include/opencv2/features2d.hpp CV_OUT std::vector<std::vector<DMatch> >& matches, int k, std 846 modules/features2d/include/opencv2/features2d.hpp std::vector<std::vector<DMatch> >& matches, float maxDistance, std 856 modules/features2d/include/opencv2/features2d.hpp CV_WRAP void match( InputArray queryDescriptors, CV_OUT std::vector<DMatch>& matches, std 869 modules/features2d/include/opencv2/features2d.hpp CV_WRAP void knnMatch( InputArray queryDescriptors, CV_OUT std::vector<std::vector<DMatch> >& matches, int k, std 883 modules/features2d/include/opencv2/features2d.hpp void radiusMatch( InputArray queryDescriptors, std::vector<std::vector<DMatch> >& matches, float maxDistance, std 924 modules/features2d/include/opencv2/features2d.hpp void set( const std::vector<Mat>& descriptors ); std 936 modules/features2d/include/opencv2/features2d.hpp std::vector<int> startIdxs; std 942 modules/features2d/include/opencv2/features2d.hpp virtual void knnMatchImpl( InputArray queryDescriptors, std::vector<std::vector<DMatch> >& matches, int k, std 944 modules/features2d/include/opencv2/features2d.hpp virtual void radiusMatchImpl( InputArray queryDescriptors, std::vector<std::vector<DMatch> >& matches, float maxDistance, std 954 modules/features2d/include/opencv2/features2d.hpp std::vector<Mat> trainDescCollection; std 955 modules/features2d/include/opencv2/features2d.hpp std::vector<UMat> utrainDescCollection; std 987 modules/features2d/include/opencv2/features2d.hpp virtual void knnMatchImpl( InputArray queryDescriptors, std::vector<std::vector<DMatch> >& matches, int k, std 989 modules/features2d/include/opencv2/features2d.hpp virtual void radiusMatchImpl( InputArray queryDescriptors, std::vector<std::vector<DMatch> >& matches, float maxDistance, std 1025 modules/features2d/include/opencv2/features2d.hpp std::vector<std::vector<DMatch> >& matches ); std 1027 modules/features2d/include/opencv2/features2d.hpp virtual void knnMatchImpl( InputArray queryDescriptors, std::vector<std::vector<DMatch> >& matches, int k, std 1029 modules/features2d/include/opencv2/features2d.hpp virtual void radiusMatchImpl( InputArray queryDescriptors, std::vector<std::vector<DMatch> >& matches, float maxDistance, std 1079 modules/features2d/include/opencv2/features2d.hpp CV_EXPORTS_W void drawKeypoints( InputArray image, const std::vector<KeyPoint>& keypoints, InputOutputArray outImage, std 1104 modules/features2d/include/opencv2/features2d.hpp CV_EXPORTS_W void drawMatches( InputArray img1, const std::vector<KeyPoint>& keypoints1, std 1105 modules/features2d/include/opencv2/features2d.hpp InputArray img2, const std::vector<KeyPoint>& keypoints2, std 1106 modules/features2d/include/opencv2/features2d.hpp const std::vector<DMatch>& matches1to2, InputOutputArray outImg, std 1108 modules/features2d/include/opencv2/features2d.hpp const std::vector<char>& matchesMask=std::vector<char>(), int flags=DrawMatchesFlags::DEFAULT ); std 1111 modules/features2d/include/opencv2/features2d.hpp CV_EXPORTS_AS(drawMatchesKnn) void drawMatches( InputArray img1, const std::vector<KeyPoint>& keypoints1, std 1112 modules/features2d/include/opencv2/features2d.hpp InputArray img2, const std::vector<KeyPoint>& keypoints2, std 1113 modules/features2d/include/opencv2/features2d.hpp const std::vector<std::vector<DMatch> >& matches1to2, InputOutputArray outImg, std 1115 modules/features2d/include/opencv2/features2d.hpp const std::vector<std::vector<char> >& matchesMask=std::vector<std::vector<char> >(), int flags=DrawMatchesFlags::DEFAULT ); std 1124 modules/features2d/include/opencv2/features2d.hpp std::vector<KeyPoint>* keypoints1, std::vector<KeyPoint>* keypoints2, std 1128 modules/features2d/include/opencv2/features2d.hpp CV_EXPORTS void computeRecallPrecisionCurve( const std::vector<std::vector<DMatch> >& matches1to2, std 1129 modules/features2d/include/opencv2/features2d.hpp const std::vector<std::vector<uchar> >& correctMatches1to2Mask, std 1130 modules/features2d/include/opencv2/features2d.hpp std::vector<Point2f>& recallPrecisionCurve ); std 1132 modules/features2d/include/opencv2/features2d.hpp CV_EXPORTS float getRecall( const std::vector<Point2f>& recallPrecisionCurve, float l_precision ); std 1133 modules/features2d/include/opencv2/features2d.hpp CV_EXPORTS int getNearestPoint( const std::vector<Point2f>& recallPrecisionCurve, float l_precision ); std 1164 modules/features2d/include/opencv2/features2d.hpp CV_WRAP const std::vector<Mat>& getDescriptors() const; std 1187 modules/features2d/include/opencv2/features2d.hpp std::vector<Mat> descriptors; std 1263 modules/features2d/include/opencv2/features2d.hpp void compute( InputArray image, std::vector<KeyPoint>& keypoints, OutputArray imgDescriptor, std 1264 modules/features2d/include/opencv2/features2d.hpp std::vector<std::vector<int> >* pointIdxsOfClusters=0, Mat* descriptors=0 ); std 1273 modules/features2d/include/opencv2/features2d.hpp std::vector<std::vector<int> >* pointIdxsOfClusters=0 ); std 1276 modules/features2d/include/opencv2/features2d.hpp CV_WRAP_AS(compute) void compute2( const Mat& image, std::vector<KeyPoint>& keypoints, CV_OUT Mat& imgDescriptor ) std 11 modules/features2d/misc/java/src/cpp/features2d_converters.cpp void Mat_to_vector_KeyPoint(Mat& mat, std::vector<KeyPoint>& v_kp) std 25 modules/features2d/misc/java/src/cpp/features2d_converters.cpp void vector_KeyPoint_to_Mat(std::vector<KeyPoint>& v_kp, Mat& mat) std 37 modules/features2d/misc/java/src/cpp/features2d_converters.cpp void Mat_to_vector_DMatch(Mat& mat, std::vector<DMatch>& v_dm) std 51 modules/features2d/misc/java/src/cpp/features2d_converters.cpp void vector_DMatch_to_Mat(std::vector<DMatch>& v_dm, Mat& mat) std 62 modules/features2d/misc/java/src/cpp/features2d_converters.cpp void Mat_to_vector_vector_KeyPoint(Mat& mat, std::vector< std::vector< KeyPoint > >& vv_kp) std 64 modules/features2d/misc/java/src/cpp/features2d_converters.cpp std::vector<Mat> vm; std 69 modules/features2d/misc/java/src/cpp/features2d_converters.cpp std::vector<KeyPoint> vkp; std 75 modules/features2d/misc/java/src/cpp/features2d_converters.cpp void vector_vector_KeyPoint_to_Mat(std::vector< std::vector< KeyPoint > >& vv_kp, Mat& mat) std 77 modules/features2d/misc/java/src/cpp/features2d_converters.cpp std::vector<Mat> vm; std 88 modules/features2d/misc/java/src/cpp/features2d_converters.cpp void Mat_to_vector_vector_DMatch(Mat& mat, std::vector< std::vector< DMatch > >& vv_dm) std 90 modules/features2d/misc/java/src/cpp/features2d_converters.cpp std::vector<Mat> vm; std 95 modules/features2d/misc/java/src/cpp/features2d_converters.cpp std::vector<DMatch> vdm; std 101 modules/features2d/misc/java/src/cpp/features2d_converters.cpp void vector_vector_DMatch_to_Mat(std::vector< std::vector< DMatch > >& vv_dm, Mat& mat) std 103 modules/features2d/misc/java/src/cpp/features2d_converters.cpp std::vector<Mat> vm; std 9 modules/features2d/misc/java/src/cpp/features2d_converters.hpp void Mat_to_vector_KeyPoint(cv::Mat& mat, std::vector<cv::KeyPoint>& v_kp); std 10 modules/features2d/misc/java/src/cpp/features2d_converters.hpp void vector_KeyPoint_to_Mat(std::vector<cv::KeyPoint>& v_kp, cv::Mat& mat); std 12 modules/features2d/misc/java/src/cpp/features2d_converters.hpp void Mat_to_vector_DMatch(cv::Mat& mat, std::vector<cv::DMatch>& v_dm); std 13 modules/features2d/misc/java/src/cpp/features2d_converters.hpp void vector_DMatch_to_Mat(std::vector<cv::DMatch>& v_dm, cv::Mat& mat); std 15 modules/features2d/misc/java/src/cpp/features2d_converters.hpp void Mat_to_vector_vector_KeyPoint(cv::Mat& mat, std::vector< std::vector< cv::KeyPoint > >& vv_kp); std 16 modules/features2d/misc/java/src/cpp/features2d_converters.hpp void vector_vector_KeyPoint_to_Mat(std::vector< std::vector< cv::KeyPoint > >& vv_kp, cv::Mat& mat); std 18 modules/features2d/misc/java/src/cpp/features2d_converters.hpp void Mat_to_vector_vector_DMatch(cv::Mat& mat, std::vector< std::vector< cv::DMatch > >& vv_dm); std 19 modules/features2d/misc/java/src/cpp/features2d_converters.hpp void vector_vector_DMatch_to_Mat(std::vector< std::vector< cv::DMatch > >& vv_dm, cv::Mat& mat); std 18 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_WRAP void detect( const Mat& image, CV_OUT std::vector<KeyPoint>& keypoints, const Mat& mask=Mat() ) const std 21 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_WRAP void detect( const std::vector<Mat>& images, CV_OUT std::vector<std::vector<KeyPoint> >& keypoints, const std::vector<Mat>& masks=std::vector<Mat>() ) const std 187 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_WRAP void add( const std::vector<Mat>& descriptors ) std 190 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_WRAP const std::vector<Mat>& getTrainDescriptors() const std 203 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_OUT std::vector<DMatch>& matches, const Mat& mask=Mat() ) const std 207 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_OUT std::vector<std::vector<DMatch> >& matches, int k, std 212 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_OUT std::vector<std::vector<DMatch> >& matches, float maxDistance, std 216 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_WRAP void match( const Mat& queryDescriptors, CV_OUT std::vector<DMatch>& matches, std 217 modules/features2d/misc/java/src/cpp/features2d_manual.hpp const std::vector<Mat>& masks=std::vector<Mat>() ) std 220 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_WRAP void knnMatch( const Mat& queryDescriptors, CV_OUT std::vector<std::vector<DMatch> >& matches, int k, std 221 modules/features2d/misc/java/src/cpp/features2d_manual.hpp const std::vector<Mat>& masks=std::vector<Mat>(), bool compactResult=false ) std 224 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_WRAP void radiusMatch( const Mat& queryDescriptors, CV_OUT std::vector<std::vector<DMatch> >& matches, float maxDistance, std 225 modules/features2d/misc/java/src/cpp/features2d_manual.hpp const std::vector<Mat>& masks=std::vector<Mat>(), bool compactResult=false ) std 298 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_WRAP void compute( const Mat& image, CV_IN_OUT std::vector<KeyPoint>& keypoints, Mat& descriptors ) const std 301 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_WRAP void compute( const std::vector<Mat>& images, CV_IN_OUT std::vector<std::vector<KeyPoint> >& keypoints, CV_OUT std::vector<Mat>& descriptors ) const std 412 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_EXPORTS_W void drawKeypoints( const Mat& image, const std::vector<KeyPoint>& keypoints, Mat& outImage, std 416 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_EXPORTS_W void drawMatches( const Mat& img1, const std::vector<KeyPoint>& keypoints1, std 417 modules/features2d/misc/java/src/cpp/features2d_manual.hpp const Mat& img2, const std::vector<KeyPoint>& keypoints2, std 418 modules/features2d/misc/java/src/cpp/features2d_manual.hpp const std::vector<DMatch>& matches1to2, Mat& outImg, std 420 modules/features2d/misc/java/src/cpp/features2d_manual.hpp const std::vector<char>& matchesMask=std::vector<char>(), int flags=0 ); std 422 modules/features2d/misc/java/src/cpp/features2d_manual.hpp CV_EXPORTS_AS(drawMatches2) void drawMatches( const Mat& img1, const std::vector<KeyPoint>& keypoints1, std 423 modules/features2d/misc/java/src/cpp/features2d_manual.hpp const Mat& img2, const std::vector<KeyPoint>& keypoints2, std 424 modules/features2d/misc/java/src/cpp/features2d_manual.hpp const std::vector<std::vector<DMatch> >& matches1to2, Mat& outImg, std 426 modules/features2d/misc/java/src/cpp/features2d_manual.hpp const std::vector<std::vector<char> >& matchesMask=std::vector<std::vector<char> >(), int flags=0); std 12 modules/features2d/perf/opencl/perf_fast.cpp typedef std::tr1::tuple<string, FastType> File_Type_t; std 9 modules/features2d/perf/opencl/perf_orb.cpp typedef ::perf::TestBaseWithParam<std::string> ORBFixture; std 30 modules/features2d/perf/opencl/perf_orb.cpp std::sort(points.begin(), points.end(), comparators::KeypointGreater()); std 50 modules/features2d/perf/opencl/perf_orb.cpp std::sort(points.begin(), points.end(), comparators::KeypointGreater()); std 3 modules/features2d/perf/perf_agast.cpp using namespace std; std 6 modules/features2d/perf/perf_agast.cpp using std::tr1::make_tuple; std 7 modules/features2d/perf/perf_agast.cpp using std::tr1::get; std 14 modules/features2d/perf/perf_agast.cpp typedef std::tr1::tuple<string, AgastType> File_Type_t; std 3 modules/features2d/perf/perf_batchDistance.cpp using namespace std; std 6 modules/features2d/perf/perf_batchDistance.cpp using std::tr1::make_tuple; std 7 modules/features2d/perf/perf_batchDistance.cpp using std::tr1::get; std 11 modules/features2d/perf/perf_batchDistance.cpp typedef std::tr1::tuple<NormType, MatType, bool> Norm_Destination_CrossCheck_t; std 14 modules/features2d/perf/perf_batchDistance.cpp typedef std::tr1::tuple<NormType, bool> Norm_CrossCheck_t; std 17 modules/features2d/perf/perf_batchDistance.cpp typedef std::tr1::tuple<MatType, bool> Source_CrossCheck_t; std 3 modules/features2d/perf/perf_fast.cpp using namespace std; std 6 modules/features2d/perf/perf_fast.cpp using std::tr1::make_tuple; std 7 modules/features2d/perf/perf_fast.cpp using std::tr1::get; std 12 modules/features2d/perf/perf_fast.cpp typedef std::tr1::tuple<string, FastType> File_Type_t; std 3 modules/features2d/perf/perf_orb.cpp using namespace std; std 6 modules/features2d/perf/perf_orb.cpp using std::tr1::make_tuple; std 7 modules/features2d/perf/perf_orb.cpp using std::tr1::get; std 9 modules/features2d/perf/perf_orb.cpp typedef perf::TestBaseWithParam<std::string> orb; std 55 modules/features2d/src/agast.cpp static void AGAST_5_8(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold) std 816 modules/features2d/src/agast.cpp static void AGAST_7_12d(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold) std 3260 modules/features2d/src/agast.cpp static void AGAST_7_12s(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold) std 5341 modules/features2d/src/agast.cpp static void OAST_9_16(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold) std 7445 modules/features2d/src/agast.cpp void AGAST(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, bool nonmax_suppression) std 7458 modules/features2d/src/agast.cpp void detect( InputArray _image, std::vector<KeyPoint>& keypoints, InputArray _mask ) std 7512 modules/features2d/src/agast.cpp void AGAST(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, bool nonmax_suppression, int type) std 7536 modules/features2d/src/agast.cpp std::vector<KeyPoint>::iterator kpt; std 7567 modules/features2d/src/agast.cpp std::vector<int> nmsFlags; std 7568 modules/features2d/src/agast.cpp std::vector<KeyPoint>::iterator currCorner_nms; std 7569 modules/features2d/src/agast.cpp std::vector<KeyPoint>::const_iterator currCorner; std 58 modules/features2d/src/akaze.cpp using namespace std; std 166 modules/features2d/src/akaze.cpp std::vector<KeyPoint>& keypoints, std 70 modules/features2d/src/bagofwords.cpp const std::vector<Mat>& BOWTrainer::getDescriptors() const std 135 modules/features2d/src/bagofwords.cpp dmatcher->add( std::vector<Mat>(1, vocabulary) ); std 143 modules/features2d/src/bagofwords.cpp void BOWImgDescriptorExtractor::compute( InputArray image, std::vector<KeyPoint>& keypoints, OutputArray imgDescriptor, std 144 modules/features2d/src/bagofwords.cpp std::vector<std::vector<int> >* pointIdxsOfClusters, Mat* descriptors ) std 173 modules/features2d/src/bagofwords.cpp void BOWImgDescriptorExtractor::compute( InputArray keypointDescriptors, OutputArray _imgDescriptor, std::vector<std::vector<int> >* pointIdxsOfClusters ) std 180 modules/features2d/src/bagofwords.cpp std::vector<DMatch> matches; std 78 modules/features2d/src/blobdetector.cpp virtual void detect( InputArray image, std::vector<KeyPoint>& keypoints, InputArray mask=noArray() ); std 79 modules/features2d/src/blobdetector.cpp virtual void findBlobs(InputArray image, InputArray binaryImage, std::vector<Center> ¢ers) const; std 104 modules/features2d/src/blobdetector.cpp maxCircularity = std::numeric_limits<float>::max(); std 109 modules/features2d/src/blobdetector.cpp maxInertiaRatio = std::numeric_limits<float>::max(); std 114 modules/features2d/src/blobdetector.cpp maxConvexity = std::numeric_limits<float>::max(); std 190 modules/features2d/src/blobdetector.cpp void SimpleBlobDetectorImpl::findBlobs(InputArray _image, InputArray _binaryImage, std::vector<Center> ¢ers) const std 196 modules/features2d/src/blobdetector.cpp std::vector < std::vector<Point> > contours; std 233 modules/features2d/src/blobdetector.cpp double denominator = std::sqrt(std::pow(2 * moms.mu11, 2) + std::pow(moms.mu20 - moms.mu02, 2)); std 260 modules/features2d/src/blobdetector.cpp std::vector < Point > hull; std 281 modules/features2d/src/blobdetector.cpp std::vector<double> dists; std 287 modules/features2d/src/blobdetector.cpp std::sort(dists.begin(), dists.end()); std 304 modules/features2d/src/blobdetector.cpp void SimpleBlobDetectorImpl::detect(InputArray image, std::vector<cv::KeyPoint>& keypoints, InputArray) std 314 modules/features2d/src/blobdetector.cpp std::vector < std::vector<Center> > centers; std 320 modules/features2d/src/blobdetector.cpp std::vector < Center > curCenters; std 322 modules/features2d/src/blobdetector.cpp std::vector < std::vector<Center> > newCenters; std 346 modules/features2d/src/blobdetector.cpp newCenters.push_back(std::vector<Center> (1, curCenters[i])); std 348 modules/features2d/src/blobdetector.cpp std::copy(newCenters.begin(), newCenters.end(), std::back_inserter(centers)); std 59 modules/features2d/src/brisk.cpp explicit BRISK_Impl(const std::vector<float> &radiusList, const std::vector<int> &numberList, std 60 modules/features2d/src/brisk.cpp float dMax=5.85f, float dMin=8.2f, const std::vector<int> indexChange=std::vector<int>()); std 82 modules/features2d/src/brisk.cpp void generateKernel(const std::vector<float> &radiusList, std 83 modules/features2d/src/brisk.cpp const std::vector<int> &numberList, float dMax=5.85f, float dMin=8.2f, std 84 modules/features2d/src/brisk.cpp const std::vector<int> &indexChange=std::vector<int>()); std 87 modules/features2d/src/brisk.cpp CV_OUT std::vector<KeyPoint>& keypoints, std 93 modules/features2d/src/brisk.cpp void computeKeypointsNoOrientation(InputArray image, InputArray mask, std::vector<KeyPoint>& keypoints) const; std 94 modules/features2d/src/brisk.cpp void computeDescriptorsAndOrOrientation(InputArray image, InputArray mask, std::vector<KeyPoint>& keypoints, std 162 modules/features2d/src/brisk.cpp getAgastPoints(int threshold, std::vector<cv::KeyPoint>& keypoints); std 231 modules/features2d/src/brisk.cpp getKeypoints(const int _threshold, std::vector<cv::KeyPoint>& keypoints); std 268 modules/features2d/src/brisk.cpp std::vector<BriskLayer> pyramid_; std 289 modules/features2d/src/brisk.cpp std::vector<float> rList; std 290 modules/features2d/src/brisk.cpp std::vector<int> nList; std 312 modules/features2d/src/brisk.cpp BRISK_Impl::BRISK_Impl(const std::vector<float> &radiusList, std 313 modules/features2d/src/brisk.cpp const std::vector<int> &numberList, std 315 modules/features2d/src/brisk.cpp const std::vector<int> indexChange) std 323 modules/features2d/src/brisk.cpp BRISK_Impl::generateKernel(const std::vector<float> &radiusList, std 324 modules/features2d/src/brisk.cpp const std::vector<int> &numberList, std 326 modules/features2d/src/brisk.cpp const std::vector<int>& _indexChange) std 328 modules/features2d/src/brisk.cpp std::vector<int> indexChange = _indexChange; std 345 modules/features2d/src/brisk.cpp static const float lb_scale = (float)(std::log(scalerange_) / std::log(2.0)); std 355 modules/features2d/src/brisk.cpp scaleList_[scale] = (float)std::pow((double) 2.0, (double) (scale * lb_scale_step)); std 617 modules/features2d/src/brisk.cpp BRISK_Impl::detectAndCompute( InputArray _image, InputArray _mask, std::vector<KeyPoint>& keypoints, std 630 modules/features2d/src/brisk.cpp BRISK_Impl::computeDescriptorsAndOrOrientation(InputArray _image, InputArray _mask, std::vector<KeyPoint>& keypoints, std 646 modules/features2d/src/brisk.cpp std::vector<int> kscales; // remember the scale per keypoint std 649 modules/features2d/src/brisk.cpp static const float lb_scalerange = (float)(std::log(scalerange_) / (log2)); std 650 modules/features2d/src/brisk.cpp std::vector<cv::KeyPoint>::iterator beginning = keypoints.begin(); std 651 modules/features2d/src/brisk.cpp std::vector<int>::iterator beginningkscales = kscales.begin(); std 656 modules/features2d/src/brisk.cpp scale = std::max((int) (scales_ / lb_scalerange * (std::log(keypoints[k].size / (basicSize06)) / log2) + 0.5), 0); std 814 modules/features2d/src/brisk.cpp BRISK_Impl::computeKeypointsNoOrientation(InputArray _image, InputArray _mask, std::vector<KeyPoint>& keypoints) const std 864 modules/features2d/src/brisk.cpp BriskScaleSpace::getKeypoints(const int threshold_, std::vector<cv::KeyPoint>& keypoints) std 872 modules/features2d/src/brisk.cpp std::vector<std::vector<cv::KeyPoint> > agastPoints; std 1171 modules/features2d/src/brisk.cpp std::vector<int> delta; std 1278 modules/features2d/src/brisk.cpp max_below = std::max(s_1_0, max_below); std 1280 modules/features2d/src/brisk.cpp max_below = std::max(s_2_0, max_below); std 1282 modules/features2d/src/brisk.cpp max_below = std::max(s_2_1, max_below); std 1284 modules/features2d/src/brisk.cpp max_below = std::max(s_1_1, max_below); std 1286 modules/features2d/src/brisk.cpp max_below = std::max(s_0_1, max_below); std 1288 modules/features2d/src/brisk.cpp max_below = std::max(s_0_2, max_below); std 1290 modules/features2d/src/brisk.cpp max_below = std::max(s_1_2, max_below); std 1292 modules/features2d/src/brisk.cpp max_below = std::max(s_2_2, max_below); std 1322 modules/features2d/src/brisk.cpp scale = refine1D_2(max_below_float, std::max(float(center), max_layer), max_above, max); std 1325 modules/features2d/src/brisk.cpp scale = refine1D(max_below_float, std::max(float(center), max_layer), max_above, max); std 1379 modules/features2d/src/brisk.cpp scale = refine1D_1(max_below, std::max(float(center), max_layer), max_above, max); std 1581 modules/features2d/src/brisk.cpp return std::max(refined_max, maxval); std 1780 modules/features2d/src/brisk.cpp return std::max(refined_max, max); std 2105 modules/features2d/src/brisk.cpp BriskLayer::getAgastPoints(int threshold, std::vector<KeyPoint>& keypoints) std 2315 modules/features2d/src/brisk.cpp Ptr<BRISK> BRISK::create(const std::vector<float> &radiusList, const std::vector<int> &numberList, std 2316 modules/features2d/src/brisk.cpp float dMax, float dMin, const std::vector<int>& indexChange) std 91 modules/features2d/src/draw.cpp void drawKeypoints( InputArray image, const std::vector<KeyPoint>& keypoints, InputOutputArray outImage, std 114 modules/features2d/src/draw.cpp std::vector<KeyPoint>::const_iterator it = keypoints.begin(), std 123 modules/features2d/src/draw.cpp static void _prepareImgAndDrawKeypoints( InputArray img1, const std::vector<KeyPoint>& keypoints1, std 124 modules/features2d/src/draw.cpp InputArray img2, const std::vector<KeyPoint>& keypoints2, std 181 modules/features2d/src/draw.cpp dpt2 = Point2f( std::min(pt2.x+outImg1.size().width, float(outImg.size().width-1)), pt2.y ); std 189 modules/features2d/src/draw.cpp void drawMatches( InputArray img1, const std::vector<KeyPoint>& keypoints1, std 190 modules/features2d/src/draw.cpp InputArray img2, const std::vector<KeyPoint>& keypoints2, std 191 modules/features2d/src/draw.cpp const std::vector<DMatch>& matches1to2, InputOutputArray outImg, std 193 modules/features2d/src/draw.cpp const std::vector<char>& matchesMask, int flags ) std 218 modules/features2d/src/draw.cpp void drawMatches( InputArray img1, const std::vector<KeyPoint>& keypoints1, std 219 modules/features2d/src/draw.cpp InputArray img2, const std::vector<KeyPoint>& keypoints2, std 220 modules/features2d/src/draw.cpp const std::vector<std::vector<DMatch> >& matches1to2, InputOutputArray outImg, std 222 modules/features2d/src/draw.cpp const std::vector<std::vector<char> >& matchesMask, int flags ) std 69 modules/features2d/src/evaluation.cpp d = std::sqrt(d); std 74 modules/features2d/src/evaluation.cpp std::swap(x1, x2); std 91 modules/features2d/src/evaluation.cpp return Point2f( std::numeric_limits<float>::max(), std::numeric_limits<float>::max() ); std 110 modules/features2d/src/evaluation.cpp A.setTo(Scalar::all(std::numeric_limits<double>::max())); std 119 modules/features2d/src/evaluation.cpp static void convert( const std::vector<KeyPoint>& src, std::vector<EllipticKeyPoint>& dst ); std 120 modules/features2d/src/evaluation.cpp static void convert( const std::vector<EllipticKeyPoint>& src, std::vector<KeyPoint>& dst ); std 126 modules/features2d/src/evaluation.cpp static void calcProjection( const std::vector<EllipticKeyPoint>& src, const Mat_<double>& H, std::vector<EllipticKeyPoint>& dst ); std 180 modules/features2d/src/evaluation.cpp void EllipticKeyPoint::convert( const std::vector<KeyPoint>& src, std::vector<EllipticKeyPoint>& dst ) std 195 modules/features2d/src/evaluation.cpp void EllipticKeyPoint::convert( const std::vector<EllipticKeyPoint>& src, std::vector<KeyPoint>& dst ) std 209 modules/features2d/src/evaluation.cpp void EllipticKeyPoint::calcProjection( const std::vector<EllipticKeyPoint>& src, const Mat_<double>& H, std::vector<EllipticKeyPoint>& dst ) std 215 modules/features2d/src/evaluation.cpp std::vector<EllipticKeyPoint>::const_iterator srcIt = src.begin(); std 216 modules/features2d/src/evaluation.cpp std::vector<EllipticKeyPoint>::iterator dstIt = dst.begin(); std 222 modules/features2d/src/evaluation.cpp static void filterEllipticKeyPointsByImageSize( std::vector<EllipticKeyPoint>& keypoints, const Size& imgSize ) std 226 modules/features2d/src/evaluation.cpp std::vector<EllipticKeyPoint> filtered; std 228 modules/features2d/src/evaluation.cpp std::vector<EllipticKeyPoint>::const_iterator it = keypoints.begin(); std 317 modules/features2d/src/evaluation.cpp static void computeOneToOneMatchedOverlaps( const std::vector<EllipticKeyPoint>& keypoints1, const std::vector<EllipticKeyPoint>& keypoints2t, std 318 modules/features2d/src/evaluation.cpp bool commonPart, std::vector<SIdx>& overlaps, float minOverlap ) std 376 modules/features2d/src/evaluation.cpp std::sort( overlaps.begin(), overlaps.end() ); std 378 modules/features2d/src/evaluation.cpp typedef std::vector<SIdx>::iterator It; std 386 modules/features2d/src/evaluation.cpp end = std::remove_if(pos, end, SIdx::UsedFinder(*prev)); std 392 modules/features2d/src/evaluation.cpp const std::vector<KeyPoint>& _keypoints1, const std::vector<KeyPoint>& _keypoints2, std 396 modules/features2d/src/evaluation.cpp std::vector<EllipticKeyPoint> keypoints1, keypoints2, keypoints1t, keypoints2t; std 429 modules/features2d/src/evaluation.cpp std::vector<SIdx> overlaps; std 455 modules/features2d/src/evaluation.cpp std::vector<KeyPoint>* _keypoints1, std::vector<KeyPoint>* _keypoints2, std 460 modules/features2d/src/evaluation.cpp std::vector<KeyPoint> *keypoints1, *keypoints2, buf1, buf2; std 491 modules/features2d/src/evaluation.cpp void cv::computeRecallPrecisionCurve( const std::vector<std::vector<DMatch> >& matches1to2, std 492 modules/features2d/src/evaluation.cpp const std::vector<std::vector<uchar> >& correctMatches1to2Mask, std 493 modules/features2d/src/evaluation.cpp std::vector<Point2f>& recallPrecisionCurve ) std 497 modules/features2d/src/evaluation.cpp std::vector<DMatchForEvaluation> allMatches; std 510 modules/features2d/src/evaluation.cpp std::sort( allMatches.begin(), allMatches.end() ); std 527 modules/features2d/src/evaluation.cpp float cv::getRecall( const std::vector<Point2f>& recallPrecisionCurve, float l_precision ) std 539 modules/features2d/src/evaluation.cpp int cv::getNearestPoint( const std::vector<Point2f>& recallPrecisionCurve, float l_precision ) std 548 modules/features2d/src/evaluation.cpp float curDiff = std::fabs(l_precision - recallPrecisionCurve[i].x); std 56 modules/features2d/src/fast.cpp void FAST_t(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, bool nonmax_suppression) std 69 modules/features2d/src/fast.cpp threshold = std::min(std::max(threshold, 0), 255); std 259 modules/features2d/src/fast.cpp static bool ocl_FAST( InputArray _img, std::vector<KeyPoint>& keypoints, std 284 modules/features2d/src/fast.cpp counter = std::min(counter, maxKeypoints); std 319 modules/features2d/src/fast.cpp int newcounter = std::min(m2.at<int>(0), counter); std 321 modules/features2d/src/fast.cpp std::sort(pt2, pt2 + newcounter, cmp_pt<Point3i>()); std 331 modules/features2d/src/fast.cpp void FAST(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, bool nonmax_suppression, int type) std 358 modules/features2d/src/fast.cpp void FAST(InputArray _img, std::vector<KeyPoint>& keypoints, int threshold, bool nonmax_suppression) std 371 modules/features2d/src/fast.cpp void detect( InputArray _image, std::vector<KeyPoint>& keypoints, InputArray _mask ) std 89 modules/features2d/src/fast_score.cpp int v0 = std::min(ptr[0] + threshold + delta, 255); std 90 modules/features2d/src/fast_score.cpp int v1 = std::max(ptr[0] - threshold - delta, 0); std 113 modules/features2d/src/fast_score.cpp CV_Assert( (delta == 0 && std::max(c0, c1) > K) || std 114 modules/features2d/src/fast_score.cpp (delta == 1 && std::max(c0, c1) <= K) ); std 170 modules/features2d/src/fast_score.cpp int a = std::min((int)d[k+1], (int)d[k+2]); std 171 modules/features2d/src/fast_score.cpp a = std::min(a, (int)d[k+3]); std 174 modules/features2d/src/fast_score.cpp a = std::min(a, (int)d[k+4]); std 175 modules/features2d/src/fast_score.cpp a = std::min(a, (int)d[k+5]); std 176 modules/features2d/src/fast_score.cpp a = std::min(a, (int)d[k+6]); std 177 modules/features2d/src/fast_score.cpp a = std::min(a, (int)d[k+7]); std 178 modules/features2d/src/fast_score.cpp a = std::min(a, (int)d[k+8]); std 179 modules/features2d/src/fast_score.cpp a0 = std::max(a0, std::min(a, (int)d[k])); std 180 modules/features2d/src/fast_score.cpp a0 = std::max(a0, std::min(a, (int)d[k+9])); std 186 modules/features2d/src/fast_score.cpp int b = std::max((int)d[k+1], (int)d[k+2]); std 187 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+3]); std 188 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+4]); std 189 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+5]); std 192 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+6]); std 193 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+7]); std 194 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+8]); std 196 modules/features2d/src/fast_score.cpp b0 = std::min(b0, std::max(b, (int)d[k])); std 197 modules/features2d/src/fast_score.cpp b0 = std::min(b0, std::max(b, (int)d[k+9])); std 258 modules/features2d/src/fast_score.cpp int a = std::min((int)d[k+1], (int)d[k+2]); std 261 modules/features2d/src/fast_score.cpp a = std::min(a, (int)d[k+3]); std 262 modules/features2d/src/fast_score.cpp a = std::min(a, (int)d[k+4]); std 263 modules/features2d/src/fast_score.cpp a = std::min(a, (int)d[k+5]); std 264 modules/features2d/src/fast_score.cpp a = std::min(a, (int)d[k+6]); std 265 modules/features2d/src/fast_score.cpp a0 = std::max(a0, std::min(a, (int)d[k])); std 266 modules/features2d/src/fast_score.cpp a0 = std::max(a0, std::min(a, (int)d[k+7])); std 272 modules/features2d/src/fast_score.cpp int b = std::max((int)d[k+1], (int)d[k+2]); std 273 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+3]); std 274 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+4]); std 277 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+5]); std 278 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+6]); std 280 modules/features2d/src/fast_score.cpp b0 = std::min(b0, std::max(b, (int)d[k])); std 281 modules/features2d/src/fast_score.cpp b0 = std::min(b0, std::max(b, (int)d[k+7])); std 328 modules/features2d/src/fast_score.cpp int a = std::min((int)d[k+1], (int)d[k+2]); std 331 modules/features2d/src/fast_score.cpp a = std::min(a, (int)d[k+3]); std 332 modules/features2d/src/fast_score.cpp a = std::min(a, (int)d[k+4]); std 333 modules/features2d/src/fast_score.cpp a0 = std::max(a0, std::min(a, (int)d[k])); std 334 modules/features2d/src/fast_score.cpp a0 = std::max(a0, std::min(a, (int)d[k+5])); std 340 modules/features2d/src/fast_score.cpp int b = std::max((int)d[k+1], (int)d[k+2]); std 341 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+3]); std 344 modules/features2d/src/fast_score.cpp b = std::max(b, (int)d[k+4]); std 346 modules/features2d/src/fast_score.cpp b0 = std::min(b0, std::max(b, (int)d[k])); std 347 modules/features2d/src/fast_score.cpp b0 = std::min(b0, std::max(b, (int)d[k+5])); std 48 modules/features2d/src/feature2d.cpp using std::vector; std 60 modules/features2d/src/feature2d.cpp std::vector<KeyPoint>& keypoints, std 73 modules/features2d/src/feature2d.cpp std::vector<std::vector<KeyPoint> >& keypoints, std 102 modules/features2d/src/feature2d.cpp std::vector<KeyPoint>& keypoints, std 114 modules/features2d/src/feature2d.cpp std::vector<std::vector<KeyPoint> >& keypoints, std 140 modules/features2d/src/feature2d.cpp std::vector<KeyPoint>&, std 76 modules/features2d/src/gftt.cpp void detect( InputArray _image, std::vector<KeyPoint>& keypoints, InputArray _mask ) std 78 modules/features2d/src/gftt.cpp std::vector<Point2f> corners; std 102 modules/features2d/src/gftt.cpp std::vector<Point2f>::const_iterator corner_it = corners.begin(); std 103 modules/features2d/src/gftt.cpp std::vector<KeyPoint>::iterator keypoint_it = keypoints.begin(); std 109 modules/features2d/src/kaze.cpp std::vector<KeyPoint>& keypoints, std 20 modules/features2d/src/kaze/AKAZEFeatures.cpp using namespace std; std 170 modules/features2d/src/kaze/AKAZEFeatures.cpp void AKAZEFeatures::Feature_Detection(std::vector<KeyPoint>& kpts) std 182 modules/features2d/src/kaze/AKAZEFeatures.cpp explicit MultiscaleDerivativesAKAZEInvoker(std::vector<TEvolution>& ev, const AKAZEOptions& opt) std 190 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<TEvolution>& evolution = *evolution_; std 212 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<TEvolution>* evolution_; std 256 modules/features2d/src/kaze/AKAZEFeatures.cpp void AKAZEFeatures::Find_Scale_Space_Extrema(std::vector<KeyPoint>& kpts) std 395 modules/features2d/src/kaze/AKAZEFeatures.cpp void AKAZEFeatures::Do_Subpixel_Refinement(std::vector<KeyPoint>& kpts) std 462 modules/features2d/src/kaze/AKAZEFeatures.cpp SURF_Descriptor_Upright_64_Invoker(std::vector<KeyPoint>& kpts, Mat& desc, std::vector<TEvolution>& evolution) std 480 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<KeyPoint>* keypoints_; std 482 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<TEvolution>* evolution_; std 488 modules/features2d/src/kaze/AKAZEFeatures.cpp SURF_Descriptor_64_Invoker(std::vector<KeyPoint>& kpts, Mat& desc, std::vector<TEvolution>& evolution) std 507 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<KeyPoint>* keypoints_; std 509 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<TEvolution>* evolution_; std 515 modules/features2d/src/kaze/AKAZEFeatures.cpp MSURF_Upright_Descriptor_64_Invoker(std::vector<KeyPoint>& kpts, Mat& desc, std::vector<TEvolution>& evolution) std 533 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<KeyPoint>* keypoints_; std 535 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<TEvolution>* evolution_; std 541 modules/features2d/src/kaze/AKAZEFeatures.cpp MSURF_Descriptor_64_Invoker(std::vector<KeyPoint>& kpts, Mat& desc, std::vector<TEvolution>& evolution) std 560 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<KeyPoint>* keypoints_; std 562 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<TEvolution>* evolution_; std 568 modules/features2d/src/kaze/AKAZEFeatures.cpp Upright_MLDB_Full_Descriptor_Invoker(std::vector<KeyPoint>& kpts, Mat& desc, std::vector<TEvolution>& evolution, AKAZEOptions& options) std 587 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<KeyPoint>* keypoints_; std 589 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<TEvolution>* evolution_; std 596 modules/features2d/src/kaze/AKAZEFeatures.cpp Upright_MLDB_Descriptor_Subset_Invoker(std::vector<KeyPoint>& kpts, std 598 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<TEvolution>& evolution, std 622 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<KeyPoint>* keypoints_; std 624 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<TEvolution>* evolution_; std 634 modules/features2d/src/kaze/AKAZEFeatures.cpp MLDB_Full_Descriptor_Invoker(std::vector<KeyPoint>& kpts, Mat& desc, std::vector<TEvolution>& evolution, AKAZEOptions& options) std 658 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<KeyPoint>* keypoints_; std 660 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<TEvolution>* evolution_; std 667 modules/features2d/src/kaze/AKAZEFeatures.cpp MLDB_Descriptor_Subset_Invoker(std::vector<KeyPoint>& kpts, std 669 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<TEvolution>& evolution, std 694 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<KeyPoint>* keypoints_; std 696 modules/features2d/src/kaze/AKAZEFeatures.cpp std::vector<TEvolution>* evolution_; std 708 modules/features2d/src/kaze/AKAZEFeatures.cpp void AKAZEFeatures::Compute_Descriptors(std::vector<KeyPoint>& kpts, Mat& desc) std 769 modules/features2d/src/kaze/AKAZEFeatures.cpp void AKAZEFeatures::Compute_Main_Orientation(KeyPoint& kpt, const std::vector<TEvolution>& evolution_) std 870 modules/features2d/src/kaze/AKAZEFeatures.cpp const std::vector<TEvolution>& evolution = *evolution_; std 993 modules/features2d/src/kaze/AKAZEFeatures.cpp const std::vector<TEvolution>& evolution = *evolution_; std 1114 modules/features2d/src/kaze/AKAZEFeatures.cpp const std::vector<TEvolution>& evolution = *evolution_; std 1317 modules/features2d/src/kaze/AKAZEFeatures.cpp const std::vector<TEvolution>& evolution = *evolution_; std 1439 modules/features2d/src/kaze/AKAZEFeatures.cpp const std::vector<TEvolution>& evolution = *evolution_; std 1533 modules/features2d/src/kaze/AKAZEFeatures.cpp const std::vector<TEvolution>& evolution = *evolution_; std 27 modules/features2d/src/kaze/AKAZEFeatures.h std::vector<TEvolution> evolution_; ///< Vector of nonlinear diffusion evolution std 32 modules/features2d/src/kaze/AKAZEFeatures.h std::vector<std::vector<float > > tsteps_; ///< Vector of FED dynamic time steps std 33 modules/features2d/src/kaze/AKAZEFeatures.h std::vector<int> nsteps_; ///< Vector of number of steps per cycle std 48 modules/features2d/src/kaze/AKAZEFeatures.h void Feature_Detection(std::vector<cv::KeyPoint>& kpts); std 51 modules/features2d/src/kaze/AKAZEFeatures.h void Find_Scale_Space_Extrema(std::vector<cv::KeyPoint>& kpts); std 52 modules/features2d/src/kaze/AKAZEFeatures.h void Do_Subpixel_Refinement(std::vector<cv::KeyPoint>& kpts); std 55 modules/features2d/src/kaze/AKAZEFeatures.h void Compute_Descriptors(std::vector<cv::KeyPoint>& kpts, cv::Mat& desc); std 56 modules/features2d/src/kaze/AKAZEFeatures.h static void Compute_Main_Orientation(cv::KeyPoint& kpt, const std::vector<TEvolution>& evolution_); std 31 modules/features2d/src/kaze/KAZEFeatures.cpp using namespace std; std 183 modules/features2d/src/kaze/KAZEFeatures.cpp void KAZEFeatures::Feature_Detection(std::vector<KeyPoint>& kpts) std 195 modules/features2d/src/kaze/KAZEFeatures.cpp explicit MultiscaleDerivativesKAZEInvoker(std::vector<TEvolution>& ev) : evolution_(&ev) std 201 modules/features2d/src/kaze/KAZEFeatures.cpp std::vector<TEvolution>& evolution = *evolution_; std 219 modules/features2d/src/kaze/KAZEFeatures.cpp std::vector<TEvolution>* evolution_; std 237 modules/features2d/src/kaze/KAZEFeatures.cpp explicit FindExtremumKAZEInvoker(std::vector<TEvolution>& ev, std::vector<std::vector<KeyPoint> >& kpts_par, std 244 modules/features2d/src/kaze/KAZEFeatures.cpp std::vector<TEvolution>& evolution = *evolution_; std 245 modules/features2d/src/kaze/KAZEFeatures.cpp std::vector<std::vector<KeyPoint> >& kpts_par = *kpts_par_; std 299 modules/features2d/src/kaze/KAZEFeatures.cpp std::vector<TEvolution>* evolution_; std 300 modules/features2d/src/kaze/KAZEFeatures.cpp std::vector<std::vector<KeyPoint> >* kpts_par_; std 311 modules/features2d/src/kaze/KAZEFeatures.cpp void KAZEFeatures::Determinant_Hessian(std::vector<KeyPoint>& kpts) std 397 modules/features2d/src/kaze/KAZEFeatures.cpp void KAZEFeatures::Do_Subpixel_Refinement(std::vector<KeyPoint> &kpts) { std 494 modules/features2d/src/kaze/KAZEFeatures.cpp KAZE_Descriptor_Invoker(std::vector<KeyPoint> &kpts, Mat &desc, std::vector<TEvolution>& evolution, const KAZEOptions& options) std 508 modules/features2d/src/kaze/KAZEFeatures.cpp std::vector<KeyPoint> &kpts = *kpts_; std 510 modules/features2d/src/kaze/KAZEFeatures.cpp std::vector<TEvolution> &evolution = *evolution_; std 540 modules/features2d/src/kaze/KAZEFeatures.cpp std::vector<KeyPoint> * kpts_; std 542 modules/features2d/src/kaze/KAZEFeatures.cpp std::vector<TEvolution> * evolution_; std 552 modules/features2d/src/kaze/KAZEFeatures.cpp void KAZEFeatures::Feature_Description(std::vector<KeyPoint> &kpts, Mat &desc) std 577 modules/features2d/src/kaze/KAZEFeatures.cpp void KAZEFeatures::Compute_Main_Orientation(KeyPoint &kpt, const std::vector<TEvolution>& evolution_, const KAZEOptions& options) std 666 modules/features2d/src/kaze/KAZEFeatures.cpp std::vector<TEvolution>& evolution = *evolution_; std 794 modules/features2d/src/kaze/KAZEFeatures.cpp std::vector<TEvolution>& evolution = *evolution_; std 928 modules/features2d/src/kaze/KAZEFeatures.cpp std::vector<TEvolution>& evolution = *evolution_; std 1077 modules/features2d/src/kaze/KAZEFeatures.cpp std::vector<TEvolution>& evolution = *evolution_; std 31 modules/features2d/src/kaze/KAZEFeatures.h std::vector<TEvolution> evolution_; ///< Vector of nonlinear diffusion evolution std 34 modules/features2d/src/kaze/KAZEFeatures.h std::vector<std::vector<cv::KeyPoint> > kpts_par_; std 39 modules/features2d/src/kaze/KAZEFeatures.h std::vector<std::vector<float > > tsteps_; ///< Vector of FED dynamic time steps std 40 modules/features2d/src/kaze/KAZEFeatures.h std::vector<int> nsteps_; ///< Vector of number of steps per cycle std 50 modules/features2d/src/kaze/KAZEFeatures.h void Feature_Detection(std::vector<cv::KeyPoint>& kpts); std 51 modules/features2d/src/kaze/KAZEFeatures.h void Feature_Description(std::vector<cv::KeyPoint>& kpts, cv::Mat& desc); std 52 modules/features2d/src/kaze/KAZEFeatures.h static void Compute_Main_Orientation(cv::KeyPoint& kpt, const std::vector<TEvolution>& evolution_, const KAZEOptions& options); std 58 modules/features2d/src/kaze/KAZEFeatures.h void Determinant_Hessian(std::vector<cv::KeyPoint>& kpts); std 59 modules/features2d/src/kaze/KAZEFeatures.h void Do_Subpixel_Refinement(std::vector<cv::KeyPoint>& kpts); std 34 modules/features2d/src/kaze/fed.cpp using namespace std; std 51 modules/features2d/src/kaze/fed.cpp const bool& reordering, std::vector<float>& tau) { std 70 modules/features2d/src/kaze/fed.cpp const bool& reordering, std::vector<float> &tau) { std 96 modules/features2d/src/kaze/fed.cpp const bool& reordering, std::vector<float> &tau) { std 15 modules/features2d/src/kaze/fed.h const bool& reordering, std::vector<float>& tau); std 17 modules/features2d/src/kaze/fed.h const bool& reordering, std::vector<float> &tau) ; std 19 modules/features2d/src/kaze/fed.h const bool& reordering, std::vector<float> &tau); std 35 modules/features2d/src/kaze/nldiffusion_functions.cpp using namespace std; std 219 modules/features2d/src/kaze/nldiffusion_functions.cpp std::vector<int> hist(nbins, 0); std 330 modules/features2d/src/kaze/nldiffusion_functions.cpp std::vector<float> kerI(ksize, 0.0f); std 69 modules/features2d/src/keypoint.cpp void KeyPointsFilter::retainBest(std::vector<KeyPoint>& keypoints, int n_points) std 80 modules/features2d/src/keypoint.cpp std::nth_element(keypoints.begin(), keypoints.begin() + n_points, keypoints.end(), KeypointResponseGreater()); std 84 modules/features2d/src/keypoint.cpp std::vector<KeyPoint>::const_iterator new_end = std 85 modules/features2d/src/keypoint.cpp std::partition(keypoints.begin() + n_points, keypoints.end(), std 105 modules/features2d/src/keypoint.cpp void KeyPointsFilter::runByImageBorder( std::vector<KeyPoint>& keypoints, Size imageSize, int borderSize ) std 112 modules/features2d/src/keypoint.cpp keypoints.erase( std::remove_if(keypoints.begin(), keypoints.end(), std 133 modules/features2d/src/keypoint.cpp void KeyPointsFilter::runByKeypointSize( std::vector<KeyPoint>& keypoints, float minSize, float maxSize ) std 139 modules/features2d/src/keypoint.cpp keypoints.erase( std::remove_if(keypoints.begin(), keypoints.end(), SizePredicate(minSize, maxSize)), std 157 modules/features2d/src/keypoint.cpp void KeyPointsFilter::runByPixelsMask( std::vector<KeyPoint>& keypoints, const Mat& mask ) std 162 modules/features2d/src/keypoint.cpp keypoints.erase(std::remove_if(keypoints.begin(), keypoints.end(), MaskPredicate(mask)), keypoints.end()); std 167 modules/features2d/src/keypoint.cpp KeyPoint_LessThan(const std::vector<KeyPoint>& _kp) : kp(&_kp) {} std 189 modules/features2d/src/keypoint.cpp const std::vector<KeyPoint>* kp; std 192 modules/features2d/src/keypoint.cpp void KeyPointsFilter::removeDuplicated( std::vector<KeyPoint>& keypoints ) std 195 modules/features2d/src/keypoint.cpp std::vector<int> kpidx(n); std 196 modules/features2d/src/keypoint.cpp std::vector<uchar> mask(n, (uchar)1); std 200 modules/features2d/src/keypoint.cpp std::sort(kpidx.begin(), kpidx.end(), KeyPoint_LessThan(keypoints)); std 117 modules/features2d/src/matchers.cpp static bool ocl_matchConvert(const Mat &trainIdx, const Mat &distance, std::vector< std::vector<DMatch> > &matches) std 143 modules/features2d/src/matchers.cpp std::vector<DMatch> temp; std 150 modules/features2d/src/matchers.cpp static bool ocl_matchDownload(const UMat &trainIdx, const UMat &distance, std::vector< std::vector<DMatch> > &matches) std 217 modules/features2d/src/matchers.cpp static bool ocl_knnMatchConvert(const Mat &trainIdx, const Mat &distance, std::vector< std::vector<DMatch> > &matches, bool compactResult) std 238 modules/features2d/src/matchers.cpp matches.push_back(std::vector<DMatch>()); std 239 modules/features2d/src/matchers.cpp std::vector<DMatch> &curMatches = matches.back(); std 262 modules/features2d/src/matchers.cpp static bool ocl_knnMatchDownload(const UMat &trainIdx, const UMat &distance, std::vector< std::vector<DMatch> > &matches, bool compactResult) std 286 modules/features2d/src/matchers.cpp ensureSizeIsEnough(query_rows, std::max((train_rows / 100), 10), CV_32SC1, trainIdx); std 287 modules/features2d/src/matchers.cpp ensureSizeIsEnough(query_rows, std::max((train_rows / 100), 10), CV_32FC1, distance); std 331 modules/features2d/src/matchers.cpp std::vector< std::vector<DMatch> > &matches, bool compactResult) std 353 modules/features2d/src/matchers.cpp const int nMatches = std::min(nMatches_ptr[queryIdx], trainIdx.cols); std 358 modules/features2d/src/matchers.cpp matches.push_back(std::vector<DMatch>()); std 362 modules/features2d/src/matchers.cpp matches.push_back(std::vector<DMatch>(nMatches)); std 363 modules/features2d/src/matchers.cpp std::vector<DMatch> &curMatches = matches.back(); std 376 modules/features2d/src/matchers.cpp std::sort(curMatches.begin(), curMatches.end()); std 382 modules/features2d/src/matchers.cpp std::vector< std::vector<DMatch> > &matches, bool compactResult) std 403 modules/features2d/src/matchers.cpp std::copy( collection.startIdxs.begin(), collection.startIdxs.begin(), startIdxs.begin() ); std 409 modules/features2d/src/matchers.cpp void DescriptorMatcher::DescriptorCollection::set( const std::vector<Mat>& descriptors ) std 487 modules/features2d/src/matchers.cpp std::vector<int>::const_iterator img_it = std::upper_bound(startIdxs.begin(), startIdxs.end(), globalDescIdx); std 501 modules/features2d/src/matchers.cpp static void convertMatches( const std::vector<std::vector<DMatch> >& knnMatches, std::vector<DMatch>& matches ) std 520 modules/features2d/src/matchers.cpp std::vector<UMat> descriptors; std 526 modules/features2d/src/matchers.cpp std::vector<UMat> descriptors = std::vector<UMat>(1, _descriptors.getUMat()); std 531 modules/features2d/src/matchers.cpp std::vector<Mat> descriptors; std 537 modules/features2d/src/matchers.cpp std::vector<Mat> descriptors = std::vector<Mat>(1, _descriptors.getMat()); std 544 modules/features2d/src/matchers.cpp const std::vector<Mat>& DescriptorMatcher::getTrainDescriptors() const std 564 modules/features2d/src/matchers.cpp std::vector<DMatch>& matches, InputArray mask ) const std 568 modules/features2d/src/matchers.cpp tempMatcher->match( queryDescriptors, matches, std::vector<Mat>(1, mask.getMat()) ); std 572 modules/features2d/src/matchers.cpp std::vector<std::vector<DMatch> >& matches, int knn, std 577 modules/features2d/src/matchers.cpp tempMatcher->knnMatch( queryDescriptors, matches, knn, std::vector<Mat>(1, mask.getMat()), compactResult ); std 581 modules/features2d/src/matchers.cpp std::vector<std::vector<DMatch> >& matches, float maxDistance, InputArray mask, std 586 modules/features2d/src/matchers.cpp tempMatcher->radiusMatch( queryDescriptors, matches, maxDistance, std::vector<Mat>(1, mask.getMat()), compactResult ); std 589 modules/features2d/src/matchers.cpp void DescriptorMatcher::match( InputArray queryDescriptors, std::vector<DMatch>& matches, InputArrayOfArrays masks ) std 591 modules/features2d/src/matchers.cpp std::vector<std::vector<DMatch> > knnMatches; std 598 modules/features2d/src/matchers.cpp std::vector<Mat> masks; std 604 modules/features2d/src/matchers.cpp size_t imageCount = std::max(trainDescCollection.size(), utrainDescCollection.size() ); std 619 modules/features2d/src/matchers.cpp void DescriptorMatcher::knnMatch( InputArray queryDescriptors, std::vector<std::vector<DMatch> >& matches, int knn, std 633 modules/features2d/src/matchers.cpp void DescriptorMatcher::radiusMatch( InputArray queryDescriptors, std::vector<std::vector<DMatch> >& matches, float maxDistance, std 640 modules/features2d/src/matchers.cpp CV_Assert( maxDistance > std::numeric_limits<float>::epsilon() ); std 662 modules/features2d/src/matchers.cpp std::vector<Mat> masks; std 690 modules/features2d/src/matchers.cpp std::transform( trainDescCollection.begin(), trainDescCollection.end(), std 696 modules/features2d/src/matchers.cpp static bool ocl_match(InputArray query, InputArray _train, std::vector< std::vector<DMatch> > &matches, int dstType) std 706 modules/features2d/src/matchers.cpp static bool ocl_knnMatch(InputArray query, InputArray _train, std::vector< std::vector<DMatch> > &matches, int k, int dstType, bool compactResult) std 718 modules/features2d/src/matchers.cpp void BFMatcher::knnMatchImpl( InputArray _queryDescriptors, std::vector<std::vector<DMatch> >& matches, int knn, std 733 modules/features2d/src/matchers.cpp std::vector<Mat> masks; std 837 modules/features2d/src/matchers.cpp matches.push_back( std::vector<DMatch>() ); std 838 modules/features2d/src/matchers.cpp std::vector<DMatch>& mq = matches.back(); std 854 modules/features2d/src/matchers.cpp static bool ocl_radiusMatch(InputArray query, InputArray _train, std::vector< std::vector<DMatch> > &matches, std 865 modules/features2d/src/matchers.cpp void BFMatcher::radiusMatchImpl( InputArray _queryDescriptors, std::vector<std::vector<DMatch> >& matches, std 877 modules/features2d/src/matchers.cpp std::vector<Mat> masks; std 949 modules/features2d/src/matchers.cpp std::vector<DMatch>& mq = matches[qIdx]; std 965 modules/features2d/src/matchers.cpp std::swap(matches[qIdx], matches[qIdx0]); std 967 modules/features2d/src/matchers.cpp std::sort( matches[qIdx0].begin(), matches[qIdx0].end() ); std 1025 modules/features2d/src/matchers.cpp std::vector<UMat> descriptors; std 1149 modules/features2d/src/matchers.cpp std::vector<String> names; std 1150 modules/features2d/src/matchers.cpp std::vector<int> types; std 1151 modules/features2d/src/matchers.cpp std::vector<String> strValues; std 1152 modules/features2d/src/matchers.cpp std::vector<double> numValues; std 1200 modules/features2d/src/matchers.cpp std::vector<String> names; std 1201 modules/features2d/src/matchers.cpp std::vector<int> types; std 1202 modules/features2d/src/matchers.cpp std::vector<String> strValues; std 1203 modules/features2d/src/matchers.cpp std::vector<double> numValues; std 1264 modules/features2d/src/matchers.cpp std::transform( trainDescCollection.begin(), trainDescCollection.end(), std 1271 modules/features2d/src/matchers.cpp std::vector<std::vector<DMatch> >& matches ) std 1287 modules/features2d/src/matchers.cpp dist = std::sqrt(dists.at<float>(i,j)); std 1294 modules/features2d/src/matchers.cpp void FlannBasedMatcher::knnMatchImpl( InputArray _queryDescriptors, std::vector<std::vector<DMatch> >& matches, int knn, std 1305 modules/features2d/src/matchers.cpp void FlannBasedMatcher::radiusMatchImpl( InputArray _queryDescriptors, std::vector<std::vector<DMatch> >& matches, float maxDistance, std 49 modules/features2d/src/mser.cpp using std::vector; std 228 modules/features2d/src/mser.cpp xmin = std::min(xmin, x); std 229 modules/features2d/src/mser.cpp xmax = std::max(xmax, x); std 230 modules/features2d/src/mser.cpp ymin = std::min(ymin, y); std 231 modules/features2d/src/mser.cpp ymax = std::max(ymax, y); std 306 modules/features2d/src/mser.cpp std::swap(comp1, comp2); std 321 modules/features2d/src/mser.cpp gray_level = std::max(comp1->gray_level, comp2->gray_level); std 345 modules/features2d/src/mser.cpp std::vector<std::vector<Point> >& msers, std 346 modules/features2d/src/mser.cpp std::vector<Rect>& bboxes ); std 385 modules/features2d/src/mser.cpp std::swap(level_size[i], level_size[255-i]); std 910 modules/features2d/src/mser.cpp std::sort(edge, edge + Ne, LessThanEdge()); std 1005 modules/features2d/src/mser.cpp xmin = std::min(xmin, pt.x); std 1006 modules/features2d/src/mser.cpp xmax = std::max(xmax, pt.x); std 1007 modules/features2d/src/mser.cpp ymin = std::min(ymin, pt.y); std 1008 modules/features2d/src/mser.cpp ymax = std::max(ymax, pt.y); std 1072 modules/features2d/src/mser.cpp float diam = std::sqrt(rect.size.height*rect.size.width); std 1074 modules/features2d/src/mser.cpp if( diam > std::numeric_limits<float>::epsilon() && r.contains(rect.center) && std 52 modules/features2d/src/orb.cpp template<typename _Tp> inline void copyVectorToUMat(const std::vector<_Tp>& v, OutputArray um) std 130 modules/features2d/src/orb.cpp HarrisResponses(const Mat& img, const std::vector<Rect>& layerinfo, std 131 modules/features2d/src/orb.cpp std::vector<KeyPoint>& pts, int blockSize, float harris_k) std 175 modules/features2d/src/orb.cpp static void ICAngles(const Mat& img, const std::vector<Rect>& layerinfo, std 176 modules/features2d/src/orb.cpp std::vector<KeyPoint>& pts, const std::vector<int> & u_max, int half_k) std 214 modules/features2d/src/orb.cpp computeOrbDescriptors( const Mat& imagePyramid, const std::vector<Rect>& layerInfo, std 215 modules/features2d/src/orb.cpp const std::vector<float>& layerScale, std::vector<KeyPoint>& keypoints, std 216 modules/features2d/src/orb.cpp Mat& descriptors, const std::vector<Point>& _pattern, int dsize, int wta_k ) std 347 modules/features2d/src/orb.cpp static void initializeOrbPattern( const Point* pattern0, std::vector<Point>& pattern, int ntuples, int tupleSize, int poolSize ) std 649 modules/features2d/src/orb.cpp return (float)std::pow(scaleFactor, (double)(level - firstLevel)); std 698 modules/features2d/src/orb.cpp void detectAndCompute( InputArray image, InputArray mask, std::vector<KeyPoint>& keypoints, std 729 modules/features2d/src/orb.cpp static void uploadORBKeypoints(const std::vector<KeyPoint>& src, std::vector<Vec3i>& buf, OutputArray dst) std 732 modules/features2d/src/orb.cpp buf.resize(std::max(buf.size(), n)); std 745 modules/features2d/src/orb.cpp static void uploadORBKeypoints(const std::vector<KeyPoint>& src, std 746 modules/features2d/src/orb.cpp const std::vector<float>& layerScale, std 747 modules/features2d/src/orb.cpp std::vector<Vec4i>& buf, OutputArray dst) std 750 modules/features2d/src/orb.cpp buf.resize(std::max(buf.size(), n)); std 771 modules/features2d/src/orb.cpp const std::vector<Rect>& layerInfo, std 773 modules/features2d/src/orb.cpp const std::vector<float>& layerScale, std 774 modules/features2d/src/orb.cpp std::vector<KeyPoint>& allKeypoints, std 780 modules/features2d/src/orb.cpp std::vector<int> nfeaturesPerLevel(nlevels); std 784 modules/features2d/src/orb.cpp float ndesiredFeaturesPerScale = nfeatures*(1 - factor)/(1 - (float)std::pow((double)factor, (double)nlevels)); std 793 modules/features2d/src/orb.cpp nfeaturesPerLevel[nlevels-1] = std::max(nfeatures - sumFeatures, 0); std 800 modules/features2d/src/orb.cpp std::vector<int> umax(halfPatchSize + 2); std 802 modules/features2d/src/orb.cpp int v, v0, vmax = cvFloor(halfPatchSize * std::sqrt(2.f) / 2 + 1); std 803 modules/features2d/src/orb.cpp int vmin = cvCeil(halfPatchSize * std::sqrt(2.f) / 2); std 805 modules/features2d/src/orb.cpp umax[v] = cvRound(std::sqrt((double)halfPatchSize * halfPatchSize - v * v)); std 817 modules/features2d/src/orb.cpp std::vector<KeyPoint> keypoints; std 818 modules/features2d/src/orb.cpp std::vector<int> counters(nlevels); std 849 modules/features2d/src/orb.cpp std::copy(keypoints.begin(), keypoints.end(), std::back_inserter(allKeypoints)); std 852 modules/features2d/src/orb.cpp std::vector<Vec3i> ukeypoints_buf; std 882 modules/features2d/src/orb.cpp std::vector<KeyPoint> newAllKeypoints; std 891 modules/features2d/src/orb.cpp std::copy(allKeypoints.begin() + offset, std 899 modules/features2d/src/orb.cpp std::copy(keypoints.begin(), keypoints.end(), std::back_inserter(newAllKeypoints)); std 901 modules/features2d/src/orb.cpp std::swap(allKeypoints, newAllKeypoints); std 946 modules/features2d/src/orb.cpp std::vector<KeyPoint>& keypoints, std 960 modules/features2d/src/orb.cpp int border = std::max(edgeThreshold, std::max(halfPatchSize, HARRIS_BLOCK_SIZE/2))+1; std 989 modules/features2d/src/orb.cpp nLevels = std::max(nLevels, level); std 994 modules/features2d/src/orb.cpp std::vector<Rect> layerInfo(nLevels); std 995 modules/features2d/src/orb.cpp std::vector<int> layerOfs(nLevels); std 996 modules/features2d/src/orb.cpp std::vector<float> layerScale(nLevels); std 1093 modules/features2d/src/orb.cpp std::vector<std::vector<KeyPoint> > allKeypoints(nLevels); std 1103 modules/features2d/src/orb.cpp std::copy(allKeypoints[level].begin(), allKeypoints[level].end(), std::back_inserter(keypoints)); std 1119 modules/features2d/src/orb.cpp std::vector<Point> pattern; std 1134 modules/features2d/src/orb.cpp std::copy(pattern0, pattern0 + npoints, std::back_inserter(pattern)); std 1153 modules/features2d/src/orb.cpp std::vector<Vec4i> kptbuf; std 122 modules/features2d/test/ocl/test_brute_force_matcher.cpp std::vector<cv::DMatch> matches; std 148 modules/features2d/test/ocl/test_brute_force_matcher.cpp std::vector< std::vector<cv::DMatch> > matches; std 184 modules/features2d/test/ocl/test_brute_force_matcher.cpp std::vector< std::vector<cv::DMatch> > matches; std 45 modules/features2d/test/test_agast.cpp using namespace std; std 45 modules/features2d/test/test_brisk.cpp using namespace std; std 44 modules/features2d/test/test_descriptors_regression.cpp using namespace std; std 125 modules/features2d/test/test_descriptors_regression.cpp DistanceType curMaxDist = std::numeric_limits<DistanceType>::min(); std 45 modules/features2d/test/test_detectors_regression.cpp using namespace std; std 146 modules/features2d/test/test_detectors_regression.cpp float minDist = std::numeric_limits<float>::max(); std 45 modules/features2d/test/test_fast.cpp using namespace std; std 46 modules/features2d/test/test_keypoints.cpp using namespace std; std 45 modules/features2d/test/test_matchers_algorithmic.cpp using namespace std; std 242 modules/features2d/test/test_matchers_algorithmic.cpp if( match.queryIdx != (int)i || match.trainIdx != (int)i || std::abs(match.distance) > FLT_EPSILON ) std 48 modules/features2d/test/test_mser.cpp using namespace std; std 50 modules/features2d/test/test_nearestneighbors.cpp using namespace std; std 96 modules/features2d/test/test_nearestneighbors.cpp std::vector<int> fmap( pointsCount ); std 45 modules/features2d/test/test_orb.cpp using namespace std; std 61 modules/features2d/test/test_orb.cpp std::vector<KeyPoint> keypoints; std 69 modules/features2d/test/test_orb.cpp for(std::vector<KeyPoint>::const_iterator kp = keypoints.begin(); kp != keypoints.end(); ++kp) std 45 modules/features2d/test/test_rotation_and_scale_invariance.cpp using namespace std; std 59 modules/features2d/test/test_rotation_and_scale_invariance.cpp H.at<float>(0,0) = H.at<float>(1,1) = std::cos(angleRadian); std 60 modules/features2d/test/test_rotation_and_scale_invariance.cpp H.at<float>(0,1) = -std::sin(angleRadian); std 61 modules/features2d/test/test_rotation_and_scale_invariance.cpp H.at<float>(1,0) = std::sin(angleRadian); std 70 modules/features2d/test/test_rotation_and_scale_invariance.cpp float diag = std::sqrt(static_cast<float>(srcImage.cols * srcImage.cols + srcImage.rows * srcImage.rows)); std 125 modules/features2d/test/test_rotation_and_scale_invariance.cpp float minR = std::min(r0, r1); std 126 modules/features2d/test/test_rotation_and_scale_invariance.cpp float maxR = std::max(r0, r1); std 257 modules/features2d/test/test_rotation_and_scale_invariance.cpp float angleDiff = std::max(rotAngle0, angle1) - std::min(rotAngle0, angle1); std 258 modules/features2d/test/test_rotation_and_scale_invariance.cpp angleDiff = std::min(angleDiff, static_cast<float>(360.f - angleDiff)); std 286 modules/features2d/test/test_rotation_and_scale_invariance.cpp std::cout << "keyPointMatchesRatio - " << keyPointMatchesRatio std 287 modules/features2d/test/test_rotation_and_scale_invariance.cpp << " - angleInliersRatio " << static_cast<float>(angleInliersCount) / keyPointMatchesCount << std::endl; std 373 modules/features2d/test/test_rotation_and_scale_invariance.cpp std::cout << "descInliersRatio " << static_cast<float>(descInliersCount) / keypoints0.size() << std::endl; std 464 modules/features2d/test/test_rotation_and_scale_invariance.cpp if(std::min(size0, size1) > maxSizeDiff * std::max(size0, size1)) std 489 modules/features2d/test/test_rotation_and_scale_invariance.cpp std::cout << "keyPointMatchesRatio - " << keyPointMatchesRatio std 490 modules/features2d/test/test_rotation_and_scale_invariance.cpp << " - scaleInliersRatio " << static_cast<float>(scaleInliersCount) / keyPointMatchesCount << std::endl; std 577 modules/features2d/test/test_rotation_and_scale_invariance.cpp std::cout << "descInliersRatio " << static_cast<float>(descInliersCount) / keypoints0.size() << std::endl; std 216 modules/flann/include/opencv2/flann.hpp void knnSearch(const std::vector<ElementType>& query, std::vector<int>& indices, std 217 modules/flann/include/opencv2/flann.hpp std::vector<DistanceType>& dists, int knn, const ::cvflann::SearchParams& params); std 220 modules/flann/include/opencv2/flann.hpp int radiusSearch(const std::vector<ElementType>& query, std::vector<int>& indices, std 221 modules/flann/include/opencv2/flann.hpp std::vector<DistanceType>& dists, DistanceType radius, const ::cvflann::SearchParams& params); std 271 modules/flann/include/opencv2/flann.hpp void GenericIndex<Distance>::knnSearch(const std::vector<ElementType>& query, std::vector<int>& indices, std::vector<DistanceType>& dists, int knn, const ::cvflann::SearchParams& searchParams) std 304 modules/flann/include/opencv2/flann.hpp int GenericIndex<Distance>::radiusSearch(const std::vector<ElementType>& query, std::vector<int>& indices, std::vector<DistanceType>& dists, DistanceType radius, const ::cvflann::SearchParams& searchParams) std 354 modules/flann/include/opencv2/flann.hpp void knnSearch(const std::vector<ElementType>& query, std::vector<int>& indices, std::vector<DistanceType>& dists, int knn, const ::cvflann::SearchParams& params); std 357 modules/flann/include/opencv2/flann.hpp int radiusSearch(const std::vector<ElementType>& query, std::vector<int>& indices, std::vector<DistanceType>& dists, DistanceType radius, const ::cvflann::SearchParams& params); std 438 modules/flann/include/opencv2/flann.hpp void Index_<T>::knnSearch(const std::vector<ElementType>& query, std::vector<int>& indices, std::vector<DistanceType>& dists, int knn, const ::cvflann::SearchParams& searchParams) std 469 modules/flann/include/opencv2/flann.hpp int Index_<T>::radiusSearch(const std::vector<ElementType>& query, std::vector<int>& indices, std::vector<DistanceType>& dists, DistanceType radius, const ::cvflann::SearchParams& searchParams) std 34 modules/flann/include/opencv2/flann/any.h inline std::ostream& operator <<(std::ostream& out, const empty_any&) std 49 modules/flann/include/opencv2/flann/any.h virtual const std::type_info& type() = 0; std 50 modules/flann/include/opencv2/flann/any.h virtual void print(std::ostream& out, void* const* src) = 0; std 58 modules/flann/include/opencv2/flann/any.h virtual const std::type_info& type() { return typeid(T); } std 74 modules/flann/include/opencv2/flann/any.h virtual void print(std::ostream& out, void* const* src) { out << *reinterpret_cast<T const*>(src); } std 99 modules/flann/include/opencv2/flann/any.h virtual void print(std::ostream& out, void* const* src) { out << *reinterpret_cast<T const*>(*src); } std 102 modules/flann/include/opencv2/flann/any.h template<> inline void big_any_policy<flann_centers_init_t>::print(std::ostream& out, void* const* src) std 107 modules/flann/include/opencv2/flann/any.h template<> inline void big_any_policy<flann_algorithm_t>::print(std::ostream& out, void* const* src) std 112 modules/flann/include/opencv2/flann/any.h template<> inline void big_any_policy<cv::String>::print(std::ostream& out, void* const* src) std 258 modules/flann/include/opencv2/flann/any.h std::swap(policy, x.policy); std 259 modules/flann/include/opencv2/flann/any.h std::swap(object, x.object); std 307 modules/flann/include/opencv2/flann/any.h const std::type_info& type() const std 312 modules/flann/include/opencv2/flann/any.h friend std::ostream& operator <<(std::ostream& out, const any& any_val); std 315 modules/flann/include/opencv2/flann/any.h inline std::ostream& operator <<(std::ostream& out, const any& any_val) std 102 modules/flann/include/opencv2/flann/autotuned_index.h std::ostringstream stream; std 113 modules/flann/include/opencv2/flann/autotuned_index.h stream.str(std::string()); std 322 modules/flann/include/opencv2/flann/autotuned_index.h void optimizeKMeans(std::vector<CostData>& costs) std 370 modules/flann/include/opencv2/flann/autotuned_index.h void optimizeKDTree(std::vector<CostData>& costs) std 413 modules/flann/include/opencv2/flann/autotuned_index.h std::vector<CostData> costs; std 416 modules/flann/include/opencv2/flann/autotuned_index.h int testSampleSize = std::min(sampleSize / 10, 1000); std 498 modules/flann/include/opencv2/flann/autotuned_index.h int samples = (int)std::min(dataset_.rows / 10, SAMPLE_COUNT); std 79 modules/flann/include/opencv2/flann/dynamic_bitset.h std::fill(bitset_.begin(), bitset_.end(), 0); std 94 modules/flann/include/opencv2/flann/dynamic_bitset.h std::fill(bitset_.begin(), bitset_.end(), 0); std 150 modules/flann/include/opencv2/flann/dynamic_bitset.h std::vector<size_t> bitset_; std 48 modules/flann/include/opencv2/flann/ground_truth.h std::vector<int> match(n); std 49 modules/flann/include/opencv2/flann/ground_truth.h std::vector<DistanceType> dists(n); std 70 modules/flann/include/opencv2/flann/ground_truth.h std::swap(dists[j],dists[j-1]); std 71 modules/flann/include/opencv2/flann/ground_truth.h std::swap(match[j],match[j-1]); std 55 modules/flann/include/opencv2/flann/heap.h std::vector<T> heap; std 134 modules/flann/include/opencv2/flann/heap.h std::push_heap(heap.begin(), heap.end(), compareT); std 155 modules/flann/include/opencv2/flann/heap.h std::pop_heap(heap.begin(), heap.end(), compareT); std 244 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h newPot += std::min( ensureSquareDistance<Distance>(dist), closestDistSq[i] ); std 259 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h closestDistSq[i] = std::min( ensureSquareDistance<Distance>(dist), closestDistSq[i] ); std 320 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h newPot += std::min( distance(dataset[dsindices[i]], dataset[dsindices[index]], dataset.cols) std 336 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h closestDistSq[i] = std::min( distance(dataset[dsindices[i]], dataset[dsindices[bestNewIndex]], dataset.cols) std 555 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h std::vector<bool> checked(size_,false); std 688 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h std::sort(node->indices,node->indices+indices_length); std 693 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h std::vector<int> centers(branching); std 694 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h std::vector<int> labels(indices_length); std 701 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h std::sort(node->indices,node->indices+indices_length); std 717 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h std::swap(dsindices[j],dsindices[end]); std 718 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h std::swap(labels[j],labels[end]); std 747 modules/flann/include/opencv2/flann/hierarchical_clustering_index.h Heap<BranchSt>* heap, std::vector<bool>& checked) std 101 modules/flann/include/opencv2/flann/index_testing.h std::vector<int> indices(nn+skipMatches); std 102 modules/flann/include/opencv2/flann/index_testing.h std::vector<DistanceType> dists(nn+skipMatches); std 236 modules/flann/include/opencv2/flann/index_testing.h std::sort(precisions, precisions+precisions_length); std 128 modules/flann/include/opencv2/flann/kdtree_index.h std::random_shuffle(vind_.begin(), vind_.end()); std 314 modules/flann/include/opencv2/flann/kdtree_index.h int cnt = std::min((int)SAMPLE_MEAN+1, count); std 373 modules/flann/include/opencv2/flann/kdtree_index.h std::swap(topind[j], topind[j-1]); std 402 modules/flann/include/opencv2/flann/kdtree_index.h std::swap(ind[left], ind[right]); ++left; --right; std 410 modules/flann/include/opencv2/flann/kdtree_index.h std::swap(ind[left], ind[right]); ++left; --right; std 583 modules/flann/include/opencv2/flann/kdtree_index.h std::vector<int> vind_; std 245 modules/flann/include/opencv2/flann/kdtree_single_index.h std::vector<DistanceType> dists(dim_,0); std 281 modules/flann/include/opencv2/flann/kdtree_single_index.h typedef std::vector<Interval> BoundingBox; std 381 modules/flann/include/opencv2/flann/kdtree_single_index.h bbox[i].low = std::min(left_bbox[i].low, right_bbox[i].low); std 382 modules/flann/include/opencv2/flann/kdtree_single_index.h bbox[i].high = std::max(left_bbox[i].high, right_bbox[i].high); std 505 modules/flann/include/opencv2/flann/kdtree_single_index.h std::swap(ind[left], ind[right]); ++left; --right; std 516 modules/flann/include/opencv2/flann/kdtree_single_index.h std::swap(ind[left], ind[right]); ++left; --right; std 521 modules/flann/include/opencv2/flann/kdtree_single_index.h DistanceType computeInitialDistances(const ElementType* vec, std::vector<DistanceType>& dists) std 543 modules/flann/include/opencv2/flann/kdtree_single_index.h std::vector<DistanceType>& dists, const float epsError) std 606 modules/flann/include/opencv2/flann/kdtree_single_index.h std::vector<int> vind_; std 241 modules/flann/include/opencv2/flann/kmeans_index.h newPot += std::min( ensureSquareDistance<Distance>(dist), closestDistSq[i] ); std 256 modules/flann/include/opencv2/flann/kmeans_index.h closestDistSq[i] = std::min( ensureSquareDistance<Distance>(dist), closestDistSq[i] ); std 279 modules/flann/include/opencv2/flann/kmeans_index.h int* _count, int* _belongs_to, std::vector<DistanceType>& _radiuses, bool& _converged, cv::Mutex& _mtx) std 333 modules/flann/include/opencv2/flann/kmeans_index.h std::vector<DistanceType>& radiuses; std 358 modules/flann/include/opencv2/flann/kmeans_index.h iterations_ = (std::numeric_limits<int>::max)(); std 721 modules/flann/include/opencv2/flann/kmeans_index.h std::sort(node->indices,node->indices+indices_length); std 733 modules/flann/include/opencv2/flann/kmeans_index.h std::sort(node->indices,node->indices+indices_length); std 748 modules/flann/include/opencv2/flann/kmeans_index.h std::vector<DistanceType> radiuses(branching); std 857 modules/flann/include/opencv2/flann/kmeans_index.h std::swap(indices[i],indices[end]); std 858 modules/flann/include/opencv2/flann/kmeans_index.h std::swap(belongs_to[i],belongs_to[end]); std 1068 modules/flann/include/opencv2/flann/kmeans_index.h DistanceType minVariance = (std::numeric_limits<DistanceType>::max)(); std 202 modules/flann/include/opencv2/flann/lsh_index.h std::fill_n(indices[i], knn, -1); std 203 modules/flann/include/opencv2/flann/lsh_index.h std::fill_n(dists[i], knn, std::numeric_limits<DistanceType>::max()); std 228 modules/flann/include/opencv2/flann/lsh_index.h typedef std::pair<float, unsigned int> ScoreIndexPair; std 244 modules/flann/include/opencv2/flann/lsh_index.h std::vector<lsh::BucketKey>& xor_masks) std 266 modules/flann/include/opencv2/flann/lsh_index.h static std::vector<ScoreIndexPair> score_index_heap; std 269 modules/flann/include/opencv2/flann/lsh_index.h unsigned int worst_score = std::numeric_limits<unsigned int>::max(); std 270 modules/flann/include/opencv2/flann/lsh_index.h typename std::vector<lsh::LshTable<ElementType> >::const_iterator table = tables_.begin(); std 271 modules/flann/include/opencv2/flann/lsh_index.h typename std::vector<lsh::LshTable<ElementType> >::const_iterator table_end = tables_.end(); std 274 modules/flann/include/opencv2/flann/lsh_index.h std::vector<lsh::BucketKey>::const_iterator xor_mask = xor_masks_.begin(); std 275 modules/flann/include/opencv2/flann/lsh_index.h std::vector<lsh::BucketKey>::const_iterator xor_mask_end = xor_masks_.end(); std 282 modules/flann/include/opencv2/flann/lsh_index.h std::vector<lsh::FeatureIndex>::const_iterator training_index = bucket->begin(); std 283 modules/flann/include/opencv2/flann/lsh_index.h std::vector<lsh::FeatureIndex>::const_iterator last_training_index = bucket->end(); std 293 modules/flann/include/opencv2/flann/lsh_index.h std::push_heap(score_index_heap.begin(), score_index_heap.end()); std 297 modules/flann/include/opencv2/flann/lsh_index.h std::pop_heap(score_index_heap.begin(), score_index_heap.end()); std 308 modules/flann/include/opencv2/flann/lsh_index.h typename std::vector<lsh::LshTable<ElementType> >::const_iterator table = tables_.begin(); std 309 modules/flann/include/opencv2/flann/lsh_index.h typename std::vector<lsh::LshTable<ElementType> >::const_iterator table_end = tables_.end(); std 312 modules/flann/include/opencv2/flann/lsh_index.h std::vector<lsh::BucketKey>::const_iterator xor_mask = xor_masks_.begin(); std 313 modules/flann/include/opencv2/flann/lsh_index.h std::vector<lsh::BucketKey>::const_iterator xor_mask_end = xor_masks_.end(); std 320 modules/flann/include/opencv2/flann/lsh_index.h std::vector<lsh::FeatureIndex>::const_iterator training_index = bucket->begin(); std 321 modules/flann/include/opencv2/flann/lsh_index.h std::vector<lsh::FeatureIndex>::const_iterator last_training_index = bucket->end(); std 341 modules/flann/include/opencv2/flann/lsh_index.h typename std::vector<lsh::LshTable<ElementType> >::const_iterator table = tables_.begin(); std 342 modules/flann/include/opencv2/flann/lsh_index.h typename std::vector<lsh::LshTable<ElementType> >::const_iterator table_end = tables_.end(); std 345 modules/flann/include/opencv2/flann/lsh_index.h std::vector<lsh::BucketKey>::const_iterator xor_mask = xor_masks_.begin(); std 346 modules/flann/include/opencv2/flann/lsh_index.h std::vector<lsh::BucketKey>::const_iterator xor_mask_end = xor_masks_.end(); std 353 modules/flann/include/opencv2/flann/lsh_index.h std::vector<lsh::FeatureIndex>::const_iterator training_index = bucket->begin(); std 354 modules/flann/include/opencv2/flann/lsh_index.h std::vector<lsh::FeatureIndex>::const_iterator last_training_index = bucket->end(); std 368 modules/flann/include/opencv2/flann/lsh_index.h std::vector<lsh::LshTable<ElementType> > tables_; std 386 modules/flann/include/opencv2/flann/lsh_index.h std::vector<lsh::BucketKey> xor_masks_; std 76 modules/flann/include/opencv2/flann/lsh_table.h typedef std::vector<FeatureIndex> Bucket; std 84 modules/flann/include/opencv2/flann/lsh_table.h std::vector<unsigned int> bucket_sizes_; std 93 modules/flann/include/opencv2/flann/lsh_table.h std::vector<std::vector<unsigned int> > size_histogram_; std 101 modules/flann/include/opencv2/flann/lsh_table.h inline std::ostream& operator <<(std::ostream& out, const LshStats& stats) std 104 modules/flann/include/opencv2/flann/lsh_table.h out << "Lsh Table Stats:\n" << std::setw(w) << std::setiosflags(std::ios::right) << "N buckets : " std 105 modules/flann/include/opencv2/flann/lsh_table.h << stats.n_buckets_ << "\n" << std::setw(w) << std::setiosflags(std::ios::right) << "mean size : " std 106 modules/flann/include/opencv2/flann/lsh_table.h << std::setiosflags(std::ios::left) << stats.bucket_size_mean_ << "\n" << std::setw(w) std 107 modules/flann/include/opencv2/flann/lsh_table.h << std::setiosflags(std::ios::right) << "median size : " << stats.bucket_size_median_ << "\n" << std::setw(w) std 108 modules/flann/include/opencv2/flann/lsh_table.h << std::setiosflags(std::ios::right) << "min size : " << std::setiosflags(std::ios::left) std 109 modules/flann/include/opencv2/flann/lsh_table.h << stats.bucket_size_min_ << "\n" << std::setw(w) << std::setiosflags(std::ios::right) << "max size : " std 110 modules/flann/include/opencv2/flann/lsh_table.h << std::setiosflags(std::ios::left) << stats.bucket_size_max_; std 113 modules/flann/include/opencv2/flann/lsh_table.h out << std::endl << std::setw(w) << std::setiosflags(std::ios::right) << "histogram : " std 114 modules/flann/include/opencv2/flann/lsh_table.h << std::setiosflags(std::ios::left); std 115 modules/flann/include/opencv2/flann/lsh_table.h for (std::vector<std::vector<unsigned int> >::const_iterator iterator = stats.size_histogram_.begin(), end = std 136 modules/flann/include/opencv2/flann/lsh_table.h typedef std::unordered_map<BucketKey, Bucket> BucketsSpace; std 138 modules/flann/include/opencv2/flann/lsh_table.h typedef std::map<BucketKey, Bucket> BucketsSpace; std 143 modules/flann/include/opencv2/flann/lsh_table.h typedef std::vector<Bucket> BucketsSpeed; std 160 modules/flann/include/opencv2/flann/lsh_table.h std::cerr << "LSH is not implemented for that type" << std::endl; std 241 modules/flann/include/opencv2/flann/lsh_table.h std::cerr << "LSH is not implemented for that type" << std::endl; std 268 modules/flann/include/opencv2/flann/lsh_table.h const size_t key_size_upper_bound = std::min(sizeof(BucketKey) * CHAR_BIT + 1, sizeof(size_t) * CHAR_BIT); std 299 modules/flann/include/opencv2/flann/lsh_table.h if (((std::max(buckets_space_.size(), buckets_speed_.size()) * CHAR_BIT * 3 * sizeof(BucketKey)) / 10 std 337 modules/flann/include/opencv2/flann/lsh_table.h std::vector<size_t> mask_; std 348 modules/flann/include/opencv2/flann/lsh_table.h mask_ = std::vector<size_t>((size_t)ceil((float)(feature_size * sizeof(char)) / (float)sizeof(size_t)), 0); std 351 modules/flann/include/opencv2/flann/lsh_table.h std::vector<size_t> indices(feature_size * CHAR_BIT); std 353 modules/flann/include/opencv2/flann/lsh_table.h std::random_shuffle(indices.begin(), indices.end()); std 370 modules/flann/include/opencv2/flann/lsh_table.h out << std::setw(sizeof(size_t) * CHAR_BIT / 4) << std::setfill('0') << std::hex << mask_block std 371 modules/flann/include/opencv2/flann/lsh_table.h << std::endl; std 374 modules/flann/include/opencv2/flann/lsh_table.h out << "bit count : " << std::dec << bcount << std::endl; std 375 modules/flann/include/opencv2/flann/lsh_table.h out << "mask size : " << mask_.size() << std::endl; std 397 modules/flann/include/opencv2/flann/lsh_table.h for (std::vector<size_t>::const_iterator pmask_block = mask_.begin(); pmask_block != mask_.end(); ++pmask_block) { std 447 modules/flann/include/opencv2/flann/lsh_table.h std::sort(stats.bucket_sizes_.begin(), stats.bucket_sizes_.end()); std 465 modules/flann/include/opencv2/flann/lsh_table.h for (std::vector<unsigned int>::iterator iterator = stats.bucket_sizes_.begin(), end = stats.bucket_sizes_.end(); iterator std 469 modules/flann/include/opencv2/flann/lsh_table.h stats.size_histogram_.push_back(std::vector<unsigned int>(3, 0)); std 71 modules/flann/include/opencv2/flann/miniflann.hpp void getAll(std::vector<String>& names, std 72 modules/flann/include/opencv2/flann/miniflann.hpp std::vector<int>& types, std 73 modules/flann/include/opencv2/flann/miniflann.hpp std::vector<String>& strValues, std 74 modules/flann/include/opencv2/flann/miniflann.hpp std::vector<double>& numValues) const; std 49 modules/flann/include/opencv2/flann/object_factory.h typedef std::map<UniqueIdType, ObjectCreator> ObjectRegistry; std 42 modules/flann/include/opencv2/flann/params.h typedef std::map<cv::String, any> IndexParams; std 82 modules/flann/include/opencv2/flann/params.h inline void print_params(const IndexParams& params, std::ostream& stream) std 87 modules/flann/include/opencv2/flann/params.h stream << it->first << " : " << it->second << std::endl; std 93 modules/flann/include/opencv2/flann/params.h print_params(params, std::cout); std 63 modules/flann/include/opencv2/flann/random.h return low + ((high-low) * (std::rand() / (RAND_MAX + 1.0))); std 74 modules/flann/include/opencv2/flann/random.h return low + (int) ( double(high-low) * (std::rand() / (RAND_MAX + 1.0))); std 83 modules/flann/include/opencv2/flann/random.h std::vector<int> vals_; std 110 modules/flann/include/opencv2/flann/random.h std::random_shuffle(vals_.begin(), vals_.end()); std 103 modules/flann/include/opencv2/flann/result_set.h worst_distance_ = (std::numeric_limits<DistanceType>::max)(); std 170 modules/flann/include/opencv2/flann/result_set.h worst_distance_ = (std::numeric_limits<DistanceType>::max)(); std 306 modules/flann/include/opencv2/flann/result_set.h worst_distance_(std::numeric_limits<DistanceType>::max()) std 330 modules/flann/include/opencv2/flann/result_set.h for (typename std::set<DistIndex>::const_iterator dist_index = dist_indices_.begin(), dist_index_end = std 338 modules/flann/include/opencv2/flann/result_set.h for (typename std::set<DistIndex>::const_iterator dist_index = dist_indices_.begin(), dist_index_end = std 380 modules/flann/include/opencv2/flann/result_set.h std::set<DistIndex> dist_indices_; std 428 modules/flann/include/opencv2/flann/result_set.h worst_distance_ = std::numeric_limits<DistanceType>::max(); std 49 modules/flann/include/opencv2/flann/sampling.h std::copy(src, src+srcMatrix.cols, dest); std 53 modules/flann/include/opencv2/flann/sampling.h std::copy(src, src+srcMatrix.cols, dest); std 73 modules/flann/include/opencv2/flann/sampling.h std::copy(src, src+srcMatrix.cols, dest); std 98 modules/flann/include/opencv2/flann/saving.h std::fwrite(&header, sizeof(header),1,stream); std 139 modules/flann/include/opencv2/flann/saving.h void save_value(FILE* stream, const std::vector<T>& value) std 171 modules/flann/include/opencv2/flann/saving.h void load_value(FILE* stream, std::vector<T>& value) std 91 modules/flann/src/miniflann.cpp void IndexParams::getAll(std::vector<String>& names, std 92 modules/flann/src/miniflann.cpp std::vector<int>& types, std 93 modules/flann/src/miniflann.cpp std::vector<String>& strValues, std 94 modules/flann/src/miniflann.cpp std::vector<double>& numValues) const std 272 modules/hal/include/opencv2/hal/defs.h typedef std::uint32_t uint; std 623 modules/hal/include/opencv2/hal/defs.h template<> inline uchar saturate_cast<uchar>(schar v) { return (uchar)std::max((int)v, 0); } std 624 modules/hal/include/opencv2/hal/defs.h template<> inline uchar saturate_cast<uchar>(ushort v) { return (uchar)std::min((unsigned)v, (unsigned)UCHAR_MAX); } std 627 modules/hal/include/opencv2/hal/defs.h template<> inline uchar saturate_cast<uchar>(unsigned v) { return (uchar)std::min(v, (unsigned)UCHAR_MAX); } std 631 modules/hal/include/opencv2/hal/defs.h template<> inline uchar saturate_cast<uchar>(uint64 v) { return (uchar)std::min(v, (uint64)UCHAR_MAX); } std 633 modules/hal/include/opencv2/hal/defs.h template<> inline schar saturate_cast<schar>(uchar v) { return (schar)std::min((int)v, SCHAR_MAX); } std 634 modules/hal/include/opencv2/hal/defs.h template<> inline schar saturate_cast<schar>(ushort v) { return (schar)std::min((unsigned)v, (unsigned)SCHAR_MAX); } std 637 modules/hal/include/opencv2/hal/defs.h template<> inline schar saturate_cast<schar>(unsigned v) { return (schar)std::min(v, (unsigned)SCHAR_MAX); } std 641 modules/hal/include/opencv2/hal/defs.h template<> inline schar saturate_cast<schar>(uint64 v) { return (schar)std::min(v, (uint64)SCHAR_MAX); } std 643 modules/hal/include/opencv2/hal/defs.h template<> inline ushort saturate_cast<ushort>(schar v) { return (ushort)std::max((int)v, 0); } std 644 modules/hal/include/opencv2/hal/defs.h template<> inline ushort saturate_cast<ushort>(short v) { return (ushort)std::max((int)v, 0); } std 646 modules/hal/include/opencv2/hal/defs.h template<> inline ushort saturate_cast<ushort>(unsigned v) { return (ushort)std::min(v, (unsigned)USHRT_MAX); } std 650 modules/hal/include/opencv2/hal/defs.h template<> inline ushort saturate_cast<ushort>(uint64 v) { return (ushort)std::min(v, (uint64)USHRT_MAX); } std 652 modules/hal/include/opencv2/hal/defs.h template<> inline short saturate_cast<short>(ushort v) { return (short)std::min((int)v, SHRT_MAX); } std 654 modules/hal/include/opencv2/hal/defs.h template<> inline short saturate_cast<short>(unsigned v) { return (short)std::min(v, (unsigned)SHRT_MAX); } std 658 modules/hal/include/opencv2/hal/defs.h template<> inline short saturate_cast<short>(uint64 v) { return (short)std::min(v, (uint64)SHRT_MAX); } std 117 modules/hal/include/opencv2/hal/intrin_cpp.hpp size_t bytes = std::min(sizeof(_Tp2)*n2, sizeof(_Tp)*n); std 190 modules/hal/include/opencv2/hal/intrin_cpp.hpp OPENCV_HAL_IMPL_MATH_FUNC(v_sqrt, std::sqrt, _Tp) std 191 modules/hal/include/opencv2/hal/intrin_cpp.hpp OPENCV_HAL_IMPL_MATH_FUNC(v_sin, std::sin, _Tp) std 192 modules/hal/include/opencv2/hal/intrin_cpp.hpp OPENCV_HAL_IMPL_MATH_FUNC(v_cos, std::cos, _Tp) std 193 modules/hal/include/opencv2/hal/intrin_cpp.hpp OPENCV_HAL_IMPL_MATH_FUNC(v_exp, std::exp, _Tp) std 194 modules/hal/include/opencv2/hal/intrin_cpp.hpp OPENCV_HAL_IMPL_MATH_FUNC(v_log, std::log, _Tp) std 195 modules/hal/include/opencv2/hal/intrin_cpp.hpp OPENCV_HAL_IMPL_MATH_FUNC(v_abs, (typename V_TypeTraits<_Tp>::abs_type)std::abs, std 218 modules/hal/include/opencv2/hal/intrin_cpp.hpp OPENCV_HAL_IMPL_MINMAX_FUNC(v_min, v_reduce_min, std::min) std 219 modules/hal/include/opencv2/hal/intrin_cpp.hpp OPENCV_HAL_IMPL_MINMAX_FUNC(v_max, v_reduce_max, std::max) std 227 modules/hal/include/opencv2/hal/intrin_cpp.hpp minval.s[i] = std::min(a.s[i], b.s[i]); std 228 modules/hal/include/opencv2/hal/intrin_cpp.hpp maxval.s[i] = std::max(a.s[i], b.s[i]); std 264 modules/hal/include/opencv2/hal/intrin_cpp.hpp OPENCV_HAL_IMPL_ADD_SUB_OP(v_absdiff, -, (rtype)std::abs, typename V_TypeTraits<_Tp>::abs_type) std 271 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = 1.f/std::sqrt(a.s[i]); std 280 modules/hal/include/opencv2/hal/intrin_cpp.hpp c.s[i] = std::sqrt(a.s[i]*a.s[i] + b.s[i]*b.s[i]); std 573 modules/hal/include/opencv2/hal/intrin_neon.hpp OPENCV_HAL_IMPL_NEON_REDUCE_OP_4(v_uint32x4, unsigned, max, std::max) std 574 modules/hal/include/opencv2/hal/intrin_neon.hpp OPENCV_HAL_IMPL_NEON_REDUCE_OP_4(v_uint32x4, unsigned, min, std::min) std 576 modules/hal/include/opencv2/hal/intrin_neon.hpp OPENCV_HAL_IMPL_NEON_REDUCE_OP_4(v_int32x4, int, max, std::max) std 577 modules/hal/include/opencv2/hal/intrin_neon.hpp OPENCV_HAL_IMPL_NEON_REDUCE_OP_4(v_int32x4, int, min, std::min) std 579 modules/hal/include/opencv2/hal/intrin_neon.hpp OPENCV_HAL_IMPL_NEON_REDUCE_OP_4(v_float32x4, float, max, std::max) std 580 modules/hal/include/opencv2/hal/intrin_neon.hpp OPENCV_HAL_IMPL_NEON_REDUCE_OP_4(v_float32x4, float, min, std::min) std 1003 modules/hal/include/opencv2/hal/intrin_sse.hpp OPENCV_HAL_IMPL_SSE_REDUCE_OP_4(v_uint32x4, unsigned, max, std::max) std 1004 modules/hal/include/opencv2/hal/intrin_sse.hpp OPENCV_HAL_IMPL_SSE_REDUCE_OP_4(v_uint32x4, unsigned, min, std::min) std 1006 modules/hal/include/opencv2/hal/intrin_sse.hpp OPENCV_HAL_IMPL_SSE_REDUCE_OP_4(v_int32x4, int, max, std::max) std 1007 modules/hal/include/opencv2/hal/intrin_sse.hpp OPENCV_HAL_IMPL_SSE_REDUCE_OP_4(v_int32x4, int, min, std::min) std 1009 modules/hal/include/opencv2/hal/intrin_sse.hpp OPENCV_HAL_IMPL_SSE_REDUCE_OP_4(v_float32x4, float, max, std::max) std 1010 modules/hal/include/opencv2/hal/intrin_sse.hpp OPENCV_HAL_IMPL_SSE_REDUCE_OP_4(v_float32x4, float, min, std::min) std 140 modules/hal/src/mathfuncs.cpp float ax = std::abs(x), ay = std::abs(y); std 195 modules/hal/src/mathfuncs.cpp mag[i] = std::sqrt(x0*x0 + y0*y0); std 231 modules/hal/src/mathfuncs.cpp mag[i] = std::sqrt(x0*x0 + y0*y0); std 263 modules/hal/src/mathfuncs.cpp dst[i] = 1/std::sqrt(src[i]); std 278 modules/hal/src/mathfuncs.cpp dst[i] = 1/std::sqrt(src[i]); std 309 modules/hal/src/mathfuncs.cpp dst[i] = std::sqrt(src[i]); std 340 modules/hal/src/mathfuncs.cpp dst[i] = std::sqrt(src[i]); std 63 modules/hal/src/matrix.cpp if( std::abs(A[j*astep + i]) > std::abs(A[k*astep + i]) ) std 66 modules/hal/src/matrix.cpp if( std::abs(A[k*astep + i]) < eps ) std 72 modules/hal/src/matrix.cpp std::swap(A[i*astep + j], A[k*astep + j]); std 75 modules/hal/src/matrix.cpp std::swap(b[i*bstep + j], b[k*bstep + j]); std 148 modules/hal/src/matrix.cpp if( s < std::numeric_limits<_Tp>::epsilon() ) std 150 modules/hal/src/matrix.cpp L[i*astep + i] = (_Tp)(1./std::sqrt(s)); std 248 modules/hal/src/stat.cpp d += std::abs(a[j] - b[j]) + std::abs(a[j+1] - b[j+1]) + std 249 modules/hal/src/stat.cpp std::abs(a[j+2] - b[j+2]) + std::abs(a[j+3] - b[j+3]); std 254 modules/hal/src/stat.cpp d += std::abs(a[j] - b[j]); std 297 modules/hal/src/stat.cpp d += std::abs(a[j] - b[j]) + std::abs(a[j+1] - b[j+1]) + std 298 modules/hal/src/stat.cpp std::abs(a[j+2] - b[j+2]) + std::abs(a[j+3] - b[j+3]); std 302 modules/hal/src/stat.cpp d += std::abs(a[j] - b[j]); std 39 modules/highgui/src/agile_wrl.h #define __is_winrt_agile(T) (std::is_same<T, HSTRING__>::value || std::is_base_of<Microsoft::WRL::FtmBase, T>::value || std::is_base_of<IAgileObject, T>::value) //derived from Microsoft::WRL::FtmBase or IAgileObject std 41 modules/highgui/src/agile_wrl.h #define __is_win_interface(T) (std::is_base_of<IUnknown, T>::value || std::is_base_of<IInspectable, T>::value) //derived from IUnknown or IInspectable std 43 modules/highgui/src/agile_wrl.h #define __is_win_class(T) (std::is_same<T, HSTRING__>::value || std::is_base_of<Microsoft::WRL::Details::RuntimeClassBase, T>::value) //derived from Microsoft::WRL::RuntimeClass or HSTRING std 365 modules/highgui/src/agile_wrl.h std::swap(_object, object._object); std 366 modules/highgui/src/agile_wrl.h std::swap(_contextCallback, object._contextCallback); std 367 modules/highgui/src/agile_wrl.h std::swap(_contextToken, object._contextToken); std 369 modules/highgui/src/agile_wrl.h std::swap(_agileState, object._agileState); std 522 modules/highgui/src/agile_wrl.h std::swap(_object, object._object); std 94 modules/highgui/src/ppltasks_winrt.h namespace std std 252 modules/highgui/src/ppltasks_winrt.h std::vector<void *> _M_frames; std 394 modules/highgui/src/ppltasks_winrt.h static const bool _Value = std::is_base_of<ABI::Windows::Foundation::IAsyncInfo, typename _Unhat<_Type>::_Value>::value || std 395 modules/highgui/src/ppltasks_winrt.h std::is_same<_TypeSelectorAsyncAction, decltype(details::_AsyncOperationKindSelector(stdx::declval<_Type>()))>::value || std 396 modules/highgui/src/ppltasks_winrt.h std::is_same<_TypeSelectorAsyncOperation, decltype(details::_AsyncOperationKindSelector(stdx::declval<_Type>()))>::value || std 397 modules/highgui/src/ppltasks_winrt.h std::is_same<_TypeSelectorAsyncOperationWithProgress, decltype(details::_AsyncOperationKindSelector(stdx::declval<_Type>()))>::value || std 398 modules/highgui/src/ppltasks_winrt.h std::is_same<_TypeSelectorAsyncActionWithProgress, decltype(details::_AsyncOperationKindSelector(stdx::declval<_Type>()))>::value; std 468 modules/highgui/src/ppltasks_winrt.h template <typename _ReturnType, typename _Function> auto _IsCallable(_Function _Func, int, int, int) -> decltype(_Func(stdx::declval<task<_ReturnType>*>()), std::true_type()) { (void)_Func; return std::true_type(); } std 469 modules/highgui/src/ppltasks_winrt.h template <typename _ReturnType, typename _Function> auto _IsCallable(_Function _Func, int, int, ...) -> decltype(_Func(stdx::declval<_ReturnType*>()), std::true_type()) { (void)_Func; return std::true_type(); } std 470 modules/highgui/src/ppltasks_winrt.h template <typename _ReturnType, typename _Function> auto _IsCallable(_Function _Func, int, ...) -> decltype(_Func(), std::true_type()) { (void)_Func; return std::true_type(); } std 471 modules/highgui/src/ppltasks_winrt.h template <typename _ReturnType, typename _Function> std::false_type _IsCallable(_Function, ...) { return std::false_type(); } std 913 modules/highgui/src/ppltasks_winrt.h template <typename _Function> auto _IsVoidConversionHelper(_Function _Func, int) -> typename decltype(_Func(_To_task()), std::true_type()); std 914 modules/highgui/src/ppltasks_winrt.h template <typename _Function> std::false_type _IsVoidConversionHelper(_Function _Func, ...); std 916 modules/highgui/src/ppltasks_winrt.h template <typename T> std::true_type _VoidIsTaskHelper(task<T> _Arg, int); std 917 modules/highgui/src/ppltasks_winrt.h template <typename T> std::false_type _VoidIsTaskHelper(T _Arg, ...); std 919 modules/highgui/src/ppltasks_winrt.h template<typename _Function, typename _ExpectedParameterType, const bool _IsVoidConversion = std::is_same<decltype(_IsVoidConversionHelper(stdx::declval<_Function>(), 0)), std::true_type>::value, const size_t _Count = _FunctorTypeTraits<_Function>::_ArgumentCount> std 923 modules/highgui/src/ppltasks_winrt.h static_assert(std::is_same<typename _FunctorTypeTraits<_Function>::_Argument1Type, _ExpectedParameterType>::value || std 924 modules/highgui/src/ppltasks_winrt.h std::is_same<typename _FunctorTypeTraits<_Function>::_Argument1Type, task<_ExpectedParameterType>>::value, "incorrect parameter type for the callable object in 'then'; consider _ExpectedParameterType or task<_ExpectedParameterType> (see below)"); std 934 modules/highgui/src/ppltasks_winrt.h static_assert(std::is_same<typename _FunctorTypeTraits<_Function>::_Argument1Type, _ExpectedParameterType>::value || std 935 modules/highgui/src/ppltasks_winrt.h std::is_same<typename _FunctorTypeTraits<_Function>::_Argument1Type, task<_ExpectedParameterType>>::value, "incorrect parameter type for the callable object in 'then'; consider _ExpectedParameterType or task<_ExpectedParameterType> (see below)"); std 944 modules/highgui/src/ppltasks_winrt.h static_assert(std::is_same<typename _FunctorTypeTraits<_Function>::_Argument1Type, decltype(_To_task())>::value, "incorrect parameter type for the callable object in 'then'; consider _ExpectedParameterType or task<_ExpectedParameterType> (see below)"); std 954 modules/highgui/src/ppltasks_winrt.h typedef std::false_type _Takes_task; std 962 modules/highgui/src/ppltasks_winrt.h typedef std::false_type _Takes_task; std 1006 modules/highgui/src/ppltasks_winrt.h _TaskProcThunk(const std::function<HRESULT(void)> & _Callback) : std 1042 modules/highgui/src/ppltasks_winrt.h std::function<HRESULT(void)> _M_func; std 1062 modules/highgui/src/ppltasks_winrt.h static void _ScheduleFuncWithAutoInline(const std::function<HRESULT(void)> & _Func, _TaskInliningMode _InliningMode) std 1080 modules/highgui/src/ppltasks_winrt.h typedef std::function<HRESULT(void)> _CallbackFunction; std 1311 modules/highgui/src/ppltasks_winrt.h struct _ResultHolder<std::vector<_Type*>> std 1313 modules/highgui/src/ppltasks_winrt.h void Set(const std::vector<_Type*>& _type) std 1323 modules/highgui/src/ppltasks_winrt.h std::vector<_Type*> Get() std 1326 modules/highgui/src/ppltasks_winrt.h std::vector<_Type*> _Return; std 1337 modules/highgui/src/ppltasks_winrt.h std::vector< Agile<_Type*> > _Result; std 1341 modules/highgui/src/ppltasks_winrt.h struct _ResultHolder<std::pair<_Type*, void*> > std 1343 modules/highgui/src/ppltasks_winrt.h void Set(const std::pair<_Type*, size_t>& _type) std 1348 modules/highgui/src/ppltasks_winrt.h std::pair<_Type*, size_t> Get() std 1350 modules/highgui/src/ppltasks_winrt.h return std::make_pair(_M_Result.first, _M_Result.second); std 1353 modules/highgui/src/ppltasks_winrt.h std::pair<Agile<_Type*>, size_t> _M_Result; std 1370 modules/highgui/src/ppltasks_winrt.h template<typename _Type, size_t N = 0, bool bIsArray = std::is_array<_Type>::value> std 1406 modules/highgui/src/ppltasks_winrt.h throw std::make_exception_ptr(_Hr); std 1416 modules/highgui/src/ppltasks_winrt.h static_assert(std::is_base_of<IUnknown, _Type>::value || __is_valid_winrt_type(_Type), "must be a COM or WinRT type"); std 1443 modules/highgui/src/ppltasks_winrt.h throw std::make_exception_ptr(_Hr); std 1511 modules/highgui/src/ppltasks_winrt.h struct _ResultContext<std::vector<_Type*>> std 1513 modules/highgui/src/ppltasks_winrt.h static std::vector<_Type*> _GetValue(std::vector<_Type*> _ObjInCtx, const _ContextCallback& _Ctx, bool _RuntimeAggregate) std 1548 modules/highgui/src/ppltasks_winrt.h struct _ResultContext<std::pair<_Type*, size_t>> std 1550 modules/highgui/src/ppltasks_winrt.h static std::pair<_Type*, size_t> _GetValue(std::pair<_Type*, size_t> _ObjInCtx, const _ContextCallback& _Ctx, bool _RuntimeAggregate) std 1563 modules/highgui/src/ppltasks_winrt.h return std::pair<_Type*, size_t>(_Marshal<_Type>(_ObjInCtx.first, _Ctx), _ObjInCtx.second); std 1594 modules/highgui/src/ppltasks_winrt.h explicit _ExceptionHolder(const std::exception_ptr& _E, const _TaskCreationCallstack &_stackTrace) : std 1604 modules/highgui/src/ppltasks_winrt.h explicit _ExceptionHolder(const std::exception_ptr& _E, void* _SourceAddressHint) : std 1647 modules/highgui/src/ppltasks_winrt.h std::rethrow_exception(_M_stdException); std 1659 modules/highgui/src/ppltasks_winrt.h std::exception_ptr _M_stdException; std 1718 modules/highgui/src/ppltasks_winrt.h throw std::make_exception_ptr(hr); std 1730 modules/highgui/src/ppltasks_winrt.h throw std::make_exception_ptr(hr); std 1772 modules/highgui/src/ppltasks_winrt.h virtual STDMETHODIMP GetResults(_Result_abi*) { throw std::runtime_error("derived class must implement"); } std 2093 modules/highgui/src/ppltasks_winrt.h task_options(std::shared_ptr<_SchedType> _Scheduler) std 2094 modules/highgui/src/ppltasks_winrt.h : _M_Scheduler(std::move(_Scheduler)), std 2118 modules/highgui/src/ppltasks_winrt.h : _M_Scheduler(std::move(_Scheduler)), std 2228 modules/highgui/src/ppltasks_winrt.h typedef std::shared_ptr<_Task_impl<_ReturnType>> _Type; std 2230 modules/highgui/src/ppltasks_winrt.h static _Type _Make(Concurrency::details::_CancellationTokenState * _Ct, Concurrency::scheduler_ptr _Scheduler_arg) { return std::make_shared<_Task_impl<_ReturnType>>(_Ct, _Scheduler_arg); } std 2232 modules/highgui/src/ppltasks_winrt.h static _Type _Make(Concurrency::details::_CancellationTokenState * _Ct) { return std::make_shared<_Task_impl<_ReturnType>>(_Ct); } std 2247 modules/highgui/src/ppltasks_winrt.h typedef std::shared_ptr<_Task_impl_base> _Task_ptr_base; std 2494 modules/highgui/src/ppltasks_winrt.h _M_pTask->_CancelWithException(std::current_exception()); std 2669 modules/highgui/src/ppltasks_winrt.h _CancelWithException(std::current_exception()); std 2720 modules/highgui/src/ppltasks_winrt.h virtual bool _CancelAndRunContinuations(bool _SynchronousCancel, bool _UserException, bool _PropagatedFromAncestor, const std::shared_ptr<_ExceptionHolder>& _ExHolder) = 0; std 2728 modules/highgui/src/ppltasks_winrt.h bool _CancelWithExceptionHolder(const std::shared_ptr<_ExceptionHolder>& _ExHolder, bool _PropagatedFromAncestor) std 2739 modules/highgui/src/ppltasks_winrt.h return _CancelAndRunContinuations(true, true, false, std::make_shared<_ExceptionHolder>(_Exception, _GetTaskCreationCallstack())); std 2741 modules/highgui/src/ppltasks_winrt.h return _CancelAndRunContinuations(true, true, false, std::make_shared<_ExceptionHolder>(_Exception, _GetTaskCreationAddressHint())); std 2744 modules/highgui/src/ppltasks_winrt.h bool _CancelWithException(const std::exception_ptr& _Exception) std 2749 modules/highgui/src/ppltasks_winrt.h return _CancelAndRunContinuations(true, true, false, std::make_shared<_ExceptionHolder>(_Exception, _GetTaskCreationCallstack())); std 2751 modules/highgui/src/ppltasks_winrt.h return _CancelAndRunContinuations(true, true, false, std::make_shared<_ExceptionHolder>(_Exception, _GetTaskCreationAddressHint())); std 2756 modules/highgui/src/ppltasks_winrt.h void _RegisterCancellation(std::weak_ptr<_Task_impl_base> _WeakPtr) std 2828 modules/highgui/src/ppltasks_winrt.h const std::shared_ptr<_ExceptionHolder>& _GetExceptionHolder() std 3015 modules/highgui/src/ppltasks_winrt.h _TaskImplPtr->_CancelWithException(std::current_exception()); std 3196 modules/highgui/src/ppltasks_winrt.h _OuterTask->_CancelWithException(std::make_exception_ptr(_hr)); std 3280 modules/highgui/src/ppltasks_winrt.h std::shared_ptr<_ExceptionHolder> _M_exceptionHolder; std 3357 modules/highgui/src/ppltasks_winrt.h virtual bool _CancelAndRunContinuations(bool _SynchronousCancel, bool _UserException, bool _PropagatedFromAncestor, const std::shared_ptr<_ExceptionHolder> & _ExceptionHolder) std 3592 modules/highgui/src/ppltasks_winrt.h typedef std::vector<typename _Task_ptr<_ResultType>::_Type> _TaskList; std 3621 modules/highgui/src/ppltasks_winrt.h std::shared_ptr<_ExceptionHolder> _M_exceptionHolder; std 3627 modules/highgui/src/ppltasks_winrt.h inline std::function<HRESULT(_Unit_type*)> _MakeVoidToUnitFunc(const std::function<HRESULT(void)>& _Func) std 3633 modules/highgui/src/ppltasks_winrt.h std::function<HRESULT(_Unit_type, _Type*)> _MakeUnitToTFunc(const std::function<HRESULT(_Type*)>& _Func) std 3639 modules/highgui/src/ppltasks_winrt.h std::function<HRESULT(_Type, _Unit_type*)> _MakeTToUnitFunc(const std::function<HRESULT(_Type)>& _Func) std 3644 modules/highgui/src/ppltasks_winrt.h inline std::function<HRESULT(_Unit_type, _Unit_type*)> _MakeUnitToUnitFunc(const std::function<HRESULT(void)>& _Func) std 3676 modules/highgui/src/ppltasks_winrt.h task_completion_event() : _M_Impl(std::make_shared<details::_Task_completion_event_impl<_ResultType>>()) std 3761 modules/highgui/src/ppltasks_winrt.h return _Cancel(std::make_exception_ptr(_Except), _CAPTURE_CALLSTACK()); std 3773 modules/highgui/src/ppltasks_winrt.h bool set_exception(std::exception_ptr _ExceptionPtr) const // 'const' (even though it's not deep) allows to safely pass events by value into lambdas std 3856 modules/highgui/src/ppltasks_winrt.h static std::shared_ptr<details::_ExceptionHolder> _ToExceptionHolder(const std::shared_ptr<details::_ExceptionHolder>& _ExHolder, const details::_TaskCreationCallstack&) std 3858 modules/highgui/src/ppltasks_winrt.h static std::shared_ptr<details::_ExceptionHolder> _ToExceptionHolder(const std::shared_ptr<details::_ExceptionHolder>& _ExHolder, void*) std 3865 modules/highgui/src/ppltasks_winrt.h static std::shared_ptr<details::_ExceptionHolder> _ToExceptionHolder(std::exception_ptr _ExceptionPtr, const details::_TaskCreationCallstack &_SetExceptionAddressHint) std 3867 modules/highgui/src/ppltasks_winrt.h static std::shared_ptr<details::_ExceptionHolder> _ToExceptionHolder(std::exception_ptr _ExceptionPtr, void* _SetExceptionAddressHint) std 3870 modules/highgui/src/ppltasks_winrt.h return std::make_shared<details::_ExceptionHolder>(_ExceptionPtr, _SetExceptionAddressHint); std 3953 modules/highgui/src/ppltasks_winrt.h std::shared_ptr<details::_Task_completion_event_impl<_ResultType>> _M_Impl; std 3997 modules/highgui/src/ppltasks_winrt.h return _M_unitEvent._Cancel(std::make_exception_ptr(_Except), _CAPTURE_CALLSTACK()); std 4009 modules/highgui/src/ppltasks_winrt.h bool set_exception(std::exception_ptr _ExceptionPtr) const // 'const' (even though it's not deep) allows to safely pass events by value into lambdas std 4032 modules/highgui/src/ppltasks_winrt.h void _Cancel(const std::shared_ptr<details::_ExceptionHolder>& _ExHolder) const std 4042 modules/highgui/src/ppltasks_winrt.h bool _StoreException(const std::shared_ptr<details::_ExceptionHolder>& _ExHolder) const std 4080 modules/highgui/src/ppltasks_winrt.h auto _IsValidTaskCtor(_Ty _Param, int, int, int, int, int, int, int) -> typename decltype(_Param(), std::true_type()); std 4084 modules/highgui/src/ppltasks_winrt.h auto _IsValidTaskCtor(_Ty _Param, int, int, int, int, int, int, ...) -> typename decltype(_Param(stdx::declval<task<_ReturnType>*>()), std::true_type()); std 4088 modules/highgui/src/ppltasks_winrt.h auto _IsValidTaskCtor(_Ty _Param, int, int, int, int, int, ...) -> typename decltype(_Param(stdx::declval<_ReturnType*>()), std::true_type()); std 4092 modules/highgui/src/ppltasks_winrt.h auto _IsValidTaskCtor(_Ty _Param, int, int, int, int, ...) -> typename decltype(_Param->GetResults(), std::true_type()); std 4096 modules/highgui/src/ppltasks_winrt.h auto _IsValidTaskCtor(_Ty _Param, int, int, int, ...) -> typename decltype(_Param->GetResults(stdx::declval<decltype(_GetUnwrappedType(stdx::declval<_Ty>()))*>()), std::true_type()); std 4100 modules/highgui/src/ppltasks_winrt.h auto _IsValidTaskCtor(_Ty _Param, int, int, ...) -> typename decltype(_Param.set(stdx::declval<_ReturnType>()), std::true_type()); std 4103 modules/highgui/src/ppltasks_winrt.h auto _IsValidTaskCtor(_Ty _Param, int, ...) -> typename decltype(_Param.set(), std::true_type()); std 4107 modules/highgui/src/ppltasks_winrt.h std::false_type _IsValidTaskCtor(_Ty _Param, ...); std 4113 modules/highgui/src/ppltasks_winrt.h static_assert(std::is_same<decltype(details::_IsValidTaskCtor<_ReturnType>(_Param, 0, 0, 0, 0, 0, 0, 0)), std::true_type>::value, std 4116 modules/highgui/src/ppltasks_winrt.h static_assert(!(std::is_same<_Ty, _ReturnType>::value && details::_IsIAsyncInfo<_Ty>::_Value), std 4123 modules/highgui/src/ppltasks_winrt.h static auto _IsValidCreateAsync(_Ty _Param, int, int, int, int, int, int, int, int) -> typename decltype(_Param(), std::true_type()); std 4127 modules/highgui/src/ppltasks_winrt.h static auto _IsValidCreateAsync(_Ty _Param, int, int, int, int, int, int, int, ...) -> typename decltype(_Param(stdx::declval<_ReturnType*>()), std::true_type()); std 4131 modules/highgui/src/ppltasks_winrt.h static auto _IsValidCreateAsync(_Ty _Param, int, int, int, int, int, int, ...) -> typename decltype(_Param(Concurrency::cancellation_token::none()), std::true_type()); std 4135 modules/highgui/src/ppltasks_winrt.h static auto _IsValidCreateAsync(_Ty _Param, int, int, int, int, int, ...) -> typename decltype(_Param(Concurrency::cancellation_token::none(), stdx::declval<_ReturnType*>()), std::true_type()); std 4139 modules/highgui/src/ppltasks_winrt.h static auto _IsValidCreateAsync(_Ty _Param, int, int, int, int, ...) -> typename decltype(_Param(details::_ProgressReporterCtorArgType()), std::true_type()); std 4143 modules/highgui/src/ppltasks_winrt.h static auto _IsValidCreateAsync(_Ty _Param, int, int, int, ...) -> typename decltype(_Param(details::_ProgressReporterCtorArgType(), stdx::declval<_ReturnType*>()), std::true_type()); std 4147 modules/highgui/src/ppltasks_winrt.h static auto _IsValidCreateAsync(_Ty _Param, int, int, ...) -> typename decltype(_Param(details::_ProgressReporterCtorArgType(), Concurrency::cancellation_token::none()), std::true_type()); std 4151 modules/highgui/src/ppltasks_winrt.h static auto _IsValidCreateAsync(_Ty _Param, int, ...) -> typename decltype(_Param(details::_ProgressReporterCtorArgType(), Concurrency::cancellation_token::none(), stdx::declval<_ReturnType*>()), std::true_type()); std 4155 modules/highgui/src/ppltasks_winrt.h static std::false_type _IsValidCreateAsync(_Ty _Param, ...); std 4379 modules/highgui/src/ppltasks_winrt.h task(task&& _Other) : _M_Impl(std::move(_Other._M_Impl)) {} std 4416 modules/highgui/src/ppltasks_winrt.h _M_Impl = std::move(_Other._M_Impl); std 4747 modules/highgui/src/ppltasks_winrt.h _M_Impl = std::move(_Impl); std 4804 modules/highgui/src/ppltasks_winrt.h static auto _Perform(std::function<HRESULT(_RetType*)> _Func) -> decltype(_Func) std 4814 modules/highgui/src/ppltasks_winrt.h static auto _Perform(std::function<HRESULT(void)> _Func) -> decltype(details::_MakeVoidToUnitFunc(_Func)) std 4833 modules/highgui/src/ppltasks_winrt.h auto _LogWorkItemAndInvokeUserLambda(_Func && _func, _RetArg && _retArg) const -> decltype(_func(std::forward<_RetArg>(_retArg))) std 4836 modules/highgui/src/ppltasks_winrt.h return _func(std::forward<_RetArg>(_retArg)); std 4864 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 4884 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 4895 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 4913 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 4931 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 4950 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 4964 modules/highgui/src/ppltasks_winrt.h static auto _Perform(std::function<HRESULT(_InpType, _OutType*)> _Func) -> decltype(_Func) std 4974 modules/highgui/src/ppltasks_winrt.h static auto _Perform(std::function<HRESULT(_OutType*)> _Func) -> decltype(details::_MakeUnitToTFunc<_OutType>(_Func)) std 4984 modules/highgui/src/ppltasks_winrt.h static auto _Perform(std::function<HRESULT(_InType)> _Func) -> decltype(details::_MakeTToUnitFunc<_InType>(_Func)) std 4994 modules/highgui/src/ppltasks_winrt.h static auto _Perform(std::function<HRESULT(void)> _Func) -> decltype(details::_MakeUnitToUnitFunc(_Func)) std 5035 modules/highgui/src/ppltasks_winrt.h auto _LogWorkItemAndInvokeUserLambda(_Func && _func, _Arg && _value, _RetArg && _retArg) const -> decltype(_func(std::forward<_Arg>(_value), std::forward<_RetArg>(_retArg))) std 5038 modules/highgui/src/ppltasks_winrt.h return _func(std::forward<_Arg>(_value), std::forward<_RetArg>(_retArg)); std 5070 modules/highgui/src/ppltasks_winrt.h void _Continue(std::false_type, details::_TypeSelectorNoAsync) const std 5078 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5090 modules/highgui/src/ppltasks_winrt.h void _Continue(std::false_type, details::_TypeSelectorAsyncTask) const std 5099 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5105 modules/highgui/src/ppltasks_winrt.h void _Continue(std::false_type, details::_TypeSelectorAsyncOperation) const std 5114 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5125 modules/highgui/src/ppltasks_winrt.h void _Continue(std::false_type, details::_TypeSelectorAsyncAction) const std 5134 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5146 modules/highgui/src/ppltasks_winrt.h void _Continue(std::false_type, details::_TypeSelectorAsyncOperationWithProgress) const std 5158 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5169 modules/highgui/src/ppltasks_winrt.h void _Continue(std::false_type, details::_TypeSelectorAsyncActionWithProgress) const std 5181 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5193 modules/highgui/src/ppltasks_winrt.h void _Continue(std::true_type, details::_TypeSelectorNoAsync) const std 5197 modules/highgui/src/ppltasks_winrt.h _ResultTask._SetImpl(std::move(_M_ancestorTaskImpl)); std 5200 modules/highgui/src/ppltasks_winrt.h HRESULT hr = _LogWorkItemAndInvokeUserLambda(_Continuation_func_transformer<_FuncInputType, _ContinuationReturnType>::_Perform(_M_function), std::move(_ResultTask), &retVal); std 5202 modules/highgui/src/ppltasks_winrt.h HRESULT hr = _Continuation_func_transformer<_FuncInputType, _ContinuationReturnType>::_Perform(_M_function)(std::move(_ResultTask), &retVal); std 5204 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5217 modules/highgui/src/ppltasks_winrt.h void _Continue(std::true_type, details::_TypeSelectorAsyncTask) const std 5221 modules/highgui/src/ppltasks_winrt.h _ResultTask._SetImpl(std::move(_M_ancestorTaskImpl)); std 5224 modules/highgui/src/ppltasks_winrt.h HRESULT hr = _LogWorkItemAndInvokeUserLambda(_M_function, std::move(_ResultTask), &retVal); std 5226 modules/highgui/src/ppltasks_winrt.h HRESULT hr = _M_function(std::move(_ResultTask), &retVal); std 5228 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5231 modules/highgui/src/ppltasks_winrt.h void _Continue(std::true_type, details::_TypeSelectorAsyncOperation) const std 5235 modules/highgui/src/ppltasks_winrt.h _ResultTask._SetImpl(std::move(_M_ancestorTaskImpl)); std 5238 modules/highgui/src/ppltasks_winrt.h HRESULT hr = _LogWorkItemAndInvokeUserLambda(_M_function, std::move(_ResultTask), &retVal); std 5240 modules/highgui/src/ppltasks_winrt.h HRESULT hr = _M_function(std::move(_ResultTask), &retVal); std 5242 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5253 modules/highgui/src/ppltasks_winrt.h void _Continue(std::true_type, details::_TypeSelectorAsyncAction) const std 5257 modules/highgui/src/ppltasks_winrt.h _ResultTask._SetImpl(std::move(_M_ancestorTaskImpl)); std 5260 modules/highgui/src/ppltasks_winrt.h HRESULT hr = _LogWorkItemAndInvokeUserLambda(_M_function, std::move(_ResultTask), &retVal); std 5262 modules/highgui/src/ppltasks_winrt.h HRESULT hr = _M_function(std::move(_ResultTask), &retVal); std 5264 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5276 modules/highgui/src/ppltasks_winrt.h void _Continue(std::true_type, details::_TypeSelectorAsyncOperationWithProgress) const std 5280 modules/highgui/src/ppltasks_winrt.h _ResultTask._SetImpl(std::move(_M_ancestorTaskImpl)); std 5285 modules/highgui/src/ppltasks_winrt.h HRESULT hr = _LogWorkItemAndInvokeUserLambda(_M_function, std::move(_ResultTask), &retVal); std 5287 modules/highgui/src/ppltasks_winrt.h HRESULT hr = _M_function(std::move(_ResultTask), &retVal); std 5289 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5301 modules/highgui/src/ppltasks_winrt.h void _Continue(std::true_type, details::_TypeSelectorAsyncActionWithProgress) const std 5305 modules/highgui/src/ppltasks_winrt.h _ResultTask._SetImpl(std::move(_M_ancestorTaskImpl)); std 5310 modules/highgui/src/ppltasks_winrt.h HRESULT hr = _LogWorkItemAndInvokeUserLambda(_M_function, std::move(_ResultTask), &retVal); std 5312 modules/highgui/src/ppltasks_winrt.h HRESULT hr = _M_function(std::move(_ResultTask), &retVal); std 5314 modules/highgui/src/ppltasks_winrt.h if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5381 modules/highgui/src/ppltasks_winrt.h void _TaskInitMaybeFunctor(_Function & _Func, std::true_type) std 5390 modules/highgui/src/ppltasks_winrt.h void _TaskInitMaybeFunctor(_Ty & _Param, std::false_type) std 5678 modules/highgui/src/ppltasks_winrt.h task(task&& _Other) : _M_unitTask(std::move(_Other._M_unitTask)) {} std 5715 modules/highgui/src/ppltasks_winrt.h _M_unitTask = std::move(_Other._M_unitTask); std 5998 modules/highgui/src/ppltasks_winrt.h _M_unitTask._SetImpl(std::move(_Impl)); std 6076 modules/highgui/src/ppltasks_winrt.h void _TaskInitMaybeFunctor(_Function & _Func, std::true_type) std 6085 modules/highgui/src/ppltasks_winrt.h void _TaskInitMaybeFunctor(_T & _Param, std::false_type) std 6120 modules/highgui/src/ppltasks_winrt.h _Ty _GetTaskType(task_completion_event<_Ty>, std::false_type); std 6124 modules/highgui/src/ppltasks_winrt.h auto _GetTaskType(_Ty _NonFunc, std::false_type) -> decltype(_GetUnwrappedType(_NonFunc)); std 6128 modules/highgui/src/ppltasks_winrt.h auto _GetTaskType(_Ty _Func, std::true_type) -> decltype(_GetUnwrappedReturnType(stdx::declval<_FunctionTypeTraits<_Ty, void>::_FuncRetType>(), 0)); std 6131 modules/highgui/src/ppltasks_winrt.h void _GetTaskType(std::function<HRESULT()>, std::true_type); std 6184 modules/highgui/src/ppltasks_winrt.h static_assert(!std::is_same<typename details::_TaskTypeFromParam<_ReturnType, _Ty>::_Type, details::_BadArgType>::value, std 6244 modules/highgui/src/ppltasks_winrt.h static_assert(!std::is_same<typename details::_TaskTypeFromParam<_ReturnType, _Ty>::_Type, details::_BadArgType>::value, std 6333 modules/highgui/src/ppltasks_winrt.h typedef std::shared_ptr<details::_ProgressDispatcherBase<_ProgressType>> _PtrType; std 6408 modules/highgui/src/ppltasks_winrt.h template<typename _T, bool bTakesToken = std::is_same<_T, Concurrency::cancellation_token>::value, bool bTakesProgress = _ProgressTypeTraits<_T>::_TakesProgress> std 7761 modules/highgui/src/ppltasks_winrt.h if (!(std::is_same<_Attributes::_AsyncKind, _TypeSelectorAsyncTask>::value)) std 7996 modules/highgui/src/ppltasks_winrt.h static_assert(std::is_same<decltype(details::_IsValidCreateAsync<_ReturnType>(_Func, 0, 0, 0, 0, 0, 0, 0, 0)), std::true_type>::value, std 8038 modules/highgui/src/ppltasks_winrt.h _ResultHolder<std::vector<_Type> > _M_vector; std 8041 modules/highgui/src/ppltasks_winrt.h std::vector<_Type> _M_vector; std 8042 modules/highgui/src/ppltasks_winrt.h std::vector<_ContextCallback> _M_contexts; std 8050 modules/highgui/src/ppltasks_winrt.h struct _RunAllParam<std::vector<_Type> > std 8067 modules/highgui/src/ppltasks_winrt.h std::vector<_ResultHolder<std::vector<_Type> > > _M_vector; std 8151 modules/highgui/src/ppltasks_winrt.h static task<std::vector<_ElementType>> _Perform(const task_options& _TaskOptions, _Iterator _Begin, _Iterator _End) std 8153 modules/highgui/src/ppltasks_winrt.h static task<std::vector<_ElementType>> _Perform(Concurrency::details::_CancellationTokenState *_PTokenState, _Iterator _Begin, _Iterator _End) std 8171 modules/highgui/src/ppltasks_winrt.h auto _ReturnTask = _All_tasks_completed._Then([=](_Unit_type, std::vector<_ElementType>* retVal) -> HRESULT { std 8194 modules/highgui/src/ppltasks_winrt.h _PParam->_Resize(static_cast<size_t>(std::distance(_Begin, _End))); std 8256 modules/highgui/src/ppltasks_winrt.h struct _WhenAllImpl<std::vector<_ElementType>, _Iterator> std 8259 modules/highgui/src/ppltasks_winrt.h static task<std::vector<_ElementType>> _Perform(const task_options& _TaskOptions, _Iterator _Begin, _Iterator _End) std 8261 modules/highgui/src/ppltasks_winrt.h static task<std::vector<_ElementType>> _Perform(Concurrency::details::_CancellationTokenState *_PTokenState, _Iterator _Begin, _Iterator _End) std 8267 modules/highgui/src/ppltasks_winrt.h auto _PParam = new _RunAllParam<std::vector<_ElementType>>(); std 8279 modules/highgui/src/ppltasks_winrt.h auto _ReturnTask = _All_tasks_completed._Then([=](_Unit_type, std::vector<_ElementType>* retVal) -> HRESULT { std 8281 modules/highgui/src/ppltasks_winrt.h std::vector<_ElementType> _Result; std 8285 modules/highgui/src/ppltasks_winrt.h const std::vector<_ElementType>& _Vec = _PParam->_M_vector[_I].Get(); std 8287 modules/highgui/src/ppltasks_winrt.h std::vector<_ElementType>& _Vec = _PParam->_M_vector[_I]; std 8308 modules/highgui/src/ppltasks_winrt.h _PParam->_Resize(static_cast<size_t>(std::distance(_Begin, _End))); std 8337 modules/highgui/src/ppltasks_winrt.h _PTask->_Then([_PParam, _Index](task<std::vector<_ElementType>> _ResultTask) -> HRESULT { std 8403 modules/highgui/src/ppltasks_winrt.h _PParam->_Resize(static_cast<size_t>(std::distance(_Begin, _End))); std 8449 modules/highgui/src/ppltasks_winrt.h task<std::vector<_ReturnType>> _WhenAllVectorAndValue(const task<std::vector<_ReturnType>>& _VectorTask, const task<_ReturnType>& _ValueTask, std 8458 modules/highgui/src/ppltasks_winrt.h auto _ReturnTask = _All_tasks_completed._Then([=](_Unit_type, std::vector<_ReturnType>* retVal) -> HRESULT { std 8502 modules/highgui/src/ppltasks_winrt.h _VectorTask._Then([_PParam](task<std::vector<_ReturnType>> _ResultTask) -> HRESULT { std 8578 modules/highgui/src/ppltasks_winrt.h -> decltype (details::_WhenAllImpl<typename std::iterator_traits<_Iterator>::value_type::result_type, _Iterator>::_Perform(nullptr, _Begin, _End)) std 8580 modules/highgui/src/ppltasks_winrt.h typedef typename std::iterator_traits<_Iterator>::value_type::result_type _ElementType; std 8616 modules/highgui/src/ppltasks_winrt.h -> decltype (details::_WhenAllImpl<typename std::iterator_traits<_Iterator>::value_type::result_type, _Iterator>::_Perform(_TaskOptions, _Begin, _End)) std 8618 modules/highgui/src/ppltasks_winrt.h typedef typename std::iterator_traits<_Iterator>::value_type::result_type _ElementType; std 8623 modules/highgui/src/ppltasks_winrt.h -> decltype (details::_WhenAllImpl<typename std::iterator_traits<_Iterator>::value_type::result_type, _Iterator>::_Perform(_CancellationToken._GetImplValue(), _Begin, _End)) std 8625 modules/highgui/src/ppltasks_winrt.h typedef typename std::iterator_traits<_Iterator>::value_type::result_type _ElementType; std 8656 modules/highgui/src/ppltasks_winrt.h task<std::vector<_ReturnType>> operator&&(const task<_ReturnType> & _Lhs, const task<_ReturnType> & _Rhs) std 8688 modules/highgui/src/ppltasks_winrt.h task<std::vector<_ReturnType>> operator&&(const task<std::vector<_ReturnType>> & _Lhs, const task<_ReturnType> & _Rhs) std 8719 modules/highgui/src/ppltasks_winrt.h task<std::vector<_ReturnType>> operator&&(const task<_ReturnType> & _Lhs, const task<std::vector<_ReturnType>> & _Rhs) std 8750 modules/highgui/src/ppltasks_winrt.h task<std::vector<_ReturnType>> operator&&(const task<std::vector<_ReturnType>> & _Lhs, const task<std::vector<_ReturnType>> & _Rhs) std 8752 modules/highgui/src/ppltasks_winrt.h task<std::vector<_ReturnType>> _PTasks[2] = { _Lhs, _Rhs }; std 8878 modules/highgui/src/ppltasks_winrt.h static task<std::pair<_ElementType, size_t>> _Perform(const task_options& _TaskOptions, _Iterator _Begin, _Iterator _End) std 8880 modules/highgui/src/ppltasks_winrt.h static task<std::pair<_ElementType, size_t>> _Perform(Concurrency::details::_CancellationTokenState *_PTokenState, _Iterator _Begin, _Iterator _End) std 8890 modules/highgui/src/ppltasks_winrt.h auto _PParam = new _RunAnyParam<std::pair<std::pair<_ElementType, size_t>, Concurrency::details::_CancellationTokenState *>>(); std 8900 modules/highgui/src/ppltasks_winrt.h task<std::pair<std::pair<_ElementType, size_t>, Concurrency::details::_CancellationTokenState *>> _Any_tasks_completed(_PParam->_M_Completed, _Options); std 8902 modules/highgui/src/ppltasks_winrt.h task<std::pair<std::pair<_ElementType, size_t>, Concurrency::details::_CancellationTokenState *>> _Any_tasks_completed(_PParam->_M_Completed, _PParam->_M_cancellationSource.get_token()); std 8908 modules/highgui/src/ppltasks_winrt.h _PParam->_M_numTasks = static_cast<size_t>(std::distance(_Begin, _End)); std 8922 modules/highgui/src/ppltasks_winrt.h _PParamCopy->_M_Completed.set(std::make_pair(std::make_pair(_ResultTask._GetImpl()->_GetResult(), _IndexCopy), _ResultTask._GetImpl()->_M_pTokenState)); std 8926 modules/highgui/src/ppltasks_winrt.h _PParam->_M_Completed.set(std::make_pair(std::make_pair(_ResultTask._GetImpl()->_GetResult(), index), _ResultTask._GetImpl()->_M_pTokenState)); std 8940 modules/highgui/src/ppltasks_winrt.h return _Any_tasks_completed._Then([=](std::pair<std::pair<_ElementType, size_t>, Concurrency::details::_CancellationTokenState *> _Result, std::pair<_ElementType, size_t>* retVal) -> HRESULT { std 8972 modules/highgui/src/ppltasks_winrt.h auto _PParam = new _RunAnyParam<std::pair<size_t, Concurrency::details::_CancellationTokenState *>>(); std 8983 modules/highgui/src/ppltasks_winrt.h task<std::pair<size_t, _CancellationTokenState *>> _Any_tasks_completed(_PParam->_M_Completed, _Options); std 8985 modules/highgui/src/ppltasks_winrt.h task<std::pair<size_t, Concurrency::details::_CancellationTokenState *>> _Any_tasks_completed(_PParam->_M_Completed, _PParam->_M_cancellationSource.get_token()); std 8990 modules/highgui/src/ppltasks_winrt.h _PParam->_M_numTasks = static_cast<size_t>(std::distance(_Begin, _End)); std 9004 modules/highgui/src/ppltasks_winrt.h _PParamCopy->_M_Completed.set(std::make_pair(_IndexCopy, _ResultTask._GetImpl()->_M_pTokenState)); std 9008 modules/highgui/src/ppltasks_winrt.h _PParam->_M_Completed.set(std::make_pair(index, _ResultTask._GetImpl()->_M_pTokenState)); std 9023 modules/highgui/src/ppltasks_winrt.h return _Any_tasks_completed._Then([=](std::pair<size_t, Concurrency::details::_CancellationTokenState *> _Result, size_t* retVal) -> HRESULT { std 9063 modules/highgui/src/ppltasks_winrt.h -> decltype (details::_WhenAnyImpl<typename std::iterator_traits<_Iterator>::value_type::result_type, _Iterator>::_Perform(_TaskOptions, _Begin, _End)) std 9065 modules/highgui/src/ppltasks_winrt.h typedef typename std::iterator_traits<_Iterator>::value_type::result_type _ElementType; std 9070 modules/highgui/src/ppltasks_winrt.h -> decltype (details::_WhenAnyImpl<typename std::iterator_traits<_Iterator>::value_type::result_type, _Iterator>::_Perform(nullptr, _Begin, _End)) std 9072 modules/highgui/src/ppltasks_winrt.h typedef typename std::iterator_traits<_Iterator>::value_type::result_type _ElementType; std 9103 modules/highgui/src/ppltasks_winrt.h -> decltype (details::_WhenAnyImpl<typename std::iterator_traits<_Iterator>::value_type::result_type, _Iterator>::_Perform(_CancellationToken._GetImplValue(), _Begin, _End)) std 9105 modules/highgui/src/ppltasks_winrt.h typedef typename std::iterator_traits<_Iterator>::value_type::result_type _ElementType; std 9139 modules/highgui/src/ppltasks_winrt.h auto _PParam = new details::_RunAnyParam<std::pair<_ReturnType, size_t>>(); std 9141 modules/highgui/src/ppltasks_winrt.h task<std::pair<_ReturnType, size_t>> _Any_tasks_completed(_PParam->_M_Completed, _PParam->_M_cancellationSource.get_token()); std 9144 modules/highgui/src/ppltasks_winrt.h auto _ReturnTask = _Any_tasks_completed._Then([=](std::pair<_ReturnType, size_t> _Ret, _ReturnType* retVal) -> HRESULT { std 9151 modules/highgui/src/ppltasks_winrt.h auto _PParam = new details::_RunAnyParam<std::pair<_ReturnType, Concurrency::details::_CancellationTokenState *>>(); std 9153 modules/highgui/src/ppltasks_winrt.h task<std::pair<_ReturnType, Concurrency::details::_CancellationTokenState *>> _Any_tasks_completed(_PParam->_M_Completed, _PParam->_M_cancellationSource.get_token()); std 9156 modules/highgui/src/ppltasks_winrt.h auto _ReturnTask = _Any_tasks_completed._Then([=](std::pair<_ReturnType, Concurrency::details::_CancellationTokenState *> _Ret, _ReturnType* retVal) -> HRESULT { std 9174 modules/highgui/src/ppltasks_winrt.h _PParamCopy->_M_Completed.set(std::make_pair(_ResultTask._GetImpl()->_GetResult(), reinterpret_cast<size_t>(_ResultTask._GetImpl()->_M_pTokenState))); std 9178 modules/highgui/src/ppltasks_winrt.h _PParam->_M_Completed.set(std::make_pair(_ResultTask._GetImpl()->_GetResult(), _ResultTask._GetImpl()->_M_pTokenState)); std 9222 modules/highgui/src/ppltasks_winrt.h task<std::vector<_ReturnType>> operator||(const task<std::vector<_ReturnType>> & _Lhs, const task<_ReturnType> & _Rhs) std 9224 modules/highgui/src/ppltasks_winrt.h auto _PParam = new details::_RunAnyParam<std::pair<std::vector<_ReturnType>, Concurrency::details::_CancellationTokenState *>>(); std 9226 modules/highgui/src/ppltasks_winrt.h task<std::pair<std::vector<_ReturnType>, Concurrency::details::_CancellationTokenState *>> _Any_tasks_completed(_PParam->_M_Completed, _PParam->_M_cancellationSource.get_token()); std 9232 modules/highgui/src/ppltasks_winrt.h auto _ReturnTask = _Any_tasks_completed._Then([=](std::pair<std::vector<_ReturnType>, Concurrency::details::_CancellationTokenState *> _Ret, std::vector<_ReturnType>* retVal) -> HRESULT { std 9245 modules/highgui/src/ppltasks_winrt.h _Lhs._Then([_PParam](task<std::vector<_ReturnType>> _ResultTask) -> HRESULT { std 9251 modules/highgui/src/ppltasks_winrt.h _PParamCopy->_M_Completed.set(std::make_pair(_Result, _ResultTask._GetImpl()->_M_pTokenState)); std 9255 modules/highgui/src/ppltasks_winrt.h std::vector<_ReturnType> _Result = _ResultTask._GetImpl()->_GetResult(); std 9256 modules/highgui/src/ppltasks_winrt.h _PParam->_M_Completed.set(std::make_pair(_Result, _ResultTask._GetImpl()->_M_pTokenState)); std 9274 modules/highgui/src/ppltasks_winrt.h std::vector<_ReturnTypeDev10> _Vec; std 9276 modules/highgui/src/ppltasks_winrt.h _PParamCopy->_M_Completed.set(std::make_pair(_Vec, _ResultTask._GetImpl()->_M_pTokenState)); std 9282 modules/highgui/src/ppltasks_winrt.h std::vector<_ReturnType> _Vec; std 9284 modules/highgui/src/ppltasks_winrt.h _PParam->_M_Completed.set(std::make_pair(_Vec, _ResultTask._GetImpl()->_M_pTokenState)); std 9324 modules/highgui/src/ppltasks_winrt.h task<std::vector<_ReturnType>> operator||(const task<_ReturnType> & _Lhs, const task<std::vector<_ReturnType>> & _Rhs) std 9357 modules/highgui/src/ppltasks_winrt.h auto _PParam = new details::_RunAnyParam<std::pair<details::_Unit_type, Concurrency::details::_CancellationTokenState *>>(); std 9359 modules/highgui/src/ppltasks_winrt.h task<std::pair<details::_Unit_type, Concurrency::details::_CancellationTokenState *>> _Any_task_completed(_PParam->_M_Completed, _PParam->_M_cancellationSource.get_token()); std 9362 modules/highgui/src/ppltasks_winrt.h auto _ReturnTask = _Any_task_completed._Then([=](std::pair<details::_Unit_type, Concurrency::details::_CancellationTokenState *> _Ret) -> HRESULT { std 9382 modules/highgui/src/ppltasks_winrt.h _PParam1->_M_Completed.set(std::make_pair(details::_Unit_type(), _ResultTask._GetImpl()->_M_pTokenState)); std 9442 modules/highgui/src/ppltasks_winrt.h task<bool> do_while(std::function<task<bool>(void)> func) std 254 modules/highgui/src/window.cpp std::map<cv::String, cv::ogl::Texture2D> wndTexs; std 255 modules/highgui/src/window.cpp std::map<cv::String, cv::ogl::Texture2D> ownWndTexs; std 256 modules/highgui/src/window.cpp std::map<cv::String, cv::ogl::Buffer> ownWndBufs; std 49 modules/highgui/test/test_gui.cpp using namespace std; std 141 modules/imgcodecs/include/opencv2/imgcodecs.hpp CV_EXPORTS_W bool imreadmulti(const String& filename, std::vector<Mat>& mats, int flags = IMREAD_ANYCOLOR); std 208 modules/imgcodecs/include/opencv2/imgcodecs.hpp const std::vector<int>& params = std::vector<int>()); std 243 modules/imgcodecs/include/opencv2/imgcodecs.hpp CV_OUT std::vector<uchar>& buf, std 244 modules/imgcodecs/include/opencv2/imgcodecs.hpp const std::vector<int>& params = std::vector<int>()); std 406 modules/imgcodecs/src/bitstrm.cpp bool WBaseStream::open( std::vector<uchar>& buf ) std 127 modules/imgcodecs/src/bitstrm.hpp virtual bool open( std::vector<uchar>& buf ); std 141 modules/imgcodecs/src/bitstrm.hpp std::vector<uchar>* m_buf; std 111 modules/imgcodecs/src/grfmt_base.cpp bool BaseImageEncoder::setDestination( std::vector<uchar>& buf ) std 100 modules/imgcodecs/src/grfmt_base.hpp virtual bool setDestination( std::vector<uchar>& buf ); std 101 modules/imgcodecs/src/grfmt_base.hpp virtual bool write( const Mat& img, const std::vector<int>& params ) = 0; std 112 modules/imgcodecs/src/grfmt_base.hpp std::vector<uchar>* m_buf; std 172 modules/imgcodecs/src/grfmt_bmp.cpp m_height = std::abs(m_height); std 502 modules/imgcodecs/src/grfmt_bmp.cpp bool BmpEncoder::write( const Mat& img, const std::vector<int>& ) std 92 modules/imgcodecs/src/grfmt_bmp.hpp bool write( const Mat& img, const std::vector<int>& params ); std 578 modules/imgcodecs/src/grfmt_exr.cpp bool ExrEncoder::write( const Mat& img, const std::vector<int>& ) std 109 modules/imgcodecs/src/grfmt_exr.hpp bool write( const Mat& img, const std::vector<int>& params ); std 135 modules/imgcodecs/src/grfmt_gdal.cpp std::cout << "Unknown GDAL Data Type" << std::endl; std 136 modules/imgcodecs/src/grfmt_gdal.cpp std::cout << "Type: " << GDALGetDataTypeName(gdalType) << std::endl; std 197 modules/imgcodecs/src/grfmt_gdal.cpp return std::floor(value/256.0); std 206 modules/imgcodecs/src/grfmt_gdal.cpp std::cout << GDALGetDataTypeName( gdalType ) << std::endl; std 207 modules/imgcodecs/src/grfmt_gdal.cpp std::cout << "warning: unknown range cast requested." << std::endl; std 234 modules/imgcodecs/src/grfmt_gdal.cpp else{ throw std::runtime_error("Unknown image depth, gdal: 1, img: 1"); } std 245 modules/imgcodecs/src/grfmt_gdal.cpp else{ throw std::runtime_error("Unknown image depth, gdal:1, img: 3"); } std 251 modules/imgcodecs/src/grfmt_gdal.cpp else{ throw std::runtime_error("Unknown image depth, gdal:3, img: 1"); } std 257 modules/imgcodecs/src/grfmt_gdal.cpp else{ throw std::runtime_error("Unknown image depth, gdal: 4, image: 1"); } std 268 modules/imgcodecs/src/grfmt_gdal.cpp else{ throw std::runtime_error("Unknown image depth, gdal: 3, image: 3"); } std 280 modules/imgcodecs/src/grfmt_gdal.cpp else{ throw std::runtime_error("Unknown image depth, gdal: 4, image: 3"); } std 286 modules/imgcodecs/src/grfmt_gdal.cpp else{ throw std::runtime_error("Unknown image depth, gdal: 4, image: 4"); } std 291 modules/imgcodecs/src/grfmt_gdal.cpp throw std::runtime_error("error: can't convert types."); std 526 modules/imgcodecs/src/grfmt_gdal.cpp std::string str = signature.c_str(); std 527 modules/imgcodecs/src/grfmt_gdal.cpp if( str.substr(0,4).find("NITF") != std::string::npos ){ std 125 modules/imgcodecs/src/grfmt_hdr.cpp bool HdrEncoder::write( const Mat& input_img, const std::vector<int>& params ) std 130 modules/imgcodecs/src/grfmt_hdr.cpp std::vector<Mat> splitted(3, input_img); std 79 modules/imgcodecs/src/grfmt_hdr.hpp bool write( const Mat& img, const std::vector<int>& params ); std 486 modules/imgcodecs/src/grfmt_jpeg.cpp std::vector<uchar> *buf, *dst; std 545 modules/imgcodecs/src/grfmt_jpeg.cpp bool JpegEncoder::write( const Mat& img, const std::vector<int>& params ) std 560 modules/imgcodecs/src/grfmt_jpeg.cpp std::vector<uchar> out_buf(1 << 12); std 82 modules/imgcodecs/src/grfmt_jpeg.hpp bool write( const Mat& img, const std::vector<int>& params ); std 301 modules/imgcodecs/src/grfmt_jpeg2000.cpp int rshift = cvRound(std::log(maxval/256.)/std::log(2.)); std 365 modules/imgcodecs/src/grfmt_jpeg2000.cpp int rshift = cvRound(std::log(maxval/65536.)/std::log(2.)); std 438 modules/imgcodecs/src/grfmt_jpeg2000.cpp bool Jpeg2KEncoder::write( const Mat& _img, const std::vector<int>& ) std 83 modules/imgcodecs/src/grfmt_jpeg2000.hpp bool write( const Mat& img, const std::vector<int>& params ); std 341 modules/imgcodecs/src/grfmt_png.cpp bool PngEncoder::write( const Mat& img, const std::vector<int>& params ) std 88 modules/imgcodecs/src/grfmt_png.hpp bool write( const Mat& img, const std::vector<int>& params ); std 370 modules/imgcodecs/src/grfmt_pxm.cpp bool PxMEncoder::write( const Mat& img, const std::vector<int>& params ) std 85 modules/imgcodecs/src/grfmt_pxm.hpp bool write( const Mat& img, const std::vector<int>& params ); std 398 modules/imgcodecs/src/grfmt_sunras.cpp bool SunRasterEncoder::write( const Mat& img, const std::vector<int>& ) std 98 modules/imgcodecs/src/grfmt_sunras.hpp bool write( const Mat& img, const std::vector<int>& params ); std 247 modules/imgcodecs/src/grfmt_tiff.cpp (!is_tiled && tile_height0 == std::numeric_limits<uint32>::max()) ) std 507 modules/imgcodecs/src/grfmt_tiff.cpp static void readParam(const std::vector<int>& params, int key, int& value) std 517 modules/imgcodecs/src/grfmt_tiff.cpp bool TiffEncoder::writeLibTiff( const Mat& img, const std::vector<int>& params) std 679 modules/imgcodecs/src/grfmt_tiff.cpp bool TiffEncoder::write( const Mat& img, const std::vector<int>& params) std 681 modules/imgcodecs/src/grfmt_tiff.cpp bool TiffEncoder::write( const Mat& img, const std::vector<int>& /*params*/) std 127 modules/imgcodecs/src/grfmt_tiff.hpp bool write( const Mat& img, const std::vector<int>& params ); std 135 modules/imgcodecs/src/grfmt_tiff.hpp bool writeLibTiff( const Mat& img, const std::vector<int>& params ); std 207 modules/imgcodecs/src/grfmt_webp.cpp bool WebPEncoder::write(const Mat& img, const std::vector<int>& params) std 82 modules/imgcodecs/src/grfmt_webp.hpp bool write(const Mat& img, const std::vector<int>& params); std 111 modules/imgcodecs/src/loadsave.cpp std::vector<ImageDecoder> decoders; std 112 modules/imgcodecs/src/loadsave.cpp std::vector<ImageEncoder> encoders; std 132 modules/imgcodecs/src/loadsave.cpp maxlen = std::max(maxlen, len); std 169 modules/imgcodecs/src/loadsave.cpp maxlen = std::max(maxlen, len); std 174 modules/imgcodecs/src/loadsave.cpp maxlen = std::min(maxlen, bufSize); std 333 modules/imgcodecs/src/loadsave.cpp imreadmulti_(const String& filename, int flags, std::vector<Mat>& mats) std 424 modules/imgcodecs/src/loadsave.cpp bool imreadmulti(const String& filename, std::vector<Mat>& mats, int flags) std 430 modules/imgcodecs/src/loadsave.cpp const std::vector<int>& params, bool flipv ) std 461 modules/imgcodecs/src/loadsave.cpp const std::vector<int>& params ) std 569 modules/imgcodecs/src/loadsave.cpp std::vector<uchar>& buf, const std::vector<int>& params ) std 659 modules/imgcodecs/src/loadsave.cpp i > 0 ? std::vector<int>(_params, _params+i) : std::vector<int>(), std 696 modules/imgcodecs/src/loadsave.cpp std::vector<uchar> buf; std 699 modules/imgcodecs/src/loadsave.cpp i > 0 ? std::vector<int>(_params, _params+i) : std::vector<int>() ); std 45 modules/imgcodecs/test/test_drawing.cpp using namespace std; std 48 modules/imgcodecs/test/test_grfmt.cpp using namespace std; std 192 modules/imgcodecs/test/test_grfmt.cpp circle(img, Point2i((img_c * k) / 2, (img_r * k) / 2), std::min((img_r * k), (img_c * k)) / 4 , Scalar::all(255)); std 222 modules/imgcodecs/test/test_grfmt.cpp circle(img, Point2i((img_c * k) / 2, (img_r * k) / 2), std::min((img_r * k), (img_c * k)) / 4 , Scalar::all(255)); std 253 modules/imgcodecs/test/test_grfmt.cpp circle(img, Point2i((img_c * k) / 2, (img_r * k) / 2), std::min((img_r * k), (img_c * k)) / 4 , Scalar::all(255)); std 469 modules/imgcodecs/test/test_grfmt.cpp std::vector<uchar> jpegImg; std 481 modules/imgcodecs/test/test_grfmt.cpp std::vector<int> params; std 505 modules/imgcodecs/test/test_grfmt.cpp std::vector<int> params; std 529 modules/imgcodecs/test/test_grfmt.cpp std::vector<int> params; std 569 modules/imgcodecs/test/test_grfmt.cpp std::vector<int> params; std 581 modules/imgcodecs/test/test_grfmt.cpp catch(const std::bad_alloc&) std 699 modules/imgcodecs/test/test_grfmt.cpp std::ofstream outfile(filename.c_str(), std::ofstream::binary); std 764 modules/imgcodecs/test/test_grfmt.cpp std::vector<unsigned char> buf; std 804 modules/imgcodecs/test/test_grfmt.cpp std::string input = std::string(ts.get_data_path()) + "../cv/shared/lena.png"; std 810 modules/imgcodecs/test/test_grfmt.cpp std::vector<int> params; std 828 modules/imgcodecs/test/test_grfmt.cpp std::string input = std::string(ts.get_data_path()) + "../cv/shared/lena.png"; std 832 modules/imgcodecs/test/test_grfmt.cpp std::vector<cv::Mat> imgs; std 900 modules/imgproc/include/opencv2/imgproc.hpp CV_WRAP void insert(const std::vector<Point2f>& ptvec); std 904 modules/imgproc/include/opencv2/imgproc.hpp CV_WRAP void getEdgeList(CV_OUT std::vector<Vec4f>& edgeList) const; std 905 modules/imgproc/include/opencv2/imgproc.hpp CV_WRAP void getTriangleList(CV_OUT std::vector<Vec6f>& triangleList) const; std 906 modules/imgproc/include/opencv2/imgproc.hpp CV_WRAP void getVoronoiFacetList(const std::vector<int>& idx, CV_OUT std::vector<std::vector<Point2f> >& facetList, std 907 modules/imgproc/include/opencv2/imgproc.hpp CV_OUT std::vector<Point2f>& facetCenters); std 954 modules/imgproc/include/opencv2/imgproc.hpp std::vector<Vertex> vtx; std 955 modules/imgproc/include/opencv2/imgproc.hpp std::vector<QuadEdge> qedges; std 2816 modules/imgproc/include/opencv2/imgproc.hpp const std::vector<int>& channels, std 2818 modules/imgproc/include/opencv2/imgproc.hpp const std::vector<int>& histSize, std 2819 modules/imgproc/include/opencv2/imgproc.hpp const std::vector<float>& ranges, std 2873 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void calcBackProject( InputArrayOfArrays images, const std::vector<int>& channels, std 2875 modules/imgproc/include/opencv2/imgproc.hpp const std::vector<float>& ranges, std 4056 modules/imgproc/include/opencv2/imgproc.hpp CV_OUT std::vector<Point>& pts ); std 412 modules/imgproc/include/opencv2/imgproc/types_c.h double am00 = std::abs(m.m00); std 413 modules/imgproc/include/opencv2/imgproc/types_c.h inv_sqrt_m00 = am00 > DBL_EPSILON ? 1./std::sqrt(am00) : 0; std 47 modules/imgproc/perf/opencl/perf_3vs4.cpp std::vector<UMat> srcs(3), dsts(3); std 101 modules/imgproc/perf/opencl/perf_3vs4.cpp std::vector<UMat> srcs(3), dsts(3); std 55 modules/imgproc/perf/opencl/perf_color.cpp using std::tr1::make_tuple; std 27 modules/imgproc/perf/opencl/perf_houghLines.cpp typedef std::tr1::tuple<Size, double, double> ImageSize_RhoStep_ThetaStep_t; std 56 modules/imgproc/perf/opencl/perf_houghLines.cpp std::sort(result.begin<Vec2f>(), result.end<Vec2f>(), Vec2fComparator()); std 63 modules/imgproc/perf/opencl/perf_houghLines.cpp typedef std::tr1::tuple<string, double, double> Image_RhoStep_ThetaStep_t; std 82 modules/imgproc/perf/opencl/perf_imgproc.cpp const std::vector<int> channels(1, 0); std 83 modules/imgproc/perf/opencl/perf_imgproc.cpp std::vector<float> ranges(2); std 84 modules/imgproc/perf/opencl/perf_imgproc.cpp std::vector<int> histSize(1, 256); std 93 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::calcHist(std::vector<UMat>(1, src), channels, noArray(), hist, histSize, ranges, false); std 106 modules/imgproc/perf/opencl/perf_imgproc.cpp const std::vector<int> channels(1, 0); std 107 modules/imgproc/perf/opencl/perf_imgproc.cpp std::vector<float> ranges(2); std 108 modules/imgproc/perf/opencl/perf_imgproc.cpp std::vector<int> histSize(1, 256); std 117 modules/imgproc/perf/opencl/perf_imgproc.cpp cv::calcHist(std::vector<UMat>(1, src), channels, noArray(), hist, histSize, ranges, false); std 120 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::calcBackProject(std::vector<UMat>(1,src), channels, hist, dst, ranges, 1); std 12 modules/imgproc/perf/opencl/perf_matchTemplate.cpp typedef std::tr1::tuple<Size, Size, MethodType, MatType> ImgSize_TmplSize_Method_MatType_t; std 117 modules/imgproc/perf/opencl/perf_pyramid.cpp std::vector<UMat> dst(maxLevel); std 3 modules/imgproc/perf/perf_bilateral.cpp using namespace std; std 7 modules/imgproc/perf/perf_bilateral.cpp using std::tr1::make_tuple; std 8 modules/imgproc/perf/perf_bilateral.cpp using std::tr1::get; std 3 modules/imgproc/perf/perf_blur.cpp using namespace std; std 6 modules/imgproc/perf/perf_blur.cpp using std::tr1::make_tuple; std 7 modules/imgproc/perf/perf_blur.cpp using std::tr1::get; std 9 modules/imgproc/perf/perf_blur.cpp typedef std::tr1::tuple<Size, MatType, int> Size_MatType_kSize_t; std 40 modules/imgproc/perf/perf_blur.cpp typedef std::tr1::tuple<Size, MatType, BorderType3x3> Size_MatType_BorderType3x3_t; std 43 modules/imgproc/perf/perf_blur.cpp typedef std::tr1::tuple<Size, MatType, BorderType> Size_MatType_BorderType_t; std 3 modules/imgproc/perf/perf_canny.cpp using namespace std; std 6 modules/imgproc/perf/perf_canny.cpp using std::tr1::make_tuple; std 7 modules/imgproc/perf/perf_canny.cpp using std::tr1::get; std 9 modules/imgproc/perf/perf_canny.cpp typedef std::tr1::tuple<string, int, bool, std::tr1::tuple<double, double> > Img_Aperture_L2_thresholds_t; std 3 modules/imgproc/perf/perf_corners.cpp using namespace std; std 6 modules/imgproc/perf/perf_corners.cpp using std::tr1::make_tuple; std 7 modules/imgproc/perf/perf_corners.cpp using std::tr1::get; std 11 modules/imgproc/perf/perf_corners.cpp typedef std::tr1::tuple<string, int, int, double, BorderType> Img_BlockSize_ApertureSize_k_BorderType_t; std 40 modules/imgproc/perf/perf_corners.cpp typedef std::tr1::tuple<string, int, int, BorderType> Img_BlockSize_ApertureSize_BorderType_t; std 3 modules/imgproc/perf/perf_cvt_color.cpp using namespace std; std 6 modules/imgproc/perf/perf_cvt_color.cpp using std::tr1::make_tuple; std 7 modules/imgproc/perf/perf_cvt_color.cpp using std::tr1::get; std 240 modules/imgproc/perf/perf_cvt_color.cpp typedef std::tr1::tuple<Size, CvtMode> Size_CvtMode_t; std 271 modules/imgproc/perf/perf_cvt_color.cpp typedef std::tr1::tuple<Size, CvtModeBayer> Size_CvtMode_Bayer_t; std 297 modules/imgproc/perf/perf_cvt_color.cpp typedef std::tr1::tuple<Size, CvtMode2> Size_CvtMode2_t; std 322 modules/imgproc/perf/perf_cvt_color.cpp typedef std::tr1::tuple<Size, CvtMode3> Size_CvtMode3_t; std 350 modules/imgproc/perf/perf_cvt_color.cpp typedef std::tr1::tuple<Size, EdgeAwareBayerMode> EdgeAwareParams; std 27 modules/imgproc/perf/perf_distanceTransform.cpp using namespace std; std 30 modules/imgproc/perf/perf_distanceTransform.cpp using std::tr1::make_tuple; std 31 modules/imgproc/perf/perf_distanceTransform.cpp using std::tr1::get; std 38 modules/imgproc/perf/perf_distanceTransform.cpp typedef std::tr1::tuple<Size, DistanceType, MaskSize, DstType> SrcSize_DistType_MaskSize_DstType; std 39 modules/imgproc/perf/perf_distanceTransform.cpp typedef std::tr1::tuple<Size, DistanceType, MaskSize, LabelType> SrcSize_DistType_MaskSize_LabelType; std 3 modules/imgproc/perf/perf_filter2d.cpp using namespace std; std 7 modules/imgproc/perf/perf_filter2d.cpp using std::tr1::make_tuple; std 8 modules/imgproc/perf/perf_filter2d.cpp using std::tr1::get; std 10 modules/imgproc/perf/perf_floodfill.cpp using namespace std; std 14 modules/imgproc/perf/perf_floodfill.cpp using std::tr1::make_tuple; std 15 modules/imgproc/perf/perf_floodfill.cpp using std::tr1::get; std 17 modules/imgproc/perf/perf_floodfill.cpp typedef std::tr1::tuple<string, Point, int, int, int, int> Size_Source_Fl_t; std 3 modules/imgproc/perf/perf_goodFeaturesToTrack.cpp using namespace std; std 6 modules/imgproc/perf/perf_goodFeaturesToTrack.cpp using std::tr1::make_tuple; std 7 modules/imgproc/perf/perf_goodFeaturesToTrack.cpp using std::tr1::get; std 9 modules/imgproc/perf/perf_goodFeaturesToTrack.cpp typedef std::tr1::tuple<string, int, double, int, bool> Image_MaxCorners_QualityLevel_MinDistance_BlockSize_UseHarris_t; std 32 modules/imgproc/perf/perf_goodFeaturesToTrack.cpp std::vector<Point2f> corners; std 3 modules/imgproc/perf/perf_histogram.cpp using namespace std; std 7 modules/imgproc/perf/perf_histogram.cpp using std::tr1::make_tuple; std 8 modules/imgproc/perf/perf_histogram.cpp using std::tr1::get; std 5 modules/imgproc/perf/perf_houghLines.cpp using namespace std; std 8 modules/imgproc/perf/perf_houghLines.cpp using std::tr1::make_tuple; std 9 modules/imgproc/perf/perf_houghLines.cpp using std::tr1::get; std 11 modules/imgproc/perf/perf_houghLines.cpp typedef std::tr1::tuple<string, double, double, int> Image_RhoStep_ThetaStep_Threshold_t; std 3 modules/imgproc/perf/perf_integral.cpp using namespace std; std 6 modules/imgproc/perf/perf_integral.cpp using std::tr1::make_tuple; std 7 modules/imgproc/perf/perf_integral.cpp using std::tr1::get; std 9 modules/imgproc/perf/perf_integral.cpp typedef std::tr1::tuple<Size, MatType, MatDepth> Size_MatType_OutMatDepth_t; std 3 modules/imgproc/perf/perf_matchTemplate.cpp using namespace std; std 6 modules/imgproc/perf/perf_matchTemplate.cpp using std::tr1::make_tuple; std 7 modules/imgproc/perf/perf_matchTemplate.cpp using std::tr1::get; std 11 modules/imgproc/perf/perf_matchTemplate.cpp typedef std::tr1::tuple<Size, Size, MethodType> ImgSize_TmplSize_Method_t; std 10 modules/imgproc/perf/perf_moments.cpp using namespace std; std 14 modules/imgproc/perf/perf_moments.cpp using std::tr1::make_tuple; std 15 modules/imgproc/perf/perf_moments.cpp using std::tr1::get; std 17 modules/imgproc/perf/perf_moments.cpp typedef std::tr1::tuple<Size, MatDepth, bool> MomentsParams_t; std 3 modules/imgproc/perf/perf_morph.cpp using namespace std; std 6 modules/imgproc/perf/perf_morph.cpp using std::tr1::make_tuple; std 7 modules/imgproc/perf/perf_morph.cpp using std::tr1::get; std 3 modules/imgproc/perf/perf_phasecorr.cpp using namespace std; std 7 modules/imgproc/perf/perf_phasecorr.cpp using std::tr1::make_tuple; std 8 modules/imgproc/perf/perf_phasecorr.cpp using std::tr1::get; std 3 modules/imgproc/perf/perf_pyramids.cpp using namespace std; std 6 modules/imgproc/perf/perf_pyramids.cpp using std::tr1::make_tuple; std 7 modules/imgproc/perf/perf_pyramids.cpp using std::tr1::get; std 63 modules/imgproc/perf/perf_pyramids.cpp std::vector<Mat> dst(maxLevel); std 3 modules/imgproc/perf/perf_remap.cpp using namespace std; std 7 modules/imgproc/perf/perf_remap.cpp using std::tr1::make_tuple; std 8 modules/imgproc/perf/perf_remap.cpp using std::tr1::get; std 3 modules/imgproc/perf/perf_resize.cpp using namespace std; std 6 modules/imgproc/perf/perf_resize.cpp using std::tr1::make_tuple; std 7 modules/imgproc/perf/perf_resize.cpp using std::tr1::get; std 3 modules/imgproc/perf/perf_sepfilters.cpp using namespace std; std 6 modules/imgproc/perf/perf_sepfilters.cpp using std::tr1::make_tuple; std 7 modules/imgproc/perf/perf_sepfilters.cpp using std::tr1::get; std 17 modules/imgproc/perf/perf_sepfilters.cpp typedef std::tr1::tuple<Size, MatType, std::tr1::tuple<int, int>, BorderType3x3> Size_MatType_dx_dy_Border3x3_t; std 20 modules/imgproc/perf/perf_sepfilters.cpp typedef std::tr1::tuple<Size, MatType, std::tr1::tuple<int, int>, BorderType3x3ROI> Size_MatType_dx_dy_Border3x3ROI_t; std 23 modules/imgproc/perf/perf_sepfilters.cpp typedef std::tr1::tuple<Size, MatType, std::tr1::tuple<int, int>, BorderType> Size_MatType_dx_dy_Border5x5_t; std 26 modules/imgproc/perf/perf_sepfilters.cpp typedef std::tr1::tuple<Size, MatType, std::tr1::tuple<int, int>, BorderTypeROI> Size_MatType_dx_dy_Border5x5ROI_t; std 3 modules/imgproc/perf/perf_threshold.cpp using namespace std; std 6 modules/imgproc/perf/perf_threshold.cpp using std::tr1::make_tuple; std 7 modules/imgproc/perf/perf_threshold.cpp using std::tr1::get; std 11 modules/imgproc/perf/perf_threshold.cpp typedef std::tr1::tuple<Size, MatType, ThreshType> Size_MatType_ThreshType_t; std 63 modules/imgproc/perf/perf_threshold.cpp typedef std::tr1::tuple<Size, AdaptThreshType, AdaptThreshMethod, int> Size_AdaptThreshType_AdaptThreshMethod_BlockSize_t; std 3 modules/imgproc/perf/perf_warp.cpp using namespace std; std 7 modules/imgproc/perf/perf_warp.cpp using std::tr1::make_tuple; std 8 modules/imgproc/perf/perf_warp.cpp using std::tr1::get; std 51 modules/imgproc/src/_geom.h return std::sqrt( dx*dx + dy*dy ); std 67 modules/imgproc/src/canny.cpp size = std::max(size, size1); std 71 modules/imgproc/src/canny.cpp size = std::max(size, size1); std 121 modules/imgproc/src/canny.cpp low_thresh = std::min(32767.0f, low_thresh); std 122 modules/imgproc/src/canny.cpp high_thresh = std::min(32767.0f, high_thresh); std 330 modules/imgproc/src/canny.cpp int maxsize = std::max(1 << 10, src.cols * (boundaries.end - boundaries.start) / 10); std 331 modules/imgproc/src/canny.cpp std::vector<uchar*> stack(maxsize); std 386 modules/imgproc/src/canny.cpp _norm[j] = std::abs(int(_dx[j])) + std::abs(int(_dy[j])); std 458 modules/imgproc/src/canny.cpp maxsize = std::max(maxsize * 3/2, sz + src.cols); std 480 modules/imgproc/src/canny.cpp int x = std::abs(xs); std 481 modules/imgproc/src/canny.cpp int y = std::abs(ys) << CANNY_SHIFT; std 601 modules/imgproc/src/canny.cpp std::swap(low_thresh, high_thresh); std 632 modules/imgproc/src/canny.cpp low_thresh = std::min(32767.0, low_thresh); std 633 modules/imgproc/src/canny.cpp high_thresh = std::min(32767.0, high_thresh); std 699 modules/imgproc/src/canny.cpp low_thresh = std::min(32767.0, low_thresh); std 700 modules/imgproc/src/canny.cpp high_thresh = std::min(32767.0, high_thresh); std 721 modules/imgproc/src/canny.cpp int maxsize = std::max(1 << 10, src.cols * src.rows / 10); std 722 modules/imgproc/src/canny.cpp std::vector<uchar*> stack(maxsize); std 790 modules/imgproc/src/canny.cpp _norm[j] = std::abs(int(_dx[j])) + std::abs(int(_dy[j])); std 865 modules/imgproc/src/canny.cpp maxsize = std::max(maxsize * 3/2, sz + src.cols); std 883 modules/imgproc/src/canny.cpp int x = std::abs(xs); std 884 modules/imgproc/src/canny.cpp int y = std::abs(ys) << CANNY_SHIFT; std 256 modules/imgproc/src/clahe.cpp tx1 = std::max(tx1, 0); std 257 modules/imgproc/src/clahe.cpp tx2 = std::min(tx2, tilesX_ - 1); std 297 modules/imgproc/src/clahe.cpp ty1 = std::max(ty1, 0); std 298 modules/imgproc/src/clahe.cpp ty2 = std::min(ty2, tilesY_ - 1); std 395 modules/imgproc/src/clahe.cpp clipLimit = std::max(clipLimit, 1); std 138 modules/imgproc/src/color.cpp int ix = std::min(std::max(int(x), 0), n-1); std 148 modules/imgproc/src/color.cpp static _Tp max() { return std::numeric_limits<_Tp>::max(); } std 1261 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 1318 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 1408 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 1479 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 1592 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 1688 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 1713 modules/imgproc/src/color.cpp if(blueIdx==0) std::swap(coeffs[0], coeffs[2]); std 1747 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 1812 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 1907 modules/imgproc/src/color.cpp if(blueIdx==0) std::swap(coeffs[0], coeffs[2]); std 1942 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 2036 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 2159 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 2309 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 2575 modules/imgproc/src/color.cpp std::swap(v_b, v_r); std 2960 modules/imgproc/src/color.cpp useSSE = coeffs[0] <= std::numeric_limits<short>::max(); std 3062 modules/imgproc/src/color.cpp std::swap(v_r0, v_b0); std 3063 modules/imgproc/src/color.cpp std::swap(v_r1, v_b1); std 3141 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 3142 modules/imgproc/src/color.cpp std::swap(coeffs[3], coeffs[5]); std 3143 modules/imgproc/src/color.cpp std::swap(coeffs[6], coeffs[8]); std 3178 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 3179 modules/imgproc/src/color.cpp std::swap(coeffs[3], coeffs[5]); std 3180 modules/imgproc/src/color.cpp std::swap(coeffs[6], coeffs[8]); std 3249 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 3250 modules/imgproc/src/color.cpp std::swap(coeffs[3], coeffs[5]); std 3251 modules/imgproc/src/color.cpp std::swap(coeffs[6], coeffs[8]); std 3367 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 3368 modules/imgproc/src/color.cpp std::swap(coeffs[3], coeffs[5]); std 3369 modules/imgproc/src/color.cpp std::swap(coeffs[6], coeffs[8]); std 3412 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 3413 modules/imgproc/src/color.cpp std::swap(coeffs[3], coeffs[5]); std 3414 modules/imgproc/src/color.cpp std::swap(coeffs[6], coeffs[8]); std 3518 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 3519 modules/imgproc/src/color.cpp std::swap(coeffs[3], coeffs[5]); std 3520 modules/imgproc/src/color.cpp std::swap(coeffs[6], coeffs[8]); std 3645 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[6]); std 3646 modules/imgproc/src/color.cpp std::swap(coeffs[1], coeffs[7]); std 3647 modules/imgproc/src/color.cpp std::swap(coeffs[2], coeffs[8]); std 3686 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[6]); std 3687 modules/imgproc/src/color.cpp std::swap(coeffs[1], coeffs[7]); std 3688 modules/imgproc/src/color.cpp std::swap(coeffs[2], coeffs[8]); std 3816 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[6]); std 3817 modules/imgproc/src/color.cpp std::swap(coeffs[1], coeffs[7]); std 3818 modules/imgproc/src/color.cpp std::swap(coeffs[2], coeffs[8]); std 3865 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[6]); std 3866 modules/imgproc/src/color.cpp std::swap(coeffs[1], coeffs[7]); std 3867 modules/imgproc/src/color.cpp std::swap(coeffs[2], coeffs[8]); std 3983 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[6]); std 3984 modules/imgproc/src/color.cpp std::swap(coeffs[1], coeffs[7]); std 3985 modules/imgproc/src/color.cpp std::swap(coeffs[2], coeffs[8]); std 4357 modules/imgproc/src/color.cpp int dn = std::min(n - i, (int)BLOCK_SIZE); std 4608 modules/imgproc/src/color.cpp int dn = std::min(n - i, (int)BLOCK_SIZE); std 4867 modules/imgproc/src/color.cpp int dn = std::min(n - i, (int)BLOCK_SIZE); std 5048 modules/imgproc/src/color.cpp g[i] = x <= 0.04045f ? x*(1.f/12.92f) : (float)std::pow((double)(x + 0.055)*(1./1.055), 2.4); std 5049 modules/imgproc/src/color.cpp ig[i] = x <= 0.0031308 ? x*12.92f : (float)(1.055*std::pow((double)x, 1./2.4) - 0.055); std 5057 modules/imgproc/src/color.cpp sRGBGammaTab_b[i] = saturate_cast<ushort>(255.f*(1 << gamma_shift)*(x <= 0.04045f ? x*(1.f/12.92f) : (float)std::pow((double)(x + 0.055)*(1./1.055), 2.4))); std 5199 modules/imgproc/src/color.cpp float FX = X > 0.008856f ? std::pow(X, _1_3) : (7.787f * X + _a); std 5200 modules/imgproc/src/color.cpp float FY = Y > 0.008856f ? std::pow(Y, _1_3) : (7.787f * Y + _a); std 5201 modules/imgproc/src/color.cpp float FZ = Z > 0.008856f ? std::pow(Z, _1_3) : (7.787f * Z + _a); std 5371 modules/imgproc/src/color.cpp int dn = std::min(n - i, (int)BLOCK_SIZE); std 5539 modules/imgproc/src/color.cpp std::swap(coeffs[i*3], coeffs[i*3+2]); std 5579 modules/imgproc/src/color.cpp float d = (4*13) / std::max(X + 15 * Y + 3 * Z, FLT_EPSILON); std 5648 modules/imgproc/src/color.cpp R = std::min(std::max(R, 0.f), 1.f); std 5649 modules/imgproc/src/color.cpp G = std::min(std::max(G, 0.f), 1.f); std 5650 modules/imgproc/src/color.cpp B = std::min(std::max(B, 0.f), 1.f); std 5732 modules/imgproc/src/color.cpp int dn = std::min(n - i, (int)BLOCK_SIZE); std 5941 modules/imgproc/src/color.cpp int dn = std::min(n - i, (int)BLOCK_SIZE); std 6150 modules/imgproc/src/color.cpp int y00 = std::max(0, int(y1[i]) - 16) * ITUR_BT_601_CY; std 6155 modules/imgproc/src/color.cpp int y01 = std::max(0, int(y1[i + 1]) - 16) * ITUR_BT_601_CY; std 6160 modules/imgproc/src/color.cpp int y10 = std::max(0, int(y2[i]) - 16) * ITUR_BT_601_CY; std 6165 modules/imgproc/src/color.cpp int y11 = std::max(0, int(y2[i + 1]) - 16) * ITUR_BT_601_CY; std 6219 modules/imgproc/src/color.cpp int y00 = std::max(0, int(y1[i]) - 16) * ITUR_BT_601_CY; std 6225 modules/imgproc/src/color.cpp int y01 = std::max(0, int(y1[i + 1]) - 16) * ITUR_BT_601_CY; std 6231 modules/imgproc/src/color.cpp int y10 = std::max(0, int(y2[i]) - 16) * ITUR_BT_601_CY; std 6237 modules/imgproc/src/color.cpp int y11 = std::max(0, int(y2[i + 1]) - 16) * ITUR_BT_601_CY; std 6291 modules/imgproc/src/color.cpp int y00 = std::max(0, int(y1[2 * i]) - 16) * ITUR_BT_601_CY; std 6296 modules/imgproc/src/color.cpp int y01 = std::max(0, int(y1[2 * i + 1]) - 16) * ITUR_BT_601_CY; std 6301 modules/imgproc/src/color.cpp int y10 = std::max(0, int(y2[2 * i]) - 16) * ITUR_BT_601_CY; std 6306 modules/imgproc/src/color.cpp int y11 = std::max(0, int(y2[2 * i + 1]) - 16) * ITUR_BT_601_CY; std 6359 modules/imgproc/src/color.cpp int y00 = std::max(0, int(y1[2 * i]) - 16) * ITUR_BT_601_CY; std 6365 modules/imgproc/src/color.cpp int y01 = std::max(0, int(y1[2 * i + 1]) - 16) * ITUR_BT_601_CY; std 6371 modules/imgproc/src/color.cpp int y10 = std::max(0, int(y2[2 * i]) - 16) * ITUR_BT_601_CY; std 6377 modules/imgproc/src/color.cpp int y11 = std::max(0, int(y2[2 * i + 1]) - 16) * ITUR_BT_601_CY; std 6453 modules/imgproc/src/color.cpp if( uIdx_ == 2 ) std::swap(u, v); std 6541 modules/imgproc/src/color.cpp int y00 = std::max(0, int(yuv_src[i + yIdx]) - 16) * ITUR_BT_601_CY; std 6546 modules/imgproc/src/color.cpp int y01 = std::max(0, int(yuv_src[i + yIdx + 2]) - 16) * ITUR_BT_601_CY; std 6587 modules/imgproc/src/color.cpp int y00 = std::max(0, int(yuv_src[i + yIdx]) - 16) * ITUR_BT_601_CY; std 6593 modules/imgproc/src/color.cpp int y01 = std::max(0, int(yuv_src[i + yIdx + 2]) - 16) * ITUR_BT_601_CY; std 6936 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 6937 modules/imgproc/src/color.cpp std::swap(coeffs[3], coeffs[5]); std 6938 modules/imgproc/src/color.cpp std::swap(coeffs[6], coeffs[8]); std 6952 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[2]); std 6953 modules/imgproc/src/color.cpp std::swap(coeffs[3], coeffs[5]); std 6954 modules/imgproc/src/color.cpp std::swap(coeffs[6], coeffs[8]); std 6987 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[6]); std 6988 modules/imgproc/src/color.cpp std::swap(coeffs[1], coeffs[7]); std 6989 modules/imgproc/src/color.cpp std::swap(coeffs[2], coeffs[8]); std 7003 modules/imgproc/src/color.cpp std::swap(coeffs[0], coeffs[6]); std 7004 modules/imgproc/src/color.cpp std::swap(coeffs[1], coeffs[7]); std 7005 modules/imgproc/src/color.cpp std::swap(coeffs[2], coeffs[8]); std 8462 modules/imgproc/src/color.cpp if(uIdx == 1) { std::swap(u ,v), std::swap(ustepIdx, vstepIdx); } std 45 modules/imgproc/src/colormap.cpp std::vector<int> indices = _indices.getMat(); std 79 modules/imgproc/src/colormap.cpp std::vector<int> sort_indices = argsort(X_); std 72 modules/imgproc/src/connectedcomponents.cpp std::vector<Point2ui64> integrals; std 161 modules/imgproc/src/convhull.cpp std::sort(pointer, pointer + total, CHullCmpPoints<int>()); std 173 modules/imgproc/src/convhull.cpp std::sort(pointerf, pointerf + total, CHullCmpPoints<float>()); std 204 modules/imgproc/src/convhull.cpp std::swap( tl_stack, tr_stack ); std 205 modules/imgproc/src/convhull.cpp std::swap( tl_count, tr_count ); std 226 modules/imgproc/src/convhull.cpp std::swap( bl_stack, br_stack ); std 227 modules/imgproc/src/convhull.cpp std::swap( bl_count, br_count ); std 283 modules/imgproc/src/convhull.cpp std::vector<Vec4i> defects; std 300 modules/imgproc/src/convhull.cpp double scale = dx0 == 0 && dy0 == 0 ? 0. : 1./std::sqrt(dx0*dx0 + dy0*dy0); std 662 modules/imgproc/src/convhull.cpp scale = 1./std::sqrt(dx0*dx0 + dy0*dy0); std 113 modules/imgproc/src/corner.cpp dst[j] = (float)((a + c) - std::sqrt((a - c)*(a - c) + b*b)); std 196 modules/imgproc/src/corner.cpp double v = std::sqrt((a - c)*(a - c)*0.25 + b*b); std 216 modules/imgproc/src/corner.cpp double d = 1./std::sqrt(x*x + y*y + DBL_EPSILON); std 237 modules/imgproc/src/corner.cpp d = 1./std::sqrt(x*x + y*y + DBL_EPSILON); std 626 modules/imgproc/src/corner.cpp scale = std::pow(scale, -4.0); std 72 modules/imgproc/src/cornersubpix.cpp float vy = std::exp(-y*y); std 76 modules/imgproc/src/cornersubpix.cpp mask[i * win_w + j] = (float)(vy*std::exp(-x*x)); std 533 modules/imgproc/src/demosaicing.cpp std::swap(bcoeff, rcoeff); std 595 modules/imgproc/src/demosaicing.cpp std::swap(bcoeff, rcoeff); std 623 modules/imgproc/src/demosaicing.cpp std::swap(bcoeff, rcoeff); std 653 modules/imgproc/src/demosaicing.cpp static T value() { return std::numeric_limits<T>::max(); } std 1010 modules/imgproc/src/demosaicing.cpp brow[0] = (ushort)(std::abs(srow[-1-bstep] - srow[-1+bstep]) + std 1011 modules/imgproc/src/demosaicing.cpp std::abs(srow[-bstep] - srow[+bstep])*2 + std 1012 modules/imgproc/src/demosaicing.cpp std::abs(srow[1-bstep] - srow[1+bstep])); std 1013 modules/imgproc/src/demosaicing.cpp brow[N] = (ushort)(std::abs(srow[-1-bstep] - srow[1-bstep]) + std 1014 modules/imgproc/src/demosaicing.cpp std::abs(srow[-1] - srow[1])*2 + std 1015 modules/imgproc/src/demosaicing.cpp std::abs(srow[-1+bstep] - srow[1+bstep])); std 1016 modules/imgproc/src/demosaicing.cpp brow[N2] = (ushort)(std::abs(srow[+1-bstep] - srow[-1+bstep])*2); std 1017 modules/imgproc/src/demosaicing.cpp brow[N3] = (ushort)(std::abs(srow[-1-bstep] - srow[1+bstep])*2); std 1018 modules/imgproc/src/demosaicing.cpp brow[N4] = (ushort)(brow[N2] + std::abs(srow[-bstep] - srow[-1]) + std 1019 modules/imgproc/src/demosaicing.cpp std::abs(srow[+bstep] - srow[1])); std 1020 modules/imgproc/src/demosaicing.cpp brow[N5] = (ushort)(brow[N3] + std::abs(srow[-bstep] - srow[1]) + std 1021 modules/imgproc/src/demosaicing.cpp std::abs(srow[+bstep] - srow[-1])); std 1035 modules/imgproc/src/demosaicing.cpp int limit = !haveSSE ? N-2 : greenCell ? std::min(3, N-2) : 2; std 1048 modules/imgproc/src/demosaicing.cpp int minGrad = std::min(std::min(std::min(gradN, gradS), gradW), gradE); std 1049 modules/imgproc/src/demosaicing.cpp int maxGrad = std::max(std::max(std::max(gradN, gradS), gradW), gradE); std 1059 modules/imgproc/src/demosaicing.cpp minGrad = std::min(std::min(std::min(std::min(minGrad, gradNE), gradSW), gradNW), gradSE); std 1060 modules/imgproc/src/demosaicing.cpp maxGrad = std::max(std::max(std::max(std::max(maxGrad, gradNE), gradSW), gradNW), gradSE); std 1131 modules/imgproc/src/demosaicing.cpp minGrad = std::min(std::min(std::min(std::min(minGrad, gradNE), gradSW), gradNW), gradSE); std 1132 modules/imgproc/src/demosaicing.cpp maxGrad = std::max(std::max(std::max(std::max(maxGrad, gradNE), gradSW), gradNW), gradSE); std 1519 modules/imgproc/src/demosaicing.cpp D[1] = (std::abs(S[-1] - S[1]) > std::abs(S[sstep] - S[-sstep]) ? (S[sstep] + S[-sstep] + 1) : (S[-1] + S[1] + 1)) >> 1; std 1530 modules/imgproc/src/demosaicing.cpp D[1] = (std::abs(S[-1] - S[1]) > std::abs(S[sstep] - S[-sstep]) ? (S[sstep] + S[-sstep] + 1) : (S[-1] + S[1] + 1)) >> 1; std 1541 modules/imgproc/src/demosaicing.cpp D[1] = (std::abs(S[-1] - S[1]) > std::abs(S[sstep] - S[-sstep]) ? (S[sstep] + S[-sstep] + 1) : (S[-1] + S[1] + 1)) >> 1; std 106 modules/imgproc/src/deriv.cpp std::vector<int> kerI(std::max(ksizeX, ksizeY) + 1); std 596 modules/imgproc/src/deriv.cpp int ktype = std::max(CV_32F, std::max(ddepth, sdepth)); std 641 modules/imgproc/src/deriv.cpp int ktype = std::max(CV_32F, std::max(ddepth, sdepth)); std 758 modules/imgproc/src/deriv.cpp bool floatCoeff = std::fabs(delta - idelta) > DBL_EPSILON || std::fabs(scale - iscale) > DBL_EPSILON; std 759 modules/imgproc/src/deriv.cpp int wdepth = std::max(depth, floatCoeff ? CV_32F : CV_32S), kercn = 1; std 817 modules/imgproc/src/deriv.cpp bool floatScale = std::fabs(scale - iscale) > DBL_EPSILON, needScale = iscale != 1; std 818 modules/imgproc/src/deriv.cpp bool floatDelta = std::fabs(delta - idelta) > DBL_EPSILON, needDelta = delta != 0; std 902 modules/imgproc/src/deriv.cpp int ktype = std::max(CV_32F, std::max(ddepth, sdepth)); std 923 modules/imgproc/src/deriv.cpp int dy0 = std::min(std::max((int)(STRIPE_SIZE/(CV_ELEM_SIZE(stype)*src.cols)), 1), src.rows); std 545 modules/imgproc/src/distransform.cpp d[q] = std::sqrt(sqr_tab[std::abs(q - p)] + f[p]); std 565 modules/imgproc/src/distransform.cpp cv::AutoBuffer<uchar> _buf(std::max(m*2*sizeof(float) + (m*3+1)*sizeof(int), n*2*sizeof(float))); std 62 modules/imgproc/src/drawing.cpp std::vector<PolyEdge>& edges, const void* color, int line_type, std 66 modules/imgproc/src/drawing.cpp FillEdgeCollection( Mat& img, std::vector<PolyEdge>& edges, const void* color ); std 923 modules/imgproc/src/drawing.cpp int delta, std::vector<Point>& pts ) std 992 modules/imgproc/src/drawing.cpp axes.width = std::abs(axes.width), axes.height = std::abs(axes.height); std 993 modules/imgproc/src/drawing.cpp int delta = (std::max(axes.width,axes.height)+(XY_ONE>>1))>>XY_SHIFT; std 996 modules/imgproc/src/drawing.cpp std::vector<Point> v; std 1006 modules/imgproc/src/drawing.cpp std::vector<PolyEdge> edges; std 1077 modules/imgproc/src/drawing.cpp ymax = std::max( ymax, p.y ); std 1078 modules/imgproc/src/drawing.cpp xmax = std::max( xmax, p.x ); std 1196 modules/imgproc/src/drawing.cpp CollectPolyEdges( Mat& img, const Point* v, int count, std::vector<PolyEdge>& edges, std 1262 modules/imgproc/src/drawing.cpp FillEdgeCollection( Mat& img, std::vector<PolyEdge>& edges, const void* color ) std 1281 modules/imgproc/src/drawing.cpp y_min = std::min( y_min, e1.y0 ); std 1282 modules/imgproc/src/drawing.cpp y_max = std::max( y_max, e1.y1 ); std 1283 modules/imgproc/src/drawing.cpp x_min = std::min( x_min, e1.x ); std 1284 modules/imgproc/src/drawing.cpp x_max = std::max( x_max, e1.x ); std 1285 modules/imgproc/src/drawing.cpp x_min = std::min( x_min, x1 ); std 1286 modules/imgproc/src/drawing.cpp x_max = std::max( x_max, x1 ); std 1292 modules/imgproc/src/drawing.cpp std::sort( edges.begin(), edges.end(), CmpEdges() ); std 1468 modules/imgproc/src/drawing.cpp x11 = std::max( x11, 0 ); std 1506 modules/imgproc/src/drawing.cpp x21 = std::max( x21, 0 ); std 1595 modules/imgproc/src/drawing.cpp r = (thickness + oddThickness*XY_ONE*0.5)/std::sqrt(r); std 1841 modules/imgproc/src/drawing.cpp std::vector<PolyEdge> edges; std 2110 modules/imgproc/src/drawing.cpp std::vector<Point> pts; std 2252 modules/imgproc/src/drawing.cpp int i, std::vector<CvSeq>& seq, std 2253 modules/imgproc/src/drawing.cpp std::vector<CvSeqBlock>& block) std 2285 modules/imgproc/src/drawing.cpp std::vector<CvSeq> seq; std 2286 modules/imgproc/src/drawing.cpp std::vector<CvSeqBlock> block; std 2370 modules/imgproc/src/drawing.cpp std::vector<cv::PolyEdge> edges; std 2371 modules/imgproc/src/drawing.cpp std::vector<cv::Point> pts; std 2494 modules/imgproc/src/drawing.cpp std::vector<cv::Point> pts; std 54 modules/imgproc/src/featureselect.cpp public std::binary_function<const float *, const float *, bool> std 85 modules/imgproc/src/featureselect.cpp std::max(1024, static_cast<int>(imgsize.area() * 0.1)); std 164 modules/imgproc/src/featureselect.cpp total = std::min<size_t>(tmpCorners.at<Vec2i>(0, 0)[0], possibleCornersCount); std 173 modules/imgproc/src/featureselect.cpp std::sort(corner_ptr, corner_ptr + total); std 175 modules/imgproc/src/featureselect.cpp std::vector<Point2f> corners; std 187 modules/imgproc/src/featureselect.cpp std::vector<std::vector<Point2f> > grid(grid_width*grid_height); std 204 modules/imgproc/src/featureselect.cpp x1 = std::max(0, x1); std 205 modules/imgproc/src/featureselect.cpp y1 = std::max(0, y1); std 206 modules/imgproc/src/featureselect.cpp x2 = std::min(grid_width - 1, x2); std 207 modules/imgproc/src/featureselect.cpp y2 = std::min(grid_height - 1, y2); std 212 modules/imgproc/src/featureselect.cpp std::vector<Point2f> &m = grid[yy * grid_width + xx]; std 295 modules/imgproc/src/featureselect.cpp std::vector<const float*> tmpCorners; std 312 modules/imgproc/src/featureselect.cpp std::sort( tmpCorners.begin(), tmpCorners.end(), greaterThanPtr() ); std 314 modules/imgproc/src/featureselect.cpp std::vector<Point2f> corners; std 327 modules/imgproc/src/featureselect.cpp std::vector<std::vector<Point2f> > grid(grid_width*grid_height); std 348 modules/imgproc/src/featureselect.cpp x1 = std::max(0, x1); std 349 modules/imgproc/src/featureselect.cpp y1 = std::max(0, y1); std 350 modules/imgproc/src/featureselect.cpp x2 = std::min(grid_width-1, x2); std 351 modules/imgproc/src/featureselect.cpp y2 = std::min(grid_height-1, y2); std 356 modules/imgproc/src/featureselect.cpp std::vector <Point2f> &m = grid[yy*grid_width + xx]; std 414 modules/imgproc/src/featureselect.cpp std::vector<cv::Point2f> corners; std 142 modules/imgproc/src/filter.cpp int borderLength = std::max(ksize.width - 1, 1); std 177 modules/imgproc/src/filter.cpp _maxBufRows = std::max(_maxBufRows, std::max(anchor.y, ksize.height-anchor.y-1)*2+1); std 182 modules/imgproc/src/filter.cpp maxWidth = std::max(maxWidth, roi.width); std 195 modules/imgproc/src/filter.cpp n = std::min( n, N - i ); std 212 modules/imgproc/src/filter.cpp dx1 = std::max(anchor.x - roi.x, 0); std 213 modules/imgproc/src/filter.cpp dx2 = std::max(ksize.width - anchor.x - 1 + roi.x + roi.width - wholeSize.width, 0); std 230 modules/imgproc/src/filter.cpp int xofs1 = std::min(roi.x, anchor.x) - roi.x; std 252 modules/imgproc/src/filter.cpp startY = startY0 = std::max(roi.y - anchor.y, 0); std 253 modules/imgproc/src/filter.cpp endY = std::min(roi.y + roi.height + ksize.height - anchor.y - 1, wholeSize.height); std 310 modules/imgproc/src/filter.cpp int xofs1 = std::min(roi.x, anchor.x); std 316 modules/imgproc/src/filter.cpp count = std::min(count, remainingInputRows()); std 324 modules/imgproc/src/filter.cpp dcount = std::min(dcount, count); std 365 modules/imgproc/src/filter.cpp int max_i = std::min(bufRows, roi.height - (dstY + dy) + (kheight - 1)); std 1165 modules/imgproc/src/filter.cpp std::swap(S0, S2); std 1929 modules/imgproc/src/filter.cpp std::swap(S0, S2); std 1980 modules/imgproc/src/filter.cpp std::vector<Point> coords; std 2050 modules/imgproc/src/filter.cpp std::vector<uchar> coeffs; std 2063 modules/imgproc/src/filter.cpp std::vector<Point> coords; std 2133 modules/imgproc/src/filter.cpp std::vector<uchar> coeffs; std 2144 modules/imgproc/src/filter.cpp std::vector<Point> coords; std 2205 modules/imgproc/src/filter.cpp std::vector<uchar> coeffs; std 2726 modules/imgproc/src/filter.cpp std::swap(S0, S2); std 3546 modules/imgproc/src/filter.cpp std::swap(S0, S2); std 3567 modules/imgproc/src/filter.cpp std::swap(S0, S2); std 3631 modules/imgproc/src/filter.cpp ddepth >= std::max(sdepth, CV_32S) && std 3686 modules/imgproc/src/filter.cpp sdepth >= std::max(ddepth, CV_32S) && std 3799 modules/imgproc/src/filter.cpp int bdepth = std::max(CV_32F,std::max(sdepth, ddepth)); std 3848 modules/imgproc/src/filter.cpp void preprocess2DKernel( const Mat& kernel, std::vector<Point>& coords, std::vector<uchar>& coeffs ) std 3966 modules/imgproc/src/filter.cpp std::vector<Point> coords; std 3967 modules/imgproc/src/filter.cpp std::vector<uchar> coeffs; std 3968 modules/imgproc/src/filter.cpp std::vector<uchar*> ptrs; std 3989 modules/imgproc/src/filter.cpp static int _prepareKernelFilter2D(std::vector<T> & data, const Mat & kernel) std 4011 modules/imgproc/src/filter.cpp int dtype = CV_MAKE_TYPE(ddepth, cn), wdepth = std::max(std::max(sdepth, ddepth), CV_32F), std 4119 modules/imgproc/src/filter.cpp std::vector<float> kernelMatDataFloat; std 4313 modules/imgproc/src/filter.cpp esz = CV_ELEM_SIZE(stype), wdepth = std::max(std::max(sdepth, ddepth), bdepth), std 4614 modules/imgproc/src/filter.cpp std::fabs(delta - 0) < DBL_EPSILON && ippAnchor == anchor && dst.data != src.data) std 262 modules/imgproc/src/filterengine.hpp std::vector<int> borderTab; std 264 modules/imgproc/src/filterengine.hpp std::vector<uchar> ringBuf; std 265 modules/imgproc/src/filterengine.hpp std::vector<uchar> srcRow; std 266 modules/imgproc/src/filterengine.hpp std::vector<uchar> constBorderValue; std 267 modules/imgproc/src/filterengine.hpp std::vector<uchar> constBorderRow; std 274 modules/imgproc/src/filterengine.hpp std::vector<uchar*> rows; std 367 modules/imgproc/src/filterengine.hpp void preprocess2DKernel( const Mat& kernel, std::vector<Point>& coords, std::vector<uchar>& coeffs ); std 132 modules/imgproc/src/floodfill.cpp std::vector<FFillSegment>* buffer ) std 284 modules/imgproc/src/floodfill.cpp std::vector<FFillSegment>* buffer ) std 463 modules/imgproc/src/floodfill.cpp std::vector<FFillSegment> buffer; std 63 modules/imgproc/src/gabor.cpp xmax = cvRound(std::max(fabs(nstds*sigma_x*c), fabs(nstds*sigma_y*s))); std 68 modules/imgproc/src/gabor.cpp ymax = cvRound(std::max(fabs(nstds*sigma_x*s), fabs(nstds*sigma_y*c))); std 87 modules/imgproc/src/gabor.cpp double v = scale*std::exp(ex*xr*xr + ey*yr*yr)*cos(cscale*xr + psi); std 77 modules/imgproc/src/gcgraph.hpp std::vector<Vtx> vtcs; std 78 modules/imgproc/src/gcgraph.hpp std::vector<Edge> edges; std 162 modules/imgproc/src/gcgraph.hpp std::vector<Vtx*> orphans; std 59 modules/imgproc/src/generalized_hough.cpp return fabs(v) > std::numeric_limits<float>::epsilon(); std 93 modules/imgproc/src/generalized_hough.cpp std::vector<Vec4f> posOutBuf_; std 94 modules/imgproc/src/generalized_hough.cpp std::vector<Vec3i> voteOutBuf_; std 225 modules/imgproc/src/generalized_hough.cpp std::vector<Vec4f> oldPosBuf(posOutBuf_); std 226 modules/imgproc/src/generalized_hough.cpp std::vector<Vec3i> oldVoteBuf(voteOutBuf_); std 228 modules/imgproc/src/generalized_hough.cpp std::vector<size_t> indexies(oldSize); std 231 modules/imgproc/src/generalized_hough.cpp std::sort(indexies.begin(), indexies.end(), Vec3iGreaterThanIdx(&oldVoteBuf[0])); std 240 modules/imgproc/src/generalized_hough.cpp std::vector< std::vector<Point2f> > grid(gridWidth * gridHeight); std 261 modules/imgproc/src/generalized_hough.cpp x1 = std::max(0, x1); std 262 modules/imgproc/src/generalized_hough.cpp y1 = std::max(0, y1); std 263 modules/imgproc/src/generalized_hough.cpp x2 = std::min(gridWidth - 1, x2); std 264 modules/imgproc/src/generalized_hough.cpp y2 = std::min(gridHeight - 1, y2); std 270 modules/imgproc/src/generalized_hough.cpp const std::vector<Point2f>& m = grid[yy * gridWidth + xx]; std 371 modules/imgproc/src/generalized_hough.cpp std::vector< std::vector<Point> > r_table_; std 388 modules/imgproc/src/generalized_hough.cpp std::for_each(r_table_.begin(), r_table_.end(), std::mem_fun_ref(&std::vector<Point>::clear)); std 448 modules/imgproc/src/generalized_hough.cpp const std::vector<Point>& r_row = r_table_[n]; std 602 modules/imgproc/src/generalized_hough.cpp void buildFeatureList(const Mat& edges, const Mat& dx, const Mat& dy, std::vector< std::vector<Feature> >& features, Point2d center = Point2d()); std 603 modules/imgproc/src/generalized_hough.cpp void getContourPoints(const Mat& edges, const Mat& dx, const Mat& dy, std::vector<ContourPoint>& points); std 609 modules/imgproc/src/generalized_hough.cpp std::vector< std::vector<Feature> > templFeatures_; std 610 modules/imgproc/src/generalized_hough.cpp std::vector< std::vector<Feature> > imageFeatures_; std 612 modules/imgproc/src/generalized_hough.cpp std::vector< std::pair<double, int> > angles_; std 613 modules/imgproc/src/generalized_hough.cpp std::vector< std::pair<double, int> > scales_; std 681 modules/imgproc/src/generalized_hough.cpp void GeneralizedHoughGuilImpl::buildFeatureList(const Mat& edges, const Mat& dx, const Mat& dy, std::vector< std::vector<Feature> >& features, Point2d center) std 689 modules/imgproc/src/generalized_hough.cpp std::vector<ContourPoint> points; std 693 modules/imgproc/src/generalized_hough.cpp std::for_each(features.begin(), features.end(), std::mem_fun_ref(&std::vector<Feature>::clear)); std 694 modules/imgproc/src/generalized_hough.cpp std::for_each(features.begin(), features.end(), std::bind2nd(std::mem_fun_ref(&std::vector<Feature>::reserve), maxBufferSize_)); std 731 modules/imgproc/src/generalized_hough.cpp void GeneralizedHoughGuilImpl::getContourPoints(const Mat& edges, const Mat& dx, const Mat& dy, std::vector<ContourPoint>& points) std 773 modules/imgproc/src/generalized_hough.cpp std::vector<int> OHist(angleRange + 1, 0); std 776 modules/imgproc/src/generalized_hough.cpp const std::vector<Feature>& templRow = templFeatures_[i]; std 777 modules/imgproc/src/generalized_hough.cpp const std::vector<Feature>& imageRow = imageFeatures_[i]; std 804 modules/imgproc/src/generalized_hough.cpp angles_.push_back(std::make_pair(angle, OHist[n])); std 821 modules/imgproc/src/generalized_hough.cpp std::vector<int> SHist(scaleRange + 1, 0); std 825 modules/imgproc/src/generalized_hough.cpp const std::vector<Feature>& templRow = templFeatures_[i]; std 826 modules/imgproc/src/generalized_hough.cpp const std::vector<Feature>& imageRow = imageFeatures_[i]; std 858 modules/imgproc/src/generalized_hough.cpp scales_.push_back(std::make_pair(scale, SHist[s])); std 882 modules/imgproc/src/generalized_hough.cpp const std::vector<Feature>& templRow = templFeatures_[i]; std 883 modules/imgproc/src/generalized_hough.cpp const std::vector<Feature>& imageRow = imageFeatures_[i]; std 235 modules/imgproc/src/geometry.cpp result = std::sqrt(min_dist_num/min_dist_denom); std 122 modules/imgproc/src/grabcut.cpp CV_Assert( covDeterms[ci] > std::numeric_limits<double>::epsilon() ); std 195 modules/imgproc/src/grabcut.cpp if( dtrm <= std::numeric_limits<double>::epsilon() ) std 216 modules/imgproc/src/grabcut.cpp CV_Assert( dtrm > std::numeric_limits<double>::epsilon() ); std 263 modules/imgproc/src/grabcut.cpp if( beta <= std::numeric_limits<double>::epsilon() ) std 277 modules/imgproc/src/grabcut.cpp const double gammaDivSqrt2 = gamma / std::sqrt(2.0f); std 350 modules/imgproc/src/grabcut.cpp rect.x = std::max(0, rect.x); std 351 modules/imgproc/src/grabcut.cpp rect.y = std::max(0, rect.y); std 352 modules/imgproc/src/grabcut.cpp rect.width = std::min(rect.width, imgSize.width-rect.x); std 353 modules/imgproc/src/grabcut.cpp rect.height = std::min(rect.height, imgSize.height-rect.y); std 367 modules/imgproc/src/grabcut.cpp std::vector<Vec3f> bgdSamples, fgdSamples; std 55 modules/imgproc/src/histogram.cpp bool uniform, bool issparse, std::vector<size_t>& _tab ) std 88 modules/imgproc/src/histogram.cpp int limit = std::min(cvCeil(ranges[i][0]), high); std 100 modules/imgproc/src/histogram.cpp limit = std::min(cvCeil(ranges[i][idx+1]), high); std 118 modules/imgproc/src/histogram.cpp std::vector<uchar*>& ptrs, std::vector<int>& deltas, std 119 modules/imgproc/src/histogram.cpp Size& imsize, std::vector<double>& uniranges ) std 217 modules/imgproc/src/histogram.cpp calcHist1D_Invoker( const std::vector<uchar*>& _ptrs, const std::vector<int>& _deltas, std 291 modules/imgproc/src/histogram.cpp calcHist2D_Invoker( const std::vector<uchar*>& _ptrs, const std::vector<int>& _deltas, std 367 modules/imgproc/src/histogram.cpp calcHist3D_Invoker( const std::vector<uchar*>& _ptrs, const std::vector<int>& _deltas, std 455 modules/imgproc/src/histogram.cpp CalcHist1D_8uInvoker( const std::vector<uchar*>& ptrs, const std::vector<int>& deltas, std 456 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, const std::vector<size_t>& tab, std 576 modules/imgproc/src/histogram.cpp CalcHist2D_8uInvoker( const std::vector<uchar*>& _ptrs, const std::vector<int>& _deltas, std 577 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, const std::vector<size_t>& _tab, std 661 modules/imgproc/src/histogram.cpp CalcHist3D_8uInvoker( const std::vector<uchar*>& _ptrs, const std::vector<int>& _deltas, std 662 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, const std::vector<size_t>& tab ) std 730 modules/imgproc/src/histogram.cpp callCalcHist2D_8u( std::vector<uchar*>& _ptrs, const std::vector<int>& _deltas, std 731 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, std::vector<size_t>& _tab ) std 741 modules/imgproc/src/histogram.cpp callCalcHist3D_8u( std::vector<uchar*>& _ptrs, const std::vector<int>& _deltas, std 742 modules/imgproc/src/histogram.cpp Size imsize, Mat& hist, int dims, std::vector<size_t>& _tab ) std 750 modules/imgproc/src/histogram.cpp calcHist_( std::vector<uchar*>& _ptrs, const std::vector<int>& _deltas, std 985 modules/imgproc/src/histogram.cpp calcHist_8u( std::vector<uchar*>& _ptrs, const std::vector<int>& _deltas, std 995 modules/imgproc/src/histogram.cpp std::vector<size_t> _tab; std 1248 modules/imgproc/src/histogram.cpp int nstripes = std::min<int>(8, static_cast<int>(src.total() / (1 << 16))); std 1272 modules/imgproc/src/histogram.cpp std::vector<uchar*> ptrs; std 1273 modules/imgproc/src/histogram.cpp std::vector<int> deltas; std 1274 modules/imgproc/src/histogram.cpp std::vector<double> uniranges; std 1301 modules/imgproc/src/histogram.cpp calcSparseHist_( std::vector<uchar*>& _ptrs, const std::vector<int>& _deltas, std 1385 modules/imgproc/src/histogram.cpp calcSparseHist_8u( std::vector<uchar*>& _ptrs, const std::vector<int>& _deltas, std 1395 modules/imgproc/src/histogram.cpp std::vector<size_t> _tab; std 1445 modules/imgproc/src/histogram.cpp std::vector<uchar*> ptrs; std 1446 modules/imgproc/src/histogram.cpp std::vector<int> deltas; std 1447 modules/imgproc/src/histogram.cpp std::vector<double> uniranges; std 1490 modules/imgproc/src/histogram.cpp int kercn = dev.isAMD() && use16 ? 16 : std::min(4, ocl::predictOptimalVectorWidth(_src)); std 1527 modules/imgproc/src/histogram.cpp std::vector<UMat> v; std 1547 modules/imgproc/src/histogram.cpp void cv::calcHist( InputArrayOfArrays images, const std::vector<int>& channels, std 1549 modules/imgproc/src/histogram.cpp const std::vector<int>& histSize, std 1550 modules/imgproc/src/histogram.cpp const std::vector<float>& ranges, std 1588 modules/imgproc/src/histogram.cpp calcBackProj_( std::vector<uchar*>& _ptrs, const std::vector<int>& _deltas, std 1753 modules/imgproc/src/histogram.cpp calcBackProj_8u( std::vector<uchar*>& _ptrs, const std::vector<int>& _deltas, std 1763 modules/imgproc/src/histogram.cpp std::vector<size_t> _tab; std 1881 modules/imgproc/src/histogram.cpp std::vector<uchar*> ptrs; std 1882 modules/imgproc/src/histogram.cpp std::vector<int> deltas; std 1883 modules/imgproc/src/histogram.cpp std::vector<double> uniranges; std 1910 modules/imgproc/src/histogram.cpp calcSparseBackProj_( std::vector<uchar*>& _ptrs, const std::vector<int>& _deltas, std 1995 modules/imgproc/src/histogram.cpp calcSparseBackProj_8u( std::vector<uchar*>& _ptrs, const std::vector<int>& _deltas, std 2004 modules/imgproc/src/histogram.cpp std::vector<size_t> _tab; std 2043 modules/imgproc/src/histogram.cpp std::vector<uchar*> ptrs; std 2044 modules/imgproc/src/histogram.cpp std::vector<int> deltas; std 2045 modules/imgproc/src/histogram.cpp std::vector<double> uniranges; std 2075 modules/imgproc/src/histogram.cpp static void getUMatIndex(const std::vector<UMat> & um, int cn, int & idx, int & cnidx) std 2100 modules/imgproc/src/histogram.cpp static bool ocl_calcBackProject( InputArrayOfArrays _images, std::vector<int> channels, std 2102 modules/imgproc/src/histogram.cpp const std::vector<float>& ranges, std 2105 modules/imgproc/src/histogram.cpp std::vector<UMat> images; std 2125 modules/imgproc/src/histogram.cpp std::sort(channels.begin(), channels.end()); std 2217 modules/imgproc/src/histogram.cpp void cv::calcBackProject( InputArrayOfArrays images, const std::vector<int>& channels, std 2219 modules/imgproc/src/histogram.cpp const std::vector<float>& ranges, std 2394 modules/imgproc/src/histogram.cpp result += std::min(h1[j], h2[j]); std 2433 modules/imgproc/src/histogram.cpp result += std::sqrt(a*b); std 2450 modules/imgproc/src/histogram.cpp result += p * std::log( p / q ); std 2465 modules/imgproc/src/histogram.cpp result = std::abs(denom2) > DBL_EPSILON ? num/std::sqrt(denom2) : 1.; std 2470 modules/imgproc/src/histogram.cpp s1 = fabs(s1) > FLT_EPSILON ? 1./std::sqrt(s1) : 1.; std 2471 modules/imgproc/src/histogram.cpp result = std::sqrt(std::max(1. - result*s1, 0.)); std 2489 modules/imgproc/src/histogram.cpp std::swap(PH1, PH2); std 2534 modules/imgproc/src/histogram.cpp result = std::abs(denom2) > DBL_EPSILON ? num/std::sqrt(denom2) : 1.; std 2544 modules/imgproc/src/histogram.cpp result += std::min(v1, v2); std 2556 modules/imgproc/src/histogram.cpp result += std::sqrt(v1*v2); std 2565 modules/imgproc/src/histogram.cpp s1 = fabs(s1) > FLT_EPSILON ? 1./std::sqrt(s1) : 1.; std 2566 modules/imgproc/src/histogram.cpp result = std::sqrt(std::max(1. - result*s1, 0.)); std 2577 modules/imgproc/src/histogram.cpp result += v1 * std::log( v1 / v2 ); std 3189 modules/imgproc/src/histogram.cpp std::vector<cv::Mat> images(dims); std 3266 modules/imgproc/src/histogram.cpp std::vector<cv::Mat> images(dims); std 3582 modules/imgproc/src/histogram.cpp int kercn = dev.isAMD() && use16 ? 16 : std::min(4, ocl::predictOptimalVectorWidth(_src)); std 3601 modules/imgproc/src/histogram.cpp wgs = std::min<size_t>(ocl::Device::getDefault().maxWorkGroupSize(), BINS); std 80 modules/imgproc/src/hough.cpp int threshold, std::vector<Vec2f>& lines, int linesMax, std 107 modules/imgproc/src/hough.cpp int ipp_linesMax = std::min(linesMax, nz*numangle/threshold); std 126 modules/imgproc/src/hough.cpp std::vector<int> _sort_buf; std 166 modules/imgproc/src/hough.cpp std::sort(_sort_buf.begin(), _sort_buf.end(), hough_cmp_gt(accum)); std 169 modules/imgproc/src/hough.cpp linesMax = std::min(linesMax, (int)_sort_buf.size()); std 201 modules/imgproc/src/hough.cpp std::vector<Vec2f>& lines, int linesMax, std 222 modules/imgproc/src/hough.cpp std::vector<hough_index> lst; std 241 modules/imgproc/src/hough.cpp int rn = cvFloor( std::sqrt( (double)w * w + (double)h * h ) * irho ); std 247 modules/imgproc/src/hough.cpp std::vector<float> _sinTable( 5 * tn * stn ); std 253 modules/imgproc/src/hough.cpp std::vector<uchar> _caccum(rn * tn, (uchar)0); std 261 modules/imgproc/src/hough.cpp std::vector<int> _x(fn), _y(fn); std 289 modules/imgproc/src/hough.cpp r = (float) std::sqrt( (double)xc * xc + (double)yc * yc ); std 302 modules/imgproc/src/hough.cpp rv = r0 * std::cos( phi ); std 333 modules/imgproc/src/hough.cpp std::vector<uchar> _buffer(srn * stn + 2); std 357 modules/imgproc/src/hough.cpp r = (float) std::sqrt( (double)xc * xc + (double)yc * yc ) * isrho; std 364 modules/imgproc/src/hough.cpp rv = r * sinTable[(int) (std::abs( ti2 ))] - r0; std 418 modules/imgproc/src/hough.cpp std::vector<Vec4i>& lines, int linesMax ) std 439 modules/imgproc/src/hough.cpp int ipp_linesMax = std::min(linesMax, numangle*numrho); std 463 modules/imgproc/src/hough.cpp std::vector<float> trigtab(numangle*2); std 472 modules/imgproc/src/hough.cpp std::vector<Point> nzloc; std 597 modules/imgproc/src/hough.cpp good_line = std::abs(line_end[1].x - line_end[0].x) >= lineLength || std 598 modules/imgproc/src/hough.cpp std::abs(line_end[1].y - line_end[0].y) >= lineLength; std 857 modules/imgproc/src/hough.cpp std::vector<Vec2f> lines; std 876 modules/imgproc/src/hough.cpp std::vector<Vec4i> lines; std 891 modules/imgproc/src/hough.cpp std::vector<cv::Vec2f> l2; std 892 modules/imgproc/src/hough.cpp std::vector<cv::Vec4i> l4; std 1010 modules/imgproc/src/hough.cpp std::vector<int> sort_buf; std 1072 modules/imgproc/src/hough.cpp float mag = std::sqrt(vx*vx+vy*vy); std 1126 modules/imgproc/src/hough.cpp std::sort(sort_buf.begin(), sort_buf.begin() + center_count, cv::hough_cmp_gt(adata)); std 1181 modules/imgproc/src/hough.cpp std::sort(sort_buf.begin(), sort_buf.begin() + nz_count1, cv::hough_cmp_gt((int*)ddata)); std 344 modules/imgproc/src/imgwarp.cpp int sy = std::min(cvFloor(y*ify), ssize.height-1); std 436 modules/imgproc/src/imgwarp.cpp x_ofs[x] = std::min(sx, ssize.width-1)*pix_size; std 1733 modules/imgproc/src/imgwarp.cpp for( k1 = std::max(k1, k); k1 < ksize; k1++ ) std 1743 modules/imgproc/src/imgwarp.cpp k0 = std::min(k0, k); // remember the first row that needs to be computed std 2679 modules/imgproc/src/imgwarp.cpp double cellWidth = std::min(scale, ssize - fsx1); std 2683 modules/imgproc/src/imgwarp.cpp sx2 = std::min(sx2, ssize - 1); std 2684 modules/imgproc/src/imgwarp.cpp sx1 = std::min(sx1, sx2); std 2707 modules/imgproc/src/imgwarp.cpp tab[k++].alpha = (float)(std::min(std::min(fsx2 - sx2, 1.), cellWidth) / cellWidth); std 2852 modules/imgproc/src/imgwarp.cpp double cellWidth = std::min(scale, ssize - fsx1); std 2856 modules/imgproc/src/imgwarp.cpp sx2 = std::min(sx2, ssize - 1); std 2857 modules/imgproc/src/imgwarp.cpp sx1 = std::min(sx1, sx2); std 2874 modules/imgproc/src/imgwarp.cpp alpha_tab[k++] = (float)(std::min(std::min(fsx2 - sx2, 1.), cellWidth) / cellWidth); std 2888 modules/imgproc/src/imgwarp.cpp bool is_area_fast = std::abs(inv_fx - iscale_x) < DBL_EPSILON && std 2889 modules/imgproc/src/imgwarp.cpp std::abs(inv_fy - iscale_y) < DBL_EPSILON; std 2919 modules/imgproc/src/imgwarp.cpp int wdepth = std::max(depth, CV_32S); std 2981 modules/imgproc/src/imgwarp.cpp int wdepth = std::max(depth, CV_32S), wtype = CV_MAKETYPE(wdepth, cn); std 3001 modules/imgproc/src/imgwarp.cpp int wdepth = std::max(depth, CV_32S), wtype = CV_MAKETYPE(wdepth, cn); std 3030 modules/imgproc/src/imgwarp.cpp int wdepth = std::max(depth, is_area_fast ? CV_32S : CV_32F); std 3043 modules/imgproc/src/imgwarp.cpp int wdepth2 = std::max(CV_32F, depth), wtype2 = CV_MAKE_TYPE(wdepth2, cn); std 3241 modules/imgproc/src/imgwarp.cpp bool is_area_fast = std::abs(scale_x - iscale_x) < DBL_EPSILON && std 3242 modules/imgproc/src/imgwarp.cpp std::abs(scale_y - iscale_y) < DBL_EPSILON; std 3401 modules/imgproc/src/imgwarp.cpp xmax = std::min( xmax, dx ); std 3820 modules/imgproc/src/imgwarp.cpp unsigned width1 = std::max(ssize.width-1, 0), height1 = std::max(ssize.height-1, 0); std 3824 modules/imgproc/src/imgwarp.cpp width1 = std::max(ssize.width-2, 0); std 4032 modules/imgproc/src/imgwarp.cpp unsigned width1 = std::max(ssize.width-3, 0), height1 = std::max(ssize.height-3, 0); std 4137 modules/imgproc/src/imgwarp.cpp unsigned width1 = std::max(ssize.width-7, 0), height1 = std::max(ssize.height-7, 0); std 4252 modules/imgproc/src/imgwarp.cpp int brows0 = std::min(128, dst->rows), map_depth = m1->depth(); std 4253 modules/imgproc/src/imgwarp.cpp int bcols0 = std::min(buf_size/brows0, dst->cols); std 4254 modules/imgproc/src/imgwarp.cpp brows0 = std::min(buf_size/bcols0, dst->rows); std 4267 modules/imgproc/src/imgwarp.cpp int brows = std::min(brows0, range.end - y); std 4268 modules/imgproc/src/imgwarp.cpp int bcols = std::min(bcols0, dst->cols - x); std 4504 modules/imgproc/src/imgwarp.cpp std::swap(map1, map2); std 4536 modules/imgproc/src/imgwarp.cpp int wdepth = std::max(CV_32F, depth); std 4750 modules/imgproc/src/imgwarp.cpp std::swap(m1, m2); std 4782 modules/imgproc/src/imgwarp.cpp std::swap( m1, m2 ); std 4783 modules/imgproc/src/imgwarp.cpp std::swap( m1type, m2type ); std 5243 modules/imgproc/src/imgwarp.cpp int bh0 = std::min(BLOCK_SZ/2, dst.rows); std 5244 modules/imgproc/src/imgwarp.cpp int bw0 = std::min(BLOCK_SZ*BLOCK_SZ/bh0, dst.cols); std 5245 modules/imgproc/src/imgwarp.cpp bh0 = std::min(BLOCK_SZ*BLOCK_SZ/bw0, dst.rows); std 5251 modules/imgproc/src/imgwarp.cpp int bw = std::min( bw0, dst.cols - x); std 5252 modules/imgproc/src/imgwarp.cpp int bh = std::min( bh0, range.end - y); std 5488 modules/imgproc/src/imgwarp.cpp int wdepth = interpolation == INTER_NEAREST ? depth : std::max(is32f ? CV_32F : CV_32S, depth); std 5706 modules/imgproc/src/imgwarp.cpp int bh0 = std::min(BLOCK_SZ/2, height); std 5707 modules/imgproc/src/imgwarp.cpp int bw0 = std::min(BLOCK_SZ*BLOCK_SZ/bh0, width); std 5708 modules/imgproc/src/imgwarp.cpp bh0 = std::min(BLOCK_SZ*BLOCK_SZ/bw0, height); std 5728 modules/imgproc/src/imgwarp.cpp int bw = std::min( bw0, width - x); std 5729 modules/imgproc/src/imgwarp.cpp int bh = std::min( bh0, range.end - y); // height std 5859 modules/imgproc/src/imgwarp.cpp double fX = std::max((double)INT_MIN, std::min((double)INT_MAX, (X0 + M[0]*x1)*W)); std 5860 modules/imgproc/src/imgwarp.cpp double fY = std::max((double)INT_MIN, std::min((double)INT_MAX, (Y0 + M[3]*x1)*W)); std 6000 modules/imgproc/src/imgwarp.cpp double fX = std::max((double)INT_MIN, std::min((double)INT_MAX, (X0 + M[0]*x1)*W)); std 6001 modules/imgproc/src/imgwarp.cpp double fY = std::max((double)INT_MIN, std::min((double)INT_MAX, (Y0 + M[3]*x1)*W)); std 6492 modules/imgproc/src/imgwarp.cpp exp_tab[rho] = std::exp(rho/M); std 6558 modules/imgproc/src/imgwarp.cpp double p = log(std::sqrt(xx*xx + yy*yy) + 1.)*M; std 57 modules/imgproc/src/intersection.cpp std::vector <Point2f> intersection; std 232 modules/imgproc/src/intersection.cpp std::swap(intersection[j], intersection.back()); std 192 modules/imgproc/src/linefit.cpp n = (float) std::sqrt( (double)v[0] * v[0] + (double)v[1] * v[1] + (double)v[2] * v[2] ); std 243 modules/imgproc/src/linefit.cpp dist[j] = (float) std::sqrt( p1*p1 + p2*p2 + p3*p3 ); std 267 modules/imgproc/src/linefit.cpp w[i] = 1.0f / (float) std::sqrt( 1 + (double) (d[i] * d[i] * 0.5) ); std 305 modules/imgproc/src/linefit.cpp w[i] = (float) std::exp( -d[i] * d[i] * c * c ); std 104 modules/imgproc/src/lsd.cpp return std::fabs(angle_diff_signed(a, b)); std 300 modules/imgproc/src/lsd.cpp void flsd(std::vector<Vec4f>& lines, std 301 modules/imgproc/src/lsd.cpp std::vector<double>& widths, std::vector<double>& precisions, std 302 modules/imgproc/src/lsd.cpp std::vector<double>& nfas); std 312 modules/imgproc/src/lsd.cpp void ll_angle(const double& threshold, const unsigned int& n_bins, std::vector<coorlist>& list); std 324 modules/imgproc/src/lsd.cpp void region_grow(const Point2i& s, std::vector<RegionPoint>& reg, std 337 modules/imgproc/src/lsd.cpp void region2rect(const std::vector<RegionPoint>& reg, const int reg_size, const double reg_angle, std 344 modules/imgproc/src/lsd.cpp double get_theta(const std::vector<RegionPoint>& reg, const int& reg_size, const double& x, std 353 modules/imgproc/src/lsd.cpp bool refine(std::vector<RegionPoint>& reg, int& reg_size, double reg_angle, std 360 modules/imgproc/src/lsd.cpp bool reduce_region_radius(std::vector<RegionPoint>& reg, int& reg_size, double reg_angle, std 421 modules/imgproc/src/lsd.cpp std::vector<Vec4f> lines; std 422 modules/imgproc/src/lsd.cpp std::vector<double> w, p, n; std 438 modules/imgproc/src/lsd.cpp void LineSegmentDetectorImpl::flsd(std::vector<Vec4f>& lines, std 439 modules/imgproc/src/lsd.cpp std::vector<double>& widths, std::vector<double>& precisions, std 440 modules/imgproc/src/lsd.cpp std::vector<double>& nfas) std 447 modules/imgproc/src/lsd.cpp std::vector<coorlist> list; std 472 modules/imgproc/src/lsd.cpp std::vector<RegionPoint> reg(img_width * img_height); std 538 modules/imgproc/src/lsd.cpp std::vector<coorlist>& list) std 569 modules/imgproc/src/lsd.cpp double norm = std::sqrt((gx * gx + gy * gy) / 4); // gradient norm std 587 modules/imgproc/src/lsd.cpp list = std::vector<coorlist>(img_width * img_height); std 588 modules/imgproc/src/lsd.cpp std::vector<coorlist*> range_s(n_bins); std 589 modules/imgproc/src/lsd.cpp std::vector<coorlist*> range_e(n_bins); std 635 modules/imgproc/src/lsd.cpp void LineSegmentDetectorImpl::region_grow(const Point2i& s, std::vector<RegionPoint>& reg, std 648 modules/imgproc/src/lsd.cpp float sumdx = float(std::cos(reg_angle)); std 649 modules/imgproc/src/lsd.cpp float sumdy = float(std::sin(reg_angle)); std 656 modules/imgproc/src/lsd.cpp int xx_min = std::max(rpoint.x - 1, 0), xx_max = std::min(rpoint.x + 1, img_width - 1); std 657 modules/imgproc/src/lsd.cpp int yy_min = std::max(rpoint.y - 1, 0), yy_max = std::min(rpoint.y + 1, img_height - 1); std 688 modules/imgproc/src/lsd.cpp void LineSegmentDetectorImpl::region2rect(const std::vector<RegionPoint>& reg, const int reg_size, std 746 modules/imgproc/src/lsd.cpp double LineSegmentDetectorImpl::get_theta(const std::vector<RegionPoint>& reg, const int& reg_size, const double& x, std 784 modules/imgproc/src/lsd.cpp bool LineSegmentDetectorImpl::refine(std::vector<RegionPoint>& reg, int& reg_size, double reg_angle, std 832 modules/imgproc/src/lsd.cpp bool LineSegmentDetectorImpl::reduce_region_radius(std::vector<RegionPoint>& reg, int& reg_size, double reg_angle, std 852 modules/imgproc/src/lsd.cpp std::swap(reg[i], reg[reg_size - 1]); std 982 modules/imgproc/src/lsd.cpp std::vector<edge> ordered_x(4); std 991 modules/imgproc/src/lsd.cpp std::sort(ordered_x.begin(), ordered_x.end(), AsmallerB_XoverY); std 1170 modules/imgproc/src/lsd.cpp std::vector<Mat> planes; std 107 modules/imgproc/src/min_enclosing_triangle.cpp static void advanceBToRightChain(const std::vector<cv::Point2f> &polygon, std 117 modules/imgproc/src/min_enclosing_triangle.cpp static bool areIdenticalLines(const std::vector<double> &side1Params, std 118 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<double> &side2Params, double sideCExtraParam); std 122 modules/imgproc/src/min_enclosing_triangle.cpp static bool areIntersectingLines(const std::vector<double> &side1Params, std 123 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<double> &side2Params, std 132 modules/imgproc/src/min_enclosing_triangle.cpp static void copyResultingTriangle(const std::vector<cv::Point2f> &resultingTriangle, cv::OutputArray triangle); std 134 modules/imgproc/src/min_enclosing_triangle.cpp static void createConvexHull(cv::InputArray points, std::vector<cv::Point2f> &polygon); std 141 modules/imgproc/src/min_enclosing_triangle.cpp static bool findGammaIntersectionPoints(const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, std 150 modules/imgproc/src/min_enclosing_triangle.cpp static void findMinEnclosingTriangle(const std::vector<cv::Point2f> &polygon, std 151 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<cv::Point2f> &triangle, double &area); std 153 modules/imgproc/src/min_enclosing_triangle.cpp static void findMinimumAreaEnclosingTriangle(const std::vector<cv::Point2f> &polygon, std 154 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<cv::Point2f> &triangle, double &area); std 156 modules/imgproc/src/min_enclosing_triangle.cpp static cv::Point2f findVertexCOnSideB(const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, std 164 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, std 169 modules/imgproc/src/min_enclosing_triangle.cpp static double height(const cv::Point2f &polygonPoint, const std::vector<cv::Point2f> &polygon, std 172 modules/imgproc/src/min_enclosing_triangle.cpp static double height(unsigned int polygonPointIndex, const std::vector<cv::Point2f> &polygon, std 175 modules/imgproc/src/min_enclosing_triangle.cpp static void initialise(std::vector<cv::Point2f> &triangle, double &area); std 178 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, std 182 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, std 186 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, std 190 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, std 204 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &vertexC, const std::vector<cv::Point2f> &polygon, std 211 modules/imgproc/src/min_enclosing_triangle.cpp static bool isNotBTangency(const std::vector<cv::Point2f> &polygon, std 221 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &vertexC, const std::vector<cv::Point2f> &polygon, std 233 modules/imgproc/src/min_enclosing_triangle.cpp static std::vector<double> lineEquationParameters(const cv::Point2f& p, const cv::Point2f &q); std 250 modules/imgproc/src/min_enclosing_triangle.cpp static void moveAIfLowAndBIfHigh(const std::vector<cv::Point2f> &polygon, std 258 modules/imgproc/src/min_enclosing_triangle.cpp static void returnMinimumAreaEnclosingTriangle(const std::vector<cv::Point2f> &polygon, std 259 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<cv::Point2f> &triangle, double &area); std 261 modules/imgproc/src/min_enclosing_triangle.cpp static void searchForBTangency(const std::vector<cv::Point2f> &polygon, std 269 modules/imgproc/src/min_enclosing_triangle.cpp static void updateMinimumAreaEnclosingTriangle(std::vector<cv::Point2f> &triangle, double &area, std 273 modules/imgproc/src/min_enclosing_triangle.cpp static void updateSideB(const std::vector<cv::Point2f> &polygon, std 278 modules/imgproc/src/min_enclosing_triangle.cpp static void updateSidesBA(const std::vector<cv::Point2f> &polygon, std 285 modules/imgproc/src/min_enclosing_triangle.cpp static void updateSidesCA(const std::vector<cv::Point2f> &polygon, std 323 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<cv::Point2f> resultingTriangle, polygon; std 335 modules/imgproc/src/min_enclosing_triangle.cpp static void createConvexHull(cv::InputArray points, std::vector<cv::Point2f> &polygon) { std 337 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<cv::Point2f> pointsVector; std 356 modules/imgproc/src/min_enclosing_triangle.cpp static void findMinEnclosingTriangle(const std::vector<cv::Point2f> &polygon, std 357 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<cv::Point2f> &triangle, double &area) { std 372 modules/imgproc/src/min_enclosing_triangle.cpp static void copyResultingTriangle(const std::vector<cv::Point2f> &resultingTriangle, std 382 modules/imgproc/src/min_enclosing_triangle.cpp static void initialise(std::vector<cv::Point2f> &triangle, double &area) { std 383 modules/imgproc/src/min_enclosing_triangle.cpp area = std::numeric_limits<double>::max(); std 395 modules/imgproc/src/min_enclosing_triangle.cpp static void findMinimumAreaEnclosingTriangle(const std::vector<cv::Point2f> &polygon, std 396 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<cv::Point2f> &triangle, double &area) { std 452 modules/imgproc/src/min_enclosing_triangle.cpp static void returnMinimumAreaEnclosingTriangle(const std::vector<cv::Point2f> &polygon, std 453 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<cv::Point2f> &triangle, double &area) { std 472 modules/imgproc/src/min_enclosing_triangle.cpp static void advanceBToRightChain(const std::vector<cv::Point2f> &polygon, std 491 modules/imgproc/src/min_enclosing_triangle.cpp static void moveAIfLowAndBIfHigh(const std::vector<cv::Point2f> &polygon, std 515 modules/imgproc/src/min_enclosing_triangle.cpp static void searchForBTangency(const std::vector<cv::Point2f> &polygon, std 539 modules/imgproc/src/min_enclosing_triangle.cpp static bool isNotBTangency(const std::vector<cv::Point2f> &polygon, std 567 modules/imgproc/src/min_enclosing_triangle.cpp static void updateSidesCA(const std::vector<cv::Point2f> &polygon, std 595 modules/imgproc/src/min_enclosing_triangle.cpp static void updateSidesBA(const std::vector<cv::Point2f> &polygon, std 636 modules/imgproc/src/min_enclosing_triangle.cpp static void updateSideB(const std::vector<cv::Point2f> &polygon, std 669 modules/imgproc/src/min_enclosing_triangle.cpp cv::Point2f &vertexC, const std::vector<cv::Point2f> &polygon, std 712 modules/imgproc/src/min_enclosing_triangle.cpp const cv::Point2f &vertexC, const std::vector<cv::Point2f> &polygon, std 743 modules/imgproc/src/min_enclosing_triangle.cpp static void updateMinimumAreaEnclosingTriangle(std::vector<cv::Point2f> &triangle, double &area, std 797 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, std 816 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, std 832 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, std 879 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, std 909 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, std 951 modules/imgproc/src/min_enclosing_triangle.cpp static cv::Point2f findVertexCOnSideB(const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, std 989 modules/imgproc/src/min_enclosing_triangle.cpp static bool findGammaIntersectionPoints(const std::vector<cv::Point2f> &polygon, unsigned int nrOfPoints, std 994 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<double> side1Params = lineEquationParameters(side1StartVertex, side1EndVertex); std 995 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<double> side2Params = lineEquationParameters(side2StartVertex, side2EndVertex); std 1024 modules/imgproc/src/min_enclosing_triangle.cpp static bool areIdenticalLines(const std::vector<double> &side1Params, std 1025 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<double> &side2Params, double sideCExtraParam) { std 1047 modules/imgproc/src/min_enclosing_triangle.cpp static bool areIntersectingLines(const std::vector<double> &side1Params, std 1048 modules/imgproc/src/min_enclosing_triangle.cpp const std::vector<double> &side2Params, std 1069 modules/imgproc/src/min_enclosing_triangle.cpp static std::vector<double> lineEquationParameters(const cv::Point2f& p, const cv::Point2f &q) { std 1070 modules/imgproc/src/min_enclosing_triangle.cpp std::vector<double> lineEquationParameters; std 1091 modules/imgproc/src/min_enclosing_triangle.cpp static double height(const cv::Point2f &polygonPoint, const std::vector<cv::Point2f> &polygon, std 1108 modules/imgproc/src/min_enclosing_triangle.cpp static double height(unsigned int polygonPointIndex, const std::vector<cv::Point2f> &polygon, std 1203 modules/imgproc/src/min_enclosing_triangle.cpp double angle = (std::atan2(y, x) * 180 / CV_PI); std 1216 modules/imgproc/src/min_enclosing_triangle.cpp if (std::abs(angle2 - angle3) > 180) { std 1292 modules/imgproc/src/min_enclosing_triangle.cpp double nominator = std::abs((term1 * term2) - (term3 * term4)); std 1293 modules/imgproc/src/min_enclosing_triangle.cpp double denominator = std::sqrt((term1 * term1) + (term4 * term4)); std 1309 modules/imgproc/src/min_enclosing_triangle.cpp return std::sqrt((xDiff * xDiff) + (yDiff * yDiff)); std 1328 modules/imgproc/src/min_enclosing_triangle.cpp return std::abs(determinant) / 2; std 1530 modules/imgproc/src/min_enclosing_triangle.cpp return std::max(std::max(number1, number2), number3); std 1542 modules/imgproc/src/min_enclosing_triangle.cpp return (std::abs(number1 - number2) <= (EPSILON * maximum(1.0, std::abs(number1), std::abs(number2)))); std 84 modules/imgproc/src/moments.cpp double inv_sqrt_m00 = std::sqrt(std::abs(inv_m00)); std 458 modules/imgproc/src/moments.cpp if( std::abs(m00) > DBL_EPSILON ) std 473 modules/imgproc/src/moments.cpp double inv_sqrt_m00 = std::sqrt(std::abs(inv_m00)); std 664 modules/imgproc/src/moments.cpp tileSize.height = std::min(TILE_SIZE, size.height - y); std 668 modules/imgproc/src/moments.cpp tileSize.width = std::min(TILE_SIZE, size.width - x); std 59 modules/imgproc/src/morph.cpp T operator ()(const T a, const T b) const { return std::min(a, b); } std 67 modules/imgproc/src/morph.cpp T operator ()(const T a, const T b) const { return std::max(a, b); } std 793 modules/imgproc/src/morph.cpp std::vector<uchar> coeffs; // we do not really the values of non-zero std 842 modules/imgproc/src/morph.cpp std::vector<Point> coords; std 843 modules/imgproc/src/morph.cpp std::vector<uchar*> ptrs; std 1062 modules/imgproc/src/morph.cpp if( std::abs(dy) <= r ) std 1064 modules/imgproc/src/morph.cpp int dx = saturate_cast<int>(c*std::sqrt((r*r - dy*dy)*inv_r2)); std 1065 modules/imgproc/src/morph.cpp j1 = std::max( c - dx, 0 ); std 1066 modules/imgproc/src/morph.cpp j2 = std::min( c + dx + 1, ksize.width ); std 1107 modules/imgproc/src/morph.cpp int row0 = std::min(cvRound(range.start * src.rows / nStripes), src.rows); std 1108 modules/imgproc/src/morph.cpp int row1 = std::min(cvRound(range.end * src.rows / nStripes), src.rows); std 1583 modules/imgproc/src/morph.cpp int wdepth = std::max(depth, CV_32F), scalarcn = cn == 3 ? 4 : cn; std 1588 modules/imgproc/src/morph.cpp std::vector<ocl::Kernel> kernels(iterations); std 87 modules/imgproc/src/phasecorr.cpp dataDst[j*stepDst] = (float)std::sqrt((double)dataSrc[j*stepSrc]*dataSrc[j*stepSrc] + std 107 modules/imgproc/src/phasecorr.cpp dataDst[j] = (float)std::sqrt((double)dataSrc[j]*dataSrc[j] + (double)dataSrc[j+1]*dataSrc[j+1]); std 131 modules/imgproc/src/phasecorr.cpp dataDst[j*stepDst] = std::sqrt(dataSrc[j*stepSrc]*dataSrc[j*stepSrc] + std 151 modules/imgproc/src/phasecorr.cpp dataDst[j] = std::sqrt(dataSrc[j]*dataSrc[j] + dataSrc[j+1]*dataSrc[j+1]); std 362 modules/imgproc/src/phasecorr.cpp std::vector<Mat> planes; std 870 modules/imgproc/src/pyramids.cpp std::abs(dsize.width*2 - ssize.width) <= 2 && std 871 modules/imgproc/src/pyramids.cpp std::abs(dsize.height*2 - ssize.height) <= 2 ); std 872 modules/imgproc/src/pyramids.cpp int k, x, sy0 = -PD_SZ/2, sy = sy0, width0 = std::min((ssize.width-PD_SZ/2-1)/2 + 1, dsize.width); std 993 modules/imgproc/src/pyramids.cpp CV_Assert( std::abs(dsize.width - ssize.width*2) == dsize.width % 2 && std 994 modules/imgproc/src/pyramids.cpp std::abs(dsize.height - ssize.height*2) == dsize.height % 2); std 1006 modules/imgproc/src/pyramids.cpp T* dst1 = _dst.ptr<T>(std::min(y*2+1, dsize.height-1)); std 1080 modules/imgproc/src/pyramids.cpp std::abs(dsize.width*2 - ssize.width) <= 2 && std 1081 modules/imgproc/src/pyramids.cpp std::abs(dsize.height*2 - ssize.height) <= 2 ); std 141 modules/imgproc/src/rotcalipers.cpp inv_vect_length[i] = (float)(1./std::sqrt(dx*dx + dy*dy)); std 366 modules/imgproc/src/rotcalipers.cpp box.size.width = (float)std::sqrt((double)out[1].x*out[1].x + (double)out[1].y*out[1].y); std 367 modules/imgproc/src/rotcalipers.cpp box.size.height = (float)std::sqrt((double)out[2].x*out[2].x + (double)out[2].y*out[2].y); std 376 modules/imgproc/src/rotcalipers.cpp box.size.width = (float)std::sqrt(dx*dx + dy*dy); std 68 modules/imgproc/src/segmentation.cpp allocWSNodes( std::vector<WSNode>& storage ) std 101 modules/imgproc/src/segmentation.cpp std::vector<WSNode> storage; std 151 modules/imgproc/src/segmentation.cpp db = std::abs((ptr1)[0] - (ptr2)[0]);\ std 152 modules/imgproc/src/segmentation.cpp dg = std::abs((ptr1)[1] - (ptr2)[1]);\ std 153 modules/imgproc/src/segmentation.cpp dr = std::abs((ptr1)[2] - (ptr2)[2]);\ std 349 modules/imgproc/src/segmentation.cpp std::vector<cv::Mat> src_pyramid(max_level+1); std 350 modules/imgproc/src/segmentation.cpp std::vector<cv::Mat> dst_pyramid(max_level+1); std 529 modules/imgproc/src/segmentation.cpp stop_flag = (x0 == x1 && y0 == y1) || std::abs(x1-x0) + std::abs(y1-y0) + std 287 modules/imgproc/src/shapedescr.cpp radius = (float)(std::sqrt(radius)*(1 + eps)); std 455 modules/imgproc/src/shapedescr.cpp rp[2] = std::sqrt(2.0 / rp[2]); std 458 modules/imgproc/src/shapedescr.cpp rp[3] = std::sqrt(2.0 / rp[3]); std 204 modules/imgproc/src/smooth.cpp std::vector<ST> sum; std 380 modules/imgproc/src/smooth.cpp std::vector<int> sum; std 548 modules/imgproc/src/smooth.cpp std::vector<int> sum; std 714 modules/imgproc/src/smooth.cpp std::vector<int> sum; std 863 modules/imgproc/src/smooth.cpp std::vector<int> sum; std 1024 modules/imgproc/src/smooth.cpp std::vector<int> sum; std 1056 modules/imgproc/src/smooth.cpp int wdepth = std::max(CV_32F, std::max(ddepth, sdepth)), std 1144 modules/imgproc/src/smooth.cpp int BLOCK_SIZE_X = tryWorkItems, BLOCK_SIZE_Y = std::min(ksize.height * 10, size.height); std 1562 modules/imgproc/src/smooth.cpp double t = fixed_kernel ? (double)fixed_kernel[i] : std::exp(scale2X*x*x); std 1605 modules/imgproc/src/smooth.cpp sigma1 = std::max( sigma1, 0. ); std 1606 modules/imgproc/src/smooth.cpp sigma2 = std::max( sigma2, 0. ); std 1608 modules/imgproc/src/smooth.cpp kx = getGaussianKernel( ksize.width, sigma1, std::max(depth, CV_32F) ); std 1609 modules/imgproc/src/smooth.cpp if( ksize.height == ksize.width && std::abs(sigma1 - sigma2) < DBL_EPSILON ) std 1612 modules/imgproc/src/smooth.cpp ky = getGaussianKernel( ksize.height, sigma2, std::max(depth, CV_32F) ); std 1838 modules/imgproc/src/smooth.cpp int STRIPE_SIZE = std::min( _dst.cols, 512/cn ); std 1840 modules/imgproc/src/smooth.cpp std::vector<HT> _h_coarse(1 * 16 * (STRIPE_SIZE + 2*r) * cn + 16); std 1841 modules/imgproc/src/smooth.cpp std::vector<HT> _h_fine(16 * 16 * (STRIPE_SIZE + 2*r) * cn + 16); std 1850 modules/imgproc/src/smooth.cpp int i, j, k, c, n = std::min(_dst.cols - x, STRIPE_SIZE) + r*2; std 1865 modules/imgproc/src/smooth.cpp const uchar* p = src + sstep*std::min(i, m-1); std 1873 modules/imgproc/src/smooth.cpp const uchar* p0 = src + sstep * std::max( 0, i-r-1 ); std 1874 modules/imgproc/src/smooth.cpp const uchar* p1 = src + sstep * std::min( m-1, i+r ); std 1902 modules/imgproc/src/smooth.cpp histogram_add_simd( &h_coarse[16*(n*c + std::min(j+r,n-1))], H[c].coarse ); std 1965 modules/imgproc/src/smooth.cpp histogram_add( &h_coarse[16*(n*c + std::min(j+r,n-1))], H[c].coarse ); std 2193 modules/imgproc/src/smooth.cpp a = std::min(a, b); std 2194 modules/imgproc/src/smooth.cpp b = std::max(b, t); std 2208 modules/imgproc/src/smooth.cpp a = std::min(a, b); std 2209 modules/imgproc/src/smooth.cpp b = std::max(b, t); std 2223 modules/imgproc/src/smooth.cpp a = std::min(a, b); std 2224 modules/imgproc/src/smooth.cpp b = std::max(b, t); std 2411 modules/imgproc/src/smooth.cpp const T* row0 = src + std::max(i - 1, 0)*sstep; std 2413 modules/imgproc/src/smooth.cpp const T* row2 = src + std::min(i + 1, size.height-1)*sstep; std 2484 modules/imgproc/src/smooth.cpp row[0] = src + std::max(i - 2, 0)*sstep; std 2485 modules/imgproc/src/smooth.cpp row[1] = src + std::max(i - 1, 0)*sstep; std 2487 modules/imgproc/src/smooth.cpp row[3] = src + std::min(i + 1, size.height-1)*sstep; std 2488 modules/imgproc/src/smooth.cpp row[4] = src + std::min(i + 2, size.height-1)*sstep; std 2821 modules/imgproc/src/smooth.cpp float w = space_weight[k]*color_weight[std::abs(val - val0)]; std 2894 modules/imgproc/src/smooth.cpp float w = space_weight[k]*color_weight[std::abs(b - b0) + std 2895 modules/imgproc/src/smooth.cpp std::abs(g - g0) + std::abs(r - r0)]; std 3000 modules/imgproc/src/smooth.cpp std::vector<float> _space_weight(d * d); std 3001 modules/imgproc/src/smooth.cpp std::vector<int> _space_ofs(d * d); std 3009 modules/imgproc/src/smooth.cpp double r = std::sqrt((double)i * i + (double)j * j); std 3012 modules/imgproc/src/smooth.cpp space_weight[maxk] = (float)std::exp(r * r * gauss_space_coeff); std 3104 modules/imgproc/src/smooth.cpp std::vector<float> _color_weight(cn*256); std 3105 modules/imgproc/src/smooth.cpp std::vector<float> _space_weight(d*d); std 3106 modules/imgproc/src/smooth.cpp std::vector<int> _space_ofs(d*d); std 3114 modules/imgproc/src/smooth.cpp color_weight[i] = (float)std::exp(i*i*gauss_color_coeff); std 3123 modules/imgproc/src/smooth.cpp double r = std::sqrt((double)i*i + (double)j*j); std 3126 modules/imgproc/src/smooth.cpp space_weight[maxk] = (float)std::exp(r*r*gauss_space_coeff); std 3212 modules/imgproc/src/smooth.cpp float alpha = (float)(std::abs(val - val0)*scale_index); std 3292 modules/imgproc/src/smooth.cpp float alpha = (float)((std::abs(b - b0) + std 3293 modules/imgproc/src/smooth.cpp std::abs(g - g0) + std::abs(r - r0))*scale_index); std 3351 modules/imgproc/src/smooth.cpp if(std::abs(minValSrc - maxValSrc) < FLT_EPSILON) std 3364 modules/imgproc/src/smooth.cpp std::vector<float> _space_weight(d*d); std 3365 modules/imgproc/src/smooth.cpp std::vector<int> _space_ofs(d*d); std 3372 modules/imgproc/src/smooth.cpp std::vector<float> _expLUT(kExpNumBins+2); std 3383 modules/imgproc/src/smooth.cpp expLUT[i] = (float)std::exp(val * val * gauss_color_coeff); std 3394 modules/imgproc/src/smooth.cpp double r = std::sqrt((double)i*i + (double)j*j); std 3397 modules/imgproc/src/smooth.cpp space_weight[maxk] = (float)std::exp(r*r*gauss_space_coeff); std 175 modules/imgproc/src/subdivision2d.cpp std::swap(a_next, b_next); std 176 modules/imgproc/src/subdivision2d.cpp std::swap(a_rot_next, b_rot_next); std 480 modules/imgproc/src/subdivision2d.cpp void Subdiv2D::insert(const std::vector<Point2f>& ptvec) std 709 modules/imgproc/src/subdivision2d.cpp void Subdiv2D::getEdgeList(std::vector<Vec4f>& edgeList) const std 726 modules/imgproc/src/subdivision2d.cpp void Subdiv2D::getTriangleList(std::vector<Vec6f>& triangleList) const std 730 modules/imgproc/src/subdivision2d.cpp std::vector<bool> edgemask(total, false); std 750 modules/imgproc/src/subdivision2d.cpp void Subdiv2D::getVoronoiFacetList(const std::vector<int>& idx, std 751 modules/imgproc/src/subdivision2d.cpp CV_OUT std::vector<std::vector<Point2f> >& facetList, std 752 modules/imgproc/src/subdivision2d.cpp CV_OUT std::vector<Point2f>& facetCenters) std 758 modules/imgproc/src/subdivision2d.cpp std::vector<Point2f> buf; std 139 modules/imgproc/src/templmatch.cpp block_size.width = std::max( block_size.width, minBlockSize - templ_size.width + 1 ); std 140 modules/imgproc/src/templmatch.cpp block_size.width = std::min( block_size.width, result_size.width ); std 142 modules/imgproc/src/templmatch.cpp block_size.height = std::max( block_size.height, minBlockSize - templ_size.height + 1 ); std 143 modules/imgproc/src/templmatch.cpp block_size.height = std::min( block_size.height, result_size.height ); std 145 modules/imgproc/src/templmatch.cpp dft_size.width = std::max(getOptimalDFTSize(block_size.width + templ_size.width - 1), 2); std 152 modules/imgproc/src/templmatch.cpp block_size.width = std::min( block_size.width, result_size.width); std 154 modules/imgproc/src/templmatch.cpp block_size.height = std::min( block_size.height, result_size.height ); std 165 modules/imgproc/src/templmatch.cpp block_size.width = std::min(dft_size.width - templ_size.width + 1, result_size.width); std 166 modules/imgproc/src/templmatch.cpp block_size.height = std::min(dft_size.height - templ_size.height + 1, result_size.height); std 205 modules/imgproc/src/templmatch.cpp Size image_roi_size(std::min(x + dft_size.width, image.cols) - x, std 206 modules/imgproc/src/templmatch.cpp std::min(y + dft_size.height, image.rows) - y); std 220 modules/imgproc/src/templmatch.cpp Size result_roi_size(std::min(x + block_size.width, result.cols) - x, std 221 modules/imgproc/src/templmatch.cpp std::min(y + block_size.height, result.rows) - y); std 641 modules/imgproc/src/templmatch.cpp std::vector<uchar> buf; std 650 modules/imgproc/src/templmatch.cpp if( depth != tdepth && tdepth != std::max(CV_32F, depth) ) std 652 modules/imgproc/src/templmatch.cpp _templ.convertTo(templ, std::max(CV_32F, depth)); std 664 modules/imgproc/src/templmatch.cpp int maxDepth = depth > CV_8S ? CV_64F : std::max(std::max(CV_32F, tdepth), cdepth); std 668 modules/imgproc/src/templmatch.cpp blocksize.width = std::max( blocksize.width, minBlockSize - templ.cols + 1 ); std 669 modules/imgproc/src/templmatch.cpp blocksize.width = std::min( blocksize.width, corr.cols ); std 671 modules/imgproc/src/templmatch.cpp blocksize.height = std::max( blocksize.height, minBlockSize - templ.rows + 1 ); std 672 modules/imgproc/src/templmatch.cpp blocksize.height = std::min( blocksize.height, corr.rows ); std 674 modules/imgproc/src/templmatch.cpp dftsize.width = std::max(getOptimalDFTSize(blocksize.width + templ.cols - 1), 2); std 693 modules/imgproc/src/templmatch.cpp bufSize = std::max( bufSize, (blocksize.width + templ.cols - 1)* std 697 modules/imgproc/src/templmatch.cpp bufSize = std::max( bufSize, blocksize.width*blocksize.height*CV_ELEM_SIZE(cdepth)); std 749 modules/imgproc/src/templmatch.cpp Size bsz(std::min(blocksize.width, corr.cols - x), std 750 modules/imgproc/src/templmatch.cpp std::min(blocksize.height, corr.rows - y)); std 753 modules/imgproc/src/templmatch.cpp int x1 = std::max(0, x0), y1 = std::max(0, y0); std 754 modules/imgproc/src/templmatch.cpp int x2 = std::min(img0.cols, x0 + dsz.width); std 755 modules/imgproc/src/templmatch.cpp int y2 = std::min(img0.rows, y0 + dsz.height); std 891 modules/imgproc/src/templmatch.cpp result /= std::sqrt(templSum2); std 929 modules/imgproc/src/templmatch.cpp std::swap(img, templ); std 1012 modules/imgproc/src/templmatch.cpp templNorm = std::sqrt(templNorm); std 1013 modules/imgproc/src/templmatch.cpp templNorm /= std::sqrt(invArea); // care of accuracy here std 1071 modules/imgproc/src/templmatch.cpp t = std::sqrt(MAX(wndSum2 - wndMean2,0))*templNorm; std 1091 modules/imgproc/src/templmatch.cpp CV_Assert( result.size() == cv::Size(std::abs(img.cols - templ.cols) + 1, std 1092 modules/imgproc/src/templmatch.cpp std::abs(img.rows - templ.rows) + 1) && std 573 modules/imgproc/src/thresh.cpp dst[j] = std::min(src[j], thresh); std 822 modules/imgproc/src/thresh.cpp dst[j] = std::min(src[j], thresh); std 973 modules/imgproc/src/thresh.cpp if( std::min(q1,q2) < FLT_EPSILON || std::max(q1,q2) > 1. - FLT_EPSILON ) std 181 modules/imgproc/src/undistort.cpp int stripe_size0 = std::min(std::max(1, (1 << 12) / std::max(src.cols, 1)), src.rows); std 203 modules/imgproc/src/undistort.cpp int stripe_size = std::min( stripe_size0, src.rows - y ); std 425 modules/imgproc/src/undistort.cpp double u = std::sqrt(beta*v + alpha*alpha); std 441 modules/imgproc/src/undistort.cpp double x1 = std::max(std::min(x*k*iR, 1.), -1.); std 442 modules/imgproc/src/undistort.cpp double y1 = std::max(std::min(y*k*iR, 1.), -1.); std 446 modules/imgproc/src/undistort.cpp double fx1 = iR/std::sqrt(1 - x1*x1); std 447 modules/imgproc/src/undistort.cpp double fy1 = iR/std::sqrt(1 - y1*y1); std 510 modules/imgproc/src/undistort.cpp std::vector<Point2f> uvec(1), vvec(1); std 521 modules/imgproc/src/undistort.cpp alpha = std::min(alpha, 0.999f); std 536 modules/imgproc/src/undistort.cpp float scale = (float)std::min(dcenter.x/fabs(xmax), dcenter.x/fabs(xmin)); std 537 modules/imgproc/src/undistort.cpp Size dsize(destImageWidth, cvCeil(std::max(scale*fabs(ymin)*2, scale*fabs(ymax)*2))); std 55 modules/imgproc/test/ocl/test_accumulate.cpp PARAM_TEST_CASE(AccumulateBase, std::pair<MatDepth, MatDepth>, Channels, bool) std 68 modules/imgproc/test/ocl/test_accumulate.cpp const std::pair<MatDepth, MatDepth> depths = GET_PARAM(0); std 225 modules/imgproc/test/ocl/test_accumulate.cpp testing::Values(std::make_pair<MatDepth, MatDepth>(CV_8U, CV_32F), \ std 226 modules/imgproc/test/ocl/test_accumulate.cpp std::make_pair<MatDepth, MatDepth>(CV_16U, CV_32F), \ std 227 modules/imgproc/test/ocl/test_accumulate.cpp std::make_pair<MatDepth, MatDepth>(CV_32F, CV_32F), \ std 228 modules/imgproc/test/ocl/test_accumulate.cpp std::make_pair<MatDepth, MatDepth>(CV_8U, CV_64F), \ std 229 modules/imgproc/test/ocl/test_accumulate.cpp std::make_pair<MatDepth, MatDepth>(CV_16U, CV_64F), \ std 230 modules/imgproc/test/ocl/test_accumulate.cpp std::make_pair<MatDepth, MatDepth>(CV_32F, CV_64F), \ std 231 modules/imgproc/test/ocl/test_accumulate.cpp std::make_pair<MatDepth, MatDepth>(CV_64F, CV_64F)) std 85 modules/imgproc/test/ocl/test_gftt.cpp void UMatToVector(const UMat & um, std::vector<Point2f> & v) const std 101 modules/imgproc/test/ocl/test_gftt.cpp std::vector<Point2f> upts, pts; std 118 modules/imgproc/test/ocl/test_gftt.cpp bool eq = std::abs(a.x - b.x) < 1 && std::abs(a.y - b.y) < 1; std 71 modules/imgproc/test/ocl/test_histogram.cpp std::vector<float> ranges; std 72 modules/imgproc/test/ocl/test_histogram.cpp std::vector<int> channels; std 75 modules/imgproc/test/ocl/test_histogram.cpp std::vector<Mat> images; std 76 modules/imgproc/test/ocl/test_histogram.cpp std::vector<Mat> images_roi; std 77 modules/imgproc/test/ocl/test_histogram.cpp std::vector<UMat> uimages; std 78 modules/imgproc/test/ocl/test_histogram.cpp std::vector<UMat> uimages_roi; std 121 modules/imgproc/test/ocl/test_histogram.cpp std::vector<int> hist_size(N); std 171 modules/imgproc/test/ocl/test_histogram.cpp std::vector<UMat> uims; std 173 modules/imgproc/test/ocl/test_histogram.cpp std::vector<float> urngs; std 176 modules/imgproc/test/ocl/test_histogram.cpp std::vector<int> chs; std 209 modules/imgproc/test/ocl/test_histogram.cpp int nDiffs = std::max((int)(0.07f*dstSize.area()), 1); std 253 modules/imgproc/test/ocl/test_histogram.cpp const std::vector<int> channels(1, 0); std 254 modules/imgproc/test/ocl/test_histogram.cpp std::vector<float> ranges(2); std 255 modules/imgproc/test/ocl/test_histogram.cpp std::vector<int> histSize(1, 256); std 263 modules/imgproc/test/ocl/test_histogram.cpp OCL_OFF(cv::calcHist(std::vector<Mat>(1, src_roi), channels, noArray(), hist_roi, histSize, ranges, false)); std 264 modules/imgproc/test/ocl/test_histogram.cpp OCL_ON(cv::calcHist(std::vector<UMat>(1, usrc_roi), channels, noArray(), uhist_roi, histSize, ranges, false)); std 76 modules/imgproc/test/ocl/test_houghlines.cpp std::sort(lines_cpu.begin<Vec2f>(), lines_cpu.end<Vec2f>(), Vec2fComparator()); std 77 modules/imgproc/test/ocl/test_houghlines.cpp std::sort(lines_gpu.begin<Vec2f>(), lines_gpu.end<Vec2f>(), Vec2fComparator()); std 405 modules/imgproc/test/ocl/test_imgproc.cpp Size roiSize = randomSize(std::max(gridSize.height, gridSize.width), MAX_VALUE); std 239 modules/imgproc/test/ocl/test_warp.cpp PARAM_TEST_CASE(Remap, MatDepth, Channels, std::pair<MatType, MatType>, BorderType, bool) std 369 modules/imgproc/test/ocl/test_warp.cpp Values(std::pair<MatType, MatType>((MatType)CV_32FC1, (MatType)CV_32FC1), std 370 modules/imgproc/test/ocl/test_warp.cpp std::pair<MatType, MatType>((MatType)CV_16SC2, (MatType)CV_16UC1), std 371 modules/imgproc/test/ocl/test_warp.cpp std::pair<MatType, MatType>((MatType)CV_32FC2, noType)), std 382 modules/imgproc/test/ocl/test_warp.cpp Values(std::pair<MatType, MatType>((MatType)CV_32FC1, (MatType)CV_32FC1), std 383 modules/imgproc/test/ocl/test_warp.cpp std::pair<MatType, MatType>((MatType)CV_32FC2, noType), std 384 modules/imgproc/test/ocl/test_warp.cpp std::pair<MatType, MatType>((MatType)CV_16SC2, (MatType)CV_16UC1), std 385 modules/imgproc/test/ocl/test_warp.cpp std::pair<MatType, MatType>((MatType)CV_16SC2, noType)), std 46 modules/imgproc/test/test_approxpoly.cpp using namespace std; std 132 modules/imgproc/test/test_bilateral_filter.cpp if(std::abs(minValSrc - maxValSrc) < FLT_EPSILON) std 163 modules/imgproc/test/test_bilateral_filter.cpp expLUT[i] = (float)std::exp(val * val * gauss_color_coeff); std 174 modules/imgproc/test/test_bilateral_filter.cpp double r = std::sqrt((double)i*i + (double)j*j); std 177 modules/imgproc/test/test_bilateral_filter.cpp space_weight[maxk] = (float)std::exp(r*r*gauss_space_coeff); std 195 modules/imgproc/test/test_bilateral_filter.cpp float alpha = (float)(std::abs(val - val0)*scale_index); std 216 modules/imgproc/test/test_bilateral_filter.cpp float alpha = (float)((std::abs(b - b0) + std 217 modules/imgproc/test/test_bilateral_filter.cpp std::abs(g - g0) + std::abs(r - r0))*scale_index); std 51 modules/imgproc/test/test_boundingrect.cpp using namespace std; std 81 modules/imgproc/test/test_boundingrect.cpp T min_w = std::numeric_limits<T>::max(), max_w = std::numeric_limits<T>::min(); std 86 modules/imgproc/test/test_boundingrect.cpp min_w = std::min<T>(src.at(i).x, min_w); std 87 modules/imgproc/test/test_boundingrect.cpp max_w = std::max<T>(src.at(i).x, max_w); std 88 modules/imgproc/test/test_boundingrect.cpp min_h = std::min<T>(src.at(i).y, min_h); std 89 modules/imgproc/test/test_boundingrect.cpp max_h = std::max<T>(src.at(i).y, max_h); std 45 modules/imgproc/test/test_canny.cpp using namespace std; std 45 modules/imgproc/test/test_color.cpp using namespace std; std 1804 modules/imgproc/test/test_color.cpp const std::string image_name = "lena.png"; std 1805 modules/imgproc/test/test_color.cpp const std::string parent_path = string(ts->get_data_path()) + "/cvtcolor_strict/"; std 1808 modules/imgproc/test/test_color.cpp std::string full_path = parent_path + image_name; std 1839 modules/imgproc/test/test_color.cpp std::cout << reference(Rect(0, 0, 5, 5)) << std::endl << std::endl << std::endl; std 1921 modules/imgproc/test/test_color.cpp std::cout << "lab: " << lab(cv::Rect(y, x / cn, 1, 1)) << std::endl; std 1923 modules/imgproc/test/test_color.cpp std::cout << "src: " << src(cv::Rect(y, x / cn, 1, 1)) << std::endl; std 1986 modules/imgproc/test/test_color.cpp std::swap(D[0], D[2]); std 1996 modules/imgproc/test/test_color.cpp D[1] = (std::abs(S[-1] - S[1]) > std::abs(S[step] - S[-step]) ? (S[step] + S[-step] + 1) : (S[-1] + S[1] + 1)) / 2; std 1999 modules/imgproc/test/test_color.cpp std::swap(D[0], D[2]); std 2007 modules/imgproc/test/test_color.cpp D[1] = (std::abs(S[-1] - S[1]) > std::abs(S[step] - S[-step]) ? (S[step] + S[-step] + 1) : (S[-1] + S[1] + 1)) / 2; std 2010 modules/imgproc/test/test_color.cpp std::swap(D[0], D[2]); std 2022 modules/imgproc/test/test_color.cpp std::swap(D[0], D[2]); std 2065 modules/imgproc/test/test_color.cpp if (std::abs(A[x] - R[x]) > 1) std 2091 modules/imgproc/test/test_color.cpp const std::string image_name = "lena.png"; std 2092 modules/imgproc/test/test_color.cpp const std::string parent_path = string(ts->get_data_path()) + "/cvtcolor_strict/"; std 2095 modules/imgproc/test/test_color.cpp std::string full_path = parent_path + image_name; std 47 modules/imgproc/test/test_connectedcomponents.cpp using namespace std; std 46 modules/imgproc/test/test_contours.cpp using namespace std; std 45 modules/imgproc/test/test_convhull.cpp using namespace std; std 513 modules/imgproc/test/test_convhull.cpp std::vector<int> _hull; std 520 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point> _hull; std 527 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point2f> _hull; std 802 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point2f> getTriangleMiddlePoints(); std 804 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point2f> convexPolygon; std 805 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point2f> triangle; std 813 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point2f> CV_MinTriangleTest::getTriangleMiddlePoints() std 815 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point2f> triangleMiddlePoints; std 827 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point2f> pointsAsVector; std 872 modules/imgproc/test/test_convhull.cpp std::vector<cv::Point2f> middlePoints = getTriangleMiddlePoints(); std 4 modules/imgproc/test/test_cvtyuv.cpp using namespace std; std 324 modules/imgproc/test/test_cvtyuv.cpp int y = std::max(0, yuv[0] - 16); std 45 modules/imgproc/test/test_distancetransform.cpp using namespace std; std 45 modules/imgproc/test/test_emd.cpp using namespace std; std 45 modules/imgproc/test/test_filter.cpp using namespace std; std 45 modules/imgproc/test/test_floodfill.cpp using namespace std; std 48 modules/imgproc/test/test_grabcut.cpp using namespace std; std 45 modules/imgproc/test/test_histograms.cpp using namespace std; std 1029 modules/imgproc/test/test_histograms.cpp result0[CV_COMP_KL_DIV] += v0 * std::log( v0 / v1 ); std 1061 modules/imgproc/test/test_histograms.cpp result0[CV_COMP_KL_DIV] += v0 * std::log( v0 / v1 ); std 47 modules/imgproc/test/test_houghLines.cpp using namespace std; std 79 modules/imgproc/test/test_houghLines.cpp MatIterator_<T> f = std::find_if(actual.begin<T>(), actual.end<T>(), SimilarWith<T>(*it, eps, rho_eps)); std 113 modules/imgproc/test/test_houghLines.cpp typedef std::tr1::tuple<string, double, double, int> Image_RhoStep_ThetaStep_Threshold_t; std 119 modules/imgproc/test/test_houghLines.cpp picture_name = std::tr1::get<0>(GetParam()); std 120 modules/imgproc/test/test_houghLines.cpp rhoStep = std::tr1::get<1>(GetParam()); std 121 modules/imgproc/test/test_houghLines.cpp thetaStep = std::tr1::get<2>(GetParam()); std 122 modules/imgproc/test/test_houghLines.cpp threshold = std::tr1::get<3>(GetParam()); std 128 modules/imgproc/test/test_houghLines.cpp typedef std::tr1::tuple<string, double, double, int, int, int> Image_RhoStep_ThetaStep_Threshold_MinLine_MaxGap_t; std 134 modules/imgproc/test/test_houghLines.cpp picture_name = std::tr1::get<0>(GetParam()); std 135 modules/imgproc/test/test_houghLines.cpp rhoStep = std::tr1::get<1>(GetParam()); std 136 modules/imgproc/test/test_houghLines.cpp thetaStep = std::tr1::get<2>(GetParam()); std 137 modules/imgproc/test/test_houghLines.cpp threshold = std::tr1::get<3>(GetParam()); std 138 modules/imgproc/test/test_houghLines.cpp minLineLength = std::tr1::get<4>(GetParam()); std 139 modules/imgproc/test/test_houghLines.cpp maxGap = std::tr1::get<5>(GetParam()); std 47 modules/imgproc/test/test_imgproc_umat.cpp using namespace std; std 45 modules/imgproc/test/test_imgwarp.cpp using namespace std; std 1390 modules/imgproc/test/test_imgwarp.cpp std::vector<Point3f> points_vector; std 1398 modules/imgproc/test/test_imgwarp.cpp std::vector<float> line; std 1408 modules/imgproc/test/test_imgwarp.cpp std::vector<Point2f> points_vector; std 1418 modules/imgproc/test/test_imgwarp.cpp std::vector<float> line; std 1428 modules/imgproc/test/test_imgwarp.cpp std::vector<float> line1; std 1438 modules/imgproc/test/test_imgwarp.cpp std::vector<float> line2; std 1448 modules/imgproc/test/test_imgwarp.cpp std::vector<float> line1; std 1458 modules/imgproc/test/test_imgwarp.cpp std::vector<float> line2; std 1525 modules/imgproc/test/test_imgwarp.cpp std::cout << "Abs diff:" << std::endl << diff << std::endl; std 1526 modules/imgproc/test/test_imgwarp.cpp std::cout << "actual result:\n" << actual(Range(rmin, rmax), Range(cmin, cmax)) << std::endl; std 1527 modules/imgproc/test/test_imgwarp.cpp std::cout << "expected result:\n" << expected(Range(rmin, rmax), Range(cmin, cmax)) << std::endl; std 140 modules/imgproc/test/test_imgwarp_strict.cpp size.width = static_cast<int>(std::exp(rng.uniform(1.0f, 7.0f))); std 141 modules/imgproc/test/test_imgwarp_strict.cpp size.height = static_cast<int>(std::exp(rng.uniform(1.0f, 7.0f))); std 169 modules/imgproc/test/test_imgwarp_strict.cpp rectangle(src, Point(x, y), Point(x + std::min<int>(cell_size, ssize.width - x), y + std 170 modules/imgproc/test/test_imgwarp_strict.cpp std::min<int>(cell_size, ssize.height - y)), Scalar::all((x + y) % 2 ? 255: 0), CV_FILLED); std 288 modules/imgproc/test/test_imgwarp_strict.cpp const std::string w1("OpenCV impl (run func)"), w2("Reference func"), w3("Src image"), w4("Diff"); std 309 modules/imgproc/test/test_imgwarp_strict.cpp std::cout << "opencv result:\n" << dst(Range(rmin, rmax), Range(cmin, cmax)) << std::endl; std 310 modules/imgproc/test/test_imgwarp_strict.cpp std::cout << "reference result:\n" << reference_dst(Range(rmin, rmax), Range(cmin, cmax)) << std::endl; std 354 modules/imgproc/test/test_imgwarp_strict.cpp typedef std::vector<std::pair<int, double> > dim; std 453 modules/imgproc/test/test_imgwarp_strict.cpp double w = std::min(static_cast<double>(x + 1), b) - std::max(static_cast<double>(x), a); std 470 modules/imgproc/test/test_imgwarp_strict.cpp int isy0 = cvFloor(fsy0), isy1 = std::min(cvFloor(fsy1), ssize.height - 1); std 478 modules/imgproc/test/test_imgwarp_strict.cpp int isx0 = cvFloor(fsx0), isx1 = std::min(ssize.width - 1, cvFloor(fsx1)); std 505 modules/imgproc/test/test_imgwarp_strict.cpp fsx1 = std::min((fsx0 = fsx1) + scale_x, static_cast<double>(ssize.width)); std 507 modules/imgproc/test/test_imgwarp_strict.cpp fsy1 = std::min((fsy0 = fsy1) + scale_y, static_cast<double>(ssize.height)); std 581 modules/imgproc/test/test_imgwarp_strict.cpp _dim[dx] = std::make_pair(isx, fsx - isx); std 594 modules/imgproc/test/test_imgwarp_strict.cpp dims[0][dx].first = std::min(cvFloor(dx * scale_x), ssize.width - 1); std 596 modules/imgproc/test/test_imgwarp_strict.cpp dims[1][dy].first = std::min(cvFloor(dy * scale_y), ssize.height - 1); std 678 modules/imgproc/test/test_imgwarp_strict.cpp const int n = std::min(std::min(src.cols, src.rows) / 10 + 1, 2); std 688 modules/imgproc/test/test_imgwarp_strict.cpp (*begin_x)[0] = static_cast<short>(rng.uniform(static_cast<int>(_n), std::max(src.cols + n - 1, 0))); std 689 modules/imgproc/test/test_imgwarp_strict.cpp (*begin_x)[1] = static_cast<short>(rng.uniform(static_cast<int>(_n), std::max(src.rows + n - 1, 0))); std 722 modules/imgproc/test/test_imgwarp_strict.cpp float fscols = static_cast<float>(std::max(src.cols - 1 + n, 0)), std 723 modules/imgproc/test/test_imgwarp_strict.cpp fsrows = static_cast<float>(std::max(src.rows - 1 + n, 0)); std 736 modules/imgproc/test/test_imgwarp_strict.cpp float fscols = static_cast<float>(std::max(src.cols - 1 + n, 0)), std 737 modules/imgproc/test/test_imgwarp_strict.cpp fsrows = static_cast<float>(std::max(src.rows - 1 + n, 0)); std 889 modules/imgproc/test/test_imgwarp_strict.cpp int cn = _src.channels(), width1 = std::max(ssize.width - ksize + 1, 0), std 890 modules/imgproc/test/test_imgwarp_strict.cpp height1 = std::max(ssize.height - ksize + 1, 0); std 49 modules/imgproc/test/test_intersection.cpp using namespace std; std 166 modules/imgproc/test/test_intersection.cpp bestR = std::min(bestR, r); std 213 modules/imgproc/test/test_intersection.cpp bestR = std::min(bestR, r); std 262 modules/imgproc/test/test_intersection.cpp bestR = std::min(bestR, r); std 315 modules/imgproc/test/test_intersection.cpp bestR = std::min(bestR, r); std 364 modules/imgproc/test/test_intersection.cpp bestR = std::min(bestR, r); std 413 modules/imgproc/test/test_intersection.cpp bestR = std::min(bestR, r); std 492 modules/imgproc/test/test_intersection.cpp bestR = std::min(bestR, r); std 6 modules/imgproc/test/test_lsd.cpp using namespace std; std 44 modules/imgproc/test/test_moments.cpp using namespace std; std 46 modules/imgproc/test/test_pc.cpp using namespace std; std 45 modules/imgproc/test/test_templmatch.cpp using namespace std; std 45 modules/imgproc/test/test_thresh.cpp using namespace std; std 47 modules/imgproc/test/test_watershed.cpp using namespace std; std 12 modules/java/generator/src/cpp/Mat.cpp static void throwJavaException(JNIEnv *env, const std::exception *e, const char *method) { std 13 modules/java/generator/src/cpp/Mat.cpp std::string what = "unknown exception"; std 17 modules/java/generator/src/cpp/Mat.cpp std::string exception_type = "std::exception"; std 68 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 94 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 121 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 148 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 175 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 197 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 223 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 249 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 268 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 292 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 318 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 340 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 362 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 390 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 417 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 444 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 496 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 523 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 543 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 563 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 588 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 614 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 638 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 663 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 689 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 732 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 759 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 786 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 813 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 839 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 865 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 891 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 917 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 944 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 971 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 993 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1019 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1045 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1074 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1100 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1124 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1150 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1177 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1203 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1227 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1252 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1275 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1302 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1329 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1355 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1383 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1412 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1441 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1465 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1495 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1521 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1543 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1570 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1598 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1625 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1651 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1677 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1703 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1730 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1806 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1869 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1896 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1923 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1950 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 1980 modules/java/generator/src/cpp/Mat.cpp int len = std::min(bytesToCopy, bytesInRow); std 2012 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 2039 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 2066 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 2093 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 2120 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 2158 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 2184 modules/java/generator/src/cpp/Mat.cpp } catch(const std::exception &e) { std 11 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_int(Mat& mat, std::vector<int>& v_int) std 15 modules/java/generator/src/cpp/converters.cpp v_int = (std::vector<int>) mat; std 18 modules/java/generator/src/cpp/converters.cpp void vector_int_to_Mat(std::vector<int>& v_int, Mat& mat) std 26 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_double(Mat& mat, std::vector<double>& v_double) std 30 modules/java/generator/src/cpp/converters.cpp v_double = (std::vector<double>) mat; std 33 modules/java/generator/src/cpp/converters.cpp void vector_double_to_Mat(std::vector<double>& v_double, Mat& mat) std 41 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_float(Mat& mat, std::vector<float>& v_float) std 45 modules/java/generator/src/cpp/converters.cpp v_float = (std::vector<float>) mat; std 48 modules/java/generator/src/cpp/converters.cpp void vector_float_to_Mat(std::vector<float>& v_float, Mat& mat) std 56 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_uchar(Mat& mat, std::vector<uchar>& v_uchar) std 60 modules/java/generator/src/cpp/converters.cpp v_uchar = (std::vector<uchar>) mat; std 63 modules/java/generator/src/cpp/converters.cpp void vector_uchar_to_Mat(std::vector<uchar>& v_uchar, Mat& mat) std 68 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_char(Mat& mat, std::vector<char>& v_char) std 72 modules/java/generator/src/cpp/converters.cpp v_char = (std::vector<char>) mat; std 75 modules/java/generator/src/cpp/converters.cpp void vector_char_to_Mat(std::vector<char>& v_char, Mat& mat) std 83 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_Rect(Mat& mat, std::vector<Rect>& v_rect) std 87 modules/java/generator/src/cpp/converters.cpp v_rect = (std::vector<Rect>) mat; std 90 modules/java/generator/src/cpp/converters.cpp void vector_Rect_to_Mat(std::vector<Rect>& v_rect, Mat& mat) std 97 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_Point(Mat& mat, std::vector<Point>& v_point) std 101 modules/java/generator/src/cpp/converters.cpp v_point = (std::vector<Point>) mat; std 105 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_Point2f(Mat& mat, std::vector<Point2f>& v_point) std 109 modules/java/generator/src/cpp/converters.cpp v_point = (std::vector<Point2f>) mat; std 113 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_Point2d(Mat& mat, std::vector<Point2d>& v_point) std 117 modules/java/generator/src/cpp/converters.cpp v_point = (std::vector<Point2d>) mat; std 122 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_Point3i(Mat& mat, std::vector<Point3i>& v_point) std 126 modules/java/generator/src/cpp/converters.cpp v_point = (std::vector<Point3i>) mat; std 130 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_Point3f(Mat& mat, std::vector<Point3f>& v_point) std 134 modules/java/generator/src/cpp/converters.cpp v_point = (std::vector<Point3f>) mat; std 138 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_Point3d(Mat& mat, std::vector<Point3d>& v_point) std 142 modules/java/generator/src/cpp/converters.cpp v_point = (std::vector<Point3d>) mat; std 146 modules/java/generator/src/cpp/converters.cpp void vector_Point_to_Mat(std::vector<Point>& v_point, Mat& mat) std 151 modules/java/generator/src/cpp/converters.cpp void vector_Point2f_to_Mat(std::vector<Point2f>& v_point, Mat& mat) std 156 modules/java/generator/src/cpp/converters.cpp void vector_Point2d_to_Mat(std::vector<Point2d>& v_point, Mat& mat) std 161 modules/java/generator/src/cpp/converters.cpp void vector_Point3i_to_Mat(std::vector<Point3i>& v_point, Mat& mat) std 166 modules/java/generator/src/cpp/converters.cpp void vector_Point3f_to_Mat(std::vector<Point3f>& v_point, Mat& mat) std 171 modules/java/generator/src/cpp/converters.cpp void vector_Point3d_to_Mat(std::vector<Point3d>& v_point, Mat& mat) std 177 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_Mat(cv::Mat& mat, std::vector<cv::Mat>& v_mat) std 196 modules/java/generator/src/cpp/converters.cpp void vector_Mat_to_Mat(std::vector<cv::Mat>& v_mat, cv::Mat& mat) std 207 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_vector_Point(Mat& mat, std::vector< std::vector< Point > >& vv_pt) std 209 modules/java/generator/src/cpp/converters.cpp std::vector<Mat> vm; std 214 modules/java/generator/src/cpp/converters.cpp std::vector<Point> vpt; std 220 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_vector_Point2f(Mat& mat, std::vector< std::vector< Point2f > >& vv_pt) std 222 modules/java/generator/src/cpp/converters.cpp std::vector<Mat> vm; std 227 modules/java/generator/src/cpp/converters.cpp std::vector<Point2f> vpt; std 233 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_vector_Point3f(Mat& mat, std::vector< std::vector< Point3f > >& vv_pt) std 235 modules/java/generator/src/cpp/converters.cpp std::vector<Mat> vm; std 240 modules/java/generator/src/cpp/converters.cpp std::vector<Point3f> vpt; std 246 modules/java/generator/src/cpp/converters.cpp void Mat_to_vector_vector_char(Mat& mat, std::vector< std::vector< char > >& vv_ch) std 248 modules/java/generator/src/cpp/converters.cpp std::vector<Mat> vm; std 253 modules/java/generator/src/cpp/converters.cpp std::vector<char> vch; std 259 modules/java/generator/src/cpp/converters.cpp void vector_vector_char_to_Mat(std::vector< std::vector< char > >& vv_ch, Mat& mat) std 261 modules/java/generator/src/cpp/converters.cpp std::vector<Mat> vm; std 272 modules/java/generator/src/cpp/converters.cpp void vector_vector_Point_to_Mat(std::vector< std::vector< Point > >& vv_pt, Mat& mat) std 274 modules/java/generator/src/cpp/converters.cpp std::vector<Mat> vm; std 285 modules/java/generator/src/cpp/converters.cpp void vector_vector_Point2f_to_Mat(std::vector< std::vector< Point2f > >& vv_pt, Mat& mat) std 287 modules/java/generator/src/cpp/converters.cpp std::vector<Mat> vm; std 298 modules/java/generator/src/cpp/converters.cpp void vector_vector_Point3f_to_Mat(std::vector< std::vector< Point3f > >& vv_pt, Mat& mat) std 300 modules/java/generator/src/cpp/converters.cpp std::vector<Mat> vm; std 311 modules/java/generator/src/cpp/converters.cpp void vector_Vec4i_to_Mat(std::vector<Vec4i>& v_vec, Mat& mat) std 316 modules/java/generator/src/cpp/converters.cpp void vector_Vec4f_to_Mat(std::vector<Vec4f>& v_vec, Mat& mat) std 321 modules/java/generator/src/cpp/converters.cpp void vector_Vec6f_to_Mat(std::vector<Vec6f>& v_vec, Mat& mat) std 4 modules/java/generator/src/cpp/converters.h void Mat_to_vector_int(cv::Mat& mat, std::vector<int>& v_int); std 5 modules/java/generator/src/cpp/converters.h void vector_int_to_Mat(std::vector<int>& v_int, cv::Mat& mat); std 7 modules/java/generator/src/cpp/converters.h void Mat_to_vector_double(cv::Mat& mat, std::vector<double>& v_double); std 8 modules/java/generator/src/cpp/converters.h void vector_double_to_Mat(std::vector<double>& v_double, cv::Mat& mat); std 10 modules/java/generator/src/cpp/converters.h void Mat_to_vector_float(cv::Mat& mat, std::vector<float>& v_float); std 11 modules/java/generator/src/cpp/converters.h void vector_float_to_Mat(std::vector<float>& v_float, cv::Mat& mat); std 13 modules/java/generator/src/cpp/converters.h void Mat_to_vector_uchar(cv::Mat& mat, std::vector<uchar>& v_uchar); std 14 modules/java/generator/src/cpp/converters.h void vector_uchar_to_Mat(std::vector<uchar>& v_uchar, cv::Mat& mat); std 16 modules/java/generator/src/cpp/converters.h void Mat_to_vector_char(cv::Mat& mat, std::vector<char>& v_char); std 17 modules/java/generator/src/cpp/converters.h void vector_char_to_Mat(std::vector<char>& v_char, cv::Mat& mat); std 19 modules/java/generator/src/cpp/converters.h void Mat_to_vector_Rect(cv::Mat& mat, std::vector<cv::Rect>& v_rect); std 20 modules/java/generator/src/cpp/converters.h void vector_Rect_to_Mat(std::vector<cv::Rect>& v_rect, cv::Mat& mat); std 23 modules/java/generator/src/cpp/converters.h void Mat_to_vector_Point(cv::Mat& mat, std::vector<cv::Point>& v_point); std 24 modules/java/generator/src/cpp/converters.h void Mat_to_vector_Point2f(cv::Mat& mat, std::vector<cv::Point2f>& v_point); std 25 modules/java/generator/src/cpp/converters.h void Mat_to_vector_Point2d(cv::Mat& mat, std::vector<cv::Point2d>& v_point); std 26 modules/java/generator/src/cpp/converters.h void Mat_to_vector_Point3i(cv::Mat& mat, std::vector<cv::Point3i>& v_point); std 27 modules/java/generator/src/cpp/converters.h void Mat_to_vector_Point3f(cv::Mat& mat, std::vector<cv::Point3f>& v_point); std 28 modules/java/generator/src/cpp/converters.h void Mat_to_vector_Point3d(cv::Mat& mat, std::vector<cv::Point3d>& v_point); std 30 modules/java/generator/src/cpp/converters.h void vector_Point_to_Mat(std::vector<cv::Point>& v_point, cv::Mat& mat); std 31 modules/java/generator/src/cpp/converters.h void vector_Point2f_to_Mat(std::vector<cv::Point2f>& v_point, cv::Mat& mat); std 32 modules/java/generator/src/cpp/converters.h void vector_Point2d_to_Mat(std::vector<cv::Point2d>& v_point, cv::Mat& mat); std 33 modules/java/generator/src/cpp/converters.h void vector_Point3i_to_Mat(std::vector<cv::Point3i>& v_point, cv::Mat& mat); std 34 modules/java/generator/src/cpp/converters.h void vector_Point3f_to_Mat(std::vector<cv::Point3f>& v_point, cv::Mat& mat); std 35 modules/java/generator/src/cpp/converters.h void vector_Point3d_to_Mat(std::vector<cv::Point3d>& v_point, cv::Mat& mat); std 37 modules/java/generator/src/cpp/converters.h void vector_Vec4i_to_Mat(std::vector<cv::Vec4i>& v_vec, cv::Mat& mat); std 38 modules/java/generator/src/cpp/converters.h void vector_Vec4f_to_Mat(std::vector<cv::Vec4f>& v_vec, cv::Mat& mat); std 39 modules/java/generator/src/cpp/converters.h void vector_Vec6f_to_Mat(std::vector<cv::Vec6f>& v_vec, cv::Mat& mat); std 41 modules/java/generator/src/cpp/converters.h void Mat_to_vector_Mat(cv::Mat& mat, std::vector<cv::Mat>& v_mat); std 42 modules/java/generator/src/cpp/converters.h void vector_Mat_to_Mat(std::vector<cv::Mat>& v_mat, cv::Mat& mat); std 44 modules/java/generator/src/cpp/converters.h void Mat_to_vector_vector_char(cv::Mat& mat, std::vector< std::vector< char > >& vv_ch); std 45 modules/java/generator/src/cpp/converters.h void vector_vector_char_to_Mat(std::vector< std::vector< char > >& vv_ch, cv::Mat& mat); std 47 modules/java/generator/src/cpp/converters.h void Mat_to_vector_vector_Point(cv::Mat& mat, std::vector< std::vector< cv::Point > >& vv_pt); std 48 modules/java/generator/src/cpp/converters.h void vector_vector_Point_to_Mat(std::vector< std::vector< cv::Point > >& vv_pt, cv::Mat& mat); std 50 modules/java/generator/src/cpp/converters.h void Mat_to_vector_vector_Point2f(cv::Mat& mat, std::vector< std::vector< cv::Point2f > >& vv_pt); std 51 modules/java/generator/src/cpp/converters.h void vector_vector_Point2f_to_Mat(std::vector< std::vector< cv::Point2f > >& vv_pt, cv::Mat& mat); std 53 modules/java/generator/src/cpp/converters.h void Mat_to_vector_vector_Point3f(cv::Mat& mat, std::vector< std::vector< cv::Point3f > >& vv_pt); std 54 modules/java/generator/src/cpp/converters.h void vector_vector_Point3f_to_Mat(std::vector< std::vector< cv::Point3f > >& vv_pt, cv::Mat& mat); std 793 modules/ml/include/opencv2/ml.hpp virtual void getCovs(std::vector<Mat>& covs) const = 0; std 1068 modules/ml/include/opencv2/ml.hpp virtual const std::vector<int>& getRoots() const = 0; std 1073 modules/ml/include/opencv2/ml.hpp virtual const std::vector<Node>& getNodes() const = 0; std 1078 modules/ml/include/opencv2/ml.hpp virtual const std::vector<Split>& getSplits() const = 0; std 1083 modules/ml/include/opencv2/ml.hpp virtual const std::vector<int>& getSubsets() const = 0; std 72 modules/ml/src/ann_mlp.cpp return std::min(std::max(val, min_val), max_val); std 118 modules/ml/src/ann_mlp.cpp params.rpDWMin = std::max( param2, 0. ); std 127 modules/ml/src/ann_mlp.cpp params.bpMomentScale = std::min( param2, 1. ); std 229 modules/ml/src/ann_mlp.cpp max_lsize = std::max( max_lsize, n ); std 261 modules/ml/src/ann_mlp.cpp dn0 = std::max( dn0, 1 ); std 282 modules/ml/src/ann_mlp.cpp dn = std::min( dn0, n - i ); std 706 modules/ml/src/ann_mlp.cpp termcrit.maxCount = std::max((params.termCrit.type & CV_TERMCRIT_ITER ? params.termCrit.maxCount : MAX_ITER), 1); std 707 modules/ml/src/ann_mlp.cpp termcrit.epsilon = std::max((params.termCrit.type & CV_TERMCRIT_EPS ? params.termCrit.epsilon : DEFAULT_EPSILON), DBL_EPSILON); std 783 modules/ml/src/ann_mlp.cpp std::swap(_idx[j], _idx[k]); std 896 modules/ml/src/ann_mlp.cpp int i0 = si*dcount0, i1 = std::min((si + 1)*dcount0, count); std 1016 modules/ml/src/ann_mlp.cpp dcount0 = std::max( dcount0, 1 ); std 1017 modules/ml/src/ann_mlp.cpp dcount0 = std::min( dcount0, count ); std 1071 modules/ml/src/ann_mlp.cpp dval = std::min( dval, dw_max ); std 1078 modules/ml/src/ann_mlp.cpp dval = std::max( dval, dw_min ); std 51 modules/ml/src/boost.cpp val = std::max( val, eps ); std 52 modules/ml/src/boost.cpp val = std::min( val, 1. - eps ); std 139 modules/ml/src/boost.cpp std::swap(sumResult, e); std 241 modules/ml/src/boost.cpp double scale = std::exp(C); std 268 modules/ml/src/boost.cpp CV_Assert( std::abs(w->ord_responses[si]) == 1 ); std 269 modules/ml/src/boost.cpp double wval = w->sample_weights[si]*std::exp(-result[i]*w->ord_responses[si]); std 292 modules/ml/src/boost.cpp double p = 1./(1 + std::exp(-2*sumResult[i])); std 293 modules/ml/src/boost.cpp double wval = std::max( p*(1 - p), lb_weight_thresh ), z; std 299 modules/ml/src/boost.cpp w->ord_responses[si] = std::min(z, lb_z_max); std 304 modules/ml/src/boost.cpp w->ord_responses[si] = -std::min(z, lb_z_max); std 334 modules/ml/src/boost.cpp std::sort(result, result + n); std 118 modules/ml/src/data.cpp typedef std::map<String, int> MapType; std 229 modules/ml/src/data.cpp typedef std::map<int, int> CatMapHash; std 279 modules/ml/src/data.cpp std::sort(varIdx.ptr<int>(), varIdx.ptr<int>() + varIdx.total()); std 380 modules/ml/src/data.cpp std::copy(labels.begin(), labels.end(), std::back_inserter(tempCatMap)); std 464 modules/ml/src/data.cpp std::sort(idx, idx + n, CmpByIdx(idata, istep)); std 514 modules/ml/src/data.cpp std::vector<char> _buf(M); std 515 modules/ml/src/data.cpp std::vector<float> allresponses; std 516 modules/ml/src/data.cpp std::vector<float> rowvals; std 517 modules/ml/src/data.cpp std::vector<uchar> vtypes, rowtypes; std 599 modules/ml/src/data.cpp std::swap(rowvals[i], rowvals[i-noutputvars]); std 620 modules/ml/src/data.cpp std::swap(vtypes[i], vtypes[i-noutputvars]); std 644 modules/ml/src/data.cpp std::swap(tempNameMap, nameMap); std 674 modules/ml/src/data.cpp void setVarTypes( const String& s, int nvars, std::vector<uchar>& vtypes ) const std 814 modules/ml/src/data.cpp std::swap(ptra[a], ptrb[b]); std 842 modules/ml/src/data.cpp std::swap(drows, dcols); std 843 modules/ml/src/data.cpp std::swap(sptr, vptr); std 844 modules/ml/src/data.cpp std::swap(sstep, vstep); std 137 modules/ml/src/em.cpp std::vector<Mat> covs0; std 175 modules/ml/src/em.cpp nsamples = std::min(nsamples, 1); std 237 modules/ml/src/em.cpp const std::vector<Mat>* covs, const Mat* weights) std 323 modules/ml/src/em.cpp const std::vector<Mat>* covs0, std 469 modules/ml/src/em.cpp logDetCov += std::log(covsEigenValues[clusterIndex].at<double>(covMatType != COV_MAT_SPHERICAL ? di : 0)); std 513 modules/ml/src/em.cpp trainLogLikelihoodDelta < epsilon * std::fabs(trainLogLikelihood))) std 612 modules/ml/src/em.cpp double v = std::exp(L.at<double>(i) - maxLVal); std 621 modules/ml/src/em.cpp res[0] = std::log(expDiffSum) + maxLVal - 0.5 * dim * CV_LOG2PI; std 819 modules/ml/src/em.cpp void getCovs(std::vector<Mat>& _covs) const std 822 modules/ml/src/em.cpp std::copy(covs.begin(), covs.end(), _covs.begin()); std 833 modules/ml/src/em.cpp std::vector<Mat> covs; std 835 modules/ml/src/em.cpp std::vector<Mat> covsEigenValues; std 836 modules/ml/src/em.cpp std::vector<Mat> covsRotateMats; std 837 modules/ml/src/em.cpp std::vector<Mat> invCovsEigenValues; std 271 modules/ml/src/gbt.cpp std::sort(sample_idx->data.i, sample_idx->data.i + sample_idx_len); std 472 modules/ml/src/gbt.cpp std::sort(residuals, residuals + n); std 695 modules/ml/src/gbt.cpp std::sort(residuals, residuals + n); std 707 modules/ml/src/gbt.cpp std::sort(residuals, residuals + n); std 1261 modules/ml/src/gbt.cpp CvGBTrees::calc_error( CvMLData* _data, int type, std::vector<float> *resp ) std 48 modules/ml/src/inner_functions.cpp minVal = std::min(_minVal, _maxVal); std 49 modules/ml/src/inner_functions.cpp maxVal = std::max(_minVal, _maxVal); std 50 modules/ml/src/inner_functions.cpp logStep = std::max(_logStep, 1.); std 136 modules/ml/src/inner_functions.cpp S.at<float>(i,i) = std::sqrt(std::max(A.at<float>(i,i) - sum, 0.f)); std 106 modules/ml/src/kdtree.cpp std::swap(ofs[ip], ofs[i2]); std 112 modules/ml/src/kdtree.cpp std::swap(ofs[i0], ofs[i1]); std 134 modules/ml/src/kdtree.cpp CV_Assert(std::abs(more - less) <= 1); std 168 modules/ml/src/kdtree.cpp std::vector<KDTree::Node>().swap(nodes); std 197 modules/ml/src/kdtree.cpp std::vector<size_t> _ptofs(n); std 229 modules/ml/src/kdtree.cpp _maxDepth = std::max(_maxDepth, depth); std 282 modules/ml/src/kdtree.cpp K = std::min(K, points.rows); std 295 modules/ml/src/kdtree.cpp emax = std::max(emax, 1); std 313 modules/ml/src/kdtree.cpp std::swap(pqueue[0], pqueue[qsize]); std 324 modules/ml/src/kdtree.cpp std::swap(pqueue[i], pqueue[left]); std 351 modules/ml/src/kdtree.cpp d += std::abs(vec[j] - row[j]); std 359 modules/ml/src/kdtree.cpp std::swap(dist[i], dist[i+1]); std 360 modules/ml/src/kdtree.cpp std::swap(idx[i], idx[i+1]); std 383 modules/ml/src/kdtree.cpp d = std::abs(d) + alt_d; std 394 modules/ml/src/kdtree.cpp std::swap(pqueue[i], pqueue[parent]); std 401 modules/ml/src/kdtree.cpp K = std::min(K, ncount); std 434 modules/ml/src/kdtree.cpp std::vector<int> idx; std 512 modules/ml/src/kdtree.cpp std::copy(src, src + ptdims, pts.ptr<float>(i)); std 87 modules/ml/src/kdtree.hpp std::vector<Node> nodes; //!< all the tree nodes std 89 modules/ml/src/kdtree.hpp CV_PROP std::vector<int> labels; //!< the parallel array of labels. std 149 modules/ml/src/knearest.cpp int k = std::min(k0, nsamples); std 250 modules/ml/src/knearest.cpp std::swap(rp[i], rp[i+1]); std 299 modules/ml/src/knearest.cpp int delta = std::min(range.end - range.start, 256); std 302 modules/ml/src/knearest.cpp p->findNearestCore( *_samples, k, Range(start, std::min(start + delta, range.end)), std 58 modules/ml/src/lr.cpp using namespace std; std 72 modules/ml/src/precomp.hpp using std::vector; std 90 modules/ml/src/precomp.hpp static inline void setRangeVector(std::vector<int>& vec, int n) std 136 modules/ml/src/precomp.hpp maxCategories = std::min(val, 15 ); std 142 modules/ml/src/precomp.hpp maxDepth = std::min( val, 25 ); std 146 modules/ml/src/precomp.hpp minSampleCount = std::max(val, 1); std 342 modules/ml/src/precomp.hpp virtual const std::vector<int>& getRoots() const { return roots; } std 343 modules/ml/src/precomp.hpp virtual const std::vector<Node>& getNodes() const { return nodes; } std 344 modules/ml/src/precomp.hpp virtual const std::vector<Split>& getSplits() const { return splits; } std 345 modules/ml/src/precomp.hpp virtual const std::vector<int>& getSubsets() const { return subsets; } std 367 modules/ml/src/precomp.hpp static inline void readVectorOrMat(const FileNode & node, std::vector<T> & v) std 99 modules/ml/src/rtrees.cpp std::swap(allVars[i1], allVars[i2]); std 110 modules/ml/src/rtrees.cpp int i, m = rparams.nactiveVars > 0 ? rparams.nactiveVars : cvRound(std::sqrt((double)nvars)); std 111 modules/ml/src/rtrees.cpp m = std::min(std::max(m, 1), nvars); std 122 modules/ml/src/rtrees.cpp std::swap(allVars, a); std 123 modules/ml/src/rtrees.cpp std::swap(activeVars, b); std 156 modules/ml/src/rtrees.cpp std::swap(sstep0, sstep1); std 162 modules/ml/src/rtrees.cpp double val = std::abs(w->ord_responses[w->sidx[i]]); std 163 modules/ml/src/rtrees.cpp max_response = std::max(max_response, val); std 215 modules/ml/src/rtrees.cpp ncorrect_responses += std::exp( -val*val ); std 247 modules/ml/src/rtrees.cpp std::swap(i1, i2); std 279 modules/ml/src/rtrees.cpp varImportance[vi_] = std::max(varImportance[vi_], 0.f); std 208 modules/ml/src/svm.cpp Qfloat e = std::exp(-std::abs(t)); std 266 modules/ml/src/svm.cpp s += std::min(sample[k],another[k]) + std::min(sample[k+1],another[k+1]) + std 267 modules/ml/src/svm.cpp std::min(sample[k+2],another[k+2]) + std::min(sample[k+3],another[k+3]); std 269 modules/ml/src/svm.cpp s += std::min(sample[k],another[k]); std 352 modules/ml/src/svm.cpp std::sort(sidx_all.begin(), sidx_all.end(), cmp_lt_idx<int>(rptr)); std 517 modules/ml/src/svm.cpp csize = std::max(csize, (int64)(MIN_CACHE_SIZE/sizeof(Qfloat)) ); std 518 modules/ml/src/svm.cpp csize = std::min(csize, (int64)(MAX_CACHE_SIZE/sizeof(Qfloat)) ); std 520 modules/ml/src/svm.cpp max_cache_size = std::min(std::max(max_cache_size, 1), sample_count); std 609 modules/ml/src/svm.cpp std::swap(dst_pos, dst_neg); std 1052 modules/ml/src/svm.cpp a = std::min(1.0, sum_pos); std 1057 modules/ml/src/svm.cpp a = std::min(1.0, sum_neg); std 1170 modules/ml/src/svm.cpp _alpha[i] = _alpha[i + sample_count] = std::min(sum, C); std 1339 modules/ml/src/svm.cpp params.termCrit.epsilon = std::max(params.termCrit.epsilon, DBL_EPSILON); std 1342 modules/ml/src/svm.cpp params.termCrit.maxCount = std::max(params.termCrit.maxCount, 1); std 1395 modules/ml/src/svm.cpp if( std::abs(_alpha[i]) > 0 ) std 1450 modules/ml/src/svm.cpp if( nu*(ci + cj)*0.5 > std::min( ci, cj ) ) std 1503 modules/ml/src/svm.cpp if( std::abs(_alpha[k]) > 0 ) std 1591 modules/ml/src/svm.cpp std::swap(sv, new_sv); std 1592 modules/ml/src/svm.cpp std::swap(decision_func, new_df); std 1712 modules/ml/src/svm.cpp std::swap(sidx[i1], sidx[i2]); std 1745 modules/ml/src/svm.cpp std::swap(sidx[i1], sidx[i2]); std 87 modules/ml/src/testset.cpp std::vector<PairDI> dis(samples.rows); std 96 modules/ml/src/testset.cpp std::sort(dis.begin(), dis.end(), CmpPairDI()); std 99 modules/ml/src/testset.cpp num_classes = std::min( num_samples, num_classes ); std 104 modules/ml/src/testset.cpp max_dst = std::max( max_dst, dis[i].d ); std 49 modules/ml/src/tree.cpp using std::vector; std 107 modules/ml/src/tree.cpp std::sort(sidx.begin(), sidx.end()); std 163 modules/ml/src/tree.cpp w->maxSubsetSize = std::max(w->maxSubsetSize, getCatCount(varIdx[i])); std 165 modules/ml/src/tree.cpp w->maxSubsetSize = std::max((w->maxSubsetSize + 31)/32, 1); std 444 modules/ml/src/tree.cpp std::swap(subset, best_subset); std 470 modules/ml/src/tree.cpp cv::AutoBuffer<double> buf(std::max(m, 3)*(cv_n+1)); std 627 modules/ml/src/tree.cpp double r = si/std::max(ci, DBL_EPSILON); std 668 modules/ml/src/tree.cpp std::sort(sorted_idx, sorted_idx + n, cmp_lt_idx<float>(values)); std 740 modules/ml/src/tree.cpp std::swap( labels[i1], labels[i2] ); std 816 modules/ml/src/tree.cpp base_size += m*std::min(params.getMaxCategories(), n) + mi; std 856 modules/ml/src/tree.cpp mi = std::min(params.getMaxCategories(), n); std 870 modules/ml/src/tree.cpp std::sort(dbl_ptr, dbl_ptr + mi, cmp_lt_ptr<double>()); std 1011 modules/ml/src/tree.cpp std::sort(sorted_idx, sorted_idx + n, cmp_lt_idx<float>(values)); std 1087 modules/ml/src/tree.cpp std::sort(sum_ptr, sum_ptr + mi, cmp_lt_ptr<double>()); std 1223 modules/ml/src/tree.cpp ab[ti] = std::sqrt(ab[ti]*ab[ti+1]); std 1305 modules/ml/src/tree.cpp min_alpha = std::min( min_alpha, parent->alpha ); std 1514 modules/ml/src/tree.cpp nsamples = std::min(nsamples, 1); std 1607 modules/ml/src/tree.cpp int default_dir = to_right <= 1 || to_right <= std::min(3, n/2) || to_right <= n/3 ? -1 : 1; std 1727 modules/ml/src/tree.cpp std::vector<uchar> extendedTypes(varAll + 1, 0); std 1758 modules/ml/src/tree.cpp std::vector<int> counts; std 44 modules/ml/test/test_emknearestkmeans.cpp using namespace std; std 357 modules/ml/test/test_emknearestkmeans.cpp const cv::Mat* _means=0, const std::vector<cv::Mat>* _covs=0) std 370 modules/ml/test/test_emknearestkmeans.cpp const std::vector<cv::Mat>* covs; std 591 modules/ml/test/test_emknearestkmeans.cpp errCaseCount = std::abs(em->predict2(samples.row(i), noArray())[1] - firstResult.at<int>(i)) < FLT_EPSILON ? 0 : 1; std 636 modules/ml/test/test_emknearestkmeans.cpp std::swap(trainSamplesMask[i1], trainSamplesMask[i2]); std 10 modules/ml/test/test_gbttest.cpp using namespace std; std 61 modules/ml/test/test_lr.cpp using namespace std; std 45 modules/ml/test/test_mltests.cpp using namespace std; std 45 modules/ml/test/test_mltests2.cpp using namespace std; std 51 modules/ml/test/test_precomp.hpp virtual std::string& get_validation_filename(); std 56 modules/ml/test/test_precomp.hpp float get_test_error( int testCaseIdx, std::vector<float> *resp = 0 ); std 61 modules/ml/test/test_precomp.hpp std::string modelName, validationFN; std 62 modules/ml/test/test_precomp.hpp std::vector<std::string> dataSetNames; std 67 modules/ml/test/test_precomp.hpp std::map<int, int> cls_map; std 91 modules/ml/test/test_precomp.hpp std::vector<float> test_resps1, test_resps2; // predicted responses for test data std 92 modules/ml/test/test_precomp.hpp std::string fname1, fname2; std 48 modules/ml/test/test_save_load.cpp using namespace std; std 163 modules/ml/test/test_save_load.cpp CV_LegacyTest(const std::string &_modelName, const std::string &_suffixes = std::string()) std 226 modules/ml/test/test_save_load.cpp std::vector<uchar> varTypes; std 45 modules/ml/test/test_svmtrainauto.cpp using namespace std; std 127 modules/objdetect/include/opencv2/objdetect.hpp double delta = eps*(std::min(r1.width, r2.width) + std::min(r1.height, r2.height))*0.5; std 128 modules/objdetect/include/opencv2/objdetect.hpp return std::abs(r1.x - r2.x) <= delta && std 129 modules/objdetect/include/opencv2/objdetect.hpp std::abs(r1.y - r2.y) <= delta && std 130 modules/objdetect/include/opencv2/objdetect.hpp std::abs(r1.x + r1.width - r2.x - r2.width) <= delta && std 131 modules/objdetect/include/opencv2/objdetect.hpp std::abs(r1.y + r1.height - r2.y - r2.height) <= delta; std 151 modules/objdetect/include/opencv2/objdetect.hpp CV_EXPORTS void groupRectangles(std::vector<Rect>& rectList, int groupThreshold, double eps = 0.2); std 153 modules/objdetect/include/opencv2/objdetect.hpp CV_EXPORTS_W void groupRectangles(CV_IN_OUT std::vector<Rect>& rectList, CV_OUT std::vector<int>& weights, std 156 modules/objdetect/include/opencv2/objdetect.hpp CV_EXPORTS void groupRectangles(std::vector<Rect>& rectList, int groupThreshold, std 157 modules/objdetect/include/opencv2/objdetect.hpp double eps, std::vector<int>* weights, std::vector<double>* levelWeights ); std 159 modules/objdetect/include/opencv2/objdetect.hpp CV_EXPORTS void groupRectangles(std::vector<Rect>& rectList, std::vector<int>& rejectLevels, std 160 modules/objdetect/include/opencv2/objdetect.hpp std::vector<double>& levelWeights, int groupThreshold, double eps = 0.2); std 162 modules/objdetect/include/opencv2/objdetect.hpp CV_EXPORTS void groupRectangles_meanshift(std::vector<Rect>& rectList, std::vector<double>& foundWeights, std 163 modules/objdetect/include/opencv2/objdetect.hpp std::vector<double>& foundScales, std 181 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<Rect>& objects, std 187 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<Rect>& objects, std 188 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<int>& numDetections, std 194 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<Rect>& objects, std 195 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<int>& rejectLevels, std 196 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<double>& levelWeights, std 267 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<Rect>& objects, std 289 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<Rect>& objects, std 290 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<int>& numDetections, std 300 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<Rect>& objects, std 301 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<int>& rejectLevels, std 302 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<double>& levelWeights, std 332 modules/objdetect/include/opencv2/objdetect.hpp std::vector<cv::Point> locations; std 334 modules/objdetect/include/opencv2/objdetect.hpp std::vector<double> confidences; std 388 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<float>& descriptors, std 390 modules/objdetect/include/opencv2/objdetect.hpp const std::vector<Point>& locations = std::vector<Point>()) const; std 393 modules/objdetect/include/opencv2/objdetect.hpp CV_WRAP virtual void detect(const Mat& img, CV_OUT std::vector<Point>& foundLocations, std 394 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<double>& weights, std 397 modules/objdetect/include/opencv2/objdetect.hpp const std::vector<Point>& searchLocations = std::vector<Point>()) const; std 399 modules/objdetect/include/opencv2/objdetect.hpp virtual void detect(const Mat& img, CV_OUT std::vector<Point>& foundLocations, std 402 modules/objdetect/include/opencv2/objdetect.hpp const std::vector<Point>& searchLocations=std::vector<Point>()) const; std 405 modules/objdetect/include/opencv2/objdetect.hpp CV_WRAP virtual void detectMultiScale(InputArray img, CV_OUT std::vector<Rect>& foundLocations, std 406 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<double>& foundWeights, double hitThreshold = 0, std 410 modules/objdetect/include/opencv2/objdetect.hpp virtual void detectMultiScale(InputArray img, CV_OUT std::vector<Rect>& foundLocations, std 418 modules/objdetect/include/opencv2/objdetect.hpp CV_WRAP static std::vector<float> getDefaultPeopleDetector(); std 419 modules/objdetect/include/opencv2/objdetect.hpp CV_WRAP static std::vector<float> getDaimlerPeopleDetector(); std 431 modules/objdetect/include/opencv2/objdetect.hpp CV_PROP std::vector<float> svmDetector; std 439 modules/objdetect/include/opencv2/objdetect.hpp virtual void detectROI(const cv::Mat& img, const std::vector<cv::Point> &locations, std 440 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<cv::Point>& foundLocations, CV_OUT std::vector<double>& confidences, std 446 modules/objdetect/include/opencv2/objdetect.hpp CV_OUT std::vector<cv::Rect>& foundLocations, std 447 modules/objdetect/include/opencv2/objdetect.hpp std::vector<DetectionROI>& locations, std 453 modules/objdetect/include/opencv2/objdetect.hpp void groupRectangles(std::vector<cv::Rect>& rectList, std::vector<double>& weights, int groupThreshold, double eps) const; std 79 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp virtual void detect(const cv::Mat& image, std::vector<cv::Rect>& objects) = 0; std 135 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp typedef std::pair<cv::Rect, int> Object; std 136 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp virtual void getObjects(std::vector<cv::Rect>& result) const; std 137 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp virtual void getObjects(std::vector<Object>& result) const; std 156 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp virtual void getObjects(std::vector<ExtObject>& result) const; std 184 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp typedef std::vector<cv::Rect> PositionsVector; std 206 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp std::vector<TrackedObject> trackedObjects; std 208 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp std::vector<float> weightsPositionsSmoothing; std 209 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp std::vector<float> weightsSizesSmoothing; std 213 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp void updateTrackedObjects(const std::vector<cv::Rect>& detectedObjects); std 216 modules/objdetect/include/opencv2/objdetect/detection_based_tracker.hpp void detectInRegion(const cv::Mat& img, const cv::Rect& r, std::vector<cv::Rect>& detectedObjectsInRegions); std 157 modules/objdetect/include/opencv2/objdetect/objdetect_c.h std::vector<int>& rejectLevels, std::vector<double>& levelWeightds, std 6 modules/objdetect/perf/opencl/perf_cascades.cpp using namespace std; std 9 modules/objdetect/perf/opencl/perf_cascades.cpp using std::tr1::make_tuple; std 10 modules/objdetect/perf/opencl/perf_cascades.cpp using std::tr1::get; std 12 modules/objdetect/perf/opencl/perf_cascades.cpp typedef std::tr1::tuple<std::string, std::string, int> Cascade_Image_MinSize_t; std 57 modules/objdetect/perf/opencl/perf_hogdetect.cpp public std::binary_function<cv::Rect, cv::Rect, bool> std 87 modules/objdetect/perf/opencl/perf_hogdetect.cpp std::sort(found_locations.begin(), found_locations.end(), RectLess()); std 52 modules/objdetect/src/cascadedetect.cpp template<typename _Tp> void copyVectorToUMat(const std::vector<_Tp>& v, UMat& um) std 59 modules/objdetect/src/cascadedetect.cpp void groupRectangles(std::vector<Rect>& rectList, int groupThreshold, double eps, std 60 modules/objdetect/src/cascadedetect.cpp std::vector<int>* weights, std::vector<double>* levelWeights) std 74 modules/objdetect/src/cascadedetect.cpp std::vector<int> labels; std 77 modules/objdetect/src/cascadedetect.cpp std::vector<Rect> rrects(nclasses); std 78 modules/objdetect/src/cascadedetect.cpp std::vector<int> rweights(nclasses, 0); std 79 modules/objdetect/src/cascadedetect.cpp std::vector<int> rejectLevels(nclasses, 0); std 80 modules/objdetect/src/cascadedetect.cpp std::vector<double> rejectWeights(nclasses, DBL_MIN); std 154 modules/objdetect/src/cascadedetect.cpp (n2 > std::max(3, n1) || n1 < 3) ) std 172 modules/objdetect/src/cascadedetect.cpp MeanshiftGrouping(const Point3d& densKer, const std::vector<Point3d>& posV, std 173 modules/objdetect/src/cascadedetect.cpp const std::vector<double>& wV, double eps, int maxIter = 20) std 192 modules/objdetect/src/cascadedetect.cpp void getModes(std::vector<Point3d>& modesV, std::vector<double>& resWeightsV, const double eps) std 220 modules/objdetect/src/cascadedetect.cpp std::vector<Point3d> positionsV; std 221 modules/objdetect/src/cascadedetect.cpp std::vector<double> weightsV; std 226 modules/objdetect/src/cascadedetect.cpp std::vector<Point3d> meanshiftV; std 227 modules/objdetect/src/cascadedetect.cpp std::vector<Point3d> distanceV; std 241 modules/objdetect/src/cascadedetect.cpp sPt.x *= std::exp(aPt.z); std 242 modules/objdetect/src/cascadedetect.cpp sPt.y *= std::exp(aPt.z); std 252 modules/objdetect/src/cascadedetect.cpp double w = (weightsV[i])*std::exp(-((aPt-bPt).dot(aPt-bPt))/2)/std::sqrt(sPt.dot(Point3d(1,1,1))); std 274 modules/objdetect/src/cascadedetect.cpp sPt.x *= std::exp(aPt.z); std 275 modules/objdetect/src/cascadedetect.cpp sPt.y *= std::exp(aPt.z); std 283 modules/objdetect/src/cascadedetect.cpp sumW+=(weightsV[i])*std::exp(-(aPt.dot(aPt))/2)/std::sqrt(sPt.dot(Point3d(1,1,1))); std 306 modules/objdetect/src/cascadedetect.cpp ns.x *= std::exp(p2.z); std 307 modules/objdetect/src/cascadedetect.cpp ns.y *= std::exp(p2.z); std 316 modules/objdetect/src/cascadedetect.cpp static void groupRectangles_meanshift(std::vector<Rect>& rectList, double detectThreshold, std::vector<double>* foundWeights, std 317 modules/objdetect/src/cascadedetect.cpp std::vector<double>& scales, Size winDetSize) std 320 modules/objdetect/src/cascadedetect.cpp std::vector<Point3d> hits(detectionCount), resultHits; std 321 modules/objdetect/src/cascadedetect.cpp std::vector<double> hitWeights(detectionCount), resultWeights; std 328 modules/objdetect/src/cascadedetect.cpp hits[i] = Point3d(hitCenter.x, hitCenter.y, std::log(scales[i])); std 335 modules/objdetect/src/cascadedetect.cpp double logZ = std::log(1.3); std 345 modules/objdetect/src/cascadedetect.cpp double scale = std::exp(resultHits[i].z); std 360 modules/objdetect/src/cascadedetect.cpp void groupRectangles(std::vector<Rect>& rectList, int groupThreshold, double eps) std 365 modules/objdetect/src/cascadedetect.cpp void groupRectangles(std::vector<Rect>& rectList, std::vector<int>& weights, int groupThreshold, double eps) std 370 modules/objdetect/src/cascadedetect.cpp void groupRectangles(std::vector<Rect>& rectList, std::vector<int>& rejectLevels, std 371 modules/objdetect/src/cascadedetect.cpp std::vector<double>& levelWeights, int groupThreshold, double eps) std 376 modules/objdetect/src/cascadedetect.cpp void groupRectangles_meanshift(std::vector<Rect>& rectList, std::vector<double>& foundWeights, std 377 modules/objdetect/src/cascadedetect.cpp std::vector<double>& foundScales, double detectThreshold, Size winDetSize) std 390 modules/objdetect/src/cascadedetect.cpp scaleData = makePtr<std::vector<ScaleData> >(); std 399 modules/objdetect/src/cascadedetect.cpp void FeatureEvaluator::getUMats(std::vector<UMat>& bufs) std 425 modules/objdetect/src/cascadedetect.cpp bool FeatureEvaluator::updateScaleData( Size imgsz, const std::vector<float>& _scales ) std 428 modules/objdetect/src/cascadedetect.cpp scaleData = makePtr<std::vector<ScaleData> >(); std 437 modules/objdetect/src/cascadedetect.cpp sbufSize.width = std::max(sbufSize.width, (int)alignSize(cvRound(imgsz.width/_scales[0]) + 31, 32)); std 468 modules/objdetect/src/cascadedetect.cpp sbufSize.height = std::max(sbufSize.height, layer_ofs.y); std 474 modules/objdetect/src/cascadedetect.cpp bool FeatureEvaluator::setImage( InputArray _image, const std::vector<float>& _scales ) std 485 modules/objdetect/src/cascadedetect.cpp sz0 = Size(std::max(rbuf.cols, (int)alignSize(sz0.width, 16)), std::max(rbuf.rows, sz0.height)); std 572 modules/objdetect/src/cascadedetect.cpp features = makePtr<std::vector<Feature> >(); std 574 modules/objdetect/src/cascadedetect.cpp optfeatures = makePtr<std::vector<OptFeature> >(); std 576 modules/objdetect/src/cascadedetect.cpp optfeatures_lbuf = makePtr<std::vector<OptFeature> >(); std 580 modules/objdetect/src/cascadedetect.cpp std::vector<Feature>& ff = *features; std 669 modules/objdetect/src/cascadedetect.cpp const std::vector<Feature>& ff = *features; std 700 modules/objdetect/src/cascadedetect.cpp nf = std::sqrt(nf); std 753 modules/objdetect/src/cascadedetect.cpp features = makePtr<std::vector<Feature> >(); std 754 modules/objdetect/src/cascadedetect.cpp optfeatures = makePtr<std::vector<OptFeature> >(); std 755 modules/objdetect/src/cascadedetect.cpp scaleData = makePtr<std::vector<ScaleData> >(); std 767 modules/objdetect/src/cascadedetect.cpp features = makePtr<std::vector<Feature> >(); std 769 modules/objdetect/src/cascadedetect.cpp optfeatures = makePtr<std::vector<OptFeature> >(); std 771 modules/objdetect/src/cascadedetect.cpp optfeatures_lbuf = makePtr<std::vector<OptFeature> >(); std 776 modules/objdetect/src/cascadedetect.cpp std::vector<Feature>& ff = *features; std 820 modules/objdetect/src/cascadedetect.cpp const std::vector<Feature>& ff = *features; std 958 modules/objdetect/src/cascadedetect.cpp const int* _stripeSizes, std::vector<Rect>& _vec, std 959 modules/objdetect/src/cascadedetect.cpp std::vector<int>& _levels, std::vector<double>& _weights, std 988 modules/objdetect/src/cascadedetect.cpp int y1 = std::min(range.end*stripeSize, szw.height); std 1028 modules/objdetect/src/cascadedetect.cpp std::vector<Rect>* rectangles; std 1032 modules/objdetect/src/cascadedetect.cpp std::vector<int> *rejectLevels; std 1033 modules/objdetect/src/cascadedetect.cpp std::vector<double> *levelWeights; std 1034 modules/objdetect/src/cascadedetect.cpp std::vector<float> scales; std 1044 modules/objdetect/src/cascadedetect.cpp bool CascadeClassifierImpl::ocl_detectMultiScaleNoGrouping( const std::vector<float>& scales, std 1045 modules/objdetect/src/cascadedetect.cpp std::vector<Rect>& candidates ) std 1048 modules/objdetect/src/cascadedetect.cpp std::vector<UMat> bufs; std 1161 modules/objdetect/src/cascadedetect.cpp nfaces = std::min(nfaces, (int)MAX_FACES); std 1196 modules/objdetect/src/cascadedetect.cpp std::vector<Rect>& objects, std 1197 modules/objdetect/src/cascadedetect.cpp std::vector<int>& rejectLevels, std 1198 modules/objdetect/src/cascadedetect.cpp std::vector<double>& levelWeights, std 1199 modules/objdetect/src/cascadedetect.cpp std::vector<CvAvgComp>& vecAvgComp, std 1210 modules/objdetect/src/cascadedetect.cpp std::transform(vecAvgComp.begin(), vecAvgComp.end(), objects.begin(), getRect()); std 1214 modules/objdetect/src/cascadedetect.cpp void CascadeClassifierImpl::detectMultiScaleNoGrouping( InputArray _image, std::vector<Rect>& candidates, std 1215 modules/objdetect/src/cascadedetect.cpp std::vector<int>& rejectLevels, std::vector<double>& levelWeights, std 1262 modules/objdetect/src/cascadedetect.cpp std::vector<float> scales; std 1302 modules/objdetect/src/cascadedetect.cpp stripeSizes[i] = std::max((szw.height/s[i].ystep + nstripes-1)/nstripes, 1)*s[i].ystep; std 1313 modules/objdetect/src/cascadedetect.cpp void CascadeClassifierImpl::detectMultiScale( InputArray _image, std::vector<Rect>& objects, std 1314 modules/objdetect/src/cascadedetect.cpp std::vector<int>& rejectLevels, std 1315 modules/objdetect/src/cascadedetect.cpp std::vector<double>& levelWeights, std 1328 modules/objdetect/src/cascadedetect.cpp std::vector<CvAvgComp> fakeVecAvgComp; std 1348 modules/objdetect/src/cascadedetect.cpp void CascadeClassifierImpl::detectMultiScale( InputArray _image, std::vector<Rect>& objects, std 1352 modules/objdetect/src/cascadedetect.cpp std::vector<int> fakeLevels; std 1353 modules/objdetect/src/cascadedetect.cpp std::vector<double> fakeWeights; std 1358 modules/objdetect/src/cascadedetect.cpp void CascadeClassifierImpl::detectMultiScale( InputArray _image, std::vector<Rect>& objects, std 1359 modules/objdetect/src/cascadedetect.cpp std::vector<int>& numDetections, double scaleFactor, std 1369 modules/objdetect/src/cascadedetect.cpp std::vector<int> fakeLevels; std 1370 modules/objdetect/src/cascadedetect.cpp std::vector<double> fakeWeights; std 1373 modules/objdetect/src/cascadedetect.cpp std::vector<CvAvgComp> vecAvgComp; std 1377 modules/objdetect/src/cascadedetect.cpp std::transform(vecAvgComp.begin(), vecAvgComp.end(), numDetections.begin(), getNeighbors()); std 1468 modules/objdetect/src/cascadedetect.cpp minNodesPerTree = std::min(minNodesPerTree, tree.nodeCount); std 1469 modules/objdetect/src/cascadedetect.cpp maxNodesPerTree = std::max(maxNodesPerTree, tree.nodeCount); std 1590 modules/objdetect/src/cascadedetect.cpp void clipObjects(Size sz, std::vector<Rect>& objects, std 1591 modules/objdetect/src/cascadedetect.cpp std::vector<int>* a, std::vector<double>* b) std 1628 modules/objdetect/src/cascadedetect.cpp CV_OUT std::vector<Rect>& objects, std 1640 modules/objdetect/src/cascadedetect.cpp CV_OUT std::vector<Rect>& objects, std 1641 modules/objdetect/src/cascadedetect.cpp CV_OUT std::vector<int>& numDetections, std 1653 modules/objdetect/src/cascadedetect.cpp CV_OUT std::vector<Rect>& objects, std 1654 modules/objdetect/src/cascadedetect.cpp CV_OUT std::vector<int>& rejectLevels, std 1655 modules/objdetect/src/cascadedetect.cpp CV_OUT std::vector<double>& levelWeights, std 8 modules/objdetect/src/cascadedetect.hpp void clipObjects(Size sz, std::vector<Rect>& objects, std 9 modules/objdetect/src/cascadedetect.hpp std::vector<int>* a, std::vector<double>* b); std 26 modules/objdetect/src/cascadedetect.hpp return Size(std::max(szi.width - winSize.width, 0), std 27 modules/objdetect/src/cascadedetect.hpp std::max(szi.height - winSize.height, 0)); std 42 modules/objdetect/src/cascadedetect.hpp virtual bool setImage(InputArray img, const std::vector<float>& scales); std 49 modules/objdetect/src/cascadedetect.hpp virtual void getUMats(std::vector<UMat>& bufs); std 64 modules/objdetect/src/cascadedetect.hpp bool updateScaleData( Size imgsz, const std::vector<float>& _scales ); std 73 modules/objdetect/src/cascadedetect.hpp Ptr<std::vector<ScaleData> > scaleData; std 88 modules/objdetect/src/cascadedetect.hpp CV_OUT std::vector<Rect>& objects, std 95 modules/objdetect/src/cascadedetect.hpp CV_OUT std::vector<Rect>& objects, std 96 modules/objdetect/src/cascadedetect.hpp CV_OUT std::vector<int>& numDetections, std 103 modules/objdetect/src/cascadedetect.hpp CV_OUT std::vector<Rect>& objects, std 104 modules/objdetect/src/cascadedetect.hpp CV_OUT std::vector<int>& rejectLevels, std 105 modules/objdetect/src/cascadedetect.hpp CV_OUT std::vector<double>& levelWeights, std 125 modules/objdetect/src/cascadedetect.hpp int yStep, double factor, std::vector<Rect>& candidates, std 126 modules/objdetect/src/cascadedetect.hpp std::vector<int>& rejectLevels, std::vector<double>& levelWeights, std 128 modules/objdetect/src/cascadedetect.hpp bool ocl_detectMultiScaleNoGrouping( const std::vector<float>& scales, std 129 modules/objdetect/src/cascadedetect.hpp std::vector<Rect>& candidates ); std 131 modules/objdetect/src/cascadedetect.hpp void detectMultiScaleNoGrouping( InputArray image, std::vector<Rect>& candidates, std 132 modules/objdetect/src/cascadedetect.hpp std::vector<int>& rejectLevels, std::vector<double>& levelWeights, std 206 modules/objdetect/src/cascadedetect.hpp std::vector<Stage> stages; std 207 modules/objdetect/src/cascadedetect.hpp std::vector<DTree> classifiers; std 208 modules/objdetect/src/cascadedetect.hpp std::vector<DTreeNode> nodes; std 209 modules/objdetect/src/cascadedetect.hpp std::vector<float> leaves; std 210 modules/objdetect/src/cascadedetect.hpp std::vector<int> subsets; std 211 modules/objdetect/src/cascadedetect.hpp std::vector<Stump> stumps; std 366 modules/objdetect/src/cascadedetect.hpp Ptr<std::vector<Feature> > features; std 367 modules/objdetect/src/cascadedetect.hpp Ptr<std::vector<OptFeature> > optfeatures; std 368 modules/objdetect/src/cascadedetect.hpp Ptr<std::vector<OptFeature> > optfeatures_lbuf; std 448 modules/objdetect/src/cascadedetect.hpp Ptr<std::vector<Feature> > features; std 449 modules/objdetect/src/cascadedetect.hpp Ptr<std::vector<OptFeature> > optfeatures; std 450 modules/objdetect/src/cascadedetect.hpp Ptr<std::vector<OptFeature> > optfeatures_lbuf; std 104 modules/objdetect/src/cascadedetect_convert.cpp std::vector<HaarClassifierNode> nodes; std 105 modules/objdetect/src/cascadedetect_convert.cpp std::vector<float> leaves; std 111 modules/objdetect/src/cascadedetect_convert.cpp std::vector<HaarClassifier> weaks; std 127 modules/objdetect/src/cascadedetect_convert.cpp std::vector<HaarFeature> features; std 133 modules/objdetect/src/cascadedetect_convert.cpp std::vector<HaarStageClassifier> stages(nstages); std 203 modules/objdetect/src/cascadedetect_convert.cpp maxWeakCount = std::max(maxWeakCount, (int)stages[i].weaks.size()); std 129 modules/objdetect/src/detection_based_tracker.cpp bool communicateWithDetectingThread(const Mat& imageGray, std::vector<Rect>& rectsWhereRegions); std 160 modules/objdetect/src/detection_based_tracker.cpp std::thread second_workthread; std 161 modules/objdetect/src/detection_based_tracker.cpp std::mutex mtx; std 162 modules/objdetect/src/detection_based_tracker.cpp std::unique_lock<std::mutex> mtx_lock; std 163 modules/objdetect/src/detection_based_tracker.cpp std::condition_variable objectDetectorRun; std 164 modules/objdetect/src/detection_based_tracker.cpp std::condition_variable objectDetectorThreadStartStop; std 171 modules/objdetect/src/detection_based_tracker.cpp std::vector<cv::Rect> resultDetect; std 204 modules/objdetect/src/detection_based_tracker.cpp mtx_lock = std::unique_lock<std::mutex>(mtx); std 211 modules/objdetect/src/detection_based_tracker.cpp throw(std::exception()); std 217 modules/objdetect/src/detection_based_tracker.cpp throw(std::exception()); std 224 modules/objdetect/src/detection_based_tracker.cpp throw(std::exception()); std 259 modules/objdetect/src/detection_based_tracker.cpp second_workthread = std::thread(workcycleObjectDetectorFunction, (void*)this); //TODO: add attributes? std 277 modules/objdetect/src/detection_based_tracker.cpp } catch(std::exception& e) { \ std 307 modules/objdetect/src/detection_based_tracker.cpp std::vector<Rect> objects; std 512 modules/objdetect/src/detection_based_tracker.cpp bool cv::DetectionBasedTracker::SeparateDetectionWork::communicateWithDetectingThread(const Mat& imageGray, std::vector<Rect>& rectsWhereRegions) std 639 modules/objdetect/src/detection_based_tracker.cpp std::vector<Rect> rectsWhereRegions; std 675 modules/objdetect/src/detection_based_tracker.cpp std::vector<Rect> detectedObjectsInRegions; std 688 modules/objdetect/src/detection_based_tracker.cpp void cv::DetectionBasedTracker::getObjects(std::vector<cv::Rect>& result) const std 702 modules/objdetect/src/detection_based_tracker.cpp void cv::DetectionBasedTracker::getObjects(std::vector<Object>& result) const std 715 modules/objdetect/src/detection_based_tracker.cpp void cv::DetectionBasedTracker::getObjects(std::vector<ExtObject>& result) const std 750 modules/objdetect/src/detection_based_tracker.cpp void cv::DetectionBasedTracker::updateTrackedObjects(const std::vector<Rect>& detectedObjects) std 765 modules/objdetect/src/detection_based_tracker.cpp std::vector<int> correspondence(detectedObjects.size(), NEW_RECTANGLE); std 847 modules/objdetect/src/detection_based_tracker.cpp std::vector<TrackedObject>::iterator it=trackedObjects.begin(); std 912 modules/objdetect/src/detection_based_tracker.cpp int Nsize=std::min(N, (int)weightsSizesSmoothing.size()); std 913 modules/objdetect/src/detection_based_tracker.cpp int Ncenter= std::min(N, (int)weightsPositionsSmoothing.size()); std 971 modules/objdetect/src/detection_based_tracker.cpp void cv::DetectionBasedTracker::detectInRegion(const Mat& img, const Rect& r, std::vector<Rect>& detectedObjectsInRegions) std 982 modules/objdetect/src/detection_based_tracker.cpp int d = cvRound(std::min(r.width, r.height) * innerParameters.coeffObjectSizeToTrack); std 984 modules/objdetect/src/detection_based_tracker.cpp std::vector<Rect> tmpobjects; std 858 modules/objdetect/src/haar.cpp variance_norm_factor = std::sqrt(variance_norm_factor); std 1287 modules/objdetect/src/haar.cpp Mat* _mask1, Rect _equRect, std::vector<Rect>& _vec, std 1288 modules/objdetect/src/haar.cpp std::vector<int>& _levels, std::vector<double>& _weights, std 1309 modules/objdetect/src/haar.cpp int y1 = range.start*stripSize, y2 = std::min(range.end*stripSize, sum1.rows - 1 - winSize0.height); std 1413 modules/objdetect/src/haar.cpp std::vector<Rect>* vec; std 1414 modules/objdetect/src/haar.cpp std::vector<int>* rejectLevels; std 1415 modules/objdetect/src/haar.cpp std::vector<double>* levelWeights; std 1426 modules/objdetect/src/haar.cpp std::vector<Rect>& _vec, Mutex* _mtx ) std 1484 modules/objdetect/src/haar.cpp std::vector<Rect>* vec; std 1495 modules/objdetect/src/haar.cpp std::vector<int>& rejectLevels, std::vector<double>& levelWeights, std 1505 modules/objdetect/src/haar.cpp std::vector<cv::Rect> allCandidates; std 1506 modules/objdetect/src/haar.cpp std::vector<cv::Rect> rectList; std 1507 modules/objdetect/src/haar.cpp std::vector<int> rweights; std 1610 modules/objdetect/src/haar.cpp stripCount = std::min(std::max(stripCount, 1), 100); std 1660 modules/objdetect/src/haar.cpp const double ystep = std::max( 2., factor ); std 1727 modules/objdetect/src/haar.cpp std::copy(allCandidates.begin(), allCandidates.end(), rectList.begin()); std 1729 modules/objdetect/src/haar.cpp groupRectangles(rectList, std::max(minNeighbors, 1), GROUP_EPS); std 1747 modules/objdetect/src/haar.cpp scanROI.x = std::max(scanROI.x - dx, 0); std 1748 modules/objdetect/src/haar.cpp scanROI.y = std::max(scanROI.y - dy, 0); std 1749 modules/objdetect/src/haar.cpp scanROI.width = std::min(scanROI.width + dx*2, img->cols-1-scanROI.x); std 1750 modules/objdetect/src/haar.cpp scanROI.height = std::min(scanROI.height + dy*2, img->rows-1-scanROI.y); std 1762 modules/objdetect/src/haar.cpp std::copy(allCandidates.begin(), allCandidates.end(), rectList.begin()); std 1772 modules/objdetect/src/haar.cpp groupRectangles(rectList, rweights, std::max(minNeighbors, 1), GROUP_EPS); std 1813 modules/objdetect/src/haar.cpp std::vector<int> fakeLevels; std 1814 modules/objdetect/src/haar.cpp std::vector<double> fakeWeights; std 265 modules/objdetect/src/hog.cpp _lut(0,i) = std::sqrt((float)i); std 511 modules/objdetect/src/hog.cpp std::vector<PixData> pixData; std 512 modules/objdetect/src/hog.cpp std::vector<BlockData> blockData; std 515 modules/objdetect/src/hog.cpp std::vector<int> ymaxCached; std 629 modules/objdetect/src/hog.cpp weights(i,j) = std::exp(-(_di[i] + _dj[j])*scale); std 995 modules/objdetect/src/hog.cpp float scale = 1.f/(std::sqrt(sum)+sz*0.1f), thresh = (float)descriptor->L2HysThreshold; std 1024 modules/objdetect/src/hog.cpp hist[i] = std::min(hist[i]*scale, thresh); std 1025 modules/objdetect/src/hog.cpp hist[i+1] = std::min(hist[i+1]*scale, thresh); std 1026 modules/objdetect/src/hog.cpp hist[i+2] = std::min(hist[i+2]*scale, thresh); std 1027 modules/objdetect/src/hog.cpp hist[i+3] = std::min(hist[i+3]*scale, thresh); std 1039 modules/objdetect/src/hog.cpp hist[i] = std::min(hist[i]*scale, thresh); std 1043 modules/objdetect/src/hog.cpp scale = 1.f/(std::sqrt(sum)+1e-3f), i = 0; std 1073 modules/objdetect/src/hog.cpp std::swap(a, b); std 1326 modules/objdetect/src/hog.cpp static bool ocl_compute(InputArray _img, Size win_stride, std::vector<float>& _descriptors, int descr_format, Size blockSize, std 1348 modules/objdetect/src/hog.cpp gaussian_lut.at<float>(idx++) = std::exp(-(j * j + i * i) * scale); std 1395 modules/objdetect/src/hog.cpp void HOGDescriptor::compute(InputArray _img, std::vector<float>& descriptors, std 1396 modules/objdetect/src/hog.cpp Size winStride, Size padding, const std::vector<Point>& locations) const std 1406 modules/objdetect/src/hog.cpp padding.width = (int)alignSize(std::max(padding.width, 0), cacheStride.width); std 1407 modules/objdetect/src/hog.cpp padding.height = (int)alignSize(std::max(padding.height, 0), cacheStride.height); std 1460 modules/objdetect/src/hog.cpp std::vector<Point>& hits, std::vector<double>& weights, double hitThreshold, std 1461 modules/objdetect/src/hog.cpp Size winStride, Size padding, const std::vector<Point>& locations) const std 1474 modules/objdetect/src/hog.cpp padding.width = (int)alignSize(std::max(padding.width, 0), cacheStride.width); std 1475 modules/objdetect/src/hog.cpp padding.height = (int)alignSize(std::max(padding.height, 0), cacheStride.height); std 1490 modules/objdetect/src/hog.cpp std::vector<float> blockHist(blockHistogramSize); std 1554 modules/objdetect/src/hog.cpp void HOGDescriptor::detect(const Mat& img, std::vector<Point>& hits, double hitThreshold, std 1555 modules/objdetect/src/hog.cpp Size winStride, Size padding, const std::vector<Point>& locations) const std 1557 modules/objdetect/src/hog.cpp std::vector<double> weightsV; std 1567 modules/objdetect/src/hog.cpp const double* _levelScale, std::vector<Rect> * _vec, Mutex* _mtx, std 1568 modules/objdetect/src/hog.cpp std::vector<double>* _weights=0, std::vector<double>* _scales=0 ) std 1585 modules/objdetect/src/hog.cpp double minScale = i1 > 0 ? levelScale[i1] : i2 > 1 ? levelScale[i1+1] : std::max(img.cols, img.rows); std 1588 modules/objdetect/src/hog.cpp std::vector<Point> locations; std 1589 modules/objdetect/src/hog.cpp std::vector<double> hitsWeights; std 1631 modules/objdetect/src/hog.cpp std::vector<Rect>* vec; std 1632 modules/objdetect/src/hog.cpp std::vector<double>* weights; std 1633 modules/objdetect/src/hog.cpp std::vector<double>* scales; std 1724 modules/objdetect/src/hog.cpp static bool ocl_detect(InputArray img, std::vector<Point> &hits, double hit_threshold, Size win_stride, std 1750 modules/objdetect/src/hog.cpp gaussian_lut.at<float>(idx++) = std::exp(-(j * j + i * i) * scale); std 1792 modules/objdetect/src/hog.cpp static bool ocl_detectMultiScale(InputArray _img, std::vector<Rect> &found_locations, std::vector<double>& level_scale, std 1798 modules/objdetect/src/hog.cpp std::vector<Rect> all_candidates; std 1799 modules/objdetect/src/hog.cpp std::vector<Point> locations; std 1835 modules/objdetect/src/hog.cpp InputArray _img, std::vector<Rect>& foundLocations, std::vector<double>& foundWeights, std 1843 modules/objdetect/src/hog.cpp std::vector<double> levelScale; std 1853 modules/objdetect/src/hog.cpp levels = std::max(levels, 1); std 1864 modules/objdetect/src/hog.cpp std::vector<Rect> allCandidates; std 1865 modules/objdetect/src/hog.cpp std::vector<double> tempScales; std 1866 modules/objdetect/src/hog.cpp std::vector<double> tempWeights; std 1867 modules/objdetect/src/hog.cpp std::vector<double> foundScales; std 1875 modules/objdetect/src/hog.cpp std::copy(tempScales.begin(), tempScales.end(), back_inserter(foundScales)); std 1877 modules/objdetect/src/hog.cpp std::copy(allCandidates.begin(), allCandidates.end(), back_inserter(foundLocations)); std 1879 modules/objdetect/src/hog.cpp std::copy(tempWeights.begin(), tempWeights.end(), back_inserter(foundWeights)); std 1888 modules/objdetect/src/hog.cpp void HOGDescriptor::detectMultiScale(InputArray img, std::vector<Rect>& foundLocations, std 1892 modules/objdetect/src/hog.cpp std::vector<double> foundWeights; std 1953 modules/objdetect/src/hog.cpp std::vector<float> HOGDescriptor::getDefaultPeopleDetector() std 2761 modules/objdetect/src/hog.cpp return std::vector<float>(detector, detector + sizeof(detector)/sizeof(detector[0])); std 2766 modules/objdetect/src/hog.cpp std::vector<float> HOGDescriptor::getDaimlerPeopleDetector() std 3265 modules/objdetect/src/hog.cpp return std::vector<float>(detector, detector + sizeof(detector)/sizeof(detector[0])); std 3274 modules/objdetect/src/hog.cpp std::vector<DetectionROI>* locs, std 3275 modules/objdetect/src/hog.cpp std::vector<Rect>* _vec, Mutex* _mtx ) std 3292 modules/objdetect/src/hog.cpp std::vector<Point> dets; std 3320 modules/objdetect/src/hog.cpp std::vector<DetectionROI>* locations; std 3322 modules/objdetect/src/hog.cpp std::vector<Rect>* vec; std 3326 modules/objdetect/src/hog.cpp void HOGDescriptor::detectROI(const cv::Mat& img, const std::vector<cv::Point> &locations, std 3327 modules/objdetect/src/hog.cpp CV_OUT std::vector<cv::Point>& foundLocations, CV_OUT std::vector<double>& confidences, std 3342 modules/objdetect/src/hog.cpp padding.width = (int)alignSize(std::max(padding.width, 0), cacheStride.width); std 3343 modules/objdetect/src/hog.cpp padding.height = (int)alignSize(std::max(padding.height, 0), cacheStride.height); std 3358 modules/objdetect/src/hog.cpp std::vector<float> blockHist(blockHistogramSize); std 3420 modules/objdetect/src/hog.cpp CV_OUT std::vector<cv::Rect>& foundLocations, std::vector<DetectionROI>& locations, std 3423 modules/objdetect/src/hog.cpp std::vector<Rect> allCandidates; std 3431 modules/objdetect/src/hog.cpp std::copy(allCandidates.begin(), allCandidates.end(), foundLocations.begin()); std 3503 modules/objdetect/src/hog.cpp std::vector<float> detector; std 3527 modules/objdetect/src/hog.cpp void HOGDescriptor::groupRectangles(std::vector<cv::Rect>& rectList, std::vector<double>& weights, int groupThreshold, double eps) const std 3536 modules/objdetect/src/hog.cpp std::vector<int> labels; std 3539 modules/objdetect/src/hog.cpp std::vector<cv::Rect_<double> > rrects(nclasses); std 3540 modules/objdetect/src/hog.cpp std::vector<int> numInClass(nclasses, 0); std 3541 modules/objdetect/src/hog.cpp std::vector<double> foundWeights(nclasses, -std::numeric_limits<double>::max()); std 3593 modules/objdetect/src/hog.cpp (n2 > std::max(3, n1) || n1 < 3) ) std 85 modules/objdetect/test/opencl/test_hogdetector.cpp std::vector<float> cpu_descriptors; std 86 modules/objdetect/test/opencl/test_hogdetector.cpp std::vector<float> gpu_descriptors; std 107 modules/objdetect/test/opencl/test_hogdetector.cpp std::vector<Rect> cpu_found; std 108 modules/objdetect/test/opencl/test_hogdetector.cpp std::vector<Rect> gpu_found; std 47 modules/objdetect/test/test_cascadeandhog.cpp using namespace std; std 691 modules/objdetect/test/test_cascadeandhog.cpp weights(i,j) = std::exp(-(di*di + dj*dj)*scale); std 954 modules/objdetect/test/test_cascadeandhog.cpp float scale = 1.f/(std::sqrt(sum)+sz*0.1f), thresh = (float)descriptor->L2HysThreshold; std 958 modules/objdetect/test/test_cascadeandhog.cpp hist[i] = std::min(hist[i]*scale, thresh); std 959 modules/objdetect/test/test_cascadeandhog.cpp hist[i+1] = std::min(hist[i+1]*scale, thresh); std 960 modules/objdetect/test/test_cascadeandhog.cpp hist[i+2] = std::min(hist[i+2]*scale, thresh); std 961 modules/objdetect/test/test_cascadeandhog.cpp hist[i+3] = std::min(hist[i+3]*scale, thresh); std 972 modules/objdetect/test/test_cascadeandhog.cpp hist[i] = std::min(hist[i]*scale, thresh); std 976 modules/objdetect/test/test_cascadeandhog.cpp scale = 1.f/(std::sqrt(sum)+1e-3f); std 1018 modules/objdetect/test/test_cascadeandhog.cpp padding.width = (int)alignSize(std::max(padding.width, 0), cacheStride.width); std 1019 modules/objdetect/test/test_cascadeandhog.cpp padding.height = (int)alignSize(std::max(padding.height, 0), cacheStride.height); std 1074 modules/objdetect/test/test_cascadeandhog.cpp std::vector<Point> actual_find_locations; std 1075 modules/objdetect/test/test_cascadeandhog.cpp std::vector<double> actual_weights; std 1079 modules/objdetect/test/test_cascadeandhog.cpp if (!std::equal(hits.begin(), hits.end(), std 1120 modules/objdetect/test/test_cascadeandhog.cpp padding.width = (int)alignSize(std::max(padding.width, 0), cacheStride.width); std 1121 modules/objdetect/test/test_cascadeandhog.cpp padding.height = (int)alignSize(std::max(padding.height, 0), cacheStride.height); std 1168 modules/objdetect/test/test_cascadeandhog.cpp std::vector<float> actual_descriptors; std 1206 modules/objdetect/test/test_cascadeandhog.cpp _lut(0,i) = std::sqrt((float)i); std 1355 modules/objdetect/test/test_cascadeandhog.cpp std::vector<Point> hits; std 1356 modules/objdetect/test/test_cascadeandhog.cpp std::vector<double> weights; std 1360 modules/objdetect/test/test_cascadeandhog.cpp std::vector<float> descriptors; std 166 modules/photo/include/opencv2/photo.hpp const std::vector<float>& h, std 246 modules/photo/include/opencv2/photo.hpp const std::vector<float>& h, std 315 modules/photo/include/opencv2/photo.hpp CV_EXPORTS_W void denoise_TVL1(const std::vector<Mat>& observations,Mat& result, double lambda=1.0, int niters=30); std 488 modules/photo/include/opencv2/photo.hpp CV_WRAP virtual void process(InputArrayOfArrays src, std::vector<Mat>& dst, std 504 modules/photo/include/opencv2/photo.hpp CV_WRAP virtual void process(InputArrayOfArrays src, std::vector<Mat>& dst, std 512 modules/photo/include/opencv2/photo.hpp CV_WRAP virtual void process(InputArrayOfArrays src, std::vector<Mat>& dst) = 0; std 52 modules/photo/perf/perf_cuda.cpp using namespace std; std 3 modules/photo/perf/perf_inpaint.cpp using namespace std; std 6 modules/photo/perf/perf_inpaint.cpp using std::tr1::make_tuple; std 7 modules/photo/perf/perf_inpaint.cpp using std::tr1::get; std 10 modules/photo/perf/perf_inpaint.cpp typedef std::tr1::tuple<Size, InpaintingMethod> InpaintArea_InpaintingMethod_t; std 61 modules/photo/src/align.cpp void process(InputArrayOfArrays src, std::vector<Mat>& dst, std 67 modules/photo/src/align.cpp void process(InputArrayOfArrays _src, std::vector<Mat>& dst) std 69 modules/photo/src/align.cpp std::vector<Mat> src; std 79 modules/photo/src/align.cpp std::vector<Point> shifts; std 125 modules/photo/src/align.cpp std::vector<Mat> pyr0; std 126 modules/photo/src/align.cpp std::vector<Mat> pyr1; std 237 modules/photo/src/align.cpp void buildPyr(Mat& img, std::vector<Mat>& pyr, int maxlevel) std 66 modules/photo/src/calibrate.cpp std::vector<Mat> images; std 80 modules/photo/src/calibrate.cpp std::vector<Point> sample_points; std 100 modules/photo/src/calibrate.cpp std::vector<Mat> result_split(channels); std 186 modules/photo/src/calibrate.cpp std::vector<Mat> images; std 50 modules/photo/src/contrast_preserve.cpp using namespace std; std 69 modules/photo/src/contrast_preserve.cpp double pre_E = std::numeric_limits<double>::infinity(); std 48 modules/photo/src/contrast_preserve.hpp using namespace std; std 60 modules/photo/src/denoise_tvl1.cpp using std::transform; std 74 modules/photo/src/denoise_tvl1.cpp void denoise_TVL1(const std::vector<Mat>& observations,Mat& result, double lambda, int niters){ std 90 modules/photo/src/denoise_tvl1.cpp std::vector< Mat_<double> > Rs(observations.size()); std 104 modules/photo/src/denoise_tvl1.cpp const double* x_next = X.ptr<double>(std::min(y+1, rows-1)); std 111 modules/photo/src/denoise_tvl1.cpp m = 1.0/std::max(std::sqrt(dx*dx + dy*dy), 1.0); std 116 modules/photo/src/denoise_tvl1.cpp m = 1.0/std::max(std::abs(dy), 1.0); std 136 modules/photo/src/denoise_tvl1.cpp const Point2d* p_prev = P.ptr<Point2d>(std::max(y - 1, 0)); std 49 modules/photo/src/denoising.cpp static void fastNlMeansDenoising_( const Mat& src, Mat& dst, const std::vector<float>& h, std 53 modules/photo/src/denoising.cpp double granularity = (double)std::max(1., (double)dst.total()/(1 << 17)); std 107 modules/photo/src/denoising.cpp fastNlMeansDenoising(_src, _dst, std::vector<float>(1, h), std 111 modules/photo/src/denoising.cpp void cv::fastNlMeansDenoising( InputArray _src, OutputArray _dst, const std::vector<float>& h, std 209 modules/photo/src/denoising.cpp const std::vector<Mat>& srcImgs, std 242 modules/photo/src/denoising.cpp static void fastNlMeansDenoisingMulti_( const std::vector<Mat>& srcImgs, Mat& dst, std 244 modules/photo/src/denoising.cpp const std::vector<float>& h, std 248 modules/photo/src/denoising.cpp double granularity = (double)std::max(1., (double)dst.total()/(1 << 16)); std 312 modules/photo/src/denoising.cpp std::vector<float>(1, h), templateWindowSize, searchWindowSize); std 317 modules/photo/src/denoising.cpp const std::vector<float>& h, std 320 modules/photo/src/denoising.cpp std::vector<Mat> srcImgs; std 381 modules/photo/src/denoising.cpp std::vector<Mat> srcImgs; std 403 modules/photo/src/denoising.cpp std::vector<Mat> src_lab(src_imgs_size); std 404 modules/photo/src/denoising.cpp std::vector<Mat> l(src_imgs_size); std 405 modules/photo/src/denoising.cpp std::vector<Mat> ab(src_imgs_size); std 80 modules/photo/src/fast_nlmeans_denoising_invoker.hpp std::vector<WT> almost_dist2weight_; std 122 modules/photo/src/fast_nlmeans_denoising_invoker.hpp fixed_point_mult_ = (int)std::min<IT>(std::numeric_limits<IT>::max() / max_estimate_sum_value, std 73 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp return std::numeric_limits<sampleType>::max(); std 78 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp return std::numeric_limits<sampleType>::min(); std 98 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp return std::abs((int)(a-b)); std 106 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp return std::abs((int)(a[0]-b[0])) + std::abs((int)(a[1]-b[1])); std 115 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp std::abs((int)(a[0]-b[0])) + std 116 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp std::abs((int)(a[1]-b[1])) + std 117 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp std::abs((int)(a[2]-b[2])); std 126 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp std::abs((int)(a[0]-b[0])) + std 127 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp std::abs((int)(a[1]-b[1])) + std 128 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp std::abs((int)(a[2]-b[2])) + std 129 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp std::abs((int)(a[3]-b[3])); std 137 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp double w = std::exp(-dist*dist / (h[0]*h[0] * pixelInfo<T>::channels)); std 138 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp if (std::isnan(w)) w = 1.0; // Handle h = 0.0 std 259 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp double w = std::exp(-dist / (h[0]*h[0] * pixelInfo<T>::channels)); std 260 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp if (std::isnan(w)) w = 1.0; // Handle h = 0.0 std 38 modules/photo/src/fast_nlmeans_denoising_opencl.hpp std::numeric_limits<ST>::max(); std 39 modules/photo/src/fast_nlmeans_denoising_opencl.hpp int fixedPointMult = (int)std::min<WT>(std::numeric_limits<WT>::max() / maxEstimateSumValue, std 40 modules/photo/src/fast_nlmeans_denoising_opencl.hpp std::numeric_limits<int>::max()); std 55 modules/photo/src/fast_nlmeans_denoising_opencl.hpp int maxDist = normType == NORM_L1 ? std::numeric_limits<ST>::max() * cn : std 56 modules/photo/src/fast_nlmeans_denoising_opencl.hpp std::numeric_limits<ST>::max() * std::numeric_limits<ST>::max() * cn; std 151 modules/photo/src/fast_nlmeans_denoising_opencl.hpp mixChannels(std::vector<UMat>(1, _src.getUMat()), std::vector<UMat>(1, src), from_to, 3); std 180 modules/photo/src/fast_nlmeans_denoising_opencl.hpp mixChannels(std::vector<UMat>(1, dst), std::vector<UMat>(1, _dst.getUMat()), from_to, 3); std 199 modules/photo/src/fast_nlmeans_denoising_opencl.hpp std::vector<UMat> l_ab(2), l_ab_denoised(2); std 206 modules/photo/src/fast_nlmeans_denoising_opencl.hpp mixChannels(std::vector<UMat>(1, src_lab), l_ab, from_to, 3); std 212 modules/photo/src/fast_nlmeans_denoising_opencl.hpp mixChannels(l_ab_denoised, std::vector<UMat>(1, dst_lab), from_to, 3); std 58 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp FastNlMeansMultiDenoisingInvoker(const std::vector<Mat>& srcImgs, int imgToDenoiseIndex, std 72 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp std::vector<Mat> extended_srcs_; std 86 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp std::vector<WT> almost_dist2weight; std 99 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp const std::vector<Mat>& srcImgs, std 130 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp fixed_point_mult_ = (int)std::min<IT>(std::numeric_limits<IT>::max() / max_estimate_sum_value, std 49 modules/photo/src/hdr_common.cpp void checkImageDimensions(const std::vector<Mat>& images) std 86 modules/photo/src/hdr_common.cpp std::vector<Mat> channels(3); std 51 modules/photo/src/hdr_common.hpp void checkImageDimensions(const std::vector<Mat>& images); std 61 modules/photo/src/merge.cpp std::vector<Mat> images; std 90 modules/photo/src/merge.cpp std::vector<Mat> result_split; std 95 modules/photo/src/merge.cpp std::vector<Mat> splitted; std 154 modules/photo/src/merge.cpp std::vector<Mat> images; std 163 modules/photo/src/merge.cpp std::vector<Mat> weights(images.size()); std 168 modules/photo/src/merge.cpp std::vector<Mat> splitted(channels); std 215 modules/photo/src/merge.cpp std::vector<Mat> res_pyr(maxlevel + 1); std 222 modules/photo/src/merge.cpp std::vector<Mat> img_pyr, weight_pyr; std 232 modules/photo/src/merge.cpp std::vector<Mat> splitted(channels); std 301 modules/photo/src/merge.cpp std::vector<Mat> images; std 49 modules/photo/src/npr.cpp using namespace std; std 50 modules/photo/src/npr.hpp using namespace std; std 53 modules/photo/src/npr.hpp double myinf = std::numeric_limits<double>::infinity(); std 47 modules/photo/src/seamless_cloning.cpp using namespace std; std 78 modules/photo/src/seamless_cloning.cpp minx = std::min(minx,i); std 79 modules/photo/src/seamless_cloning.cpp maxx = std::max(maxx,i); std 80 modules/photo/src/seamless_cloning.cpp miny = std::min(miny,j); std 81 modules/photo/src/seamless_cloning.cpp maxy = std::max(maxy,j); std 82 modules/photo/src/seamless_cloning.hpp std::vector <cv::Mat> rgbx_channel, rgby_channel, output; std 87 modules/photo/src/seamless_cloning.hpp std::vector<float> filter_X, filter_Y; std 45 modules/photo/src/seamless_cloning_impl.cpp using namespace std; std 255 modules/photo/src/seamless_cloning_impl.cpp filter_X[i] = 2.0f * std::cos(static_cast<float>(CV_PI) * (i + 1) / (w - 1)); std 260 modules/photo/src/seamless_cloning_impl.cpp filter_Y[j] = 2.0f * std::cos(static_cast<float>(CV_PI) * (j + 1) / (h - 1)); std 311 modules/photo/src/tonemap.cpp std::vector<Mat> channels(3); std 394 modules/photo/src/tonemap.cpp std::vector<Mat> x_contrast, y_contrast; std 496 modules/photo/src/tonemap.cpp void getContrast(Mat src, std::vector<Mat>& x_contrast, std::vector<Mat>& y_contrast) std 511 modules/photo/src/tonemap.cpp void calculateSum(std::vector<Mat>& x_contrast, std::vector<Mat>& y_contrast, Mat& sum) std 526 modules/photo/src/tonemap.cpp std::vector<Mat> x_contrast, y_contrast; std 19 modules/photo/test/ocl/test_denoising.cpp std::vector<float> h; std 85 modules/photo/test/ocl/test_denoising.cpp OCL_OFF(cv::fastNlMeansDenoising(src_roi, dst_roi, std::vector<float>(1, h[0]), templateWindowSize, searchWindowSize, normType)); std 86 modules/photo/test/ocl/test_denoising.cpp OCL_ON(cv::fastNlMeansDenoising(usrc_roi, udst_roi, std::vector<float>(1, h[0]), templateWindowSize, searchWindowSize, normType)); std 44 modules/photo/test/test_cloning.cpp #define SAVE(x) std::vector<int> params;\ std 57 modules/photo/test/test_cloning.cpp using namespace std; std 48 modules/photo/test/test_decolor.cpp using namespace std; std 72 modules/photo/test/test_denoise_tvl1.cpp bool ok = std::abs(image.at<uchar>(x,y) - val) < 10; std 85 modules/photo/test/test_denoise_tvl1.cpp std::vector<cv::Mat> images(obs_num, cv::Mat()); std 48 modules/photo/test/test_denoising.cpp using namespace std; std 45 modules/photo/test/test_hdr.cpp using namespace std; std 46 modules/photo/test/test_inpaint.cpp using namespace std; std 48 modules/photo/test/test_npr.cpp using namespace std; std 87 modules/python/src2/cv2.cpp typedef std::vector<uchar> vector_uchar; std 88 modules/python/src2/cv2.cpp typedef std::vector<char> vector_char; std 89 modules/python/src2/cv2.cpp typedef std::vector<int> vector_int; std 90 modules/python/src2/cv2.cpp typedef std::vector<float> vector_float; std 91 modules/python/src2/cv2.cpp typedef std::vector<double> vector_double; std 92 modules/python/src2/cv2.cpp typedef std::vector<Point> vector_Point; std 93 modules/python/src2/cv2.cpp typedef std::vector<Point2f> vector_Point2f; std 94 modules/python/src2/cv2.cpp typedef std::vector<Vec2f> vector_Vec2f; std 95 modules/python/src2/cv2.cpp typedef std::vector<Vec3f> vector_Vec3f; std 96 modules/python/src2/cv2.cpp typedef std::vector<Vec4f> vector_Vec4f; std 97 modules/python/src2/cv2.cpp typedef std::vector<Vec6f> vector_Vec6f; std 98 modules/python/src2/cv2.cpp typedef std::vector<Vec4i> vector_Vec4i; std 99 modules/python/src2/cv2.cpp typedef std::vector<Rect> vector_Rect; std 100 modules/python/src2/cv2.cpp typedef std::vector<KeyPoint> vector_KeyPoint; std 101 modules/python/src2/cv2.cpp typedef std::vector<Mat> vector_Mat; std 102 modules/python/src2/cv2.cpp typedef std::vector<DMatch> vector_DMatch; std 103 modules/python/src2/cv2.cpp typedef std::vector<String> vector_String; std 104 modules/python/src2/cv2.cpp typedef std::vector<Scalar> vector_Scalar; std 106 modules/python/src2/cv2.cpp typedef std::vector<std::vector<char> > vector_vector_char; std 107 modules/python/src2/cv2.cpp typedef std::vector<std::vector<Point> > vector_vector_Point; std 108 modules/python/src2/cv2.cpp typedef std::vector<std::vector<Point2f> > vector_vector_Point2f; std 109 modules/python/src2/cv2.cpp typedef std::vector<std::vector<Point3f> > vector_vector_Point3f; std 110 modules/python/src2/cv2.cpp typedef std::vector<std::vector<DMatch> > vector_vector_DMatch; std 746 modules/python/src2/cv2.cpp static bool to(PyObject* obj, std::vector<_Tp>& value, const ArgInfo info) std 844 modules/python/src2/cv2.cpp static PyObject* from(const std::vector<_Tp>& value) std 854 modules/python/src2/cv2.cpp bool pyopencv_to(PyObject* obj, std::vector<_Tp>& value, const ArgInfo info) std 860 modules/python/src2/cv2.cpp PyObject* pyopencv_from(const std::vector<_Tp>& value) std 865 modules/python/src2/cv2.cpp template<typename _Tp> static inline bool pyopencv_to_generic_vec(PyObject* obj, std::vector<_Tp>& value, const ArgInfo info) std 889 modules/python/src2/cv2.cpp template<typename _Tp> static inline PyObject* pyopencv_from_generic_vec(const std::vector<_Tp>& value) std 909 modules/python/src2/cv2.cpp template<typename _Tp> struct pyopencvVecConverter<std::vector<_Tp> > std 911 modules/python/src2/cv2.cpp static bool to(PyObject* obj, std::vector<std::vector<_Tp> >& value, const ArgInfo info) std 916 modules/python/src2/cv2.cpp static PyObject* from(const std::vector<std::vector<_Tp> >& value) std 924 modules/python/src2/cv2.cpp static bool to(PyObject* obj, std::vector<Mat>& value, const ArgInfo info) std 929 modules/python/src2/cv2.cpp static PyObject* from(const std::vector<Mat>& value) std 937 modules/python/src2/cv2.cpp static bool to(PyObject* obj, std::vector<KeyPoint>& value, const ArgInfo info) std 942 modules/python/src2/cv2.cpp static PyObject* from(const std::vector<KeyPoint>& value) std 950 modules/python/src2/cv2.cpp static bool to(PyObject* obj, std::vector<DMatch>& value, const ArgInfo info) std 955 modules/python/src2/cv2.cpp static PyObject* from(const std::vector<DMatch>& value) std 963 modules/python/src2/cv2.cpp static bool to(PyObject* obj, std::vector<String>& value, const ArgInfo info) std 968 modules/python/src2/cv2.cpp static PyObject* from(const std::vector<String>& value) std 1240 modules/python/src2/cv2.cpp std::string s = name; std 1242 modules/python/src2/cv2.cpp while (i < s.length() && i != std::string::npos) std 1245 modules/python/src2/cv2.cpp if (j == std::string::npos) std 1247 modules/python/src2/cv2.cpp std::string short_name = s.substr(i, j-i); std 1248 modules/python/src2/cv2.cpp std::string full_name = s.substr(0, j); std 68 modules/shape/include/opencv2/shape/shape_transformer.hpp std::vector<DMatch>& matches) = 0; std 70 modules/shape/src/aff_trans.cpp virtual void estimateTransformation(InputArray transformingShape, InputArray targetShape, std::vector<DMatch> &matches); std 109 modules/shape/src/aff_trans.cpp static Mat _localAffineEstimate(const std::vector<Point2f>& shape1, const std::vector<Point2f>& shape2, std 183 modules/shape/src/aff_trans.cpp void AffineTransformerImpl::estimateTransformation(InputArray _pts1, InputArray _pts2, std::vector<DMatch>& _matches) std 196 modules/shape/src/aff_trans.cpp std::vector<DMatch> matches; std 207 modules/shape/src/aff_trans.cpp std::vector<Point2f> shape1; // transforming shape std 208 modules/shape/src/aff_trans.cpp std::vector<Point2f> shape2; // target shape std 254 modules/shape/src/aff_trans.cpp transformCost=std::log((singVals.at<float>(0,0)+FLT_MIN)/(singVals.at<float>(1,0)+FLT_MIN)); std 263 modules/shape/src/emdL1.cpp std::vector<float> d2s(binsDim2); std 271 modules/shape/src/emdL1.cpp std::vector<float> d1s(binsDim1); std 333 modules/shape/src/emdL1.cpp std::vector<floatArray2D> D(binsDim1); std 346 modules/shape/src/emdL1.cpp std::vector<float> d1s(binsDim1); std 358 modules/shape/src/emdL1.cpp std::vector<float> d2s(binsDim2); std 370 modules/shape/src/emdL1.cpp std::vector<float> d3s(binsDim3); std 396 modules/shape/src/emdL1.cpp f1 = (i1<(binsDim1-1))?fabs(dFlow+d1s[i1+1]):std::numeric_limits<float>::max(); std 397 modules/shape/src/emdL1.cpp f2 = (i2<(binsDim2-1))?fabs(dFlow+d2s[i2+1]):std::numeric_limits<float>::max(); std 398 modules/shape/src/emdL1.cpp f3 = (i3<(binsDim3-1))?fabs(dFlow+d3s[i3+1]):std::numeric_limits<float>::max(); std 455 modules/shape/src/emdL1.cpp int nBin = binsDim1*binsDim2*std::max(binsDim3,1); std 682 modules/shape/src/emdL1.cpp float minFlow = std::numeric_limits<float>::max(); std 72 modules/shape/src/emdL1_def.hpp typedef std::vector<cvEMDNode> cvEMDNodeArray; std 73 modules/shape/src/emdL1_def.hpp typedef std::vector<cvEMDEdge> cvEMDEdgeArray; std 74 modules/shape/src/emdL1_def.hpp typedef std::vector<cvEMDNodeArray> cvEMDNodeArray2D; std 75 modules/shape/src/emdL1_def.hpp typedef std::vector<cvEMDEdgeArray> cvEMDEdgeArray2D; std 76 modules/shape/src/emdL1_def.hpp typedef std::vector<float> floatArray; std 77 modules/shape/src/emdL1_def.hpp typedef std::vector<floatArray> floatArray2D; std 124 modules/shape/src/emdL1_def.hpp std::vector<cvEMDNodeArray2D> m_3dNodes; // all nodes for 3D std 125 modules/shape/src/emdL1_def.hpp std::vector<cvEMDEdgeArray2D> m_3dEdgesRight; // all edges to right, 3D std 126 modules/shape/src/emdL1_def.hpp std::vector<cvEMDEdgeArray2D> m_3dEdgesUp; // all edges to upward, 3D std 127 modules/shape/src/emdL1_def.hpp std::vector<cvEMDEdgeArray2D> m_3dEdgesDeep; // all edges to deep, 3D std 128 modules/shape/src/emdL1_def.hpp std::vector<cvPEmdEdge> m_NBVEdges; // pointers to all NON-BV edges std 129 modules/shape/src/emdL1_def.hpp std::vector<cvPEmdNode> m_auxQueue; // auxiliary node queue std 136 modules/shape/src/emdL1_def.hpp std::vector<cvPEmdEdge> m_fromLoop; std 137 modules/shape/src/emdL1_def.hpp std::vector<cvPEmdEdge> m_toLoop; std 138 modules/shape/src/haus_dis.cpp return std::max( _apply(set1, set2, distanceFlag, rankProportion), std 130 modules/shape/src/hist_cost.cpp int costrows = std::max(descriptors1.rows, descriptors2.rows)+nDummies; std 255 modules/shape/src/hist_cost.cpp int costrows = std::max(descriptors1.rows, descriptors2.rows)+nDummies; std 376 modules/shape/src/hist_cost.cpp int costrows = std::max(descriptors1.rows, descriptors2.rows)+nDummies; std 492 modules/shape/src/hist_cost.cpp int costrows = std::max(descriptors1.rows, descriptors2.rows)+nDummies; std 215 modules/shape/src/sc_dis.cpp std::vector<DMatch> matches; std 222 modules/shape/src/sc_dis.cpp std::vector<int> inliers1, inliers2; std 293 modules/shape/src/sc_dis.cpp float val = float(std::exp( -float( (p.x-jj)*(p.x-jj) + (p.y-ii)*(p.y-ii) )/(2*sigma*sigma) ) / (sigma*sigma*2*CV_PI)); std 324 modules/shape/src/sc_dis.cpp void SCD::extractSCD(cv::Mat &contour, cv::Mat &descriptors, const std::vector<int> &queryInliers, const float _meanDistance) std 330 modules/shape/src/sc_dis.cpp std::vector<double> logspaces, angspaces; std 375 modules/shape/src/sc_dis.cpp void SCD::logarithmicSpaces(std::vector<double> &vecSpaces) const std 384 modules/shape/src/sc_dis.cpp double val = std::pow(10,logmin+accdelta); std 390 modules/shape/src/sc_dis.cpp void SCD::angularSpaces(std::vector<double> &vecSpaces) const std 402 modules/shape/src/sc_dis.cpp void SCD::buildNormalizedDistanceMatrix(cv::Mat &contour, cv::Mat &disMatrix, const std::vector<int> &queryInliers, const float _meanDistance) std 465 modules/shape/src/sc_dis.cpp angleMatrix.at<float>(i,j) = std::atan2(dif.y, dif.x); std 480 modules/shape/src/sc_dis.cpp void SCDMatcher::matchDescriptors(cv::Mat &descriptors1, cv::Mat &descriptors2, std::vector<cv::DMatch> &matches, std 481 modules/shape/src/sc_dis.cpp cv::Ptr<cv::HistogramCostExtractor> &comparer, std::vector<int> &inliers1, std::vector<int> &inliers2) std 499 modules/shape/src/sc_dis.cpp void SCDMatcher::hungarian(cv::Mat &costMatrix, std::vector<cv::DMatch> &outMatches, std::vector<int> &inliers1, std 500 modules/shape/src/sc_dis.cpp std::vector<int> &inliers2, int sizeScd1, int sizeScd2) std 502 modules/shape/src/sc_dis.cpp std::vector<int> free(costMatrix.rows, 0), collist(costMatrix.rows, 0); std 503 modules/shape/src/sc_dis.cpp std::vector<int> matches(costMatrix.rows, 0), colsol(costMatrix.rows), rowsol(costMatrix.rows); std 504 modules/shape/src/sc_dis.cpp std::vector<float> d(costMatrix.rows), pred(costMatrix.rows), v(costMatrix.rows); std 549 modules/shape/src/sc_dis.cpp min=std::numeric_limits<float>::max(); std 578 modules/shape/src/sc_dis.cpp usubmin = std::numeric_limits<float>::max(); std 753 modules/shape/src/sc_dis.cpp minMatchCost = std::max(leftcost,rightcost); std 67 modules/shape/src/scd_def.hpp const std::vector<int>& queryInliers=std::vector<int>(), std 92 modules/shape/src/scd_def.hpp void logarithmicSpaces(std::vector<double>& vecSpaces) const; std 93 modules/shape/src/scd_def.hpp void angularSpaces(std::vector<double>& vecSpaces) const; std 96 modules/shape/src/scd_def.hpp cv::Mat& disMatrix, const std::vector<int> &queryInliers, std 115 modules/shape/src/scd_def.hpp void matchDescriptors(cv::Mat& descriptors1, cv::Mat& descriptors2, std::vector<cv::DMatch>& matches, cv::Ptr<cv::HistogramCostExtractor>& comparer, std 116 modules/shape/src/scd_def.hpp std::vector<int>& inliers1, std::vector<int> &inliers2); std 126 modules/shape/src/scd_def.hpp void hungarian(cv::Mat& costMatrix, std::vector<cv::DMatch>& outMatches, std::vector<int> &inliers1, std 127 modules/shape/src/scd_def.hpp std::vector<int> &inliers2, int sizeScd1=0, int sizeScd2=0); std 72 modules/shape/src/tps_trans.cpp virtual void estimateTransformation(InputArray transformingShape, InputArray targetShape, std::vector<DMatch> &matches); std 111 modules/shape/src/tps_trans.cpp norma = norma*std::log(norma+FLT_EPSILON); std 189 modules/shape/src/tps_trans.cpp std::vector<DMatch>& _matches ) std 202 modules/shape/src/tps_trans.cpp std::vector<DMatch> matches; std 45 modules/shape/test/test_shape.cpp using namespace std; std 183 modules/shape/test/test_shape.cpp std::cout << "Test result: " << porc << "%" << std::endl; std 221 modules/shape/test/test_shape.cpp return std::min(mysc->computeDistance(query1, testq), std 222 modules/shape/test/test_shape.cpp std::min(mysc->computeDistance(query2, testq), std 258 modules/shape/test/test_shape.cpp return std::min(mysc->computeDistance(query1, testq), std 259 modules/shape/test/test_shape.cpp std::min(mysc->computeDistance(query2, testq), std 288 modules/shape/test/test_shape.cpp return std::min(haus->computeDistance(query1,testq), std 289 modules/shape/test/test_shape.cpp std::min(haus->computeDistance(query2,testq), std 184 modules/stitching/include/opencv2/stitching.hpp Status estimateTransform(InputArrayOfArrays images, const std::vector<std::vector<Rect> > &rois); std 210 modules/stitching/include/opencv2/stitching.hpp Status stitch(InputArrayOfArrays images, const std::vector<std::vector<Rect> > &rois, OutputArray pano); std 212 modules/stitching/include/opencv2/stitching.hpp std::vector<int> component() const { return indices_; } std 213 modules/stitching/include/opencv2/stitching.hpp std::vector<detail::CameraParams> cameras() const { return cameras_; } std 237 modules/stitching/include/opencv2/stitching.hpp std::vector<cv::UMat> imgs_; std 238 modules/stitching/include/opencv2/stitching.hpp std::vector<std::vector<cv::Rect> > rois_; std 239 modules/stitching/include/opencv2/stitching.hpp std::vector<cv::Size> full_img_sizes_; std 240 modules/stitching/include/opencv2/stitching.hpp std::vector<detail::ImageFeatures> features_; std 241 modules/stitching/include/opencv2/stitching.hpp std::vector<detail::MatchesInfo> pairwise_matches_; std 242 modules/stitching/include/opencv2/stitching.hpp std::vector<cv::UMat> seam_est_imgs_; std 243 modules/stitching/include/opencv2/stitching.hpp std::vector<int> indices_; std 244 modules/stitching/include/opencv2/stitching.hpp std::vector<detail::CameraParams> cameras_; std 75 modules/stitching/include/opencv2/stitching/detail/autocalib.hpp void CV_EXPORTS estimateFocal(const std::vector<ImageFeatures> &features, std 76 modules/stitching/include/opencv2/stitching/detail/autocalib.hpp const std::vector<MatchesInfo> &pairwise_matches, std 77 modules/stitching/include/opencv2/stitching/detail/autocalib.hpp std::vector<double> &focals); std 79 modules/stitching/include/opencv2/stitching/detail/autocalib.hpp bool CV_EXPORTS calibrateRotatingCamera(const std::vector<Mat> &Hs, Mat &K); std 71 modules/stitching/include/opencv2/stitching/detail/blenders.hpp void prepare(const std::vector<Point> &corners, const std::vector<Size> &sizes); std 109 modules/stitching/include/opencv2/stitching/detail/blenders.hpp Rect createWeightMaps(const std::vector<UMat> &masks, const std::vector<Point> &corners, std 110 modules/stitching/include/opencv2/stitching/detail/blenders.hpp std::vector<UMat> &weight_maps); std 136 modules/stitching/include/opencv2/stitching/detail/blenders.hpp std::vector<UMat> dst_pyr_laplace_; std 137 modules/stitching/include/opencv2/stitching/detail/blenders.hpp std::vector<UMat> dst_band_weights_; std 151 modules/stitching/include/opencv2/stitching/detail/blenders.hpp void CV_EXPORTS createLaplacePyr(InputArray img, int num_levels, std::vector<UMat>& pyr); std 152 modules/stitching/include/opencv2/stitching/detail/blenders.hpp void CV_EXPORTS createLaplacePyrGpu(InputArray img, int num_levels, std::vector<UMat>& pyr); std 155 modules/stitching/include/opencv2/stitching/detail/blenders.hpp void CV_EXPORTS restoreImageFromLaplacePyr(std::vector<UMat>& pyr); std 156 modules/stitching/include/opencv2/stitching/detail/blenders.hpp void CV_EXPORTS restoreImageFromLaplacePyrGpu(std::vector<UMat>& pyr); std 70 modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp void feed(const std::vector<Point> &corners, const std::vector<UMat> &images, std 71 modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp const std::vector<UMat> &masks); std 73 modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp virtual void feed(const std::vector<Point> &corners, const std::vector<UMat> &images, std 74 modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp const std::vector<std::pair<UMat,uchar> > &masks) = 0; std 90 modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp void feed(const std::vector<Point> &/*corners*/, const std::vector<UMat> &/*images*/, std 91 modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp const std::vector<std::pair<UMat,uchar> > &/*masks*/) { } std 101 modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp void feed(const std::vector<Point> &corners, const std::vector<UMat> &images, std 102 modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp const std::vector<std::pair<UMat,uchar> > &masks); std 104 modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp std::vector<double> gains() const; std 118 modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp void feed(const std::vector<Point> &corners, const std::vector<UMat> &images, std 119 modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp const std::vector<std::pair<UMat,uchar> > &masks); std 124 modules/stitching/include/opencv2/stitching/detail/exposure_compensate.hpp std::vector<UMat> gain_maps_; std 66 modules/stitching/include/opencv2/stitching/detail/matchers.hpp std::vector<KeyPoint> keypoints; std 85 modules/stitching/include/opencv2/stitching/detail/matchers.hpp void operator ()(InputArray image, ImageFeatures &features, const std::vector<cv::Rect> &rois); std 168 modules/stitching/include/opencv2/stitching/detail/matchers.hpp std::vector<DMatch> matches; std 169 modules/stitching/include/opencv2/stitching/detail/matchers.hpp std::vector<uchar> inliers_mask; //!< Geometrically consistent matches mask std 199 modules/stitching/include/opencv2/stitching/detail/matchers.hpp void operator ()(const std::vector<ImageFeatures> &features, std::vector<MatchesInfo> &pairwise_matches, std 262 modules/stitching/include/opencv2/stitching/detail/matchers.hpp void operator ()(const std::vector<ImageFeatures> &features, std::vector<MatchesInfo> &pairwise_matches, std 77 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp bool operator ()(const std::vector<ImageFeatures> &features, std 78 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp const std::vector<MatchesInfo> &pairwise_matches, std 79 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp std::vector<CameraParams> &cameras) std 91 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp virtual bool estimate(const std::vector<ImageFeatures> &features, std 92 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp const std::vector<MatchesInfo> &pairwise_matches, std 93 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp std::vector<CameraParams> &cameras) = 0; std 105 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp virtual bool estimate(const std::vector<ImageFeatures> &features, std 106 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp const std::vector<MatchesInfo> &pairwise_matches, std 107 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp std::vector<CameraParams> &cameras); std 146 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp virtual bool estimate(const std::vector<ImageFeatures> &features, std 147 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp const std::vector<MatchesInfo> &pairwise_matches, std 148 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp std::vector<CameraParams> &cameras); std 154 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp virtual void setUpInitialCameraParams(const std::vector<CameraParams> &cameras) = 0; std 159 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp virtual void obtainRefinedCameraParams(std::vector<CameraParams> &cameras) const = 0; std 194 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp std::vector<std::pair<int,int> > edges_; std 210 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp void setUpInitialCameraParams(const std::vector<CameraParams> &cameras); std 211 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp void obtainRefinedCameraParams(std::vector<CameraParams> &cameras) const; std 230 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp void setUpInitialCameraParams(const std::vector<CameraParams> &cameras); std 231 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp void obtainRefinedCameraParams(std::vector<CameraParams> &cameras) const; std 250 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp void CV_EXPORTS waveCorrect(std::vector<Mat> &rmats, WaveCorrectKind kind); std 257 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp String CV_EXPORTS matchesGraphAsString(std::vector<String> &pathes, std::vector<MatchesInfo> &pairwise_matches, std 260 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp std::vector<int> CV_EXPORTS leaveBiggestComponent( std 261 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp std::vector<ImageFeatures> &features, std 262 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp std::vector<MatchesInfo> &pairwise_matches, std 266 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp int num_images, const std::vector<MatchesInfo> &pairwise_matches, std 267 modules/stitching/include/opencv2/stitching/detail/motion_estimators.hpp Graph &span_tree, std::vector<int> ¢ers); std 68 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners, std 69 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp std::vector<UMat> &masks) = 0; std 77 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp void find(const std::vector<UMat>&, const std::vector<Point>&, std::vector<UMat>&) {} std 85 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners, std 86 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp std::vector<UMat> &masks); std 98 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp std::vector<UMat> images_; std 99 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp std::vector<Size> sizes_; std 100 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp std::vector<Point> corners_; std 101 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp std::vector<UMat> masks_; std 109 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners, std 110 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp std::vector<UMat> &masks); std 111 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp virtual void find(const std::vector<Size> &size, const std::vector<Point> &corners, std 112 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp std::vector<UMat> &masks); std 128 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp virtual void find(const std::vector<UMat> &src, const std::vector<Point> &corners, std 129 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp std::vector<UMat> &masks); std 142 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp ImagePairLess(const std::vector<Mat> &images, const std::vector<Point> &corners) std 145 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp bool operator() (const std::pair<size_t, size_t> &l, const std::pair<size_t, size_t> &r) const std 202 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp Point p1, Point p2, std::vector<Point> &seam, bool &isHorizontal); std 205 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp int comp1, int comp2, const std::vector<Point> &seam, bool isHorizontalSeam); std 220 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp std::vector<ComponentState> states_; std 221 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp std::vector<Point> tls_, brs_; std 222 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp std::vector<std::vector<Point> > contours_; std 223 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp std::set<std::pair<int, int> > edges_; std 244 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp void find(const std::vector<UMat> &src, const std::vector<Point> &corners, std 245 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp std::vector<UMat> &masks); std 263 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp void find(const std::vector<cv::UMat> &src, const std::vector<cv::Point> &corners, std 264 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp std::vector<cv::UMat> &masks); std 273 modules/stitching/include/opencv2/stitching/detail/seam_finders.hpp std::vector<Mat> dx_, dy_; std 67 modules/stitching/include/opencv2/stitching/detail/timelapsers.hpp virtual void initialize(const std::vector<Point> &corners, const std::vector<Size> &sizes); std 83 modules/stitching/include/opencv2/stitching/detail/timelapsers.hpp virtual void initialize(const std::vector<Point> &corners, const std::vector<Size> &sizes); std 67 modules/stitching/include/opencv2/stitching/detail/util.hpp #define LOG_STITCHING_MSG(msg) for(;;) { std::cout << msg; std::cout.flush(); break; } std 76 modules/stitching/include/opencv2/stitching/detail/util.hpp using namespace std; \ std 88 modules/stitching/include/opencv2/stitching/detail/util.hpp #define LOGLN(msg) LOG(msg << std::endl) std 89 modules/stitching/include/opencv2/stitching/detail/util.hpp #define LOGLN_CHAT(msg) LOG_CHAT(msg << std::endl) std 114 modules/stitching/include/opencv2/stitching/detail/util.hpp std::vector<int> parent; std 115 modules/stitching/include/opencv2/stitching/detail/util.hpp std::vector<int> size; std 118 modules/stitching/include/opencv2/stitching/detail/util.hpp std::vector<int> rank_; std 139 modules/stitching/include/opencv2/stitching/detail/util.hpp void create(int num_vertices) { edges_.assign(num_vertices, std::list<GraphEdge>()); } std 146 modules/stitching/include/opencv2/stitching/detail/util.hpp std::vector< std::list<GraphEdge> > edges_; std 154 modules/stitching/include/opencv2/stitching/detail/util.hpp CV_EXPORTS Rect resultRoi(const std::vector<Point> &corners, const std::vector<UMat> &images); std 155 modules/stitching/include/opencv2/stitching/detail/util.hpp CV_EXPORTS Rect resultRoi(const std::vector<Point> &corners, const std::vector<Size> &sizes); std 156 modules/stitching/include/opencv2/stitching/detail/util.hpp CV_EXPORTS Rect resultRoiIntersection(const std::vector<Point> &corners, const std::vector<Size> &sizes); std 157 modules/stitching/include/opencv2/stitching/detail/util.hpp CV_EXPORTS Point resultTl(const std::vector<Point> &corners); std 160 modules/stitching/include/opencv2/stitching/detail/util.hpp CV_EXPORTS void selectRandomSubset(int count, int size, std::vector<int> &subset); std 60 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp std::list<GraphEdge>::const_iterator edge = edges_[i].begin(); std 71 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp std::vector<bool> was(numVertices(), false); std 72 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp std::queue<int> vertices; std 82 modules/stitching/include/opencv2/stitching/detail/util_inl.hpp std::list<GraphEdge>::const_iterator edge = edges_[vertex].begin(); std 153 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float tl_uf = std::numeric_limits<float>::max(); std 154 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float tl_vf = std::numeric_limits<float>::max(); std 155 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float br_uf = -std::numeric_limits<float>::max(); std 156 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float br_vf = -std::numeric_limits<float>::max(); std 164 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp tl_uf = std::min(tl_uf, u); tl_vf = std::min(tl_vf, v); std 165 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); std 179 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float tl_uf = std::numeric_limits<float>::max(); std 180 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float tl_vf = std::numeric_limits<float>::max(); std 181 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float br_uf = -std::numeric_limits<float>::max(); std 182 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp float br_vf = -std::numeric_limits<float>::max(); std 188 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp tl_uf = std::min(tl_uf, u); tl_vf = std::min(tl_vf, v); std 189 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); std 192 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp tl_uf = std::min(tl_uf, u); tl_vf = std::min(tl_vf, v); std 193 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); std 198 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp tl_uf = std::min(tl_uf, u); tl_vf = std::min(tl_vf, v); std 199 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); std 202 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp tl_uf = std::min(tl_uf, u); tl_vf = std::min(tl_vf, v); std 203 modules/stitching/include/opencv2/stitching/detail/warpers_inl.hpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); std 13 modules/stitching/perf/opencl/perf_stitch.cpp using namespace std; std 14 modules/stitching/perf/opencl/perf_stitch.cpp using namespace std::tr1; std 150 modules/stitching/perf/opencl/perf_warpers.cpp std::cout << dst.size() << " " << dst.size().area() << std::endl; std 6 modules/stitching/perf/perf_stich.cpp using namespace std; std 9 modules/stitching/perf/perf_stich.cpp using std::tr1::make_tuple; std 10 modules/stitching/perf/perf_stich.cpp using std::tr1::get; std 18 modules/stitching/perf/perf_stich.cpp typedef std::tr1::tuple<string, int> matchVector_t; std 107 modules/stitching/perf/perf_stich.cpp float scale1 = (float)std::min(1.0, sqrt(WORK_MEGAPIX * 1e6 / img1_full.total())); std 108 modules/stitching/perf/perf_stich.cpp float scale2 = (float)std::min(1.0, sqrt(WORK_MEGAPIX * 1e6 / img2_full.total())); std 146 modules/stitching/perf/perf_stich.cpp std::vector<DMatch>& matches = pairwise_matches.matches; std 160 modules/stitching/perf/perf_stich.cpp float scale1 = (float)std::min(1.0, sqrt(WORK_MEGAPIX * 1e6 / img1_full.total())); std 161 modules/stitching/perf/perf_stich.cpp float scale2 = (float)std::min(1.0, sqrt(WORK_MEGAPIX * 1e6 / img2_full.total())); std 206 modules/stitching/perf/perf_stich.cpp std::vector<DMatch>& matches = pairwise_matches[detectorName == "surf" ? 1 : 0].matches; std 80 modules/stitching/src/autocalib.cpp if (v1 < v2) std::swap(v1, v2); std 81 modules/stitching/src/autocalib.cpp if (v1 > 0 && v2 > 0) f1 = std::sqrt(std::abs(d1) > std::abs(d2) ? v1 : v2); std 82 modules/stitching/src/autocalib.cpp else if (v1 > 0) f1 = std::sqrt(v1); std 90 modules/stitching/src/autocalib.cpp if (v1 < v2) std::swap(v1, v2); std 91 modules/stitching/src/autocalib.cpp if (v1 > 0 && v2 > 0) f0 = std::sqrt(std::abs(d1) > std::abs(d2) ? v1 : v2); std 92 modules/stitching/src/autocalib.cpp else if (v1 > 0) f0 = std::sqrt(v1); std 97 modules/stitching/src/autocalib.cpp void estimateFocal(const std::vector<ImageFeatures> &features, const std::vector<MatchesInfo> &pairwise_matches, std 98 modules/stitching/src/autocalib.cpp std::vector<double> &focals) std 103 modules/stitching/src/autocalib.cpp std::vector<double> all_focals; std 116 modules/stitching/src/autocalib.cpp all_focals.push_back(std::sqrt(f0 * f1)); std 124 modules/stitching/src/autocalib.cpp std::sort(all_focals.begin(), all_focals.end()); std 145 modules/stitching/src/autocalib.cpp bool calibrateRotatingCamera(const std::vector<Mat> &Hs, Mat &K) std 150 modules/stitching/src/autocalib.cpp std::vector<Mat> Hs_(m); std 154 modules/stitching/src/autocalib.cpp Hs_[i] = Hs[i] / std::pow(determinant(Hs[i]), 1./3.); std 64 modules/stitching/src/blenders.cpp void Blender::prepare(const std::vector<Point> &corners, const std::vector<Size> &sizes) std 170 modules/stitching/src/blenders.cpp Rect FeatherBlender::createWeightMaps(const std::vector<UMat> &masks, const std::vector<Point> &corners, std 171 modules/stitching/src/blenders.cpp std::vector<UMat> &weight_maps) std 193 modules/stitching/src/blenders.cpp tmp.setTo(1, tmp < std::numeric_limits<float>::epsilon()); std 222 modules/stitching/src/blenders.cpp double max_len = static_cast<double>(std::max(dst_roi.width, dst_roi.height)); std 223 modules/stitching/src/blenders.cpp num_bands_ = std::min(actual_num_bands_, static_cast<int>(ceil(std::log(max_len) / std::log(2.0)))); std 287 modules/stitching/src/blenders.cpp Point tl_new(std::max(dst_roi_.x, tl.x - gap), std 288 modules/stitching/src/blenders.cpp std::max(dst_roi_.y, tl.y - gap)); std 289 modules/stitching/src/blenders.cpp Point br_new(std::min(dst_roi_.br().x, tl.x + img.cols + gap), std 290 modules/stitching/src/blenders.cpp std::min(dst_roi_.br().y, tl.y + img.rows + gap)); std 305 modules/stitching/src/blenders.cpp int dy = std::max(br_new.y - dst_roi_.br().y, 0); std 306 modules/stitching/src/blenders.cpp int dx = std::max(br_new.x - dst_roi_.br().x, 0); std 324 modules/stitching/src/blenders.cpp std::vector<UMat> src_pyr_laplace; std 337 modules/stitching/src/blenders.cpp std::vector<UMat> weight_pyr_gauss(num_bands_ + 1); std 551 modules/stitching/src/blenders.cpp void createLaplacePyr(InputArray img, int num_levels, std::vector<UMat> &pyr) std 609 modules/stitching/src/blenders.cpp void createLaplacePyrGpu(InputArray img, int num_levels, std::vector<UMat> &pyr) std 614 modules/stitching/src/blenders.cpp std::vector<cuda::GpuMat> gpu_pyr(num_levels + 1); std 637 modules/stitching/src/blenders.cpp void restoreImageFromLaplacePyr(std::vector<UMat> &pyr) std 650 modules/stitching/src/blenders.cpp void restoreImageFromLaplacePyrGpu(std::vector<UMat> &pyr) std 656 modules/stitching/src/blenders.cpp std::vector<cuda::GpuMat> gpu_pyr(pyr.size()); std 61 modules/stitching/src/exposure_compensate.cpp void ExposureCompensator::feed(const std::vector<Point> &corners, const std::vector<UMat> &images, std 62 modules/stitching/src/exposure_compensate.cpp const std::vector<UMat> &masks) std 64 modules/stitching/src/exposure_compensate.cpp std::vector<std::pair<UMat,uchar> > level_masks; std 66 modules/stitching/src/exposure_compensate.cpp level_masks.push_back(std::make_pair(masks[i], 255)); std 71 modules/stitching/src/exposure_compensate.cpp void GainCompensator::feed(const std::vector<Point> &corners, const std::vector<UMat> &images, std 72 modules/stitching/src/exposure_compensate.cpp const std::vector<std::pair<UMat,uchar> > &masks) std 103 modules/stitching/src/exposure_compensate.cpp N(i, j) = N(j, i) = std::max(1, countNonZero(intersect)); std 114 modules/stitching/src/exposure_compensate.cpp Isum1 += std::sqrt(static_cast<double>(sqr(r1[x].x) + sqr(r1[x].y) + sqr(r1[x].z))); std 115 modules/stitching/src/exposure_compensate.cpp Isum2 += std::sqrt(static_cast<double>(sqr(r2[x].x) + sqr(r2[x].y) + sqr(r2[x].z))); std 154 modules/stitching/src/exposure_compensate.cpp std::vector<double> GainCompensator::gains() const std 156 modules/stitching/src/exposure_compensate.cpp std::vector<double> gains_vec(gains_.rows); std 163 modules/stitching/src/exposure_compensate.cpp void BlocksGainCompensator::feed(const std::vector<Point> &corners, const std::vector<UMat> &images, std 164 modules/stitching/src/exposure_compensate.cpp const std::vector<std::pair<UMat,uchar> > &masks) std 170 modules/stitching/src/exposure_compensate.cpp std::vector<Size> bl_per_imgs(num_images); std 171 modules/stitching/src/exposure_compensate.cpp std::vector<Point> block_corners; std 172 modules/stitching/src/exposure_compensate.cpp std::vector<UMat> block_images; std 173 modules/stitching/src/exposure_compensate.cpp std::vector<std::pair<UMat,uchar> > block_masks; std 188 modules/stitching/src/exposure_compensate.cpp Point bl_br(std::min(bl_tl.x + bl_width, images[img_idx].cols), std 189 modules/stitching/src/exposure_compensate.cpp std::min(bl_tl.y + bl_height, images[img_idx].rows)); std 193 modules/stitching/src/exposure_compensate.cpp block_masks.push_back(std::make_pair(masks[img_idx].first(Rect(bl_tl, bl_br)), std 201 modules/stitching/src/exposure_compensate.cpp std::vector<double> gains = compensator.gains(); std 66 modules/stitching/src/matchers.cpp MatchPairsBody(FeaturesMatcher &_matcher, const std::vector<ImageFeatures> &_features, std 67 modules/stitching/src/matchers.cpp std::vector<MatchesInfo> &_pairwise_matches, std::vector<std::pair<int,int> > &_near_pairs) std 94 modules/stitching/src/matchers.cpp std::swap(pairwise_matches[dual_pair_idx].matches[j].queryIdx, std 101 modules/stitching/src/matchers.cpp const std::vector<ImageFeatures> &features; std 102 modules/stitching/src/matchers.cpp std::vector<MatchesInfo> &pairwise_matches; std 103 modules/stitching/src/matchers.cpp std::vector<std::pair<int,int> > &near_pairs; std 112 modules/stitching/src/matchers.cpp typedef std::set<std::pair<int,int> > MatchesSet; std 140 modules/stitching/src/matchers.cpp std::vector< std::vector<DMatch> > pair_matches; std 177 modules/stitching/src/matchers.cpp std::vector< std::vector<DMatch> > pair_matches; std 191 modules/stitching/src/matchers.cpp matches.insert(std::make_pair(m0.queryIdx, m0.trainIdx)); std 206 modules/stitching/src/matchers.cpp if (matches.find(std::make_pair(m0.trainIdx, m0.queryIdx)) == matches.end()) std 239 modules/stitching/src/matchers.cpp matches.insert(std::make_pair(m0.queryIdx, m0.trainIdx)); std 253 modules/stitching/src/matchers.cpp if (matches.find(std::make_pair(m0.trainIdx, m0.queryIdx)) == matches.end()) std 265 modules/stitching/src/matchers.cpp std::vector< std::vector<DMatch> >().swap(pair_matches); std 282 modules/stitching/src/matchers.cpp void FeaturesFinder::operator ()(InputArray image, ImageFeatures &features, const std::vector<Rect> &rois) std 284 modules/stitching/src/matchers.cpp std::vector<ImageFeatures> roi_features(rois.size()); std 415 modules/stitching/src/matchers.cpp std::vector<KeyPoint> points; std 442 modules/stitching/src/matchers.cpp for (std::vector<KeyPoint>::iterator kp = points.begin(); kp != points.end(); ++kp) std 527 modules/stitching/src/matchers.cpp void FeaturesMatcher::operator ()(const std::vector<ImageFeatures> &features, std::vector<MatchesInfo> &pairwise_matches, std 537 modules/stitching/src/matchers.cpp std::vector<std::pair<int,int> > near_pairs; std 541 modules/stitching/src/matchers.cpp near_pairs.push_back(std::make_pair(i, j)); std 606 modules/stitching/src/matchers.cpp if (matches_info.H.empty() || std::abs(determinant(matches_info.H)) < std::numeric_limits<double>::epsilon()) std 667 modules/stitching/src/matchers.cpp void BestOf2NearestRangeMatcher::operator ()(const std::vector<ImageFeatures> &features, std::vector<MatchesInfo> &pairwise_matches, std 677 modules/stitching/src/matchers.cpp std::vector<std::pair<int,int> > near_pairs; std 679 modules/stitching/src/matchers.cpp for (int j = i + 1; j < std::min(num_images, i + range_width_); ++j) std 681 modules/stitching/src/matchers.cpp near_pairs.push_back(std::make_pair(i, j)); std 54 modules/stitching/src/motion_estimators.cpp IncDistance(std::vector<int> &vdists) : dists(&vdists[0]) {} std 62 modules/stitching/src/motion_estimators.cpp CalcRotation(int _num_images, const std::vector<MatchesInfo> &_pairwise_matches, std::vector<CameraParams> &_cameras) std 106 modules/stitching/src/motion_estimators.cpp const std::vector<ImageFeatures> &features, std 107 modules/stitching/src/motion_estimators.cpp const std::vector<MatchesInfo> &pairwise_matches, std 108 modules/stitching/src/motion_estimators.cpp std::vector<CameraParams> &cameras) std 119 modules/stitching/src/motion_estimators.cpp std::vector<Mat> Hs; std 123 modules/stitching/src/motion_estimators.cpp std::vector<int> subset; std 141 modules/stitching/src/motion_estimators.cpp std::vector<double> focals; std 158 modules/stitching/src/motion_estimators.cpp std::vector<int> span_tree_centers; std 176 modules/stitching/src/motion_estimators.cpp bool BundleAdjusterBase::estimate(const std::vector<ImageFeatures> &features, std 177 modules/stitching/src/motion_estimators.cpp const std::vector<MatchesInfo> &pairwise_matches, std 178 modules/stitching/src/motion_estimators.cpp std::vector<CameraParams> &cameras) std 199 modules/stitching/src/motion_estimators.cpp edges_.push_back(std::make_pair(i, j)); std 249 modules/stitching/src/motion_estimators.cpp LOGLN_CHAT("Bundle adjustment, final RMS error: " << std::sqrt(err.dot(err) / total_num_matches_)); std 269 modules/stitching/src/motion_estimators.cpp std::vector<int> span_tree_centers; std 282 modules/stitching/src/motion_estimators.cpp void BundleAdjusterReproj::setUpInitialCameraParams(const std::vector<CameraParams> &cameras) std 308 modules/stitching/src/motion_estimators.cpp void BundleAdjusterReproj::obtainRefinedCameraParams(std::vector<CameraParams> &cameras) const std 463 modules/stitching/src/motion_estimators.cpp void BundleAdjusterRay::setUpInitialCameraParams(const std::vector<CameraParams> &cameras) std 486 modules/stitching/src/motion_estimators.cpp void BundleAdjusterRay::obtainRefinedCameraParams(std::vector<CameraParams> &cameras) const std 558 modules/stitching/src/motion_estimators.cpp double len = std::sqrt(x1*x1 + y1*y1 + z1*z1); std 565 modules/stitching/src/motion_estimators.cpp len = std::sqrt(x2*x2 + y2*y2 + z2*z2); std 568 modules/stitching/src/motion_estimators.cpp double mult = std::sqrt(f1 * f2); std 604 modules/stitching/src/motion_estimators.cpp void waveCorrect(std::vector<Mat> &rmats, WaveCorrectKind kind) std 687 modules/stitching/src/motion_estimators.cpp String matchesGraphAsString(std::vector<String> &pathes, std::vector<MatchesInfo> &pairwise_matches, std 690 modules/stitching/src/motion_estimators.cpp std::stringstream str; std 694 modules/stitching/src/motion_estimators.cpp std::set<std::pair<int,int> > span_tree_edges; std 708 modules/stitching/src/motion_estimators.cpp span_tree_edges.insert(std::make_pair(i, j)); std 713 modules/stitching/src/motion_estimators.cpp for (std::set<std::pair<int,int> >::const_iterator itr = span_tree_edges.begin(); std 716 modules/stitching/src/motion_estimators.cpp std::pair<int,int> edge = *itr; std 753 modules/stitching/src/motion_estimators.cpp std::vector<int> leaveBiggestComponent(std::vector<ImageFeatures> &features, std::vector<MatchesInfo> &pairwise_matches, std 772 modules/stitching/src/motion_estimators.cpp int max_comp = static_cast<int>(std::max_element(comps.size.begin(), comps.size.end()) - comps.size.begin()); std 774 modules/stitching/src/motion_estimators.cpp std::vector<int> indices; std 775 modules/stitching/src/motion_estimators.cpp std::vector<int> indices_removed; std 782 modules/stitching/src/motion_estimators.cpp std::vector<ImageFeatures> features_subset; std 783 modules/stitching/src/motion_estimators.cpp std::vector<MatchesInfo> pairwise_matches_subset; std 812 modules/stitching/src/motion_estimators.cpp void findMaxSpanningTree(int num_images, const std::vector<MatchesInfo> &pairwise_matches, std 813 modules/stitching/src/motion_estimators.cpp Graph &span_tree, std::vector<int> ¢ers) std 816 modules/stitching/src/motion_estimators.cpp std::vector<GraphEdge> edges; std 833 modules/stitching/src/motion_estimators.cpp std::vector<int> span_tree_powers(num_images, 0); std 836 modules/stitching/src/motion_estimators.cpp sort(edges.begin(), edges.end(), std::greater<GraphEdge>()); std 852 modules/stitching/src/motion_estimators.cpp std::vector<int> span_tree_leafs; std 858 modules/stitching/src/motion_estimators.cpp std::vector<int> max_dists(num_images, 0); std 859 modules/stitching/src/motion_estimators.cpp std::vector<int> cur_dists; std 865 modules/stitching/src/motion_estimators.cpp max_dists[j] = std::max(max_dists[j], cur_dists[j]); std 49 modules/stitching/src/seam_finders.cpp void PairwiseSeamFinder::find(const std::vector<UMat> &src, const std::vector<Point> &corners, std 50 modules/stitching/src/seam_finders.cpp std::vector<UMat> &masks) std 85 modules/stitching/src/seam_finders.cpp void VoronoiSeamFinder::find(const std::vector<UMat> &src, const std::vector<Point> &corners, std 86 modules/stitching/src/seam_finders.cpp std::vector<UMat> &masks) std 91 modules/stitching/src/seam_finders.cpp void VoronoiSeamFinder::find(const std::vector<Size> &sizes, const std::vector<Point> &corners, std 92 modules/stitching/src/seam_finders.cpp std::vector<UMat> &masks) std 168 modules/stitching/src/seam_finders.cpp void DpSeamFinder::find(const std::vector<UMat> &src, const std::vector<Point> &corners, std::vector<UMat> &masks) std 178 modules/stitching/src/seam_finders.cpp std::vector<std::pair<size_t, size_t> > pairs; std 182 modules/stitching/src/seam_finders.cpp pairs.push_back(std::make_pair(i, j)); std 185 modules/stitching/src/seam_finders.cpp std::vector<Mat> _src(src.size()); std 189 modules/stitching/src/seam_finders.cpp std::reverse(pairs.begin(), pairs.end()); std 209 modules/stitching/src/seam_finders.cpp Point intersectTl(std::max(tl1.x, tl2.x), std::max(tl1.y, tl2.y)); std 211 modules/stitching/src/seam_finders.cpp Point intersectBr(std::min(tl1.x + image1.cols, tl2.x + image2.cols), std 212 modules/stitching/src/seam_finders.cpp std::min(tl1.y + image1.rows, tl2.y + image2.rows)); std 217 modules/stitching/src/seam_finders.cpp unionTl_ = Point(std::min(tl1.x, tl2.x), std::min(tl1.y, tl2.y)); std 219 modules/stitching/src/seam_finders.cpp unionBr_ = Point(std::max(tl1.x + image1.cols, tl2.x + image2.cols), std 220 modules/stitching/src/seam_finders.cpp std::max(tl1.y + image1.rows, tl2.y + image2.rows)); std 282 modules/stitching/src/seam_finders.cpp labels_(y, x) = std::numeric_limits<int>::max(); std 284 modules/stitching/src/seam_finders.cpp labels_(y, x) = std::numeric_limits<int>::max()-1; std 286 modules/stitching/src/seam_finders.cpp labels_(y, x) = std::numeric_limits<int>::max()-2; std 296 modules/stitching/src/seam_finders.cpp if (labels_(y, x) >= std::numeric_limits<int>::max()-2) std 298 modules/stitching/src/seam_finders.cpp if (labels_(y, x) == std::numeric_limits<int>::max()) std 300 modules/stitching/src/seam_finders.cpp else if (labels_(y, x) == std::numeric_limits<int>::max()-1) std 302 modules/stitching/src/seam_finders.cpp else if (labels_(y, x) == std::numeric_limits<int>::max()-2) std 308 modules/stitching/src/seam_finders.cpp contours_.push_back(std::vector<Point>()); std 316 modules/stitching/src/seam_finders.cpp tls_[ci].x = std::min(tls_[ci].x, x); std 317 modules/stitching/src/seam_finders.cpp tls_[ci].y = std::min(tls_[ci].y, y); std 318 modules/stitching/src/seam_finders.cpp brs_[ci].x = std::max(brs_[ci].x, x+1); std 319 modules/stitching/src/seam_finders.cpp brs_[ci].y = std::max(brs_[ci].y, y+1); std 336 modules/stitching/src/seam_finders.cpp std::map<std::pair<int, int>, int> wedges; // weighted edges std 342 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(ci, cj)] = 0; std 343 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(cj, ci)] = 0; std 357 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(ci, labels_(y, x-1)-1)]++; std 358 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(labels_(y, x-1)-1, ci)]++; std 363 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(ci, labels_(y-1, x)-1)]++; std 364 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(labels_(y-1, x)-1, ci)]++; std 369 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(ci, labels_(y, x+1)-1)]++; std 370 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(labels_(y, x+1)-1, ci)]++; std 375 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(ci, labels_(y+1, x)-1)]++; std 376 modules/stitching/src/seam_finders.cpp wedges[std::make_pair(labels_(y+1, x)-1, ci)]++; std 387 modules/stitching/src/seam_finders.cpp std::map<std::pair<int, int>, int>::iterator itr = wedges.find(std::make_pair(ci, cj)); std 391 modules/stitching/src/seam_finders.cpp itr = wedges.find(std::make_pair(cj, ci)); std 413 modules/stitching/src/seam_finders.cpp for (std::set<std::pair<int, int> >::iterator itr = edges_.begin(); itr != edges_.end(); ++itr) std 447 modules/stitching/src/seam_finders.cpp std::vector<Point> seam; std 467 modules/stitching/src/seam_finders.cpp tls_[c[i]] = Point(std::numeric_limits<int>::max(), std::numeric_limits<int>::max()); std 468 modules/stitching/src/seam_finders.cpp brs_[c[i]] = Point(std::numeric_limits<int>::min(), std::numeric_limits<int>::min()); std 477 modules/stitching/src/seam_finders.cpp tls_[c[i]].x = std::min(tls_[c[i]].x, x); std 478 modules/stitching/src/seam_finders.cpp tls_[c[i]].y = std::min(tls_[c[i]].y, y); std 479 modules/stitching/src/seam_finders.cpp brs_[c[i]].x = std::max(brs_[c[i]].x, x+1); std 480 modules/stitching/src/seam_finders.cpp brs_[c[i]].y = std::max(brs_[c[i]].y, y+1); std 494 modules/stitching/src/seam_finders.cpp edges_.erase(std::make_pair(c1, c2)); std 495 modules/stitching/src/seam_finders.cpp edges_.erase(std::make_pair(c2, c1)); std 554 modules/stitching/src/seam_finders.cpp std::set<std::pair<int, int> >::iterator begin, end; std 555 modules/stitching/src/seam_finders.cpp begin = lower_bound(edges_.begin(), edges_.end(), std::make_pair(comp, std::numeric_limits<int>::min())); std 556 modules/stitching/src/seam_finders.cpp end = upper_bound(edges_.begin(), edges_.end(), std::make_pair(comp, std::numeric_limits<int>::max())); std 590 modules/stitching/src/seam_finders.cpp std::vector<Point> specialPoints; std 614 modules/stitching/src/seam_finders.cpp std::vector<int> labels; std 617 modules/stitching/src/seam_finders.cpp int nlabels = *std::max_element(labels.begin(), labels.end()) + 1; std 621 modules/stitching/src/seam_finders.cpp std::vector<Point> sum(nlabels); std 622 modules/stitching/src/seam_finders.cpp std::vector<std::vector<Point> > points(nlabels); std 633 modules/stitching/src/seam_finders.cpp double maxDist = -std::numeric_limits<double>::max(); std 664 modules/stitching/src/seam_finders.cpp double minDist = std::numeric_limits<double>::max(); std 754 modules/stitching/src/seam_finders.cpp float costGrad = std::abs(gradx1_(y + dy1, x + dx1)) + std::abs(gradx1_(y + dy1, x + dx1 - 1)) + std 755 modules/stitching/src/seam_finders.cpp std::abs(gradx2_(y + dy2, x + dx2)) + std::abs(gradx2_(y + dy2, x + dx2 - 1)) + 1.f; std 778 modules/stitching/src/seam_finders.cpp float costGrad = std::abs(grady1_(y + dy1, x + dx1)) + std::abs(grady1_(y + dy1 - 1, x + dx1)) + std 779 modules/stitching/src/seam_finders.cpp std::abs(grady2_(y + dy2, x + dx2)) + std::abs(grady2_(y + dy2 - 1, x + dx2)) + 1.f; std 792 modules/stitching/src/seam_finders.cpp Point p1, Point p2, std::vector<Point> &seam, bool &isHorizontal) std 807 modules/stitching/src/seam_finders.cpp isHorizontal = std::abs(dst.x - src.x) > std::abs(dst.y - src.y); std 813 modules/stitching/src/seam_finders.cpp std::swap(src, dst); std 820 modules/stitching/src/seam_finders.cpp std::swap(src, dst); std 833 modules/stitching/src/seam_finders.cpp std::pair<float, int> steps[3]; std 848 modules/stitching/src/seam_finders.cpp steps[nsteps++] = std::make_pair(cost(y, x-1) + costH(y, x-1), 1); std 850 modules/stitching/src/seam_finders.cpp steps[nsteps++] = std::make_pair(cost(y-1, x-1) + costH(y-1, x-1) + costV(y-1, x), 2); std 852 modules/stitching/src/seam_finders.cpp steps[nsteps++] = std::make_pair(cost(y+1, x-1) + costH(y+1, x-1) + costV(y, x), 3); std 857 modules/stitching/src/seam_finders.cpp std::pair<float, int> opt = *min_element(steps, steps + nsteps); std 878 modules/stitching/src/seam_finders.cpp steps[nsteps++] = std::make_pair(cost(y-1, x) + costV(y-1, x), 1); std 880 modules/stitching/src/seam_finders.cpp steps[nsteps++] = std::make_pair(cost(y-1, x-1) + costV(y-1, x-1) + costH(y, x-1), 2); std 882 modules/stitching/src/seam_finders.cpp steps[nsteps++] = std::make_pair(cost(y-1, x+1) + costV(y-1, x+1) + costH(y, x), 3); std 887 modules/stitching/src/seam_finders.cpp std::pair<float, int> opt = *min_element(steps, steps + nsteps); std 925 modules/stitching/src/seam_finders.cpp std::reverse(seam.begin(), seam.end()); std 934 modules/stitching/src/seam_finders.cpp int comp1, int comp2, const std::vector<Point> &seam, bool isHorizontalSeam) std 1012 modules/stitching/src/seam_finders.cpp std::map<int, int> connect2; std 1013 modules/stitching/src/seam_finders.cpp std::map<int, int> connectOther; std 1017 modules/stitching/src/seam_finders.cpp connect2.insert(std::make_pair(i, 0)); std 1018 modules/stitching/src/seam_finders.cpp connectOther.insert(std::make_pair(i, 0)); std 1043 modules/stitching/src/seam_finders.cpp std::vector<int> isAdjComp(ncomps + 1, 0); std 1045 modules/stitching/src/seam_finders.cpp for (std::map<int, int>::iterator itr = connect2.begin(); itr != connect2.end(); ++itr) std 1068 modules/stitching/src/seam_finders.cpp void find(const std::vector<UMat> &src, const std::vector<Point> &corners, std::vector<UMat> &masks); std 1078 modules/stitching/src/seam_finders.cpp std::vector<Mat> dx_, dy_; std 1085 modules/stitching/src/seam_finders.cpp void GraphCutSeamFinder::Impl::find(const std::vector<UMat> &src, const std::vector<Point> &corners, std 1086 modules/stitching/src/seam_finders.cpp std::vector<UMat> &masks) std 1322 modules/stitching/src/seam_finders.cpp void GraphCutSeamFinder::find(const std::vector<UMat> &src, const std::vector<Point> &corners, std 1323 modules/stitching/src/seam_finders.cpp std::vector<UMat> &masks) std 1330 modules/stitching/src/seam_finders.cpp void GraphCutSeamFinderGpu::find(const std::vector<UMat> &src, const std::vector<Point> &corners, std 1331 modules/stitching/src/seam_finders.cpp std::vector<UMat> &masks) std 91 modules/stitching/src/stitcher.cpp return estimateTransform(images, std::vector<std::vector<Rect> >()); std 95 modules/stitching/src/stitcher.cpp Stitcher::Status Stitcher::estimateTransform(InputArrayOfArrays images, const std::vector<std::vector<Rect> > &rois) std 115 modules/stitching/src/stitcher.cpp return composePanorama(std::vector<UMat>(), pano); std 123 modules/stitching/src/stitcher.cpp std::vector<UMat> imgs; std 139 modules/stitching/src/stitcher.cpp std::vector<UMat> seam_est_imgs_subset; std 140 modules/stitching/src/stitcher.cpp std::vector<UMat> imgs_subset; std 158 modules/stitching/src/stitcher.cpp std::vector<Point> corners(imgs_.size()); std 159 modules/stitching/src/stitcher.cpp std::vector<UMat> masks_warped(imgs_.size()); std 160 modules/stitching/src/stitcher.cpp std::vector<UMat> images_warped(imgs_.size()); std 161 modules/stitching/src/stitcher.cpp std::vector<Size> sizes(imgs_.size()); std 162 modules/stitching/src/stitcher.cpp std::vector<UMat> masks(imgs_.size()); std 188 modules/stitching/src/stitcher.cpp std::vector<UMat> images_warped_f(imgs_.size()); std 232 modules/stitching/src/stitcher.cpp compose_scale = std::min(1.0, std::sqrt(compose_resol_ * 1e6 / full_img.size().area())); std 253 modules/stitching/src/stitcher.cpp if (std::abs(compose_scale - 1) > 1e-1) std 266 modules/stitching/src/stitcher.cpp if (std::abs(compose_scale - 1) > 1e-1) std 370 modules/stitching/src/stitcher.cpp Stitcher::Status Stitcher::stitch(InputArrayOfArrays images, const std::vector<std::vector<Rect> > &rois, OutputArray pano) std 417 modules/stitching/src/stitcher.cpp work_scale_ = std::min(1.0, std::sqrt(registr_resol_ * 1e6 / full_img.size().area())); std 424 modules/stitching/src/stitcher.cpp seam_scale_ = std::min(1.0, std::sqrt(seam_est_resol_ * 1e6 / full_img.size().area())); std 433 modules/stitching/src/stitcher.cpp std::vector<Rect> rois(rois_[i].size()); std 466 modules/stitching/src/stitcher.cpp std::vector<UMat> seam_est_imgs_subset; std 467 modules/stitching/src/stitcher.cpp std::vector<UMat> imgs_subset; std 468 modules/stitching/src/stitcher.cpp std::vector<Size> full_img_sizes_subset; std 508 modules/stitching/src/stitcher.cpp std::vector<double> focals; std 515 modules/stitching/src/stitcher.cpp std::sort(focals.begin(), focals.end()); std 523 modules/stitching/src/stitcher.cpp std::vector<Mat> rmats; std 60 modules/stitching/src/timelapsers.cpp void Timelapser::initialize(const std::vector<Point> &corners, const std::vector<Size> &sizes) std 99 modules/stitching/src/timelapsers.cpp void TimelapserCrop::initialize(const std::vector<Point> &corners, const std::vector<Size> &sizes) std 103 modules/stitching/src/util.cpp int x_tl = std::max(tl1.x, tl2.x); std 104 modules/stitching/src/util.cpp int y_tl = std::max(tl1.y, tl2.y); std 105 modules/stitching/src/util.cpp int x_br = std::min(tl1.x + sz1.width, tl2.x + sz2.width); std 106 modules/stitching/src/util.cpp int y_br = std::min(tl1.y + sz1.height, tl2.y + sz2.height); std 116 modules/stitching/src/util.cpp Rect resultRoi(const std::vector<Point> &corners, const std::vector<UMat> &images) std 118 modules/stitching/src/util.cpp std::vector<Size> sizes(images.size()); std 125 modules/stitching/src/util.cpp Rect resultRoi(const std::vector<Point> &corners, const std::vector<Size> &sizes) std 128 modules/stitching/src/util.cpp Point tl(std::numeric_limits<int>::max(), std::numeric_limits<int>::max()); std 129 modules/stitching/src/util.cpp Point br(std::numeric_limits<int>::min(), std::numeric_limits<int>::min()); std 132 modules/stitching/src/util.cpp tl.x = std::min(tl.x, corners[i].x); std 133 modules/stitching/src/util.cpp tl.y = std::min(tl.y, corners[i].y); std 134 modules/stitching/src/util.cpp br.x = std::max(br.x, corners[i].x + sizes[i].width); std 135 modules/stitching/src/util.cpp br.y = std::max(br.y, corners[i].y + sizes[i].height); std 140 modules/stitching/src/util.cpp Rect resultRoiIntersection(const std::vector<Point> &corners, const std::vector<Size> &sizes) std 143 modules/stitching/src/util.cpp Point tl(std::numeric_limits<int>::min(), std::numeric_limits<int>::min()); std 144 modules/stitching/src/util.cpp Point br(std::numeric_limits<int>::max(), std::numeric_limits<int>::max()); std 147 modules/stitching/src/util.cpp tl.x = std::max(tl.x, corners[i].x); std 148 modules/stitching/src/util.cpp tl.y = std::max(tl.y, corners[i].y); std 149 modules/stitching/src/util.cpp br.x = std::min(br.x, corners[i].x + sizes[i].width); std 150 modules/stitching/src/util.cpp br.y = std::min(br.y, corners[i].y + sizes[i].height); std 156 modules/stitching/src/util.cpp Point resultTl(const std::vector<Point> &corners) std 158 modules/stitching/src/util.cpp Point tl(std::numeric_limits<int>::max(), std::numeric_limits<int>::max()); std 161 modules/stitching/src/util.cpp tl.x = std::min(tl.x, corners[i].x); std 162 modules/stitching/src/util.cpp tl.y = std::min(tl.y, corners[i].y); std 168 modules/stitching/src/util.cpp void selectRandomSubset(int count, int size, std::vector<int> &subset) std 193 modules/stitching/src/warpers.cpp float tl_uf = std::numeric_limits<float>::max(); std 194 modules/stitching/src/warpers.cpp float tl_vf = std::numeric_limits<float>::max(); std 195 modules/stitching/src/warpers.cpp float br_uf = -std::numeric_limits<float>::max(); std 196 modules/stitching/src/warpers.cpp float br_vf = -std::numeric_limits<float>::max(); std 201 modules/stitching/src/warpers.cpp tl_uf = std::min(tl_uf, u); tl_vf = std::min(tl_vf, v); std 202 modules/stitching/src/warpers.cpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); std 205 modules/stitching/src/warpers.cpp tl_uf = std::min(tl_uf, u); tl_vf = std::min(tl_vf, v); std 206 modules/stitching/src/warpers.cpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); std 209 modules/stitching/src/warpers.cpp tl_uf = std::min(tl_uf, u); tl_vf = std::min(tl_vf, v); std 210 modules/stitching/src/warpers.cpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); std 213 modules/stitching/src/warpers.cpp tl_uf = std::min(tl_uf, u); tl_vf = std::min(tl_vf, v); std 214 modules/stitching/src/warpers.cpp br_uf = std::max(br_uf, u); br_vf = std::max(br_vf, v); std 241 modules/stitching/src/warpers.cpp tl_uf = std::min(tl_uf, 0.f); tl_vf = std::min(tl_vf, static_cast<float>(CV_PI * projector_.scale)); std 242 modules/stitching/src/warpers.cpp br_uf = std::max(br_uf, 0.f); br_vf = std::max(br_vf, static_cast<float>(CV_PI * projector_.scale)); std 255 modules/stitching/src/warpers.cpp tl_uf = std::min(tl_uf, 0.f); tl_vf = std::min(tl_vf, static_cast<float>(0)); std 256 modules/stitching/src/warpers.cpp br_uf = std::max(br_uf, 0.f); br_vf = std::max(br_vf, static_cast<float>(0)); std 284 modules/stitching/src/warpers.cpp tl_uf = std::min(tl_uf, 0.f); tl_vf = std::min(tl_vf, static_cast<float>(CV_PI * projector_.scale)); std 285 modules/stitching/src/warpers.cpp br_uf = std::max(br_uf, 0.f); br_vf = std::max(br_vf, static_cast<float>(CV_PI * projector_.scale)); std 298 modules/stitching/src/warpers.cpp tl_uf = std::min(tl_uf, 0.f); tl_vf = std::min(tl_vf, static_cast<float>(0)); std 299 modules/stitching/src/warpers.cpp br_uf = std::max(br_uf, 0.f); br_vf = std::max(br_vf, static_cast<float>(0)); std 45 modules/stitching/test/test_blenders.cpp using namespace std; std 48 modules/stitching/test/test_matchers.cpp using namespace std; std 46 modules/superres/perf/perf_superres.cpp using namespace std; std 47 modules/superres/perf/perf_superres.cpp using namespace std::tr1; std 61 modules/superres/src/btv_l1.cpp std::vector<UMat> & forwardMotions = *(std::vector<UMat> *)_forwardMotions.getObj(), std 62 modules/superres/src/btv_l1.cpp & backwardMotions = *(std::vector<UMat> *)_backwardMotions.getObj(), std 63 modules/superres/src/btv_l1.cpp & relForwardMotions = *(std::vector<UMat> *)_relForwardMotions.getObj(), std 64 modules/superres/src/btv_l1.cpp & relBackwardMotions = *(std::vector<UMat> *)_relBackwardMotions.getObj(); std 102 modules/superres/src/btv_l1.cpp std::vector<Mat> & forwardMotions = *(std::vector<Mat> *)_forwardMotions.getObj(), std 103 modules/superres/src/btv_l1.cpp & backwardMotions = *(std::vector<Mat> *)_backwardMotions.getObj(), std 104 modules/superres/src/btv_l1.cpp & relForwardMotions = *(std::vector<Mat> *)_relForwardMotions.getObj(), std 105 modules/superres/src/btv_l1.cpp & relBackwardMotions = *(std::vector<Mat> *)_relBackwardMotions.getObj(); std 133 modules/superres/src/btv_l1.cpp std::vector<UMat> & lowResMotions = *(std::vector<UMat> *)_lowResMotions.getObj(), std 134 modules/superres/src/btv_l1.cpp & highResMotions = *(std::vector<UMat> *)_highResMotions.getObj(); std 154 modules/superres/src/btv_l1.cpp std::vector<Mat> & lowResMotions = *(std::vector<Mat> *)_lowResMotions.getObj(), std 155 modules/superres/src/btv_l1.cpp & highResMotions = *(std::vector<Mat> *)_highResMotions.getObj(); std 347 modules/superres/src/btv_l1.cpp void calcBtvWeights(int btvKernelSize, double alpha, std::vector<float>& btvWeights) std 359 modules/superres/src/btv_l1.cpp btvWeights[ind] = pow(alpha_f, std::abs(m) + std::abs(l)); std 400 modules/superres/src/btv_l1.cpp void calcBtvRegularizationImpl(InputArray _src, OutputArray _dst, int btvKernelSize, const std::vector<float>& btvWeights) std 446 modules/superres/src/btv_l1.cpp const std::vector<float>& btvWeights, const UMat & ubtvWeights) std 452 modules/superres/src/btv_l1.cpp typedef void (*func_t)(InputArray _src, OutputArray _dst, int btvKernelSize, const std::vector<float>& btvWeights); std 505 modules/superres/src/btv_l1.cpp std::vector<float> btvWeights_; std 512 modules/superres/src/btv_l1.cpp std::vector<Mat> lowResForwardMotions_; std 513 modules/superres/src/btv_l1.cpp std::vector<Mat> lowResBackwardMotions_; std 515 modules/superres/src/btv_l1.cpp std::vector<Mat> highResForwardMotions_; std 516 modules/superres/src/btv_l1.cpp std::vector<Mat> highResBackwardMotions_; std 518 modules/superres/src/btv_l1.cpp std::vector<Mat> forwardMaps_; std 519 modules/superres/src/btv_l1.cpp std::vector<Mat> backwardMaps_; std 528 modules/superres/src/btv_l1.cpp std::vector<UMat> ulowResForwardMotions_; std 529 modules/superres/src/btv_l1.cpp std::vector<UMat> ulowResBackwardMotions_; std 531 modules/superres/src/btv_l1.cpp std::vector<UMat> uhighResForwardMotions_; std 532 modules/superres/src/btv_l1.cpp std::vector<UMat> uhighResBackwardMotions_; std 534 modules/superres/src/btv_l1.cpp std::vector<UMat> uforwardMaps_; std 535 modules/superres/src/btv_l1.cpp std::vector<UMat> ubackwardMaps_; std 570 modules/superres/src/btv_l1.cpp std::vector<UMat> & src = *(std::vector<UMat> *)_src.getObj(), std 571 modules/superres/src/btv_l1.cpp & forwardMotions = *(std::vector<UMat> *)_forwardMotions.getObj(), std 572 modules/superres/src/btv_l1.cpp & backwardMotions = *(std::vector<UMat> *)_backwardMotions.getObj(); std 673 modules/superres/src/btv_l1.cpp std::vector<Mat> & src = *(std::vector<Mat> *)_src.getObj(), std 674 modules/superres/src/btv_l1.cpp & forwardMotions = *(std::vector<Mat> *)_forwardMotions.getObj(), std 675 modules/superres/src/btv_l1.cpp & backwardMotions = *(std::vector<Mat> *)_backwardMotions.getObj(); std 826 modules/superres/src/btv_l1.cpp std::vector<Mat> frames_; std 827 modules/superres/src/btv_l1.cpp std::vector<Mat> forwardMotions_; std 828 modules/superres/src/btv_l1.cpp std::vector<Mat> backwardMotions_; std 829 modules/superres/src/btv_l1.cpp std::vector<Mat> outputs_; std 831 modules/superres/src/btv_l1.cpp std::vector<Mat> srcFrames_; std 832 modules/superres/src/btv_l1.cpp std::vector<Mat> srcForwardMotions_; std 833 modules/superres/src/btv_l1.cpp std::vector<Mat> srcBackwardMotions_; std 841 modules/superres/src/btv_l1.cpp std::vector<UMat> uframes_; std 842 modules/superres/src/btv_l1.cpp std::vector<UMat> uforwardMotions_; std 843 modules/superres/src/btv_l1.cpp std::vector<UMat> ubackwardMotions_; std 844 modules/superres/src/btv_l1.cpp std::vector<UMat> uoutputs_; std 846 modules/superres/src/btv_l1.cpp std::vector<UMat> usrcFrames_; std 847 modules/superres/src/btv_l1.cpp std::vector<UMat> usrcForwardMotions_; std 848 modules/superres/src/btv_l1.cpp std::vector<UMat> usrcBackwardMotions_; std 1034 modules/superres/src/btv_l1.cpp const int startIdx = std::max(idx - temporalAreaRadius_, 0); std 1036 modules/superres/src/btv_l1.cpp const int endIdx = std::min(startIdx + 2 * temporalAreaRadius_, storePos_); std 1071 modules/superres/src/btv_l1.cpp const int startIdx = std::max(idx - temporalAreaRadius_, 0); std 1073 modules/superres/src/btv_l1.cpp const int endIdx = std::min(startIdx + 2 * temporalAreaRadius_, storePos_); std 81 modules/superres/src/btv_l1_cuda.cpp void calcRelativeMotions(const std::vector<std::pair<GpuMat, GpuMat> >& forwardMotions, const std::vector<std::pair<GpuMat, GpuMat> >& backwardMotions, std 82 modules/superres/src/btv_l1_cuda.cpp std::vector<std::pair<GpuMat, GpuMat> >& relForwardMotions, std::vector<std::pair<GpuMat, GpuMat> >& relBackwardMotions, std 118 modules/superres/src/btv_l1_cuda.cpp void upscaleMotions(const std::vector<std::pair<GpuMat, GpuMat> >& lowResMotions, std::vector<std::pair<GpuMat, GpuMat> >& highResMotions, int scale) std 132 modules/superres/src/btv_l1_cuda.cpp void buildMotionMaps(const std::pair<GpuMat, GpuMat>& forwardMotion, const std::pair<GpuMat, GpuMat>& backwardMotion, std 133 modules/superres/src/btv_l1_cuda.cpp std::pair<GpuMat, GpuMat>& forwardMap, std::pair<GpuMat, GpuMat>& backwardMap) std 172 modules/superres/src/btv_l1_cuda.cpp void calcBtvWeights(int btvKernelSize, double alpha, std::vector<float>& btvWeights) std 184 modules/superres/src/btv_l1_cuda.cpp btvWeights[ind] = pow(alpha_f, std::abs(m) + std::abs(l)); std 215 modules/superres/src/btv_l1_cuda.cpp void process(const std::vector<GpuMat>& src, GpuMat& dst, std 216 modules/superres/src/btv_l1_cuda.cpp const std::vector<std::pair<GpuMat, GpuMat> >& forwardMotions, const std::vector<std::pair<GpuMat, GpuMat> >& backwardMotions, std 245 modules/superres/src/btv_l1_cuda.cpp std::vector<Ptr<cuda::Filter> > filters_; std 250 modules/superres/src/btv_l1_cuda.cpp std::vector<float> btvWeights_; std 254 modules/superres/src/btv_l1_cuda.cpp std::vector<std::pair<GpuMat, GpuMat> > lowResForwardMotions_; std 255 modules/superres/src/btv_l1_cuda.cpp std::vector<std::pair<GpuMat, GpuMat> > lowResBackwardMotions_; std 257 modules/superres/src/btv_l1_cuda.cpp std::vector<std::pair<GpuMat, GpuMat> > highResForwardMotions_; std 258 modules/superres/src/btv_l1_cuda.cpp std::vector<std::pair<GpuMat, GpuMat> > highResBackwardMotions_; std 260 modules/superres/src/btv_l1_cuda.cpp std::vector<std::pair<GpuMat, GpuMat> > forwardMaps_; std 261 modules/superres/src/btv_l1_cuda.cpp std::vector<std::pair<GpuMat, GpuMat> > backwardMaps_; std 265 modules/superres/src/btv_l1_cuda.cpp std::vector<Stream> streams_; std 266 modules/superres/src/btv_l1_cuda.cpp std::vector<GpuMat> diffTerms_; std 267 modules/superres/src/btv_l1_cuda.cpp std::vector<GpuMat> a_, b_, c_; std 297 modules/superres/src/btv_l1_cuda.cpp void BTVL1_CUDA_Base::process(const std::vector<GpuMat>& src, GpuMat& dst, std 298 modules/superres/src/btv_l1_cuda.cpp const std::vector<std::pair<GpuMat, GpuMat> >& forwardMotions, const std::vector<std::pair<GpuMat, GpuMat> >& backwardMotions, std 435 modules/superres/src/btv_l1_cuda.cpp std::vector<GpuMat> frames_; std 436 modules/superres/src/btv_l1_cuda.cpp std::vector<std::pair<GpuMat, GpuMat> > forwardMotions_; std 437 modules/superres/src/btv_l1_cuda.cpp std::vector<std::pair<GpuMat, GpuMat> > backwardMotions_; std 438 modules/superres/src/btv_l1_cuda.cpp std::vector<GpuMat> outputs_; std 444 modules/superres/src/btv_l1_cuda.cpp std::vector<GpuMat> srcFrames_; std 445 modules/superres/src/btv_l1_cuda.cpp std::vector<std::pair<GpuMat, GpuMat> > srcForwardMotions_; std 446 modules/superres/src/btv_l1_cuda.cpp std::vector<std::pair<GpuMat, GpuMat> > srcBackwardMotions_; std 535 modules/superres/src/btv_l1_cuda.cpp std::pair<GpuMat, GpuMat>& forwardMotion = at(storePos_ - 1, forwardMotions_); std 536 modules/superres/src/btv_l1_cuda.cpp std::pair<GpuMat, GpuMat>& backwardMotion = at(storePos_, backwardMotions_); std 547 modules/superres/src/btv_l1_cuda.cpp const int startIdx = std::max(idx - temporalAreaRadius_, 0); std 549 modules/superres/src/btv_l1_cuda.cpp const int endIdx = std::min(startIdx + 2 * temporalAreaRadius_, storePos_); std 208 modules/superres/src/input_array_utility.cpp std::numeric_limits<uchar>::max(), std 209 modules/superres/src/input_array_utility.cpp std::numeric_limits<schar>::max(), std 210 modules/superres/src/input_array_utility.cpp std::numeric_limits<ushort>::max(), std 211 modules/superres/src/input_array_utility.cpp std::numeric_limits<short>::max(), std 212 modules/superres/src/input_array_utility.cpp std::numeric_limits<int>::max(), std 80 modules/superres/src/optical_flow.cpp std::vector<UMat> uflows_; std 55 modules/superres/src/ring_buffer.hpp inline const T& at(int index, const std::vector<T, A>& items) std 66 modules/superres/src/ring_buffer.hpp inline T& at(int index, std::vector<T, A>& items) std 220 modules/superres/test/test_superres.cpp const std::string inputVideoName = cvtest::TS::ptr()->get_data_path() + "car.avi"; std 44 modules/ts/include/opencv2/ts.hpp using std::vector; std 45 modules/ts/include/opencv2/ts.hpp using std::string; std 173 modules/ts/include/opencv2/ts.hpp CV_EXPORTS std::ostream& operator << (std::ostream& out, const MatInfo& m); std 429 modules/ts/include/opencv2/ts.hpp std::string output_buf[MAX_IDX]; std 68 modules/ts/include/opencv2/ts/cuda_perf.hpp #define GET_PARAM(k) std::tr1::get< k >(GetParam()) std 70 modules/ts/include/opencv2/ts/cuda_perf.hpp #define DEF_PARAM_TEST(name, ...) typedef ::perf::TestBaseWithParam< std::tr1::tuple< __VA_ARGS__ > > name std 94 modules/ts/include/opencv2/ts/cuda_perf.hpp CV_EXPORTS cv::Mat readImage(const std::string& fileName, int flags = cv::IMREAD_COLOR); std 105 modules/ts/include/opencv2/ts/cuda_perf.hpp CV_EXPORTS void PrintTo(const CvtColorInfo& info, std::ostream* os); std 109 modules/ts/include/opencv2/ts/cuda_perf.hpp CV_EXPORTS void sortKeyPoints(std::vector<cv::KeyPoint>& keypoints, cv::InputOutputArray _descriptors = cv::noArray()); std 76 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS cv::Mat readImage(const std::string& fileName, int flags = cv::IMREAD_COLOR); std 79 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS cv::Mat readImageType(const std::string& fname, int type); std 95 modules/ts/include/opencv2/ts/cuda_test.hpp const std::vector<cv::cuda::DeviceInfo>& values() const { return devices_; } std 98 modules/ts/include/opencv2/ts/cuda_test.hpp std::vector<cv::cuda::DeviceInfo> devices_; std 211 modules/ts/include/opencv2/ts/cuda_test.hpp #define PARAM_TEST_CASE(name, ...) struct name : testing::TestWithParam< std::tr1::tuple< __VA_ARGS__ > > std 212 modules/ts/include/opencv2/ts/cuda_test.hpp #define GET_PARAM(k) std::tr1::get< k >(GetParam()) std 222 modules/ts/include/opencv2/ts/cuda_test.hpp #define DEPTH_PAIRS testing::Values(std::make_pair(MatDepth(CV_8U), MatDepth(CV_8U)), \ std 223 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_8U), MatDepth(CV_16U)), \ std 224 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_8U), MatDepth(CV_16S)), \ std 225 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_8U), MatDepth(CV_32S)), \ std 226 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_8U), MatDepth(CV_32F)), \ std 227 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_8U), MatDepth(CV_64F)), \ std 229 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_16U), MatDepth(CV_16U)), \ std 230 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_16U), MatDepth(CV_32S)), \ std 231 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_16U), MatDepth(CV_32F)), \ std 232 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_16U), MatDepth(CV_64F)), \ std 234 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_16S), MatDepth(CV_16S)), \ std 235 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_16S), MatDepth(CV_32S)), \ std 236 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_16S), MatDepth(CV_32F)), \ std 237 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_16S), MatDepth(CV_64F)), \ std 239 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_32S), MatDepth(CV_32S)), \ std 240 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_32S), MatDepth(CV_32F)), \ std 241 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_32S), MatDepth(CV_64F)), \ std 243 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_32F), MatDepth(CV_32F)), \ std 244 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_32F), MatDepth(CV_64F)), \ std 246 modules/ts/include/opencv2/ts/cuda_test.hpp std::make_pair(MatDepth(CV_64F), MatDepth(CV_64F))) std 253 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS std::vector<MatType> types(int depth_start, int depth_end, int cn_start, int cn_end); std 256 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS const std::vector<MatType>& all_types(); std 274 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS void PrintTo(const UseRoi& useRoi, std::ostream* os); std 291 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS void PrintTo(const Inverse& useRoi, std::ostream* os); std 306 modules/ts/include/opencv2/ts/cuda_test.hpp inline void PrintTo( name param, std::ostream* os) \ std 330 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS testing::AssertionResult assertKeyPointsEquals(const char* gold_expr, const char* actual_expr, std::vector<cv::KeyPoint>& gold, std::vector<cv::KeyPoint>& actual); std 334 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS int getMatchedPointsCount(std::vector<cv::KeyPoint>& gold, std::vector<cv::KeyPoint>& actual); std 335 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS int getMatchedPointsCount(const std::vector<cv::KeyPoint>& keypoints1, const std::vector<cv::KeyPoint>& keypoints2, const std::vector<cv::DMatch>& matches); std 340 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS void dumpImage(const std::string& fileName, const cv::Mat& image); std 349 modules/ts/include/opencv2/ts/cuda_test.hpp CV_EXPORTS void PrintTo(const DeviceInfo& info, std::ostream* os); std 53 modules/ts/include/opencv2/ts/ocl_perf.hpp using std::tr1::get; std 54 modules/ts/include/opencv2/ts/ocl_perf.hpp using std::tr1::tuple; std 62 modules/ts/include/opencv2/ts/ocl_test.hpp inline std::vector<UMat> ToUMat(const std::vector<Mat>& src) std 64 modules/ts/include/opencv2/ts/ocl_test.hpp std::vector<UMat> dst; std 103 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << mat1.size() << std::endl; \ std 112 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << mat1.size() << std::endl; \ std 123 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << mat1.size() << std::endl; \ std 132 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << name ## _roi.size() << std::endl; \ std 141 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << name ## _roi.size() << std::endl; \ std 150 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << name ## _roi.size() << std::endl; \ std 159 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << name ## _roi.size() << std::endl; \ std 169 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << name ## _roi.size() << std::endl; \ std 178 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << name ## _roi.size() << std::endl; \ std 187 modules/ts/include/opencv2/ts/ocl_test.hpp << "Size: " << mat1.size() << std::endl; \ std 279 modules/ts/include/opencv2/ts/ocl_test.hpp static double checkRectSimilarity(const cv::Size & sz, std::vector<cv::Rect>& ob1, std::vector<cv::Rect>& ob2); std 293 modules/ts/include/opencv2/ts/ocl_test.hpp std::max((double)std::numeric_limits<float>::epsilon(), std 294 modules/ts/include/opencv2/ts/ocl_test.hpp (double)std::max(cvtest::norm(m1.getMat(), cv::NORM_INF), cvtest::norm(m2.getMat(), cv::NORM_INF))); std 301 modules/ts/include/opencv2/ts/ocl_test.hpp std::max((double)std::numeric_limits<float>::epsilon(), std 302 modules/ts/include/opencv2/ts/ocl_test.hpp (double)std::max(cvtest::norm(m1.getMat(), cv::NORM_INF), cvtest::norm(m2.getMat(), cv::NORM_INF))); std 303 modules/ts/include/opencv2/ts/ocl_test.hpp return std::min(norm_inf, norm_rel); std 327 modules/ts/include/opencv2/ts/ocl_test.hpp #define PARAM_TEST_CASE(name, ...) struct name : public TSTestWithParam< std::tr1::tuple< __VA_ARGS__ > > std 329 modules/ts/include/opencv2/ts/ocl_test.hpp #define GET_PARAM(k) std::tr1::get< k >(GetParam()) std 341 modules/ts/include/opencv2/ts/ocl_test.hpp inline void PrintTo( name param, std::ostream* os) \ std 792 modules/ts/include/opencv2/ts/ts_gtest.h namespace std { std 812 modules/ts/include/opencv2/ts/ts_gtest.h #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type std 822 modules/ts/include/opencv2/ts/ts_gtest.h #define GTEST_ADD_REF_(T) typename ::std::tr1::gtest_internal::AddRef<T>::type std 939 modules/ts/include/opencv2/ts/ts_gtest.h tuple(const ::std::pair<U0, U1>& p) : f0_(p.first), f1_(p.second) {} std 948 modules/ts/include/opencv2/ts/ts_gtest.h tuple& operator=(const ::std::pair<U0, U1>& p) { std 1647 modules/ts/include/opencv2/ts/ts_gtest.h ::std::tr1::get<k - 1>(t1) == ::std::tr1::get<k - 1>(t2); std 1707 modules/ts/include/opencv2/ts/ts_gtest.h namespace std { std 1709 modules/ts/include/opencv2/ts/ts_gtest.h using ::std::get; std 1710 modules/ts/include/opencv2/ts/ts_gtest.h using ::std::make_tuple; std 1711 modules/ts/include/opencv2/ts/ts_gtest.h using ::std::tuple; std 1712 modules/ts/include/opencv2/ts/ts_gtest.h using ::std::tuple_element; std 1713 modules/ts/include/opencv2/ts/ts_gtest.h using ::std::tuple_size; std 2030 modules/ts/include/opencv2/ts/ts_gtest.h typedef ::std::string string; std 2036 modules/ts/include/opencv2/ts/ts_gtest.h typedef ::std::wstring wstring; std 2091 modules/ts/include/opencv2/ts/ts_gtest.h RE(const ::std::string& regex) { Init(regex.c_str()); } // NOLINT std 2112 modules/ts/include/opencv2/ts/ts_gtest.h static bool FullMatch(const ::std::string& str, const RE& re) { std 2115 modules/ts/include/opencv2/ts/ts_gtest.h static bool PartialMatch(const ::std::string& str, const RE& re) { std 2158 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ ::std::string FormatFileLocation(const char* file, int line); std 2163 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ ::std::string FormatCompilerIndependentFileLocation(const char* file, std 2189 modules/ts/include/opencv2/ts/ts_gtest.h ::std::ostream& GetStream() { return ::std::cerr; } std 2321 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ std::string GetCapturedStdout(); std 2323 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ std::string GetCapturedStderr(); std 2330 modules/ts/include/opencv2/ts/ts_gtest.h const ::std::vector<testing::internal::string>& GetInjectableArgvs(); std 2331 modules/ts/include/opencv2/ts/ts_gtest.h void SetInjectableArgvs(const ::std::vector<testing::internal::string>* std 2335 modules/ts/include/opencv2/ts/ts_gtest.h extern ::std::vector<testing::internal::string> g_argvs; std 3074 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ extern ::std::string GTEST_FLAG(name) std 3082 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ ::std::string GTEST_FLAG(name) = (default_val) std 3212 modules/ts/include/opencv2/ts/ts_gtest.h typedef std::ostream& (*BasicNarrowIoManip)(std::ostream&); std 3219 modules/ts/include/opencv2/ts/ts_gtest.h Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT std 3224 modules/ts/include/opencv2/ts/ts_gtest.h explicit Message(const char* str) : ss_(new ::std::stringstream) { std 3306 modules/ts/include/opencv2/ts/ts_gtest.h Message& operator <<(const ::std::wstring& wstr); std 3319 modules/ts/include/opencv2/ts/ts_gtest.h std::string GetString() const; std 3347 modules/ts/include/opencv2/ts/ts_gtest.h const internal::scoped_ptr< ::std::stringstream> ss_; std 3355 modules/ts/include/opencv2/ts/ts_gtest.h inline std::ostream& operator <<(std::ostream& os, const Message& sb) { std 3366 modules/ts/include/opencv2/ts/ts_gtest.h std::string StreamableToString(const T& streamable) { std 3480 modules/ts/include/opencv2/ts/ts_gtest.h static std::string ShowWideCString(const wchar_t* wide_c_str); std 3517 modules/ts/include/opencv2/ts/ts_gtest.h const std::string& str, const std::string& suffix); std 3520 modules/ts/include/opencv2/ts/ts_gtest.h static std::string FormatIntWidth2(int value); // "%02d" for width == 2 std 3523 modules/ts/include/opencv2/ts/ts_gtest.h static std::string FormatHexInt(int value); std 3526 modules/ts/include/opencv2/ts/ts_gtest.h static std::string FormatByte(unsigned char value); std 3534 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ std::string StringStreamToString(::std::stringstream* stream); std 3602 modules/ts/include/opencv2/ts/ts_gtest.h explicit FilePath(const std::string& pathname) : pathname_(pathname) { std 3615 modules/ts/include/opencv2/ts/ts_gtest.h const std::string& string() const { return pathname_; } std 3738 modules/ts/include/opencv2/ts/ts_gtest.h std::string pathname_; std 3807 modules/ts/include/opencv2/ts/ts_gtest.h std::string GetTypeName() { std 3819 modules/ts/include/opencv2/ts/ts_gtest.h const std::string name_str(status == 0 ? readable_name : name); std 7102 modules/ts/include/opencv2/ts/ts_gtest.h ::std::string PrintToString(const T& value); std 7148 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ std::string AppendUserMessage( std 7149 modules/ts/include/opencv2/ts/ts_gtest.h const std::string& gtest_msg, const Message& user_msg); std 7165 modules/ts/include/opencv2/ts/ts_gtest.h class GTEST_API_ GoogleTestFailureException : public ::std::runtime_error { std 7212 modules/ts/include/opencv2/ts/ts_gtest.h const std::string& expected_value, std 7213 modules/ts/include/opencv2/ts/ts_gtest.h const std::string& actual_value, std 7217 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ std::string GetBoolAssertionFailureMessage( std 7266 modules/ts/include/opencv2/ts/ts_gtest.h std::numeric_limits<RawType>::digits - 1; std 7558 modules/ts/include/opencv2/ts/ts_gtest.h ::std::set<const char*> defined_test_names_; std 7574 modules/ts/include/opencv2/ts/ts_gtest.h inline std::string GetPrefixUntilComma(const char* str) { std 7576 modules/ts/include/opencv2/ts/ts_gtest.h return comma == NULL ? str : std::string(str, comma); std 7602 modules/ts/include/opencv2/ts/ts_gtest.h (std::string(prefix) + (prefix[0] == '\0' ? "" : "/") + case_name + "/" std 7671 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ std::string GetCurrentOsStackTraceExceptTop( std 8348 modules/ts/include/opencv2/ts/ts_gtest.h static void set_last_death_test_message(const std::string& message); std 8352 modules/ts/include/opencv2/ts/ts_gtest.h static std::string last_death_test_message_; std 8382 modules/ts/include/opencv2/ts/ts_gtest.h } catch (const ::std::exception& gtest_exception) { \ std 8454 modules/ts/include/opencv2/ts/ts_gtest.h InternalRunDeathTestFlag(const std::string& a_file, std 8466 modules/ts/include/opencv2/ts/ts_gtest.h const std::string& file() const { return file_; } std 8472 modules/ts/include/opencv2/ts/ts_gtest.h std::string file_; std 9368 modules/ts/include/opencv2/ts/ts_gtest.h ::std::ostream* os); std 9387 modules/ts/include/opencv2/ts/ts_gtest.h static void PrintValue(const T& value, ::std::ostream* os) { std 9401 modules/ts/include/opencv2/ts/ts_gtest.h static void PrintValue(const T& value, ::std::ostream* os) { std 9420 modules/ts/include/opencv2/ts/ts_gtest.h static void PrintValue(const T& value, ::std::ostream* os) { std 9451 modules/ts/include/opencv2/ts/ts_gtest.h ::std::basic_ostream<Char, CharTraits>& operator<<( std 9452 modules/ts/include/opencv2/ts/ts_gtest.h ::std::basic_ostream<Char, CharTraits>& os, const T& x) { std 9470 modules/ts/include/opencv2/ts/ts_gtest.h void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) { std 9516 modules/ts/include/opencv2/ts/ts_gtest.h void UniversalPrint(const T& value, ::std::ostream* os); std 9523 modules/ts/include/opencv2/ts/ts_gtest.h const C& container, ::std::ostream* os) { std 9557 modules/ts/include/opencv2/ts/ts_gtest.h T* p, ::std::ostream* os) { std 9589 modules/ts/include/opencv2/ts/ts_gtest.h const T& value, ::std::ostream* os) { std 9605 modules/ts/include/opencv2/ts/ts_gtest.h void PrintTo(const T& value, ::std::ostream* os) { std 9636 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ void PrintTo(unsigned char c, ::std::ostream* os); std 9637 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ void PrintTo(signed char c, ::std::ostream* os); std 9638 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(char c, ::std::ostream* os) { std 9646 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(bool x, ::std::ostream* os) { std 9657 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ void PrintTo(wchar_t wc, ::std::ostream* os); std 9660 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ void PrintTo(const char* s, ::std::ostream* os); std 9661 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(char* s, ::std::ostream* os) { std 9667 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(const signed char* s, ::std::ostream* os) { std 9670 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(signed char* s, ::std::ostream* os) { std 9673 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(const unsigned char* s, ::std::ostream* os) { std 9676 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(unsigned char* s, ::std::ostream* os) { std 9687 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ void PrintTo(const wchar_t* s, ::std::ostream* os); std 9688 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(wchar_t* s, ::std::ostream* os) { std 9699 modules/ts/include/opencv2/ts/ts_gtest.h void PrintRawArrayTo(const T a[], size_t count, ::std::ostream* os) { std 9709 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ void PrintStringTo(const ::string&s, ::std::ostream* os); std 9710 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(const ::string& s, ::std::ostream* os) { std 9715 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ void PrintStringTo(const ::std::string&s, ::std::ostream* os); std 9716 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(const ::std::string& s, ::std::ostream* os) { std 9722 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ void PrintWideStringTo(const ::wstring&s, ::std::ostream* os); std 9723 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(const ::wstring& s, ::std::ostream* os) { std 9729 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_API_ void PrintWideStringTo(const ::std::wstring&s, ::std::ostream* os); std 9730 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(const ::std::wstring& s, ::std::ostream* os) { std 9742 modules/ts/include/opencv2/ts/ts_gtest.h void PrintTupleTo(const T& t, ::std::ostream* os); std 9749 modules/ts/include/opencv2/ts/ts_gtest.h inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) { std 9754 modules/ts/include/opencv2/ts/ts_gtest.h void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os) { std 9759 modules/ts/include/opencv2/ts/ts_gtest.h void PrintTo(const ::std::tr1::tuple<T1, T2>& t, ::std::ostream* os) { std 9764 modules/ts/include/opencv2/ts/ts_gtest.h void PrintTo(const ::std::tr1::tuple<T1, T2, T3>& t, ::std::ostream* os) { std 9769 modules/ts/include/opencv2/ts/ts_gtest.h void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4>& t, ::std::ostream* os) { std 9774 modules/ts/include/opencv2/ts/ts_gtest.h void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5>& t, std 9775 modules/ts/include/opencv2/ts/ts_gtest.h ::std::ostream* os) { std 9781 modules/ts/include/opencv2/ts/ts_gtest.h void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6>& t, std 9782 modules/ts/include/opencv2/ts/ts_gtest.h ::std::ostream* os) { std 9788 modules/ts/include/opencv2/ts/ts_gtest.h void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7>& t, std 9789 modules/ts/include/opencv2/ts/ts_gtest.h ::std::ostream* os) { std 9795 modules/ts/include/opencv2/ts/ts_gtest.h void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8>& t, std 9796 modules/ts/include/opencv2/ts/ts_gtest.h ::std::ostream* os) { std 9802 modules/ts/include/opencv2/ts/ts_gtest.h void PrintTo(const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9>& t, std 9803 modules/ts/include/opencv2/ts/ts_gtest.h ::std::ostream* os) { std 9810 modules/ts/include/opencv2/ts/ts_gtest.h const ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>& t, std 9811 modules/ts/include/opencv2/ts/ts_gtest.h ::std::ostream* os) { std 9818 modules/ts/include/opencv2/ts/ts_gtest.h void PrintTo(const ::std::pair<T1, T2>& value, ::std::ostream* os) { std 9843 modules/ts/include/opencv2/ts/ts_gtest.h static void Print(const T& value, ::std::ostream* os) { std 9863 modules/ts/include/opencv2/ts/ts_gtest.h void UniversalPrintArray(const T* begin, size_t len, ::std::ostream* os) { std 9886 modules/ts/include/opencv2/ts/ts_gtest.h const char* begin, size_t len, ::std::ostream* os); std 9890 modules/ts/include/opencv2/ts/ts_gtest.h const wchar_t* begin, size_t len, ::std::ostream* os); std 9898 modules/ts/include/opencv2/ts/ts_gtest.h static void Print(const T (&a)[N], ::std::ostream* os) { std 9914 modules/ts/include/opencv2/ts/ts_gtest.h static void Print(const T& value, ::std::ostream* os) { std 9935 modules/ts/include/opencv2/ts/ts_gtest.h static void Print(const T& value, ::std::ostream* os) { std 9942 modules/ts/include/opencv2/ts/ts_gtest.h static void Print(const T& value, ::std::ostream* os) { std 9949 modules/ts/include/opencv2/ts/ts_gtest.h static void Print(const T (&value)[N], ::std::ostream* os) { std 9956 modules/ts/include/opencv2/ts/ts_gtest.h static void Print(const char* str, ::std::ostream* os) { std 9967 modules/ts/include/opencv2/ts/ts_gtest.h static void Print(char* str, ::std::ostream* os) { std 9976 modules/ts/include/opencv2/ts/ts_gtest.h static void Print(const wchar_t* str, ::std::ostream* os) { std 9980 modules/ts/include/opencv2/ts/ts_gtest.h UniversalPrint(::std::wstring(str), os); std 9989 modules/ts/include/opencv2/ts/ts_gtest.h static void Print(wchar_t* str, ::std::ostream* os) { std 9995 modules/ts/include/opencv2/ts/ts_gtest.h void UniversalTersePrint(const T& value, ::std::ostream* os) { std 10004 modules/ts/include/opencv2/ts/ts_gtest.h void UniversalPrint(const T& value, ::std::ostream* os) { std 10012 modules/ts/include/opencv2/ts/ts_gtest.h typedef ::std::vector<string> Strings; std 10026 modules/ts/include/opencv2/ts/ts_gtest.h static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) { std 10029 modules/ts/include/opencv2/ts/ts_gtest.h UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type> std 10030 modules/ts/include/opencv2/ts/ts_gtest.h ::Print(::std::tr1::get<N - 1>(t), os); std 10038 modules/ts/include/opencv2/ts/ts_gtest.h ::std::stringstream ss; std 10039 modules/ts/include/opencv2/ts/ts_gtest.h UniversalTersePrint(::std::tr1::get<N - 1>(t), &ss); std 10048 modules/ts/include/opencv2/ts/ts_gtest.h static void PrintPrefixTo(const Tuple&, ::std::ostream*) {} std 10061 modules/ts/include/opencv2/ts/ts_gtest.h static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) { std 10062 modules/ts/include/opencv2/ts/ts_gtest.h UniversalPrinter<typename ::std::tr1::tuple_element<0, Tuple>::type>:: std 10063 modules/ts/include/opencv2/ts/ts_gtest.h Print(::std::tr1::get<0>(t), os); std 10068 modules/ts/include/opencv2/ts/ts_gtest.h ::std::stringstream ss; std 10069 modules/ts/include/opencv2/ts/ts_gtest.h UniversalTersePrint(::std::tr1::get<0>(t), &ss); std 10077 modules/ts/include/opencv2/ts/ts_gtest.h void PrintTupleTo(const T& t, ::std::ostream* os) { std 10079 modules/ts/include/opencv2/ts/ts_gtest.h TuplePrefixPrinter< ::std::tr1::tuple_size<T>::value>:: std 10090 modules/ts/include/opencv2/ts/ts_gtest.h TuplePrefixPrinter< ::std::tr1::tuple_size<Tuple>::value>:: std 10099 modules/ts/include/opencv2/ts/ts_gtest.h ::std::string PrintToString(const T& value) { std 10100 modules/ts/include/opencv2/ts/ts_gtest.h ::std::stringstream ss; std 10281 modules/ts/include/opencv2/ts/ts_gtest.h << "from different generators." << std::endl; std 10343 modules/ts/include/opencv2/ts/ts_gtest.h typedef typename ::std::vector<T> ContainerType; std 10379 modules/ts/include/opencv2/ts/ts_gtest.h << "from different generators." << std::endl; std 10539 modules/ts/include/opencv2/ts/ts_gtest.h instantiations_.push_back(::std::make_pair(instantiation_name, func)); std 10597 modules/ts/include/opencv2/ts/ts_gtest.h typedef ::std::vector<linked_ptr<TestInfo> > TestInfoContainer; std 10600 modules/ts/include/opencv2/ts/ts_gtest.h typedef ::std::vector<std::pair<string, GeneratorCreationFunc*> > std 10667 modules/ts/include/opencv2/ts/ts_gtest.h typedef ::std::vector<ParameterizedTestCaseInfoBase*> TestCaseInfoContainer; std 13837 modules/ts/include/opencv2/ts/ts_gtest.h : public ParamGeneratorInterface< ::std::tr1::tuple<T1, T2> > { std 13839 modules/ts/include/opencv2/ts/ts_gtest.h typedef ::std::tr1::tuple<T1, T2> ParamType; std 13891 modules/ts/include/opencv2/ts/ts_gtest.h << "from different generators." << std::endl; std 13952 modules/ts/include/opencv2/ts/ts_gtest.h : public ParamGeneratorInterface< ::std::tr1::tuple<T1, T2, T3> > { std 13954 modules/ts/include/opencv2/ts/ts_gtest.h typedef ::std::tr1::tuple<T1, T2, T3> ParamType; std 14014 modules/ts/include/opencv2/ts/ts_gtest.h << "from different generators." << std::endl; std 14084 modules/ts/include/opencv2/ts/ts_gtest.h : public ParamGeneratorInterface< ::std::tr1::tuple<T1, T2, T3, T4> > { std 14086 modules/ts/include/opencv2/ts/ts_gtest.h typedef ::std::tr1::tuple<T1, T2, T3, T4> ParamType; std 14155 modules/ts/include/opencv2/ts/ts_gtest.h << "from different generators." << std::endl; std 14235 modules/ts/include/opencv2/ts/ts_gtest.h : public ParamGeneratorInterface< ::std::tr1::tuple<T1, T2, T3, T4, T5> > { std 14237 modules/ts/include/opencv2/ts/ts_gtest.h typedef ::std::tr1::tuple<T1, T2, T3, T4, T5> ParamType; std 14313 modules/ts/include/opencv2/ts/ts_gtest.h << "from different generators." << std::endl; std 14403 modules/ts/include/opencv2/ts/ts_gtest.h : public ParamGeneratorInterface< ::std::tr1::tuple<T1, T2, T3, T4, T5, std 14406 modules/ts/include/opencv2/ts/ts_gtest.h typedef ::std::tr1::tuple<T1, T2, T3, T4, T5, T6> ParamType; std 14490 modules/ts/include/opencv2/ts/ts_gtest.h << "from different generators." << std::endl; std 14589 modules/ts/include/opencv2/ts/ts_gtest.h : public ParamGeneratorInterface< ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, std 14592 modules/ts/include/opencv2/ts/ts_gtest.h typedef ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7> ParamType; std 14684 modules/ts/include/opencv2/ts/ts_gtest.h << "from different generators." << std::endl; std 14792 modules/ts/include/opencv2/ts/ts_gtest.h : public ParamGeneratorInterface< ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, std 14795 modules/ts/include/opencv2/ts/ts_gtest.h typedef ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8> ParamType; std 14897 modules/ts/include/opencv2/ts/ts_gtest.h << "from different generators." << std::endl; std 15014 modules/ts/include/opencv2/ts/ts_gtest.h : public ParamGeneratorInterface< ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, std 15017 modules/ts/include/opencv2/ts/ts_gtest.h typedef ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9> ParamType; std 15126 modules/ts/include/opencv2/ts/ts_gtest.h << "from different generators." << std::endl; std 15253 modules/ts/include/opencv2/ts/ts_gtest.h : public ParamGeneratorInterface< ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, std 15256 modules/ts/include/opencv2/ts/ts_gtest.h typedef ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> ParamType; std 15373 modules/ts/include/opencv2/ts/ts_gtest.h << "from different generators." << std::endl; std 15518 modules/ts/include/opencv2/ts/ts_gtest.h operator ParamGenerator< ::std::tr1::tuple<T1, T2> >() const { std 15519 modules/ts/include/opencv2/ts/ts_gtest.h return ParamGenerator< ::std::tr1::tuple<T1, T2> >( std 15540 modules/ts/include/opencv2/ts/ts_gtest.h operator ParamGenerator< ::std::tr1::tuple<T1, T2, T3> >() const { std 15541 modules/ts/include/opencv2/ts/ts_gtest.h return ParamGenerator< ::std::tr1::tuple<T1, T2, T3> >( std 15565 modules/ts/include/opencv2/ts/ts_gtest.h operator ParamGenerator< ::std::tr1::tuple<T1, T2, T3, T4> >() const { std 15566 modules/ts/include/opencv2/ts/ts_gtest.h return ParamGenerator< ::std::tr1::tuple<T1, T2, T3, T4> >( std 15592 modules/ts/include/opencv2/ts/ts_gtest.h operator ParamGenerator< ::std::tr1::tuple<T1, T2, T3, T4, T5> >() const { std 15593 modules/ts/include/opencv2/ts/ts_gtest.h return ParamGenerator< ::std::tr1::tuple<T1, T2, T3, T4, T5> >( std 15623 modules/ts/include/opencv2/ts/ts_gtest.h operator ParamGenerator< ::std::tr1::tuple<T1, T2, T3, T4, T5, T6> >() const { std 15624 modules/ts/include/opencv2/ts/ts_gtest.h return ParamGenerator< ::std::tr1::tuple<T1, T2, T3, T4, T5, T6> >( std 15656 modules/ts/include/opencv2/ts/ts_gtest.h operator ParamGenerator< ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, std 15658 modules/ts/include/opencv2/ts/ts_gtest.h return ParamGenerator< ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7> >( std 15694 modules/ts/include/opencv2/ts/ts_gtest.h operator ParamGenerator< ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, std 15696 modules/ts/include/opencv2/ts/ts_gtest.h return ParamGenerator< ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8> >( std 15735 modules/ts/include/opencv2/ts/ts_gtest.h operator ParamGenerator< ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8, std 15737 modules/ts/include/opencv2/ts/ts_gtest.h return ParamGenerator< ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8, std 15779 modules/ts/include/opencv2/ts/ts_gtest.h operator ParamGenerator< ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8, std 15781 modules/ts/include/opencv2/ts/ts_gtest.h return ParamGenerator< ::std::tr1::tuple<T1, T2, T3, T4, T5, T6, T7, T8, std 17211 modules/ts/include/opencv2/ts/ts_gtest.h static std::string ExtractSummary(const char* message); std 17215 modules/ts/include/opencv2/ts/ts_gtest.h std::string file_name_; std 17219 modules/ts/include/opencv2/ts/ts_gtest.h std::string summary_; // The test failure summary. std 17220 modules/ts/include/opencv2/ts/ts_gtest.h std::string message_; // The test failure message. std 17224 modules/ts/include/opencv2/ts/ts_gtest.h std::ostream& operator<<(std::ostream& os, const TestPartResult& result); std 17244 modules/ts/include/opencv2/ts/ts_gtest.h std::vector<TestPartResult> array_; std 17332 modules/ts/include/opencv2/ts/ts_gtest.h typedef std::list<T> List; std 17642 modules/ts/include/opencv2/ts/ts_gtest.h const std::string& message); std 17767 modules/ts/include/opencv2/ts/ts_gtest.h ::std::ostream& (*basic_manipulator)(::std::ostream& stream)) { std 17776 modules/ts/include/opencv2/ts/ts_gtest.h message_.reset(new ::std::string); std 17786 modules/ts/include/opencv2/ts/ts_gtest.h internal::scoped_ptr< ::std::string> message_; std 17875 modules/ts/include/opencv2/ts/ts_gtest.h static void RecordProperty(const std::string& key, const std::string& value); std 17876 modules/ts/include/opencv2/ts/ts_gtest.h static void RecordProperty(const std::string& key, int value); std 17945 modules/ts/include/opencv2/ts/ts_gtest.h TestProperty(const std::string& a_key, const std::string& a_value) : std 17960 modules/ts/include/opencv2/ts/ts_gtest.h void SetValue(const std::string& new_value) { std 17966 modules/ts/include/opencv2/ts/ts_gtest.h std::string key_; std 17968 modules/ts/include/opencv2/ts/ts_gtest.h std::string value_; std 18028 modules/ts/include/opencv2/ts/ts_gtest.h const std::vector<TestPartResult>& test_part_results() const { std 18033 modules/ts/include/opencv2/ts/ts_gtest.h const std::vector<TestProperty>& test_properties() const { std 18046 modules/ts/include/opencv2/ts/ts_gtest.h void RecordProperty(const std::string& xml_element, std 18052 modules/ts/include/opencv2/ts/ts_gtest.h static bool ValidateTestProperty(const std::string& xml_element, std 18075 modules/ts/include/opencv2/ts/ts_gtest.h std::vector<TestPartResult> test_part_results_; std 18077 modules/ts/include/opencv2/ts/ts_gtest.h std::vector<TestProperty> test_properties_; std 18175 modules/ts/include/opencv2/ts/ts_gtest.h TestInfo(const std::string& test_case_name, std 18176 modules/ts/include/opencv2/ts/ts_gtest.h const std::string& name, std 18197 modules/ts/include/opencv2/ts/ts_gtest.h const std::string test_case_name_; // Test case name std 18198 modules/ts/include/opencv2/ts/ts_gtest.h const std::string name_; // Test name std 18201 modules/ts/include/opencv2/ts/ts_gtest.h const internal::scoped_ptr<const ::std::string> type_param_; std 18204 modules/ts/include/opencv2/ts/ts_gtest.h const internal::scoped_ptr<const ::std::string> value_param_; std 18301 modules/ts/include/opencv2/ts/ts_gtest.h std::vector<TestInfo*>& test_info_list() { return test_info_list_; } std 18304 modules/ts/include/opencv2/ts/ts_gtest.h const std::vector<TestInfo*>& test_info_list() const { std 18376 modules/ts/include/opencv2/ts/ts_gtest.h std::string name_; std 18379 modules/ts/include/opencv2/ts/ts_gtest.h const internal::scoped_ptr<const ::std::string> type_param_; std 18382 modules/ts/include/opencv2/ts/ts_gtest.h std::vector<TestInfo*> test_info_list_; std 18386 modules/ts/include/opencv2/ts/ts_gtest.h std::vector<int> test_indices_; std 18716 modules/ts/include/opencv2/ts/ts_gtest.h const std::string& message, std 18717 modules/ts/include/opencv2/ts/ts_gtest.h const std::string& os_stack_trace) std 18725 modules/ts/include/opencv2/ts/ts_gtest.h void RecordProperty(const std::string& key, const std::string& value); std 18746 modules/ts/include/opencv2/ts/ts_gtest.h const std::string& message); std 18834 modules/ts/include/opencv2/ts/ts_gtest.h static ::std::string Format(const ToPrint& value) { std 18843 modules/ts/include/opencv2/ts/ts_gtest.h static ::std::string Format(const ToPrint* value) { std 18855 modules/ts/include/opencv2/ts/ts_gtest.h static ::std::string Format(CharType* value) { \ std 18874 modules/ts/include/opencv2/ts/ts_gtest.h static ::std::string Format(CharType* value) { \ std 18879 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(char, ::std::string); std 18880 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(const char, ::std::string); std 18893 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(wchar_t, ::std::wstring); std 18894 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(const wchar_t, ::std::wstring); std 18908 modules/ts/include/opencv2/ts/ts_gtest.h std::string FormatForComparisonFailureMessage( std 19139 modules/ts/include/opencv2/ts/ts_gtest.h const ::std::string& needle, const ::std::string& haystack); std 19142 modules/ts/include/opencv2/ts/ts_gtest.h const ::std::string& needle, const ::std::string& haystack); std 19147 modules/ts/include/opencv2/ts/ts_gtest.h const ::std::wstring& needle, const ::std::wstring& haystack); std 19150 modules/ts/include/opencv2/ts/ts_gtest.h const ::std::wstring& needle, const ::std::wstring& haystack); std 19173 modules/ts/include/opencv2/ts/ts_gtest.h ::std::stringstream expected_ss; std 19174 modules/ts/include/opencv2/ts/ts_gtest.h expected_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) std 19177 modules/ts/include/opencv2/ts/ts_gtest.h ::std::stringstream actual_ss; std 19178 modules/ts/include/opencv2/ts/ts_gtest.h actual_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) std 19228 modules/ts/include/opencv2/ts/ts_gtest.h std::string const message; std 101 modules/ts/include/opencv2/ts/ts_perf.hpp void PrintTo(std::ostream* os) const { \ std 111 modules/ts/include/opencv2/ts/ts_perf.hpp *os << std::string(svals + start, svals + pos); \ std 124 modules/ts/include/opencv2/ts/ts_perf.hpp inline void PrintTo(const class_name& t, std::ostream* os) { t.PrintTo(os); } } std 131 modules/ts/include/opencv2/ts/ts_perf.hpp void PrintTo(std::ostream* os) const { \ std 145 modules/ts/include/opencv2/ts/ts_perf.hpp *os << std::string(svals + start, svals + pos); \ std 153 modules/ts/include/opencv2/ts/ts_perf.hpp inline void PrintTo(const class_name& t, std::ostream* os) { t.PrintTo(os); } } std 169 modules/ts/include/opencv2/ts/ts_perf.hpp static Regression& add(TestBase* test, const std::string& name, cv::InputArray array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); std 170 modules/ts/include/opencv2/ts/ts_perf.hpp static Regression& addMoments(TestBase* test, const std::string& name, const cv::Moments & array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); std 171 modules/ts/include/opencv2/ts/ts_perf.hpp static Regression& addKeypoints(TestBase* test, const std::string& name, const std::vector<cv::KeyPoint>& array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); std 172 modules/ts/include/opencv2/ts/ts_perf.hpp static Regression& addMatches(TestBase* test, const std::string& name, const std::vector<cv::DMatch>& array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); std 173 modules/ts/include/opencv2/ts/ts_perf.hpp static void Init(const std::string& testSuitName, const std::string& ext = ".xml"); std 175 modules/ts/include/opencv2/ts/ts_perf.hpp Regression& operator() (const std::string& name, cv::InputArray array, double eps = DBL_EPSILON, ERROR_TYPE err = ERROR_ABSOLUTE); std 186 modules/ts/include/opencv2/ts/ts_perf.hpp std::string storageInPath; std 187 modules/ts/include/opencv2/ts/ts_perf.hpp std::string storageOutPath; std 191 modules/ts/include/opencv2/ts/ts_perf.hpp std::string currentTestNodeName; std 192 modules/ts/include/opencv2/ts/ts_perf.hpp std::string suiteName; std 196 modules/ts/include/opencv2/ts/ts_perf.hpp static std::string getCurrentTestNodeName(); std 200 modules/ts/include/opencv2/ts/ts_perf.hpp void init(const std::string& testSuitName, const std::string& ext); std 204 modules/ts/include/opencv2/ts/ts_perf.hpp void verify(cv::FileNode node, cv::Mat actual, double eps, std::string argname, ERROR_TYPE err); std 278 modules/ts/include/opencv2/ts/ts_perf.hpp std::vector<int> implCode; std 279 modules/ts/include/opencv2/ts/ts_perf.hpp std::vector<cv::String> funName; std 299 modules/ts/include/opencv2/ts/ts_perf.hpp std::vector<cv::String> GetCallsForImpl(int impl) std 301 modules/ts/include/opencv2/ts/ts_perf.hpp std::vector<cv::String> out; std 314 modules/ts/include/opencv2/ts/ts_perf.hpp std::vector<int> savedCode; std 315 modules/ts/include/opencv2/ts/ts_perf.hpp std::vector<cv::String> savedName; std 363 modules/ts/include/opencv2/ts/ts_perf.hpp static void Init(const std::vector<std::string> & availableImpls, std 366 modules/ts/include/opencv2/ts/ts_perf.hpp static std::string getDataPath(const std::string& relativePath); std 367 modules/ts/include/opencv2/ts/ts_perf.hpp static std::string getSelectedImpl(); std 405 modules/ts/include/opencv2/ts/ts_perf.hpp typedef std::vector<std::pair<int, cv::Size> > SizeVector; std 406 modules/ts/include/opencv2/ts/ts_perf.hpp typedef std::vector<int64> TimeVector; std 477 modules/ts/include/opencv2/ts/ts_perf.hpp typedef std::tr1::tuple<cv::Size, MatType> Size_MatType_t; std 480 modules/ts/include/opencv2/ts/ts_perf.hpp typedef std::tr1::tuple<cv::Size, MatDepth> Size_MatDepth_t; std 486 modules/ts/include/opencv2/ts/ts_perf.hpp CV_EXPORTS void PrintTo(const MatType& t, std::ostream* os); std 493 modules/ts/include/opencv2/ts/ts_perf.hpp CV_EXPORTS void PrintTo(const String& str, ::std::ostream* os); std 494 modules/ts/include/opencv2/ts/ts_perf.hpp CV_EXPORTS void PrintTo(const Size& sz, ::std::ostream* os); std 622 modules/ts/include/opencv2/ts/ts_perf.hpp ::perf::TestBase::Init(std::vector<std::string>(impls, impls + sizeof impls / sizeof *impls), \ std 657 modules/ts/include/opencv2/ts/ts_perf.hpp public std::binary_function<cv::Rect_<T>, cv::Rect_<T>, bool> std 671 modules/ts/include/opencv2/ts/ts_perf.hpp public std::binary_function<cv::KeyPoint, cv::KeyPoint, bool> std 689 modules/ts/include/opencv2/ts/ts_perf.hpp void CV_EXPORTS sort(std::vector<cv::KeyPoint>& pts, cv::InputOutputArray descriptors); std 48 modules/ts/src/cuda_perf.cpp using namespace std; std 57 modules/ts/src/cuda_perf.cpp void PrintTo(const CvtColorInfo& info, std::ostream* os) std 271 modules/ts/src/cuda_perf.cpp std::vector<cv::KeyPoint>* keypoints; std 273 modules/ts/src/cuda_perf.cpp explicit KeypointIdxCompare(std::vector<cv::KeyPoint>* _keypoints) : keypoints(_keypoints) {} std 289 modules/ts/src/cuda_perf.cpp void sortKeyPoints(std::vector<cv::KeyPoint>& keypoints, cv::InputOutputArray _descriptors) std 291 modules/ts/src/cuda_perf.cpp std::vector<size_t> indexies(keypoints.size()); std 295 modules/ts/src/cuda_perf.cpp std::sort(indexies.begin(), indexies.end(), KeypointIdxCompare(&keypoints)); std 297 modules/ts/src/cuda_perf.cpp std::vector<cv::KeyPoint> new_keypoints; std 120 modules/ts/src/cuda_test.cpp Mat readImage(const std::string& fileName, int flags) std 125 modules/ts/src/cuda_test.cpp Mat readImageType(const std::string& fname, int type) std 157 modules/ts/src/cuda_test.cpp std::ostringstream msg; std 162 modules/ts/src/cuda_test.cpp throw std::runtime_error(msg.str()); std 170 modules/ts/src/cuda_test.cpp throw std::runtime_error(msg.str()); std 202 modules/ts/src/cuda_test.cpp std::cout << "\nAvailable options besides google test option: \n"; std 210 modules/ts/src/cuda_test.cpp std::cout << "Run tests on all supported CUDA devices \n" << std::endl; std 216 modules/ts/src/cuda_test.cpp std::cout << "Run tests on CUDA device " << device << " [" << info.name() << "] \n" << std::endl; std 225 modules/ts/src/cuda_test.cpp template <typename T, typename OutT> std::string printMatValImpl(const Mat& m, Point p) std 229 modules/ts/src/cuda_test.cpp std::ostringstream ostr; std 244 modules/ts/src/cuda_test.cpp std::string printMatVal(const Mat& m, Point p) std 246 modules/ts/src/cuda_test.cpp typedef std::string (*func_t)(const Mat& m, Point p); std 267 modules/ts/src/cuda_test.cpp double minVal = std::numeric_limits<double>::max(); std 270 modules/ts/src/cuda_test.cpp double maxVal = -std::numeric_limits<double>::max(); std 361 modules/ts/src/cuda_test.cpp return std::abs(diff.at<float>(0, 0) - 1.f); std 391 modules/ts/src/cuda_test.cpp void PrintTo(const UseRoi& useRoi, std::ostream* os) std 399 modules/ts/src/cuda_test.cpp void PrintTo(const Inverse& inverse, std::ostream* os) std 410 modules/ts/src/cuda_test.cpp void dumpImage(const std::string& fileName, const Mat& image) std 459 modules/ts/src/cuda_test.cpp struct KeyPointLess : std::binary_function<cv::KeyPoint, cv::KeyPoint, bool> std 468 modules/ts/src/cuda_test.cpp testing::AssertionResult assertKeyPointsEquals(const char* gold_expr, const char* actual_expr, std::vector<cv::KeyPoint>& gold, std::vector<cv::KeyPoint>& actual) std 477 modules/ts/src/cuda_test.cpp std::sort(actual.begin(), actual.end(), KeyPointLess()); std 478 modules/ts/src/cuda_test.cpp std::sort(gold.begin(), gold.end(), KeyPointLess()); std 501 modules/ts/src/cuda_test.cpp int getMatchedPointsCount(std::vector<cv::KeyPoint>& gold, std::vector<cv::KeyPoint>& actual) std 503 modules/ts/src/cuda_test.cpp std::sort(actual.begin(), actual.end(), KeyPointLess()); std 504 modules/ts/src/cuda_test.cpp std::sort(gold.begin(), gold.end(), KeyPointLess()); std 520 modules/ts/src/cuda_test.cpp int getMatchedPointsCount(const std::vector<cv::KeyPoint>& keypoints1, const std::vector<cv::KeyPoint>& keypoints2, const std::vector<cv::DMatch>& matches) std 545 modules/ts/src/cuda_test.cpp void cv::cuda::PrintTo(const DeviceInfo& info, std::ostream* os) std 57 modules/ts/src/ocl_test.cpp std::stringstream ssName, ssValue;\ std 65 modules/ts/src/ocl_test.cpp std::cout << msg << std::endl; \ std 68 modules/ts/src/ocl_test.cpp static std::string bytesToStringRepr(size_t value) std 81 modules/ts/src/ocl_test.cpp std::ostringstream stream; std 108 modules/ts/src/ocl_test.cpp std::vector<PlatformInfo> platforms; std 165 modules/ts/src/ocl_test.cpp std::string localMemorySizeStr = bytesToStringRepr(device.localMemSize()); std 169 modules/ts/src/ocl_test.cpp std::string maxMemAllocSizeStr = bytesToStringRepr(device.maxMemAllocSize()); std 252 modules/ts/src/ocl_test.cpp return std::abs(diff.at<float>(0, 0) - 1.f); std 255 modules/ts/src/ocl_test.cpp double TestUtils::checkRectSimilarity(const Size & sz, std::vector<Rect>& ob1, std::vector<Rect>& ob2) std 310 modules/ts/src/ocl_test.cpp std::cout << "Source: " << std::endl << src << std::endl; std 311 modules/ts/src/ocl_test.cpp std::cout << "Expected: " << std::endl << gold << std::endl; std 312 modules/ts/src/ocl_test.cpp std::cout << "Actual: " << std::endl << actual << std::endl; std 238 modules/ts/src/ts.cpp std::string errorStr = TS::str_from_code(fc); std 561 modules/ts/src/ts.cpp output_buf[i] += std::string(str); std 616 modules/ts/src/ts.cpp int nR = std::min(n, (img.rows+1)/2), nC = std::min(n, (img.cols+1)/2); std 681 modules/ts/src/ts.cpp std::cout << "\nAvailable options besides google test option: \n"; std 146 modules/ts/src/ts_arrtest.cpp size_t sizei = std::max(test_array[i].size(), (size_t)1); std 49 modules/ts/src/ts_func.cpp std::swap(width_log, height_log); std 70 modules/ts/src/ts_func.cpp std::swap(sz[j], sz[k]); std 113 modules/ts/src/ts_func.cpp size0.width += std::max(rng.uniform(0, 10) - 5, 0); std 114 modules/ts/src/ts_func.cpp size0.height += std::max(rng.uniform(0, 10) - 5, 0); std 137 modules/ts/src/ts_func.cpp size0[i] += std::max(rng.uniform(0, 5) - 2, 0); std 186 modules/ts/src/ts_func.cpp int total = (int)planes[0].total(), maxsize = std::min(12*12*std::max(12/cn, 1), total); std 199 modules/ts/src/ts_func.cpp int j2 = std::min(j + maxsize, total); std 608 modules/ts/src/ts_func.cpp result = std::min(result, sptr[x + ofs[i]]); std 630 modules/ts/src/ts_func.cpp result = std::max(result, sptr[x + ofs[i]]); std 1139 modules/ts/src/ts_func.cpp result = std::max(result, (double)std::abs(0+src[i]));// trick with 0 used to quiet gcc warning std 1145 modules/ts/src/ts_func.cpp result = std::max(result, (double)std::abs(0+src[i*cn + c])); std 1152 modules/ts/src/ts_func.cpp result += std::abs(0+src[i]); std 1158 modules/ts/src/ts_func.cpp result += std::abs(0+src[i*cn + c]); std 1196 modules/ts/src/ts_func.cpp result = std::max(result, (double)std::abs(src1[i] - src2[i])); std 1202 modules/ts/src/ts_func.cpp result = std::max(result, (double)std::abs(src1[i*cn + c] - src2[i*cn + c])); std 1209 modules/ts/src/ts_func.cpp result += std::abs(src1[i] - src2[i]); std 1215 modules/ts/src/ts_func.cpp result += std::abs(src1[i*cn + c] - src2[i*cn + c]); std 1405 modules/ts/src/ts_func.cpp double diff = std::sqrt(cvtest::norm(_src1, _src2, NORM_L2SQR)/(_src1.total()*_src1.channels())); std 1736 modules/ts/src/ts_func.cpp int diff = std::abs(src1[i] - src2[i]); std 1778 modules/ts/src/ts_func.cpp int diff = std::abs(a - b); std 1858 modules/ts/src/ts_func.cpp *_realmaxdiff = std::max(*_realmaxdiff, realmaxdiff); std 2233 modules/ts/src/ts_func.cpp std::swap( a_rows, a_cols ); std 2234 modules/ts/src/ts_func.cpp std::swap( a_step, a_delta ); std 2239 modules/ts/src/ts_func.cpp std::swap( b_rows, b_cols ); std 2240 modules/ts/src/ts_func.cpp std::swap( b_step, b_delta ); std 2252 modules/ts/src/ts_func.cpp std::swap( c_rows, c_cols ); std 2253 modules/ts/src/ts_func.cpp std::swap( c_step, c_delta ); std 2372 modules/ts/src/ts_func.cpp dst[i] = std::max(src1[i], src2[i]); std 2375 modules/ts/src/ts_func.cpp dst[i] = std::min(src1[i], src2[i]); std 2441 modules/ts/src/ts_func.cpp dst[i] = std::max(src1[i], val); std 2444 modules/ts/src/ts_func.cpp dst[i] = std::min(src1[i], val); std 2648 modules/ts/src/ts_func.cpp return sum * (1./std::max(nz, 1)); std 2804 modules/ts/src/ts_func.cpp std::ostream& operator << (std::ostream& out, const MatInfo& m) std 2824 modules/ts/src/ts_func.cpp std::copy(ofs0.begin(), ofs0.end(), ofs.begin()); std 2832 modules/ts/src/ts_func.cpp r[i].start = std::max(0, ofs0[i] - border); std 2833 modules/ts/src/ts_func.cpp r[i].end = std::min(ofs0[i] + 1 + border, m.size[i]); std 2834 modules/ts/src/ts_func.cpp ofs[i] = std::min(ofs0[i], border); std 2840 modules/ts/src/ts_func.cpp writeElems(std::ostream& out, const void* data, int nelems, int starpos) std 2854 modules/ts/src/ts_func.cpp static void writeElems(std::ostream& out, const void* data, int nelems, int depth, int starpos) std 2868 modules/ts/src/ts_func.cpp std::streamsize pp = out.precision(); std 2875 modules/ts/src/ts_func.cpp std::streamsize pp = out.precision(); std 2893 modules/ts/src/ts_func.cpp static std::ostream& operator << (std::ostream& out, const MatPart& m) std 2958 modules/ts/src/ts_func.cpp if(useStdOut) std::cout << "OpenCV version: " << CV_VERSION << std::endl; std 2960 modules/ts/src/ts_func.cpp std::string buildInfo( cv::getBuildInformation() ); std 2964 modules/ts/src/ts_func.cpp if(pos1 != std::string::npos && pos2 != std::string::npos) std 2967 modules/ts/src/ts_func.cpp std::string ver( buildInfo.substr(value_start, pos2 - value_start) ); std 2969 modules/ts/src/ts_func.cpp if (useStdOut) std::cout << "OpenCV VCS version: " << ver << std::endl; std 2974 modules/ts/src/ts_func.cpp if(pos1 != std::string::npos && pos2 != std::string::npos) std 2977 modules/ts/src/ts_func.cpp std::string ver( buildInfo.substr(value_start, pos2 - value_start) ); std 2979 modules/ts/src/ts_func.cpp if(useStdOut) std::cout << "Inner VCS version: " << ver << std::endl; std 2990 modules/ts/src/ts_func.cpp if (useStdOut) std::cout << "Build type: " << build_type << std::endl; std 2996 modules/ts/src/ts_func.cpp if (useStdOut) std::cout << "Parallel framework: " << parallel_framework << std::endl; std 2999 modules/ts/src/ts_func.cpp std::string cpu_features; std 3068 modules/ts/src/ts_func.cpp if (useStdOut) std::cout << "CPU features: " << cpu_features << std::endl; std 3073 modules/ts/src/ts_func.cpp if (useStdOut) std::cout << "Tegra optimization: " << tegra_optimization << std::endl; std 525 modules/ts/src/ts_gtest.cpp GTEST_API_ std::string FormatTimeInMillisAsSeconds(TimeInMillis ms); std 531 modules/ts/src/ts_gtest.cpp GTEST_API_ std::string FormatEpochTimeInMillisAsIso8601(TimeInMillis ms); std 619 modules/ts/src/ts_gtest.cpp std::string color_; std 620 modules/ts/src/ts_gtest.cpp std::string death_test_style_; std 622 modules/ts/src/ts_gtest.cpp std::string filter_; std 623 modules/ts/src/ts_gtest.cpp std::string param_filter_; std 624 modules/ts/src/ts_gtest.cpp std::string internal_run_death_test_; std 626 modules/ts/src/ts_gtest.cpp std::string output_; std 632 modules/ts/src/ts_gtest.cpp std::string stream_result_to_; std 642 modules/ts/src/ts_gtest.cpp GTEST_API_ std::string CodePointToUtf8(UInt32 code_point); std 657 modules/ts/src/ts_gtest.cpp GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars); std 706 modules/ts/src/ts_gtest.cpp std::for_each(c.begin(), c.end(), functor); std 712 modules/ts/src/ts_gtest.cpp inline E GetElementOr(const std::vector<E>& v, int i, E default_value) { std 722 modules/ts/src/ts_gtest.cpp std::vector<E>* v) { std 736 modules/ts/src/ts_gtest.cpp std::swap((*v)[selected], (*v)[last_in_range]); std 742 modules/ts/src/ts_gtest.cpp inline void Shuffle(internal::Random* random, std::vector<E>* v) { std 761 modules/ts/src/ts_gtest.cpp explicit TestPropertyKeyIs(const std::string& key) : key_(key) {} std 769 modules/ts/src/ts_gtest.cpp std::string key_; std 787 modules/ts/src/ts_gtest.cpp static std::string GetOutputFormat(); std 792 modules/ts/src/ts_gtest.cpp static std::string GetAbsolutePathToOutputFile(); std 805 modules/ts/src/ts_gtest.cpp static bool FilterMatchesTest(const std::string &test_case_name, std 806 modules/ts/src/ts_gtest.cpp const std::string &test_name); std 819 modules/ts/src/ts_gtest.cpp static bool MatchesFilter(const std::string& name, const char* filter); std 879 modules/ts/src/ts_gtest.cpp std::string message; std 1040 modules/ts/src/ts_gtest.cpp std::string CurrentOsStackTraceExceptTop(int skip_count) GTEST_NO_INLINE_; std 1158 modules/ts/src/ts_gtest.cpp std::vector<Environment*>& environments() { return environments_; } std 1161 modules/ts/src/ts_gtest.cpp std::vector<TraceInfo>& gtest_trace_stack() { std 1164 modules/ts/src/ts_gtest.cpp const std::vector<TraceInfo>& gtest_trace_stack() const { std 1255 modules/ts/src/ts_gtest.cpp std::vector<Environment*> environments_; std 1259 modules/ts/src/ts_gtest.cpp std::vector<TestCase*> test_cases_; std 1265 modules/ts/src/ts_gtest.cpp std::vector<int> test_case_indices_; std 1335 modules/ts/src/ts_gtest.cpp internal::ThreadLocal<std::vector<TraceInfo> > gtest_trace_stack_; std 1362 modules/ts/src/ts_gtest.cpp GTEST_API_ std::string FormatRegexSyntaxError(const char* regex, int index); std 1380 modules/ts/src/ts_gtest.cpp GTEST_API_ std::string GetLastErrnoDescription(); std 1413 modules/ts/src/ts_gtest.cpp bool ParseNaturalNumber(const ::std::string& str, Integer* number) { std 1463 modules/ts/src/ts_gtest.cpp const std::string& xml_element, std 1472 modules/ts/src/ts_gtest.cpp static const std::vector<testing::TestPartResult>& test_part_results( std 1580 modules/ts/src/ts_gtest.cpp SendLn(std::string("event=TestCaseStart&name=") + test_case.name()); std 1590 modules/ts/src/ts_gtest.cpp SendLn(std::string("event=TestStart&name=") + test_info.name()); std 1821 modules/ts/src/ts_gtest.cpp static int SumOverTestCaseList(const std::vector<TestCase*>& case_list, std 1873 modules/ts/src/ts_gtest.cpp std::string g_executable_path; std 1892 modules/ts/src/ts_gtest.cpp std::string UnitTestOptions::GetOutputFormat() { std 1894 modules/ts/src/ts_gtest.cpp if (gtest_output_flag == NULL) return std::string(""); std 1898 modules/ts/src/ts_gtest.cpp std::string(gtest_output_flag) : std 1899 modules/ts/src/ts_gtest.cpp std::string(gtest_output_flag, colon - gtest_output_flag); std 1904 modules/ts/src/ts_gtest.cpp std::string UnitTestOptions::GetAbsolutePathToOutputFile() { std 1958 modules/ts/src/ts_gtest.cpp const std::string& name, const char* filter) { std 1980 modules/ts/src/ts_gtest.cpp bool UnitTestOptions::FilterMatchesTest(const std::string &test_case_name, std 1981 modules/ts/src/ts_gtest.cpp const std::string &test_name) { std 1982 modules/ts/src/ts_gtest.cpp const std::string& full_name = test_case_name + "." + test_name.c_str(); std 1988 modules/ts/src/ts_gtest.cpp std::string positive; std 1989 modules/ts/src/ts_gtest.cpp std::string negative; std 1994 modules/ts/src/ts_gtest.cpp positive = std::string(p, dash); // Everything up to the dash std 1995 modules/ts/src/ts_gtest.cpp negative = std::string(dash + 1); // Everything after the dash std 2115 modules/ts/src/ts_gtest.cpp const std::string expected(type == TestPartResult::kFatalFailure ? std 2274 modules/ts/src/ts_gtest.cpp std::string UnitTestImpl::CurrentOsStackTraceExceptTop(int skip_count) { std 2411 modules/ts/src/ts_gtest.cpp Message::Message() : ss_(new ::std::stringstream) { std 2414 modules/ts/src/ts_gtest.cpp *ss_ << std::setprecision(std::numeric_limits<double>::digits10 + 2); std 2429 modules/ts/src/ts_gtest.cpp Message& Message::operator <<(const ::std::wstring& wstr) { std 2446 modules/ts/src/ts_gtest.cpp std::string Message::GetString() const { std 2455 modules/ts/src/ts_gtest.cpp new ::std::string(*other.message_) : std 2456 modules/ts/src/ts_gtest.cpp static_cast< ::std::string*>(NULL)) { std 2502 modules/ts/src/ts_gtest.cpp const std::string& expected_value, std 2503 modules/ts/src/ts_gtest.cpp const std::string& actual_value, std 2523 modules/ts/src/ts_gtest.cpp std::string GetBoolAssertionFailureMessage( std 2580 modules/ts/src/ts_gtest.cpp ::std::stringstream val1_ss; std 2581 modules/ts/src/ts_gtest.cpp val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) std 2584 modules/ts/src/ts_gtest.cpp ::std::stringstream val2_ss; std 2585 modules/ts/src/ts_gtest.cpp val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) std 2809 modules/ts/src/ts_gtest.cpp const ::std::string& needle, const ::std::string& haystack) { std 2815 modules/ts/src/ts_gtest.cpp const ::std::string& needle, const ::std::string& haystack) { std 2822 modules/ts/src/ts_gtest.cpp const ::std::wstring& needle, const ::std::wstring& haystack) { std 2828 modules/ts/src/ts_gtest.cpp const ::std::wstring& needle, const ::std::wstring& haystack) { std 2873 modules/ts/src/ts_gtest.cpp const std::string error_hex("0x" + String::FormatHexInt(hr)); std 2936 modules/ts/src/ts_gtest.cpp std::string CodePointToUtf8(UInt32 code_point) { std 3000 modules/ts/src/ts_gtest.cpp std::string WideStringToUtf8(const wchar_t* str, int num_chars) { std 3004 modules/ts/src/ts_gtest.cpp ::std::stringstream stream; std 3025 modules/ts/src/ts_gtest.cpp std::string String::ShowWideCString(const wchar_t * wide_c_str) { std 3127 modules/ts/src/ts_gtest.cpp const std::string& str, const std::string& suffix) { std 3136 modules/ts/src/ts_gtest.cpp std::string String::FormatIntWidth2(int value) { std 3137 modules/ts/src/ts_gtest.cpp std::stringstream ss; std 3138 modules/ts/src/ts_gtest.cpp ss << std::setfill('0') << std::setw(2) << value; std 3143 modules/ts/src/ts_gtest.cpp std::string String::FormatHexInt(int value) { std 3144 modules/ts/src/ts_gtest.cpp std::stringstream ss; std 3145 modules/ts/src/ts_gtest.cpp ss << std::hex << std::uppercase << value; std 3150 modules/ts/src/ts_gtest.cpp std::string String::FormatByte(unsigned char value) { std 3151 modules/ts/src/ts_gtest.cpp std::stringstream ss; std 3152 modules/ts/src/ts_gtest.cpp ss << std::setfill('0') << std::setw(2) << std::hex << std::uppercase std 3159 modules/ts/src/ts_gtest.cpp std::string StringStreamToString(::std::stringstream* ss) { std 3160 modules/ts/src/ts_gtest.cpp const ::std::string& str = ss->str(); std 3164 modules/ts/src/ts_gtest.cpp std::string result; std 3178 modules/ts/src/ts_gtest.cpp std::string AppendUserMessage(const std::string& gtest_msg, std 3181 modules/ts/src/ts_gtest.cpp const std::string user_msg_string = user_msg.GetString(); std 3234 modules/ts/src/ts_gtest.cpp void TestResult::RecordProperty(const std::string& xml_element, std 3240 modules/ts/src/ts_gtest.cpp const std::vector<TestProperty>::iterator property_with_matching_key = std 3241 modules/ts/src/ts_gtest.cpp std::find_if(test_properties_.begin(), test_properties_.end(), std 3285 modules/ts/src/ts_gtest.cpp std::vector<std::string> ArrayAsVector(const char* const (&array)[kSize]) { std 3286 modules/ts/src/ts_gtest.cpp return std::vector<std::string>(array, array + kSize); std 3289 modules/ts/src/ts_gtest.cpp static std::vector<std::string> GetReservedAttributesForElement( std 3290 modules/ts/src/ts_gtest.cpp const std::string& xml_element) { std 3301 modules/ts/src/ts_gtest.cpp return std::vector<std::string>(); std 3304 modules/ts/src/ts_gtest.cpp static std::string FormatWordList(const std::vector<std::string>& words) { std 3318 modules/ts/src/ts_gtest.cpp static bool ValidateTestPropertyName(const std::string& property_name, std 3319 modules/ts/src/ts_gtest.cpp const std::vector<std::string>& reserved_names) { std 3320 modules/ts/src/ts_gtest.cpp if (std::find(reserved_names.begin(), reserved_names.end(), property_name) != std 3332 modules/ts/src/ts_gtest.cpp bool TestResult::ValidateTestProperty(const std::string& xml_element, std 3413 modules/ts/src/ts_gtest.cpp void Test::RecordProperty(const std::string& key, const std::string& value) { std 3418 modules/ts/src/ts_gtest.cpp void Test::RecordProperty(const std::string& key, int value) { std 3427 modules/ts/src/ts_gtest.cpp const std::string& message) { std 3512 modules/ts/src/ts_gtest.cpp static std::string* FormatSehExceptionMessage(DWORD exception_code, std 3515 modules/ts/src/ts_gtest.cpp message << "SEH exception with code 0x" << std::setbase(16) << std 3516 modules/ts/src/ts_gtest.cpp exception_code << std::setbase(10) << " thrown in " << location << "."; std 3518 modules/ts/src/ts_gtest.cpp return new std::string(message.GetString()); std 3528 modules/ts/src/ts_gtest.cpp static std::string FormatCxxExceptionMessage(const char* description, std 3541 modules/ts/src/ts_gtest.cpp static std::string PrintTestPartResultToString( std 3546 modules/ts/src/ts_gtest.cpp : ::std::runtime_error(PrintTestPartResultToString(failure).c_str()) {} std 3569 modules/ts/src/ts_gtest.cpp std::string* exception_message = FormatSehExceptionMessage( std 3620 modules/ts/src/ts_gtest.cpp } catch (const std::exception& e) { // NOLINT std 3677 modules/ts/src/ts_gtest.cpp TestInfo::TestInfo(const std::string& a_test_case_name, std 3678 modules/ts/src/ts_gtest.cpp const std::string& a_name, std 3685 modules/ts/src/ts_gtest.cpp type_param_(a_type_param ? new std::string(a_type_param) : NULL), std 3686 modules/ts/src/ts_gtest.cpp value_param_(a_value_param ? new std::string(a_value_param) : NULL), std 3777 modules/ts/src/ts_gtest.cpp std::string name_; std 3894 modules/ts/src/ts_gtest.cpp type_param_(a_type_param ? new std::string(a_type_param) : NULL), std 3979 modules/ts/src/ts_gtest.cpp static std::string FormatCountableNoun(int count, std 3987 modules/ts/src/ts_gtest.cpp static std::string FormatTestCount(int test_count) { std 3992 modules/ts/src/ts_gtest.cpp static std::string FormatTestCaseCount(int test_case_count) { std 4020 modules/ts/src/ts_gtest.cpp static std::string PrintTestPartResultToString( std 4031 modules/ts/src/ts_gtest.cpp const std::string& result = std 4270 modules/ts/src/ts_gtest.cpp const std::string counts = std 4323 modules/ts/src/ts_gtest.cpp const std::string counts = std 4438 modules/ts/src/ts_gtest.cpp std::vector<TestEventListener*> listeners_; std 4542 modules/ts/src/ts_gtest.cpp static std::string EscapeXml(const std::string& str, bool is_attribute); std 4545 modules/ts/src/ts_gtest.cpp static std::string RemoveInvalidXmlCharacters(const std::string& str); std 4548 modules/ts/src/ts_gtest.cpp static std::string EscapeXmlAttribute(const std::string& str) { std 4553 modules/ts/src/ts_gtest.cpp static std::string EscapeXmlText(const char* str) { std 4559 modules/ts/src/ts_gtest.cpp static void OutputXmlAttribute(std::ostream* stream, std 4560 modules/ts/src/ts_gtest.cpp const std::string& element_name, std 4561 modules/ts/src/ts_gtest.cpp const std::string& name, std 4562 modules/ts/src/ts_gtest.cpp const std::string& value); std 4565 modules/ts/src/ts_gtest.cpp static void OutputXmlCDataSection(::std::ostream* stream, const char* data); std 4568 modules/ts/src/ts_gtest.cpp static void OutputXmlTestInfo(::std::ostream* stream, std 4573 modules/ts/src/ts_gtest.cpp static void PrintXmlTestCase(::std::ostream* stream, std 4577 modules/ts/src/ts_gtest.cpp static void PrintXmlUnitTest(::std::ostream* stream, std 4584 modules/ts/src/ts_gtest.cpp static std::string TestPropertiesAsXmlAttributes(const TestResult& result); std 4587 modules/ts/src/ts_gtest.cpp const std::string output_file_; std 4629 modules/ts/src/ts_gtest.cpp std::stringstream stream; std 4647 modules/ts/src/ts_gtest.cpp std::string XmlUnitTestResultPrinter::EscapeXml( std 4648 modules/ts/src/ts_gtest.cpp const std::string& str, bool is_attribute) { std 4693 modules/ts/src/ts_gtest.cpp std::string XmlUnitTestResultPrinter::RemoveInvalidXmlCharacters( std 4694 modules/ts/src/ts_gtest.cpp const std::string& str) { std 4695 modules/ts/src/ts_gtest.cpp std::string output; std 4697 modules/ts/src/ts_gtest.cpp for (std::string::const_iterator it = str.begin(); it != str.end(); ++it) std 4721 modules/ts/src/ts_gtest.cpp std::string FormatTimeInMillisAsSeconds(TimeInMillis ms) { std 4722 modules/ts/src/ts_gtest.cpp ::std::stringstream ss; std 4729 modules/ts/src/ts_gtest.cpp std::string FormatEpochTimeInMillisAsIso8601(TimeInMillis ms) { std 4754 modules/ts/src/ts_gtest.cpp void XmlUnitTestResultPrinter::OutputXmlCDataSection(::std::ostream* stream, std 4762 modules/ts/src/ts_gtest.cpp segment, static_cast<std::streamsize>(next_segment - segment)); std 4774 modules/ts/src/ts_gtest.cpp std::ostream* stream, std 4775 modules/ts/src/ts_gtest.cpp const std::string& element_name, std 4776 modules/ts/src/ts_gtest.cpp const std::string& name, std 4777 modules/ts/src/ts_gtest.cpp const std::string& value) { std 4778 modules/ts/src/ts_gtest.cpp const std::vector<std::string>& allowed_names = std 4781 modules/ts/src/ts_gtest.cpp GTEST_CHECK_(std::find(allowed_names.begin(), allowed_names.end(), name) != std 4791 modules/ts/src/ts_gtest.cpp void XmlUnitTestResultPrinter::OutputXmlTestInfo(::std::ostream* stream, std 4795 modules/ts/src/ts_gtest.cpp const std::string kTestcase = "testcase"; std 4841 modules/ts/src/ts_gtest.cpp void XmlUnitTestResultPrinter::PrintXmlTestCase(std::ostream* stream, std 4843 modules/ts/src/ts_gtest.cpp const std::string kTestsuite = "testsuite"; std 4867 modules/ts/src/ts_gtest.cpp void XmlUnitTestResultPrinter::PrintXmlUnitTest(std::ostream* stream, std 4869 modules/ts/src/ts_gtest.cpp const std::string kTestsuites = "testsuites"; std 4907 modules/ts/src/ts_gtest.cpp std::string XmlUnitTestResultPrinter::TestPropertiesAsXmlAttributes( std 5289 modules/ts/src/ts_gtest.cpp const std::string& message, std 5290 modules/ts/src/ts_gtest.cpp const std::string& os_stack_trace) GTEST_LOCK_EXCLUDED_(mutex_) { std 5352 modules/ts/src/ts_gtest.cpp void UnitTest::RecordProperty(const std::string& key, std 5353 modules/ts/src/ts_gtest.cpp const std::string& value) { std 5557 modules/ts/src/ts_gtest.cpp std::string xml_element; std 5585 modules/ts/src/ts_gtest.cpp const std::string& output_format = UnitTestOptions::GetOutputFormat(); std 5600 modules/ts/src/ts_gtest.cpp const std::string& target = GTEST_FLAG(stream_result_to); std 5603 modules/ts/src/ts_gtest.cpp if (pos != std::string::npos) { std 5657 modules/ts/src/ts_gtest.cpp explicit TestCaseNameIs(const std::string& name) std 5666 modules/ts/src/ts_gtest.cpp std::string name_; std 5686 modules/ts/src/ts_gtest.cpp const std::vector<TestCase*>::const_iterator test_case = std 5687 modules/ts/src/ts_gtest.cpp std::find_if(test_cases_.begin(), test_cases_.end(), std 5829 modules/ts/src/ts_gtest.cpp std::for_each(environments_.rbegin(), environments_.rend(), std 5977 modules/ts/src/ts_gtest.cpp const std::string &test_case_name = test_case->name(); std 5982 modules/ts/src/ts_gtest.cpp const std::string test_name(test_info->name()); std 5992 modules/ts/src/ts_gtest.cpp const std::string value_param(test_info->value_param() == NULL ? std 6149 modules/ts/src/ts_gtest.cpp std::string GetCurrentOsStackTraceExceptTop(UnitTest* /*unit_test*/, std 6198 modules/ts/src/ts_gtest.cpp const std::string flag_str = std::string("--") + GTEST_FLAG_PREFIX_ + flag; std 6263 modules/ts/src/ts_gtest.cpp static bool ParseStringFlag(const char* str, const char* flag, std::string* value) { std 6315 modules/ts/src/ts_gtest.cpp ColoredPrintf(color, "%s", std::string(str, p).c_str()); std 6411 modules/ts/src/ts_gtest.cpp const std::string arg_string = StreamableToString(argv[i]); std 6715 modules/ts/src/ts_gtest.cpp static std::string ExitSummary(int exit_code) { std 6750 modules/ts/src/ts_gtest.cpp static std::string DeathTestThreadWarning(size_t thread_count) { std 6784 modules/ts/src/ts_gtest.cpp static void DeathTestAbort(const std::string& message) { std 6809 modules/ts/src/ts_gtest.cpp ::std::string("CHECK failed: File ") + __FILE__ + ", line " \ std 6830 modules/ts/src/ts_gtest.cpp ::std::string("CHECK failed: File ") + __FILE__ + ", line " \ std 6837 modules/ts/src/ts_gtest.cpp std::string GetLastErrnoDescription() { std 6888 modules/ts/src/ts_gtest.cpp void DeathTest::set_last_death_test_message(const std::string& message) { std 6892 modules/ts/src/ts_gtest.cpp std::string DeathTest::last_death_test_message_; std 7026 modules/ts/src/ts_gtest.cpp static ::std::string FormatDeathTestOutput(const ::std::string& output) { std 7027 modules/ts/src/ts_gtest.cpp ::std::string ret; std 7031 modules/ts/src/ts_gtest.cpp if (line_end == ::std::string::npos) { std 7067 modules/ts/src/ts_gtest.cpp const std::string error_message = GetCapturedStderr(); std 7249 modules/ts/src/ts_gtest.cpp const std::string filter_flag = std 7250 modules/ts/src/ts_gtest.cpp std::string("--") + GTEST_FLAG_PREFIX_ + kFilterFlag + "=" + std 7252 modules/ts/src/ts_gtest.cpp const std::string internal_flag = std 7253 modules/ts/src/ts_gtest.cpp std::string("--") + GTEST_FLAG_PREFIX_ + kInternalRunDeathTestFlag + std 7269 modules/ts/src/ts_gtest.cpp std::string command_line = std 7270 modules/ts/src/ts_gtest.cpp std::string(::GetCommandLineA()) + " " + filter_flag + " \"" + std 7408 modules/ts/src/ts_gtest.cpp static ::std::vector<testing::internal::string> std 7410 modules/ts/src/ts_gtest.cpp ::std::vector<testing::internal::string> args = GetInjectableArgvs(); std 7427 modules/ts/src/ts_gtest.cpp for (std::vector<char*>::iterator i = args_.begin(); i != args_.end(); std 7437 modules/ts/src/ts_gtest.cpp void AddArguments(const ::std::vector<Str>& arguments) { std 7438 modules/ts/src/ts_gtest.cpp for (typename ::std::vector<Str>::const_iterator i = arguments.begin(); std 7449 modules/ts/src/ts_gtest.cpp std::vector<char*> args_; std 7488 modules/ts/src/ts_gtest.cpp DeathTestAbort(std::string("chdir(\"") + original_dir + "\") failed: " + std 7499 modules/ts/src/ts_gtest.cpp DeathTestAbort(std::string("execve(") + args->argv[0] + ", ...) in " + std 7554 modules/ts/src/ts_gtest.cpp DeathTestAbort(std::string("chdir(\"") + original_dir + "\") failed: " + std 7653 modules/ts/src/ts_gtest.cpp const std::string filter_flag = std 7654 modules/ts/src/ts_gtest.cpp std::string("--") + GTEST_FLAG_PREFIX_ + kFilterFlag + "=" std 7656 modules/ts/src/ts_gtest.cpp const std::string internal_flag = std 7657 modules/ts/src/ts_gtest.cpp std::string("--") + GTEST_FLAG_PREFIX_ + kInternalRunDeathTestFlag + "=" std 7743 modules/ts/src/ts_gtest.cpp static void SplitString(const ::std::string& str, char delimiter, std 7744 modules/ts/src/ts_gtest.cpp ::std::vector< ::std::string>* dest) { std 7745 modules/ts/src/ts_gtest.cpp ::std::vector< ::std::string> parsed; std 7746 modules/ts/src/ts_gtest.cpp ::std::string::size_type pos = 0; std 7748 modules/ts/src/ts_gtest.cpp const ::std::string::size_type colon = str.find(delimiter, pos); std 7749 modules/ts/src/ts_gtest.cpp if (colon == ::std::string::npos) { std 7838 modules/ts/src/ts_gtest.cpp ::std::vector< ::std::string> fields; std 7995 modules/ts/src/ts_gtest.cpp const std::string dot_extension = std::string(".") + extension; std 8038 modules/ts/src/ts_gtest.cpp std::string dir; std 8040 modules/ts/src/ts_gtest.cpp dir = std::string(c_str(), last_sep + 1 - c_str()); std 8057 modules/ts/src/ts_gtest.cpp std::string file; std 8501 modules/ts/src/ts_gtest.cpp std::string FormatRegexSyntaxError(const char* regex, int index) { std 8707 modules/ts/src/ts_gtest.cpp GTEST_API_ ::std::string FormatFileLocation(const char* file, int line) { std 8708 modules/ts/src/ts_gtest.cpp const std::string file_name(file == NULL ? kUnknownFile : file); std 8725 modules/ts/src/ts_gtest.cpp GTEST_API_ ::std::string FormatCompilerIndependentFileLocation( std 8727 modules/ts/src/ts_gtest.cpp const std::string file_name(file == NULL ? kUnknownFile : file); std 8742 modules/ts/src/ts_gtest.cpp GetStream() << ::std::endl << marker << " " std 8748 modules/ts/src/ts_gtest.cpp GetStream() << ::std::endl; std 8819 modules/ts/src/ts_gtest.cpp std::string GetCapturedString() { std 8829 modules/ts/src/ts_gtest.cpp const std::string content = ReadEntireFile(file); std 8836 modules/ts/src/ts_gtest.cpp static std::string ReadEntireFile(FILE* file); std 8844 modules/ts/src/ts_gtest.cpp ::std::string filename_; std 8856 modules/ts/src/ts_gtest.cpp std::string CapturedStream::ReadEntireFile(FILE* file) { std 8872 modules/ts/src/ts_gtest.cpp const std::string content(buffer, bytes_read); std 8895 modules/ts/src/ts_gtest.cpp static std::string GetCapturedStream(CapturedStream** captured_stream) { std 8896 modules/ts/src/ts_gtest.cpp const std::string content = (*captured_stream)->GetCapturedString(); std 8915 modules/ts/src/ts_gtest.cpp std::string GetCapturedStdout() { std 8920 modules/ts/src/ts_gtest.cpp std::string GetCapturedStderr() { std 8929 modules/ts/src/ts_gtest.cpp ::std::vector<testing::internal::string> g_argvs; std 8931 modules/ts/src/ts_gtest.cpp static const ::std::vector<testing::internal::string>* g_injected_test_argvs = std 8934 modules/ts/src/ts_gtest.cpp void SetInjectableArgvs(const ::std::vector<testing::internal::string>* argvs) { std 8940 modules/ts/src/ts_gtest.cpp const ::std::vector<testing::internal::string>& GetInjectableArgvs() { std 8960 modules/ts/src/ts_gtest.cpp static std::string FlagToEnvVar(const char* flag) { std 8961 modules/ts/src/ts_gtest.cpp const std::string full_flag = std 9018 modules/ts/src/ts_gtest.cpp const std::string env_var = FlagToEnvVar(flag); std 9028 modules/ts/src/ts_gtest.cpp const std::string env_var = FlagToEnvVar(flag); std 9050 modules/ts/src/ts_gtest.cpp const std::string env_var = FlagToEnvVar(flag); std 9110 modules/ts/src/ts_gtest.cpp using ::std::ostream; std 9291 modules/ts/src/ts_gtest.cpp void PrintTo(unsigned char c, ::std::ostream* os) { std 9294 modules/ts/src/ts_gtest.cpp void PrintTo(signed char c, ::std::ostream* os) { std 9398 modules/ts/src/ts_gtest.cpp void PrintStringTo(const ::std::string& s, ostream* os) { std 9410 modules/ts/src/ts_gtest.cpp void PrintWideStringTo(const ::std::wstring& s, ostream* os) { std 9466 modules/ts/src/ts_gtest.cpp std::string TestPartResult::ExtractSummary(const char* message) { std 9469 modules/ts/src/ts_gtest.cpp std::string(message, stack_trace); std 9473 modules/ts/src/ts_gtest.cpp std::ostream& operator<<(std::ostream& os, const TestPartResult& result) { std 9479 modules/ts/src/ts_gtest.cpp << result.message() << std::endl; std 9576 modules/ts/src/ts_gtest.cpp typedef ::std::set<const char*>::const_iterator DefinedTestIter; std 9584 modules/ts/src/ts_gtest.cpp ::std::set<std::string> tests; std 9587 modules/ts/src/ts_gtest.cpp const std::string name = GetPrefixUntilComma(names); std 9619 modules/ts/src/ts_gtest.cpp const std::string& errors_str = errors.GetString(); std 29 modules/ts/src/ts_perf.cpp static std::vector<std::string> available_impls; std 31 modules/ts/src/ts_perf.cpp static std::string param_impl; std 129 modules/ts/src/ts_perf.cpp Regression& Regression::add(TestBase* test, const std::string& name, cv::InputArray array, double eps, ERROR_TYPE err) std 135 modules/ts/src/ts_perf.cpp Regression& Regression::addMoments(TestBase* test, const std::string& name, const cv::Moments& array, double eps, ERROR_TYPE err) std 143 modules/ts/src/ts_perf.cpp Regression& Regression::addKeypoints(TestBase* test, const std::string& name, const std::vector<cv::KeyPoint>& array, double eps, ERROR_TYPE err) std 161 modules/ts/src/ts_perf.cpp Regression& Regression::addMatches(TestBase* test, const std::string& name, const std::vector<cv::DMatch>& array, double eps, ERROR_TYPE err) std 175 modules/ts/src/ts_perf.cpp void Regression::Init(const std::string& testSuitName, const std::string& ext) std 180 modules/ts/src/ts_perf.cpp void Regression::init(const std::string& testSuitName, const std::string& ext) std 195 modules/ts/src/ts_perf.cpp std::string path_base = (data_path_dir[0] == 0 ? std::string(".") : std::string(data_path_dir)) std 266 modules/ts/src/ts_perf.cpp std::string Regression::getCurrentTestNodeName() std 274 modules/ts/src/ts_perf.cpp std::string nodename = std::string(test_info->test_case_name()) + "--" + test_info->name(); std 276 modules/ts/src/ts_perf.cpp if (idx != std::string::npos) std 342 modules/ts/src/ts_perf.cpp void Regression::verify(cv::FileNode node, cv::Mat actual, double eps, std::string argname, ERROR_TYPE err) std 350 modules/ts/src/ts_perf.cpp eps *= std::max(std::abs(expect_min), std::abs(expect_max)); std 356 modules/ts/src/ts_perf.cpp << argname << " has unexpected minimal value" << std::endl; std 358 modules/ts/src/ts_perf.cpp << argname << " has unexpected maximal value" << std::endl; std 365 modules/ts/src/ts_perf.cpp << argname << " has unexpected number of columns" << std::endl; std 367 modules/ts/src/ts_perf.cpp << argname << " has unexpected number of rows" << std::endl; std 371 modules/ts/src/ts_perf.cpp << argname << " has unexpected value of the last element" << std::endl; std 384 modules/ts/src/ts_perf.cpp << argname << " has unexpected value of the ["<< x1 << ":" << y1 << ":" << cn1 <<"] element" << std::endl; std 395 modules/ts/src/ts_perf.cpp << argname << " has unexpected value of the ["<< x2 << ":" << y2 << ":" << cn2 <<"] element" << std::endl; std 494 modules/ts/src/ts_perf.cpp std::cout << " Expected: " << std::endl << expected << std::endl << " Actual:" << std::endl << actual << std::endl; std 510 modules/ts/src/ts_perf.cpp std::cout << " Expected: " << std::endl << expected << std::endl << " Actual:" << std::endl << actual << std::endl; std 551 modules/ts/src/ts_perf.cpp std::cout << " Expected: " << std::endl << expected << std::endl << " Actual:" << std::endl << actual << std::endl; std 567 modules/ts/src/ts_perf.cpp std::cout << " Expected: " << std::endl << expected << std::endl << " Actual:" << std::endl << actual << std::endl; std 578 modules/ts/src/ts_perf.cpp Regression& Regression::operator() (const std::string& name, cv::InputArray array, double eps, ERROR_TYPE err) std 589 modules/ts/src/ts_perf.cpp std::string nodename = getCurrentTestNodeName(); std 657 modules/ts/src/ts_perf.cpp static std::string perf_validation_results_directory; std 658 modules/ts/src/ts_perf.cpp static std::map<std::string, float> perf_validation_results; std 659 modules/ts/src/ts_perf.cpp static std::string perf_validation_results_outfile; std 665 modules/ts/src/ts_perf.cpp static void loadPerfValidationResults(const std::string& fileName) std 668 modules/ts/src/ts_perf.cpp std::ifstream infile(fileName.c_str()); std 671 modules/ts/src/ts_perf.cpp std::string name; std 677 modules/ts/src/ts_perf.cpp std::cout << "ERROR: Can't load performance validation results from " << fileName << "!" << std::endl; std 681 modules/ts/src/ts_perf.cpp if (!(std::getline(infile, name))) std 683 modules/ts/src/ts_perf.cpp std::cout << "ERROR: Can't load performance validation results from " << fileName << "!" << std::endl; std 690 modules/ts/src/ts_perf.cpp std::cout << "Performance validation results loaded from " << fileName << " (" << perf_validation_results.size() << " entries)" << std::endl; std 693 modules/ts/src/ts_perf.cpp static void savePerfValidationResult(const std::string& name, float value) std 702 modules/ts/src/ts_perf.cpp std::ofstream outfile((perf_validation_results_directory + perf_validation_results_outfile).c_str()); std 703 modules/ts/src/ts_perf.cpp std::map<std::string, float>::const_iterator i; std 707 modules/ts/src/ts_perf.cpp outfile << i->first << std::endl; std 710 modules/ts/src/ts_perf.cpp std::cout << "Performance validation results saved (" << perf_validation_results.size() << " entries)" << std::endl; std 735 modules/ts/src/ts_perf.cpp std::vector<std::string> plain_only; std 740 modules/ts/src/ts_perf.cpp void TestBase::Init(const std::vector<std::string> & availableImpls, std 745 modules/ts/src/ts_perf.cpp const std::string command_line_keys = std 790 modules/ts/src/ts_perf.cpp param_impl = args.has("perf_run_cpu") ? "plain" : args.get<std::string>("perf_impl"); std 791 modules/ts/src/ts_perf.cpp std::string perf_strategy = args.get<std::string>("perf_strategy"); std 809 modules/ts/src/ts_perf.cpp param_max_outliers = std::min(100., std::max(0., args.get<double>("perf_max_outliers"))); std 810 modules/ts/src/ts_perf.cpp param_min_samples = std::max(1u, args.get<unsigned int>("perf_min_samples")); std 811 modules/ts/src/ts_perf.cpp param_max_deviation = std::max(0., args.get<double>("perf_max_deviation")); std 813 modules/ts/src/ts_perf.cpp param_time_limit = std::max(0., args.get<double>("perf_time_limit")); std 840 modules/ts/src/ts_perf.cpp if (std::find(available_impls.begin(), available_impls.end(), param_impl) == available_impls.end()) std 866 modules/ts/src/ts_perf.cpp param_cuda_device = std::max(0, std::min(cv::cuda::getCudaEnabledDeviceCount(), args.get<int>("perf_cuda_device"))); std 889 modules/ts/src/ts_perf.cpp std::string fileName_perf_validation_results_src = args.get<std::string>("perf_read_validation_results"); std 896 modules/ts/src/ts_perf.cpp perf_validation_results_outfile = args.get<std::string>("perf_write_validation_results"); std 928 modules/ts/src/ts_perf.cpp std::string TestBase::getSelectedImpl() std 1005 modules/ts/src/ts_perf.cpp sizes.push_back(std::pair<int, cv::Size>(getSizeInBytes(a), getSize(a))); std 1112 modules/ts/src/ts_perf.cpp std::cout << '.' << std::endl; std 1141 modules/ts/src/ts_perf.cpp std::string name = (test_info == 0) ? "" : std 1142 modules/ts/src/ts_perf.cpp std::string(test_info->test_case_name()) + "--" + test_info->name(); std 1146 modules/ts/src/ts_perf.cpp std::map<std::string, float>::iterator i = perf_validation_results.find(name); std 1175 modules/ts/src/ts_perf.cpp unsigned int new_minIters = std::max(minIters * 5, currentIter * 3); std 1193 modules/ts/src/ts_perf.cpp minIters = std::min(minIters * 5, nIters); std 1309 modules/ts/src/ts_perf.cpp std::sort(times.begin(), times.end()); std 1415 modules/ts/src/ts_perf.cpp EXPECT_LE(m.outliers, std::max((unsigned int)cvCeil(m.samples * param_max_outliers / 100.), 1u)) std 1464 modules/ts/src/ts_perf.cpp std::string rec_line; std 1465 modules/ts/src/ts_perf.cpp std::vector<cv::String> rec; std 1520 modules/ts/src/ts_perf.cpp std::string rec_line; std 1521 modules/ts/src/ts_perf.cpp std::vector<cv::String> rec; std 1611 modules/ts/src/ts_perf.cpp if(implConf.icv) {printf("ICV_MT "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_IPP|CV_IMPL_MT); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } std 1612 modules/ts/src/ts_perf.cpp if(implConf.ipp) {printf("IPP_MT "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_IPP|CV_IMPL_MT); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } std 1616 modules/ts/src/ts_perf.cpp if(implConf.icv) {printf("ICV "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_IPP); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } std 1617 modules/ts/src/ts_perf.cpp if(implConf.ipp) {printf("IPP "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_IPP); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } std 1619 modules/ts/src/ts_perf.cpp if(implConf.ocl) {printf("OCL "); std::vector<cv::String> fun = implConf.GetCallsForImpl(CV_IMPL_OCL); printf("("); for(int i=0; i<fun.size();i++ ){printf("%s ", fun[i].c_str());} printf(") "); } std 1630 modules/ts/src/ts_perf.cpp std::string TestBase::getDataPath(const std::string& relativePath) std 1641 modules/ts/src/ts_perf.cpp std::string path; std 1646 modules/ts/src/ts_perf.cpp path = (data_path_dir[0] == 0 ? std::string(".") : std::string(data_path_dir)) std 1704 modules/ts/src/ts_perf.cpp catch(std::exception& e) std 1723 modules/ts/src/ts_perf.cpp test->nIters = std::min(n, TestBase::iterationsLimitDefault); std 1835 modules/ts/src/ts_perf.cpp std::vector<cv::KeyPoint>& pts_; std 1838 modules/ts/src/ts_perf.cpp KeypointComparator(std::vector<cv::KeyPoint>& pts) : pts_(pts), cmp() {} std 1849 modules/ts/src/ts_perf.cpp void perf::sort(std::vector<cv::KeyPoint>& pts, cv::InputOutputArray descriptors) std 1859 modules/ts/src/ts_perf.cpp std::sort((int*)idxs, (int*)idxs + desc.rows, KeypointComparator(pts)); std 1861 modules/ts/src/ts_perf.cpp std::vector<cv::KeyPoint> spts(pts.size()); std 1889 modules/ts/src/ts_perf.cpp void PrintTo(const MatType& t, ::std::ostream* os) std 1913 modules/ts/src/ts_perf.cpp void PrintTo(const String& str, ::std::ostream* os) std 1918 modules/ts/src/ts_perf.cpp void PrintTo(const Size& sz, ::std::ostream* os) std 40 modules/video/perf/opencl/perf_bgfg_mog2.cpp std::vector<Mat> frame_buffer_init; std 50 modules/video/perf/opencl/perf_optflow_dualTVL1.cpp using std::tr1::make_tuple; std 50 modules/video/perf/opencl/perf_optflow_farneback.cpp using std::tr1::make_tuple; std 50 modules/video/perf/opencl/perf_optflow_pyrlk.cpp using std::tr1::make_tuple; std 3 modules/video/perf/perf_ecc.cpp using namespace std; std 6 modules/video/perf/perf_ecc.cpp using std::tr1::make_tuple; std 7 modules/video/perf/perf_ecc.cpp using std::tr1::get; std 11 modules/video/perf/perf_ecc.cpp typedef std::tr1::tuple<MotionType> MotionType_t; std 3 modules/video/perf/perf_optflowpyrlk.cpp using namespace std; std 6 modules/video/perf/perf_optflowpyrlk.cpp using std::tr1::make_tuple; std 7 modules/video/perf/perf_optflowpyrlk.cpp using std::tr1::get; std 9 modules/video/perf/perf_optflowpyrlk.cpp typedef tr1::tuple<std::string, int, int, tr1::tuple<int,int>, int> Path_Idx_Cn_NPoints_WSize_t; std 32 modules/video/perf/perf_optflowpyrlk.cpp testing::Values<std::string>("cv/optflow/frames/VGA_%02d.png", "cv/optflow/frames/720p_%02d.png"), std 100 modules/video/perf/perf_optflowpyrlk.cpp typedef tr1::tuple<std::string, int, int, tr1::tuple<int,int>, int, bool> Path_Idx_Cn_NPoints_WSize_Deriv_t; std 104 modules/video/perf/perf_optflowpyrlk.cpp testing::Values<std::string>("cv/optflow/frames/VGA_%02d.png", "cv/optflow/frames/720p_%02d.png"), std 160 modules/video/perf/perf_optflowpyrlk.cpp std::vector<Mat> pyramid1, pyramid2; std 182 modules/video/perf/perf_optflowpyrlk.cpp typedef tr1::tuple<std::string, int, bool, PyrBorderMode, bool> Path_Win_Deriv_Border_Reuse_t; std 186 modules/video/perf/perf_optflowpyrlk.cpp testing::Values<std::string>("cv/optflow/frames/720p_01.png"), std 206 modules/video/perf/perf_optflowpyrlk.cpp std::vector<Mat> pyramid; std 3 modules/video/perf/perf_tvl1optflow.cpp using namespace std; std 572 modules/video/src/bgfg_KNN.cpp learningRate = learningRate >= 0 && nframes > 1 ? learningRate : 1./std::min( 2*nframes, history ); std 629 modules/video/src/bgfg_KNN.cpp std::vector<Mat> channels; std 658 modules/video/src/bgfg_gaussmix2.cpp std::swap(gmm[i], gmm[i-1]); std 660 modules/video/src/bgfg_gaussmix2.cpp std::swap(mean[i*nchannels + c], mean[(i-1)*nchannels + c]); std 721 modules/video/src/bgfg_gaussmix2.cpp std::swap(gmm[i], gmm[i-1]); std 723 modules/video/src/bgfg_gaussmix2.cpp std::swap(mean[i*nchannels + c], mean[(i-1)*nchannels + c]); std 755 modules/video/src/bgfg_gaussmix2.cpp learningRate = learningRate >= 0 && nframes > 1 ? learningRate : 1./std::min( 2*nframes, history ); std 842 modules/video/src/bgfg_gaussmix2.cpp learningRate = learningRate >= 0 && nframes > 1 ? learningRate : 1./std::min( 2*nframes, history ); std 873 modules/video/src/bgfg_gaussmix2.cpp std::vector<float> meanVal(nchannels, 0.f); std 66 modules/video/src/camshift.cpp double eps = (criteria.type & TermCriteria::EPS) ? std::max(criteria.epsilon, 0.) : 1.; std 68 modules/video/src/camshift.cpp int i, niters = (criteria.type & TermCriteria::MAX_ITER) ? std::max(criteria.maxCount, 1) : 100; std 78 modules/video/src/camshift.cpp cur_rect.width = std::max(cur_rect.width, 1); std 79 modules/video/src/camshift.cpp cur_rect.height = std::max(cur_rect.height, 1); std 90 modules/video/src/camshift.cpp int nx = std::min(std::max(cur_rect.x + dx, 0), size.width - cur_rect.width); std 91 modules/video/src/camshift.cpp int ny = std::min(std::max(cur_rect.y + dy, 0), size.height - cur_rect.height); std 155 modules/video/src/camshift.cpp double square = std::sqrt( 4 * b * b + (a - c) * (a - c) ); std 166 modules/video/src/camshift.cpp double length = std::sqrt( rotate_a * inv_m00 ) * 4; std 167 modules/video/src/camshift.cpp double width = std::sqrt( rotate_c * inv_m00 ) * 4; std 172 modules/video/src/camshift.cpp std::swap( length, width ); std 173 modules/video/src/camshift.cpp std::swap( cs, sn ); std 489 modules/video/src/ecc.cpp const double tmpNorm = std::sqrt(countNonZero(imageMask)*(tmpStd.val[0])*(tmpStd.val[0])); std 490 modules/video/src/ecc.cpp const double imgNorm = std::sqrt(countNonZero(imageMask)*(imgStd.val[0])*(imgStd.val[0])); std 56 modules/video/src/kalman.cpp CP = std::max(CP, 0); std 487 modules/video/src/lkpyramid.cpp float minEig = (A22 + A11 - std::sqrt((A11-A22)*(A11-A22) + std 693 modules/video/src/lkpyramid.cpp if( j > 0 && std::abs(delta.x + prevDelta.x) < 0.01 && std 694 modules/video/src/lkpyramid.cpp std::abs(delta.y + prevDelta.y) < 0.01 ) std 736 modules/video/src/lkpyramid.cpp errval += std::abs((float)diff); std 863 modules/video/src/lkpyramid.cpp iters = std::min(std::max(iters, 0), 100); std 865 modules/video/src/lkpyramid.cpp derivLambda = std::min(std::max(derivLambda, 0.0), 1.0); std 890 modules/video/src/lkpyramid.cpp std::vector<UMat> prevPyr; prevPyr.resize(maxLevel + 1); std 891 modules/video/src/lkpyramid.cpp std::vector<UMat> nextPyr; nextPyr.resize(maxLevel + 1); std 1146 modules/video/src/lkpyramid.cpp std::vector<Mat> prevPyr, nextPyr; std 1217 modules/video/src/lkpyramid.cpp criteria.maxCount = std::min(std::max(criteria.maxCount, 0), 100); std 1221 modules/video/src/lkpyramid.cpp criteria.epsilon = std::min(std::max(criteria.epsilon, 0.), 10.); std 1360 modules/video/src/lkpyramid.cpp std::vector<Point2f> pA, pB; std 1361 modules/video/src/lkpyramid.cpp std::vector<int> good_idx; std 1362 modules/video/src/lkpyramid.cpp std::vector<uchar> status; std 1390 modules/video/src/lkpyramid.cpp scale = std::max(1., std::max( (double)sz1.width/sz0.width, (double)sz1.height/sz0.height )); std 1511 modules/video/src/lkpyramid.cpp if( fabs(dax1*day2 - day1*dax2) < eps*std::sqrt(dax1*dax1+day1*day1)*std::sqrt(dax2*dax2+day2*day2) || std 1512 modules/video/src/lkpyramid.cpp fabs(dbx1*dby2 - dby1*dbx2) < eps*std::sqrt(dbx1*dbx1+dby1*dby1)*std::sqrt(dbx2*dbx2+dby2*dby2) ) std 1531 modules/video/src/lkpyramid.cpp if( std::abs( m[0]*pA[i].x + m[1]*pA[i].y + m[2] - pB[i].x ) + std 1532 modules/video/src/lkpyramid.cpp std::abs( m[3]*pA[i].x + m[4]*pA[i].y + m[5] - pB[i].y ) < std::max(brect.width,brect.height)*0.05 ) std 69 modules/video/src/optflowgf.cpp g[x] = (float)std::exp(-x*x/(2*sigma*sigma)); std 150 modules/video/src/optflowgf.cpp srow0 = src.ptr<float>(std::max(y-k,0)); std 151 modules/video/src/optflowgf.cpp srow1 = src.ptr<float>(std::min(y+k,height-1)); std 321 modules/video/src/optflowgf.cpp int min_update_stripe = std::max((1 << 10)/width, block_size); std 334 modules/video/src/optflowgf.cpp srow0 = matM.ptr<float>(std::min(y,height-1)); std 345 modules/video/src/optflowgf.cpp srow0 = matM.ptr<float>(std::max(y-m-1,0)); std 346 modules/video/src/optflowgf.cpp const float* srow1 = matM.ptr<float>(std::min(y+m,height-1)); std 414 modules/video/src/optflowgf.cpp int min_update_stripe = std::max((1 << 10)/width, block_size); std 427 modules/video/src/optflowgf.cpp float t = (float)std::exp(-i*i/(2*sigma*sigma) ); std 455 modules/video/src/optflowgf.cpp srow[m-i] = matM.ptr<float>(std::max(y-i,0)); std 456 modules/video/src/optflowgf.cpp srow[m+i] = matM.ptr<float>(std::min(y+i,height-1)); std 617 modules/video/src/optflowgf.cpp CV_Assert(!fastPyramids || std::abs(pyrScale - 0.5) < 1e-6); std 666 modules/video/src/optflowgf.cpp smoothSize = std::max(smoothSize, 3); std 803 modules/video/src/optflowgf.cpp std::vector<float> buf(n*6 + 3); std 830 modules/video/src/optflowgf.cpp std::vector<UMat> pyramid0_, pyramid1_; std 1063 modules/video/src/optflowgf.cpp std::vector<UMat> flowar; std 1118 modules/video/src/optflowgf.cpp smooth_sz = std::max(smooth_sz, 3); std 132 modules/video/src/tvl1flow.cpp std::vector<Mat_<float> > I0s; std 133 modules/video/src/tvl1flow.cpp std::vector<Mat_<float> > I1s; std 134 modules/video/src/tvl1flow.cpp std::vector<Mat_<float> > u1s; std 135 modules/video/src/tvl1flow.cpp std::vector<Mat_<float> > u2s; std 136 modules/video/src/tvl1flow.cpp std::vector<Mat_<float> > u3s; std 175 modules/video/src/tvl1flow.cpp std::vector<UMat> I0s; std 176 modules/video/src/tvl1flow.cpp std::vector<UMat> I1s; std 177 modules/video/src/tvl1flow.cpp std::vector<UMat> u1s; std 178 modules/video/src/tvl1flow.cpp std::vector<UMat> u2s; std 529 modules/video/src/tvl1flow.cpp std::vector<UMat> umv; std 595 modules/video/src/tvl1flow.cpp std::vector<UMat> uxy; std 992 modules/video/src/tvl1flow.cpp else if (gradRow[x] > std::numeric_limits<float>::epsilon()) std 1236 modules/video/src/tvl1flow.cpp double error = std::numeric_limits<double>::max(); std 1260 modules/video/src/tvl1flow.cpp error = std::numeric_limits<double>::max(); std 1336 modules/video/src/tvl1flow.cpp float error = std::numeric_limits<float>::max(); std 89 modules/video/test/ocl/test_optflowpyrlk.cpp std::vector<cv::Point2f> pts; std 92 modules/video/test/ocl/test_optflowpyrlk.cpp std::vector<cv::Point2f> cpuNextPts; std 93 modules/video/test/ocl/test_optflowpyrlk.cpp std::vector<unsigned char> cpuStatusCPU; std 94 modules/video/test/ocl/test_optflowpyrlk.cpp std::vector<float> cpuErr; std 99 modules/video/test/ocl/test_optflowpyrlk.cpp std::vector<cv::Point2f> nextPts; umatNextPts.reshape(2, 1).copyTo(nextPts); std 100 modules/video/test/ocl/test_optflowpyrlk.cpp std::vector<unsigned char> status; umatStatus.reshape(1, 1).copyTo(status); std 101 modules/video/test/ocl/test_optflowpyrlk.cpp std::vector<float> err; umatErr.reshape(1, 1).copyTo(err); std 120 modules/video/test/ocl/test_optflowpyrlk.cpp bool eq = std::abs(a.x - b.x) < 1 && std::abs(a.y - b.y) < 1; std 46 modules/video/test/test_accum.cpp using namespace std; std 76 modules/video/test/test_accum.cpp int accdepth = std::max((int)(cvtest::randInt(rng) % 2 + 1), depth); std 46 modules/video/test/test_camshift.cpp using namespace std; std 46 modules/video/test/test_ecc.cpp using namespace std; std 53 modules/video/test/test_estimaterigid.cpp using namespace std; std 218 modules/video/test/test_optflowpyrlk.cpp std::string path = cvtest::TS::ptr()->get_data_path() + "../cv/shared/lena.png"; std 229 modules/video/test/test_optflowpyrlk.cpp std::vector<uchar> status; std 230 modules/video/test/test_optflowpyrlk.cpp std::vector<float> error; std 231 modules/video/test/test_optflowpyrlk.cpp std::vector<cv::Point2f> prev; std 232 modules/video/test/test_optflowpyrlk.cpp std::vector<cv::Point2f> next; std 45 modules/video/test/test_tvl1optflow.cpp using namespace std; std 50 modules/videoio/include/opencv2/videoio/cap_winrt.hpp CV_EXPORTS void winrt_startMessageLoop(std::function<void(Args...)>&& callback, Args... args); std 5 modules/videoio/perf/perf_input.cpp using namespace std; std 8 modules/videoio/perf/perf_input.cpp using std::tr1::make_tuple; std 9 modules/videoio/perf/perf_input.cpp using std::tr1::get; std 12 modules/videoio/perf/perf_input.cpp typedef perf::TestBaseWithParam<std::string> VideoCapture_Reading; std 5 modules/videoio/perf/perf_output.cpp using namespace std; std 8 modules/videoio/perf/perf_output.cpp using std::tr1::make_tuple; std 9 modules/videoio/perf/perf_output.cpp using std::tr1::get; std 11 modules/videoio/perf/perf_output.cpp typedef std::tr1::tuple<std::string, bool> VideoWriter_Writing_t; std 39 modules/videoio/src/agile_wrl.hpp #define __is_winrt_agile(T) (std::is_same<T, HSTRING__>::value || std::is_base_of<Microsoft::WRL::FtmBase, T>::value || std::is_base_of<IAgileObject, T>::value) //derived from Microsoft::WRL::FtmBase or IAgileObject std 41 modules/videoio/src/agile_wrl.hpp #define __is_win_interface(T) (std::is_base_of<IUnknown, T>::value || std::is_base_of<IInspectable, T>::value) //derived from IUnknown or IInspectable std 43 modules/videoio/src/agile_wrl.hpp #define __is_win_class(T) (std::is_same<T, HSTRING__>::value || std::is_base_of<Microsoft::WRL::Details::RuntimeClassBase, T>::value) //derived from Microsoft::WRL::RuntimeClass or HSTRING std 365 modules/videoio/src/agile_wrl.hpp std::swap(_object, object._object); std 366 modules/videoio/src/agile_wrl.hpp std::swap(_contextCallback, object._contextCallback); std 367 modules/videoio/src/agile_wrl.hpp std::swap(_contextToken, object._contextToken); std 369 modules/videoio/src/agile_wrl.hpp std::swap(_agileState, object._agileState); std 522 modules/videoio/src/agile_wrl.hpp std::swap(_object, object._object); std 710 modules/videoio/src/cap.cpp std::lock_guard<std::mutex> lock(VideoioBridge::getInstance().inputBufferMutex); std 899 modules/videoio/src/cap_ffmpeg_impl.hpp _frame_number = std::min(_frame_number, get_total_frames()); std 909 modules/videoio/src/cap_ffmpeg_impl.hpp int64_t _frame_number_temp = std::max(_frame_number-delta, (int64_t)0); std 1183 modules/videoio/src/cap_ffmpeg_impl.hpp lbit_rate = std::min(lbit_rate, (int64_t)INT_MAX); std 1755 modules/videoio/src/cap_ffmpeg_impl.hpp lbit_rate = std::min(lbit_rate, (int64_t)INT_MAX); std 1991 modules/videoio/src/cap_ffmpeg_impl.hpp lbit_rate = std::min(lbit_rate, static_cast<unsigned long long>(std::numeric_limits<int>::max())); std 53 modules/videoio/src/cap_gphoto2.cpp class GPhoto2Exception: public std::exception std 72 modules/videoio/src/cap_gphoto2.cpp friend std::ostream & operator<<(std::ostream & ostream, std 219 modules/videoio/src/cap_gphoto2.cpp std::deque<CameraFile *> grabbedFrames; std 223 modules/videoio/src/cap_gphoto2.cpp std::string widgetInfo; // CV_CAP_PROP_GPHOTO2_WIDGET_ENUMERATE std 224 modules/videoio/src/cap_gphoto2.cpp std::map<int, CameraWidget *> widgets; std 234 modules/videoio/src/cap_gphoto2.cpp int widgetDescription(std::ostream &os, CameraWidget * widget) const std 236 modules/videoio/src/cap_gphoto2.cpp int collectWidgets(std::ostream &os, CameraWidget * widget) std 240 modules/videoio/src/cap_gphoto2.cpp mutable std::ostringstream msgsBuffer; // CV_CAP_PROP_GPHOTO2_FLUSH_MSGS std 241 modules/videoio/src/cap_gphoto2.cpp mutable std::string lastFlush; // CV_CAP_PROP_GPHOTO2_FLUSH_MSGS std 645 modules/videoio/src/cap_gphoto2.cpp if (std::strcmp(choice, current) == 0) std 934 modules/videoio/src/cap_gphoto2.cpp std::ostringstream widgetInfoListStream; std 959 modules/videoio/src/cap_gphoto2.cpp std::map<int, CameraWidget *>::const_iterator it = widgets.find(widgetId); std 977 modules/videoio/src/cap_gphoto2.cpp typedef std::map<int, CameraWidget *>::const_iterator it_t; std 1024 modules/videoio/src/cap_gphoto2.cpp int DigitalCameraCapture::widgetDescription(std::ostream &os, std 1139 modules/videoio/src/cap_gphoto2.cpp int DigitalCameraCapture::collectWidgets(std::ostream & os, std 1155 modules/videoio/src/cap_gphoto2.cpp id = std::max(id, collectWidgets(os, child)); std 1174 modules/videoio/src/cap_gphoto2.cpp std::ostringstream msgCreator; std 1175 modules/videoio/src/cap_gphoto2.cpp std::string out; std 46 modules/videoio/src/cap_intelperc.hpp std::vector<PXCCapture::VideoStream::ProfileInfo> m_profiles; std 337 modules/videoio/src/cap_mjpeg_decoder.cpp typedef std::deque< std::pair<uint64_t, uint32_t> > frame_list; std 467 modules/videoio/src/cap_mjpeg_decoder.cpp in_frame_list.push_back(std::make_pair(absolute_pos, idx1.dwChunkLength)); std 707 modules/videoio/src/cap_mjpeg_decoder.cpp std::vector<char> readFrame(frame_iterator it); std 781 modules/videoio/src/cap_mjpeg_decoder.cpp std::vector<char> MotionJpegCapture::readFrame(frame_iterator it) std 788 modules/videoio/src/cap_mjpeg_decoder.cpp std::vector<char> result; std 820 modules/videoio/src/cap_mjpeg_decoder.cpp std::vector<char> data = readFrame(m_frame_iterator); std 343 modules/videoio/src/cap_mjpeg_encoder.cpp std::vector<uchar> m_buf; std 639 modules/videoio/src/cap_mjpeg_encoder.cpp std::vector<size_t> frameOffset, frameSize, AVIChunkSizeIndex, frameNumIndexes; std 534 modules/videoio/src/cap_msmf.cpp typedef std::wstring String; std 535 modules/videoio/src/cap_msmf.cpp typedef std::vector<int> vectorNum; std 536 modules/videoio/src/cap_msmf.cpp typedef std::map<String, vectorNum> SUBTYPEMap; std 537 modules/videoio/src/cap_msmf.cpp typedef std::map<UINT64, SUBTYPEMap> FrameRateMap; std 593 modules/videoio/src/cap_msmf.cpp std::map<UINT64, FrameRateMap> vd_CaptureFormats; std 594 modules/videoio/src/cap_msmf.cpp std::vector<MediaType> vd_CurrentFormats; std 652 modules/videoio/src/cap_msmf.cpp std::vector<videoDevice *> vds_Devices; std 1631 modules/videoio/src/cap_msmf.cpp *ppIG = new (std::nothrow) ImageGrabber(deviceID, synchronious); std 1776 modules/videoio/src/cap_msmf.cpp *ppIGT = new (std::nothrow) ImageGrabberThread(pSource, deviceID, synchronious); std 1961 modules/videoio/src/cap_msmf.cpp *ppRImage = new (std::nothrow) RawImage(size); std 2460 modules/videoio/src/cap_msmf.cpp std::map<UINT64, FrameRateMap>::const_iterator fmt; std 2473 modules/videoio/src/cap_msmf.cpp std::map<UINT64, SUBTYPEMap>::iterator f = FRM.begin(); std 2486 modules/videoio/src/cap_msmf.cpp std::map<UINT64, SUBTYPEMap>::iterator f = FRM.begin(); std 2516 modules/videoio/src/cap_msmf.cpp std::vector<MediaType>::iterator i = vd_CurrentFormats.begin(); std 2841 modules/videoio/src/cap_msmf.cpp std::vector<videoDevice *>::iterator i = vds_Devices.begin(); std 3789 modules/videoio/src/cap_msmf.cpp std::vector<MediaType> captureFormats; std 16 modules/videoio/src/cap_msmf.hpp template<typename _Type, bool bUnknown = std::is_base_of<IUnknown, _Type>::value> std 122 modules/videoio/src/cap_msmf.hpp static std::vector<Type> PropertyValueToVector(ABI::Windows::Foundation::IPropertyValue* propValue)\ std 127 modules/videoio/src/cap_msmf.hpp return std::vector<Type>(pArray, pArray + uLen);\ std 162 modules/videoio/src/cap_msmf.hpp #define __is_valid_winrt_type(_Type) (std::is_void<_Type>::value || \ std 163 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, BYTE>::value || \ std 164 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, INT16>::value || \ std 165 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, UINT16>::value || \ std 166 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, INT32>::value || \ std 167 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, UINT32>::value || \ std 168 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, INT64>::value || \ std 169 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, UINT64>::value || \ std 170 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, FLOAT>::value || \ std 171 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, DOUBLE>::value || \ std 172 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, WCHAR>::value || \ std 173 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, boolean>::value || \ std 174 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, HSTRING>::value || \ std 175 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, IInspectable *>::value || \ std 176 modules/videoio/src/cap_msmf.hpp std::is_base_of<Microsoft::WRL::Details::RuntimeClassBase, _Type>::value || \ std 177 modules/videoio/src/cap_msmf.hpp std::is_base_of<IInspectable, typename DerefHelper<_Type>::DerefType>::value || \ std 178 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, GUID>::value || \ std 179 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, ABI::Windows::Foundation::DateTime>::value || \ std 180 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, ABI::Windows::Foundation::TimeSpan>::value || \ std 181 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, ABI::Windows::Foundation::Point>::value || \ std 182 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, ABI::Windows::Foundation::Size>::value || \ std 183 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, ABI::Windows::Foundation::Rect>::value || \ std 184 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, BYTE*>::value || \ std 185 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, INT16*>::value || \ std 186 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, UINT16*>::value || \ std 187 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, INT32*>::value || \ std 188 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, UINT32*>::value || \ std 189 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, INT64*>::value || \ std 190 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, UINT64*>::value || \ std 191 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, FLOAT*>::value || \ std 192 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, DOUBLE*>::value || \ std 193 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, WCHAR*>::value || \ std 194 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, boolean*>::value || \ std 195 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, HSTRING*>::value || \ std 196 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, IInspectable **>::value || \ std 197 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, GUID*>::value || \ std 198 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, ABI::Windows::Foundation::DateTime*>::value || \ std 199 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, ABI::Windows::Foundation::TimeSpan*>::value || \ std 200 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, ABI::Windows::Foundation::Point*>::value || \ std 201 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, ABI::Windows::Foundation::Size*>::value || \ std 202 modules/videoio/src/cap_msmf.hpp std::is_same<_Type, ABI::Windows::Foundation::Rect*>::value) std 243 modules/videoio/src/cap_msmf.hpp #define MAKE_MAP(e) std::map<e, std::wstring> std 244 modules/videoio/src/cap_msmf.hpp #define MAKE_ENUM(e) std::pair<e, std::wstring> std 245 modules/videoio/src/cap_msmf.hpp #define MAKE_ENUM_PAIR(e, str) std::pair<e, std::wstring>(str, L#str) std 247 modules/videoio/src/cap_msmf.hpp #define MAKE_MAP(e) std::map<e, std::string> std 248 modules/videoio/src/cap_msmf.hpp #define MAKE_ENUM(e) std::pair<e, std::string> std 249 modules/videoio/src/cap_msmf.hpp #define MAKE_ENUM_PAIR(e, str) std::pair<e, std::string>(str, #str) std 450 modules/videoio/src/cap_msmf.hpp #define GET_STL_STRING(str) std::wstring(str->Data()) std 451 modules/videoio/src/cap_msmf.hpp #define GET_STL_STRING_RAW(str) std::wstring(str->Data()) std 541 modules/videoio/src/cap_msmf.hpp #define GET_STL_STRING(str) std::wstring(str.GetRawBuffer(NULL)) std 232 modules/videoio/src/cap_openni.cpp double timeDiff = 1e-3 * std::abs(static_cast<double>(depth.Timestamp()) - static_cast<double>(image.Timestamp())); std 308 modules/videoio/src/cap_openni.cpp std::queue<cv::Ptr<xn::DepthMetaData> > depthQueue; std 309 modules/videoio/src/cap_openni.cpp std::queue<cv::Ptr<xn::ImageMetaData> > imageQueue; std 516 modules/videoio/src/cap_openni.cpp std::vector<OutputMap> outputMaps; std 1183 modules/videoio/src/cap_openni.cpp std::vector<XnPoint3D> proj(cols*rows); std 1184 modules/videoio/src/cap_openni.cpp std::vector<XnPoint3D> real(cols*rows); std 163 modules/videoio/src/cap_openni2.cpp std::vector<OutputMap> outputMaps; std 1745 modules/videoio/src/cap_v4l.cpp cv::Mat temp=cv::imdecode(cv::Mat(std::vector<uchar>(src, src + length)), 1); std 80 modules/videoio/src/cap_winrt/CaptureFrameGrabber.hpp std::queue<concurrency::task_completion_event<MW::ComPtr<IMF2DBuffer2>>> _videoSampleRequestQueue; std 155 modules/videoio/src/cap_winrt/MFIncludes.hpp catch (const std::bad_alloc&) std 159 modules/videoio/src/cap_winrt/MFIncludes.hpp catch (const std::exception&) std 43 modules/videoio/src/cap_winrt_bridge.cpp using namespace ::std; std 74 modules/videoio/src/cap_winrt_bridge.hpp std::atomic<bool> bIsFrameNew; std 75 modules/videoio/src/cap_winrt_bridge.hpp std::mutex inputBufferMutex; // input is double buffered std 78 modules/videoio/src/cap_winrt_bridge.hpp std::atomic<unsigned long> frameCounter; std 81 modules/videoio/src/cap_winrt_bridge.hpp std::mutex outputBufferMutex; // output is double buffered std 102 modules/videoio/src/cap_winrt_bridge.hpp std::atomic<bool> deviceReady; std 44 modules/videoio/src/cap_winrt_capture.cpp using namespace ::std; std 51 modules/videoio/src/cap_winrt_capture.cpp void winrt_startMessageLoop(std::function<void(Args...)>&& callback, Args... args) std 84 modules/videoio/src/cap_winrt_capture.cpp winrt_startMessageLoop(std::function<void(Args...)>(callback), args...); std 69 modules/videoio/src/cap_winrt_capture.hpp std::atomic<bool> isFrameNew; std 41 modules/videoio/src/cap_winrt_video.cpp using namespace ::std; std 166 modules/videoio/src/cap_winrt_video.cpp std::lock_guard<std::mutex> lock(VideoioBridge::getInstance().inputBufferMutex); std 190 modules/videoio/src/cap_winrt_video.cpp std::lock_guard<std::mutex> lock(VideoioBridge::getInstance().inputBufferMutex); std 236 modules/videoio/src/cap_winrt_video.cpp std::lock_guard<std::mutex> lock(VideoioBridge::getInstance().outputBufferMutex); std 281 modules/videoio/src/cap_winrt_video.cpp std::atomic<bool> ready(false); std 316 modules/videoio/src/cap_winrt_video.cpp std::future<bool> result = std::async(std::launch::async, &Video::listDevicesTask, this); std 68 modules/videoio/src/cap_winrt_video.hpp std::atomic<bool> bIsFrameNew; std 69 modules/videoio/src/cap_winrt_video.hpp std::atomic<bool> bGrabberInited; std 70 modules/videoio/src/cap_winrt_video.hpp std::atomic<bool> bGrabberInitInProgress; std 252 modules/videoio/src/ppltasks_winrt.hpp std::vector<void *> _M_frames; std 394 modules/videoio/src/ppltasks_winrt.hpp static const bool _Value = std::is_base_of<ABI::Windows::Foundation::IAsyncInfo, typename _Unhat<_Type>::_Value>::value || std 395 modules/videoio/src/ppltasks_winrt.hpp std::is_same<_TypeSelectorAsyncAction, decltype(details::_AsyncOperationKindSelector(stdx::declval<_Type>()))>::value || std 396 modules/videoio/src/ppltasks_winrt.hpp std::is_same<_TypeSelectorAsyncOperation, decltype(details::_AsyncOperationKindSelector(stdx::declval<_Type>()))>::value || std 397 modules/videoio/src/ppltasks_winrt.hpp std::is_same<_TypeSelectorAsyncOperationWithProgress, decltype(details::_AsyncOperationKindSelector(stdx::declval<_Type>()))>::value || std 398 modules/videoio/src/ppltasks_winrt.hpp std::is_same<_TypeSelectorAsyncActionWithProgress, decltype(details::_AsyncOperationKindSelector(stdx::declval<_Type>()))>::value; std 468 modules/videoio/src/ppltasks_winrt.hpp template <typename _ReturnType, typename _Function> auto _IsCallable(_Function _Func, int, int, int) -> decltype(_Func(stdx::declval<task<_ReturnType>*>()), std::true_type()) { (void)_Func; return std::true_type(); } std 469 modules/videoio/src/ppltasks_winrt.hpp template <typename _ReturnType, typename _Function> auto _IsCallable(_Function _Func, int, int, ...) -> decltype(_Func(stdx::declval<_ReturnType*>()), std::true_type()) { (void)_Func; return std::true_type(); } std 470 modules/videoio/src/ppltasks_winrt.hpp template <typename _ReturnType, typename _Function> auto _IsCallable(_Function _Func, int, ...) -> decltype(_Func(), std::true_type()) { (void)_Func; return std::true_type(); } std 471 modules/videoio/src/ppltasks_winrt.hpp template <typename _ReturnType, typename _Function> std::false_type _IsCallable(_Function, ...) { return std::false_type(); } std 913 modules/videoio/src/ppltasks_winrt.hpp template <typename _Function> auto _IsVoidConversionHelper(_Function _Func, int) -> typename decltype(_Func(_To_task()), std::true_type()); std 914 modules/videoio/src/ppltasks_winrt.hpp template <typename _Function> std::false_type _IsVoidConversionHelper(_Function _Func, ...); std 916 modules/videoio/src/ppltasks_winrt.hpp template <typename T> std::true_type _VoidIsTaskHelper(task<T> _Arg, int); std 917 modules/videoio/src/ppltasks_winrt.hpp template <typename T> std::false_type _VoidIsTaskHelper(T _Arg, ...); std 919 modules/videoio/src/ppltasks_winrt.hpp template<typename _Function, typename _ExpectedParameterType, const bool _IsVoidConversion = std::is_same<decltype(_IsVoidConversionHelper(stdx::declval<_Function>(), 0)), std::true_type>::value, const size_t _Count = _FunctorTypeTraits<_Function>::_ArgumentCount> std 923 modules/videoio/src/ppltasks_winrt.hpp static_assert(std::is_same<typename _FunctorTypeTraits<_Function>::_Argument1Type, _ExpectedParameterType>::value || std 924 modules/videoio/src/ppltasks_winrt.hpp std::is_same<typename _FunctorTypeTraits<_Function>::_Argument1Type, task<_ExpectedParameterType>>::value, "incorrect parameter type for the callable object in 'then'; consider _ExpectedParameterType or task<_ExpectedParameterType> (see below)"); std 934 modules/videoio/src/ppltasks_winrt.hpp static_assert(std::is_same<typename _FunctorTypeTraits<_Function>::_Argument1Type, _ExpectedParameterType>::value || std 935 modules/videoio/src/ppltasks_winrt.hpp std::is_same<typename _FunctorTypeTraits<_Function>::_Argument1Type, task<_ExpectedParameterType>>::value, "incorrect parameter type for the callable object in 'then'; consider _ExpectedParameterType or task<_ExpectedParameterType> (see below)"); std 944 modules/videoio/src/ppltasks_winrt.hpp static_assert(std::is_same<typename _FunctorTypeTraits<_Function>::_Argument1Type, decltype(_To_task())>::value, "incorrect parameter type for the callable object in 'then'; consider _ExpectedParameterType or task<_ExpectedParameterType> (see below)"); std 954 modules/videoio/src/ppltasks_winrt.hpp typedef std::false_type _Takes_task; std 962 modules/videoio/src/ppltasks_winrt.hpp typedef std::false_type _Takes_task; std 1006 modules/videoio/src/ppltasks_winrt.hpp _TaskProcThunk(const std::function<HRESULT(void)> & _Callback) : std 1042 modules/videoio/src/ppltasks_winrt.hpp std::function<HRESULT(void)> _M_func; std 1062 modules/videoio/src/ppltasks_winrt.hpp static void _ScheduleFuncWithAutoInline(const std::function<HRESULT(void)> & _Func, _TaskInliningMode _InliningMode) std 1080 modules/videoio/src/ppltasks_winrt.hpp typedef std::function<HRESULT(void)> _CallbackFunction; std 1311 modules/videoio/src/ppltasks_winrt.hpp struct _ResultHolder<std::vector<_Type*>> std 1313 modules/videoio/src/ppltasks_winrt.hpp void Set(const std::vector<_Type*>& _type) std 1323 modules/videoio/src/ppltasks_winrt.hpp std::vector<_Type*> Get() std 1326 modules/videoio/src/ppltasks_winrt.hpp std::vector<_Type*> _Return; std 1337 modules/videoio/src/ppltasks_winrt.hpp std::vector< Agile<_Type*> > _Result; std 1341 modules/videoio/src/ppltasks_winrt.hpp struct _ResultHolder<std::pair<_Type*, void*> > std 1343 modules/videoio/src/ppltasks_winrt.hpp void Set(const std::pair<_Type*, size_t>& _type) std 1348 modules/videoio/src/ppltasks_winrt.hpp std::pair<_Type*, size_t> Get() std 1350 modules/videoio/src/ppltasks_winrt.hpp return std::make_pair(_M_Result.first, _M_Result.second); std 1353 modules/videoio/src/ppltasks_winrt.hpp std::pair<Agile<_Type*>, size_t> _M_Result; std 1370 modules/videoio/src/ppltasks_winrt.hpp template<typename _Type, size_t N = 0, bool bIsArray = std::is_array<_Type>::value> std 1406 modules/videoio/src/ppltasks_winrt.hpp throw std::make_exception_ptr(_Hr); std 1416 modules/videoio/src/ppltasks_winrt.hpp static_assert(std::is_base_of<IUnknown, _Type>::value || __is_valid_winrt_type(_Type), "must be a COM or WinRT type"); std 1443 modules/videoio/src/ppltasks_winrt.hpp throw std::make_exception_ptr(_Hr); std 1511 modules/videoio/src/ppltasks_winrt.hpp struct _ResultContext<std::vector<_Type*>> std 1513 modules/videoio/src/ppltasks_winrt.hpp static std::vector<_Type*> _GetValue(std::vector<_Type*> _ObjInCtx, const _ContextCallback& _Ctx, bool _RuntimeAggregate) std 1548 modules/videoio/src/ppltasks_winrt.hpp struct _ResultContext<std::pair<_Type*, size_t>> std 1550 modules/videoio/src/ppltasks_winrt.hpp static std::pair<_Type*, size_t> _GetValue(std::pair<_Type*, size_t> _ObjInCtx, const _ContextCallback& _Ctx, bool _RuntimeAggregate) std 1563 modules/videoio/src/ppltasks_winrt.hpp return std::pair<_Type*, size_t>(_Marshal<_Type>(_ObjInCtx.first, _Ctx), _ObjInCtx.second); std 1594 modules/videoio/src/ppltasks_winrt.hpp explicit _ExceptionHolder(const std::exception_ptr& _E, const _TaskCreationCallstack &_stackTrace) : std 1604 modules/videoio/src/ppltasks_winrt.hpp explicit _ExceptionHolder(const std::exception_ptr& _E, void* _SourceAddressHint) : std 1647 modules/videoio/src/ppltasks_winrt.hpp std::rethrow_exception(_M_stdException); std 1659 modules/videoio/src/ppltasks_winrt.hpp std::exception_ptr _M_stdException; std 1718 modules/videoio/src/ppltasks_winrt.hpp throw std::make_exception_ptr(hr); std 1730 modules/videoio/src/ppltasks_winrt.hpp throw std::make_exception_ptr(hr); std 1772 modules/videoio/src/ppltasks_winrt.hpp virtual STDMETHODIMP GetResults(_Result_abi*) { throw std::runtime_error("derived class must implement"); } std 2093 modules/videoio/src/ppltasks_winrt.hpp task_options(std::shared_ptr<_SchedType> _Scheduler) std 2094 modules/videoio/src/ppltasks_winrt.hpp : _M_Scheduler(std::move(_Scheduler)), std 2118 modules/videoio/src/ppltasks_winrt.hpp : _M_Scheduler(std::move(_Scheduler)), std 2228 modules/videoio/src/ppltasks_winrt.hpp typedef std::shared_ptr<_Task_impl<_ReturnType>> _Type; std 2230 modules/videoio/src/ppltasks_winrt.hpp static _Type _Make(Concurrency::details::_CancellationTokenState * _Ct, Concurrency::scheduler_ptr _Scheduler_arg) { return std::make_shared<_Task_impl<_ReturnType>>(_Ct, _Scheduler_arg); } std 2232 modules/videoio/src/ppltasks_winrt.hpp static _Type _Make(Concurrency::details::_CancellationTokenState * _Ct) { return std::make_shared<_Task_impl<_ReturnType>>(_Ct); } std 2247 modules/videoio/src/ppltasks_winrt.hpp typedef std::shared_ptr<_Task_impl_base> _Task_ptr_base; std 2494 modules/videoio/src/ppltasks_winrt.hpp _M_pTask->_CancelWithException(std::current_exception()); std 2669 modules/videoio/src/ppltasks_winrt.hpp _CancelWithException(std::current_exception()); std 2720 modules/videoio/src/ppltasks_winrt.hpp virtual bool _CancelAndRunContinuations(bool _SynchronousCancel, bool _UserException, bool _PropagatedFromAncestor, const std::shared_ptr<_ExceptionHolder>& _ExHolder) = 0; std 2728 modules/videoio/src/ppltasks_winrt.hpp bool _CancelWithExceptionHolder(const std::shared_ptr<_ExceptionHolder>& _ExHolder, bool _PropagatedFromAncestor) std 2739 modules/videoio/src/ppltasks_winrt.hpp return _CancelAndRunContinuations(true, true, false, std::make_shared<_ExceptionHolder>(_Exception, _GetTaskCreationCallstack())); std 2741 modules/videoio/src/ppltasks_winrt.hpp return _CancelAndRunContinuations(true, true, false, std::make_shared<_ExceptionHolder>(_Exception, _GetTaskCreationAddressHint())); std 2744 modules/videoio/src/ppltasks_winrt.hpp bool _CancelWithException(const std::exception_ptr& _Exception) std 2749 modules/videoio/src/ppltasks_winrt.hpp return _CancelAndRunContinuations(true, true, false, std::make_shared<_ExceptionHolder>(_Exception, _GetTaskCreationCallstack())); std 2751 modules/videoio/src/ppltasks_winrt.hpp return _CancelAndRunContinuations(true, true, false, std::make_shared<_ExceptionHolder>(_Exception, _GetTaskCreationAddressHint())); std 2756 modules/videoio/src/ppltasks_winrt.hpp void _RegisterCancellation(std::weak_ptr<_Task_impl_base> _WeakPtr) std 2828 modules/videoio/src/ppltasks_winrt.hpp const std::shared_ptr<_ExceptionHolder>& _GetExceptionHolder() std 3015 modules/videoio/src/ppltasks_winrt.hpp _TaskImplPtr->_CancelWithException(std::current_exception()); std 3196 modules/videoio/src/ppltasks_winrt.hpp _OuterTask->_CancelWithException(std::make_exception_ptr(_hr)); std 3280 modules/videoio/src/ppltasks_winrt.hpp std::shared_ptr<_ExceptionHolder> _M_exceptionHolder; std 3357 modules/videoio/src/ppltasks_winrt.hpp virtual bool _CancelAndRunContinuations(bool _SynchronousCancel, bool _UserException, bool _PropagatedFromAncestor, const std::shared_ptr<_ExceptionHolder> & _ExceptionHolder) std 3592 modules/videoio/src/ppltasks_winrt.hpp typedef std::vector<typename _Task_ptr<_ResultType>::_Type> _TaskList; std 3621 modules/videoio/src/ppltasks_winrt.hpp std::shared_ptr<_ExceptionHolder> _M_exceptionHolder; std 3627 modules/videoio/src/ppltasks_winrt.hpp inline std::function<HRESULT(_Unit_type*)> _MakeVoidToUnitFunc(const std::function<HRESULT(void)>& _Func) std 3633 modules/videoio/src/ppltasks_winrt.hpp std::function<HRESULT(_Unit_type, _Type*)> _MakeUnitToTFunc(const std::function<HRESULT(_Type*)>& _Func) std 3639 modules/videoio/src/ppltasks_winrt.hpp std::function<HRESULT(_Type, _Unit_type*)> _MakeTToUnitFunc(const std::function<HRESULT(_Type)>& _Func) std 3644 modules/videoio/src/ppltasks_winrt.hpp inline std::function<HRESULT(_Unit_type, _Unit_type*)> _MakeUnitToUnitFunc(const std::function<HRESULT(void)>& _Func) std 3676 modules/videoio/src/ppltasks_winrt.hpp task_completion_event() : _M_Impl(std::make_shared<details::_Task_completion_event_impl<_ResultType>>()) std 3761 modules/videoio/src/ppltasks_winrt.hpp return _Cancel(std::make_exception_ptr(_Except), _CAPTURE_CALLSTACK()); std 3773 modules/videoio/src/ppltasks_winrt.hpp bool set_exception(std::exception_ptr _ExceptionPtr) const // 'const' (even though it's not deep) allows to safely pass events by value into lambdas std 3856 modules/videoio/src/ppltasks_winrt.hpp static std::shared_ptr<details::_ExceptionHolder> _ToExceptionHolder(const std::shared_ptr<details::_ExceptionHolder>& _ExHolder, const details::_TaskCreationCallstack&) std 3858 modules/videoio/src/ppltasks_winrt.hpp static std::shared_ptr<details::_ExceptionHolder> _ToExceptionHolder(const std::shared_ptr<details::_ExceptionHolder>& _ExHolder, void*) std 3865 modules/videoio/src/ppltasks_winrt.hpp static std::shared_ptr<details::_ExceptionHolder> _ToExceptionHolder(std::exception_ptr _ExceptionPtr, const details::_TaskCreationCallstack &_SetExceptionAddressHint) std 3867 modules/videoio/src/ppltasks_winrt.hpp static std::shared_ptr<details::_ExceptionHolder> _ToExceptionHolder(std::exception_ptr _ExceptionPtr, void* _SetExceptionAddressHint) std 3870 modules/videoio/src/ppltasks_winrt.hpp return std::make_shared<details::_ExceptionHolder>(_ExceptionPtr, _SetExceptionAddressHint); std 3953 modules/videoio/src/ppltasks_winrt.hpp std::shared_ptr<details::_Task_completion_event_impl<_ResultType>> _M_Impl; std 3997 modules/videoio/src/ppltasks_winrt.hpp return _M_unitEvent._Cancel(std::make_exception_ptr(_Except), _CAPTURE_CALLSTACK()); std 4009 modules/videoio/src/ppltasks_winrt.hpp bool set_exception(std::exception_ptr _ExceptionPtr) const // 'const' (even though it's not deep) allows to safely pass events by value into lambdas std 4032 modules/videoio/src/ppltasks_winrt.hpp void _Cancel(const std::shared_ptr<details::_ExceptionHolder>& _ExHolder) const std 4042 modules/videoio/src/ppltasks_winrt.hpp bool _StoreException(const std::shared_ptr<details::_ExceptionHolder>& _ExHolder) const std 4080 modules/videoio/src/ppltasks_winrt.hpp auto _IsValidTaskCtor(_Ty _Param, int, int, int, int, int, int, int) -> typename decltype(_Param(), std::true_type()); std 4084 modules/videoio/src/ppltasks_winrt.hpp auto _IsValidTaskCtor(_Ty _Param, int, int, int, int, int, int, ...) -> typename decltype(_Param(stdx::declval<task<_ReturnType>*>()), std::true_type()); std 4088 modules/videoio/src/ppltasks_winrt.hpp auto _IsValidTaskCtor(_Ty _Param, int, int, int, int, int, ...) -> typename decltype(_Param(stdx::declval<_ReturnType*>()), std::true_type()); std 4092 modules/videoio/src/ppltasks_winrt.hpp auto _IsValidTaskCtor(_Ty _Param, int, int, int, int, ...) -> typename decltype(_Param->GetResults(), std::true_type()); std 4096 modules/videoio/src/ppltasks_winrt.hpp auto _IsValidTaskCtor(_Ty _Param, int, int, int, ...) -> typename decltype(_Param->GetResults(stdx::declval<decltype(_GetUnwrappedType(stdx::declval<_Ty>()))*>()), std::true_type()); std 4100 modules/videoio/src/ppltasks_winrt.hpp auto _IsValidTaskCtor(_Ty _Param, int, int, ...) -> typename decltype(_Param.set(stdx::declval<_ReturnType>()), std::true_type()); std 4103 modules/videoio/src/ppltasks_winrt.hpp auto _IsValidTaskCtor(_Ty _Param, int, ...) -> typename decltype(_Param.set(), std::true_type()); std 4107 modules/videoio/src/ppltasks_winrt.hpp std::false_type _IsValidTaskCtor(_Ty _Param, ...); std 4113 modules/videoio/src/ppltasks_winrt.hpp static_assert(std::is_same<decltype(details::_IsValidTaskCtor<_ReturnType>(_Param, 0, 0, 0, 0, 0, 0, 0)), std::true_type>::value, std 4116 modules/videoio/src/ppltasks_winrt.hpp static_assert(!(std::is_same<_Ty, _ReturnType>::value && details::_IsIAsyncInfo<_Ty>::_Value), std 4123 modules/videoio/src/ppltasks_winrt.hpp static auto _IsValidCreateAsync(_Ty _Param, int, int, int, int, int, int, int, int) -> typename decltype(_Param(), std::true_type()); std 4127 modules/videoio/src/ppltasks_winrt.hpp static auto _IsValidCreateAsync(_Ty _Param, int, int, int, int, int, int, int, ...) -> typename decltype(_Param(stdx::declval<_ReturnType*>()), std::true_type()); std 4131 modules/videoio/src/ppltasks_winrt.hpp static auto _IsValidCreateAsync(_Ty _Param, int, int, int, int, int, int, ...) -> typename decltype(_Param(Concurrency::cancellation_token::none()), std::true_type()); std 4135 modules/videoio/src/ppltasks_winrt.hpp static auto _IsValidCreateAsync(_Ty _Param, int, int, int, int, int, ...) -> typename decltype(_Param(Concurrency::cancellation_token::none(), stdx::declval<_ReturnType*>()), std::true_type()); std 4139 modules/videoio/src/ppltasks_winrt.hpp static auto _IsValidCreateAsync(_Ty _Param, int, int, int, int, ...) -> typename decltype(_Param(details::_ProgressReporterCtorArgType()), std::true_type()); std 4143 modules/videoio/src/ppltasks_winrt.hpp static auto _IsValidCreateAsync(_Ty _Param, int, int, int, ...) -> typename decltype(_Param(details::_ProgressReporterCtorArgType(), stdx::declval<_ReturnType*>()), std::true_type()); std 4147 modules/videoio/src/ppltasks_winrt.hpp static auto _IsValidCreateAsync(_Ty _Param, int, int, ...) -> typename decltype(_Param(details::_ProgressReporterCtorArgType(), Concurrency::cancellation_token::none()), std::true_type()); std 4151 modules/videoio/src/ppltasks_winrt.hpp static auto _IsValidCreateAsync(_Ty _Param, int, ...) -> typename decltype(_Param(details::_ProgressReporterCtorArgType(), Concurrency::cancellation_token::none(), stdx::declval<_ReturnType*>()), std::true_type()); std 4155 modules/videoio/src/ppltasks_winrt.hpp static std::false_type _IsValidCreateAsync(_Ty _Param, ...); std 4379 modules/videoio/src/ppltasks_winrt.hpp task(task&& _Other) : _M_Impl(std::move(_Other._M_Impl)) {} std 4416 modules/videoio/src/ppltasks_winrt.hpp _M_Impl = std::move(_Other._M_Impl); std 4747 modules/videoio/src/ppltasks_winrt.hpp _M_Impl = std::move(_Impl); std 4804 modules/videoio/src/ppltasks_winrt.hpp static auto _Perform(std::function<HRESULT(_RetType*)> _Func) -> decltype(_Func) std 4814 modules/videoio/src/ppltasks_winrt.hpp static auto _Perform(std::function<HRESULT(void)> _Func) -> decltype(details::_MakeVoidToUnitFunc(_Func)) std 4833 modules/videoio/src/ppltasks_winrt.hpp auto _LogWorkItemAndInvokeUserLambda(_Func && _func, _RetArg && _retArg) const -> decltype(_func(std::forward<_RetArg>(_retArg))) std 4836 modules/videoio/src/ppltasks_winrt.hpp return _func(std::forward<_RetArg>(_retArg)); std 4864 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 4884 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 4895 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 4913 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 4931 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 4950 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 4964 modules/videoio/src/ppltasks_winrt.hpp static auto _Perform(std::function<HRESULT(_InpType, _OutType*)> _Func) -> decltype(_Func) std 4974 modules/videoio/src/ppltasks_winrt.hpp static auto _Perform(std::function<HRESULT(_OutType*)> _Func) -> decltype(details::_MakeUnitToTFunc<_OutType>(_Func)) std 4984 modules/videoio/src/ppltasks_winrt.hpp static auto _Perform(std::function<HRESULT(_InType)> _Func) -> decltype(details::_MakeTToUnitFunc<_InType>(_Func)) std 4994 modules/videoio/src/ppltasks_winrt.hpp static auto _Perform(std::function<HRESULT(void)> _Func) -> decltype(details::_MakeUnitToUnitFunc(_Func)) std 5035 modules/videoio/src/ppltasks_winrt.hpp auto _LogWorkItemAndInvokeUserLambda(_Func && _func, _Arg && _value, _RetArg && _retArg) const -> decltype(_func(std::forward<_Arg>(_value), std::forward<_RetArg>(_retArg))) std 5038 modules/videoio/src/ppltasks_winrt.hpp return _func(std::forward<_Arg>(_value), std::forward<_RetArg>(_retArg)); std 5070 modules/videoio/src/ppltasks_winrt.hpp void _Continue(std::false_type, details::_TypeSelectorNoAsync) const std 5078 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5090 modules/videoio/src/ppltasks_winrt.hpp void _Continue(std::false_type, details::_TypeSelectorAsyncTask) const std 5099 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5105 modules/videoio/src/ppltasks_winrt.hpp void _Continue(std::false_type, details::_TypeSelectorAsyncOperation) const std 5114 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5125 modules/videoio/src/ppltasks_winrt.hpp void _Continue(std::false_type, details::_TypeSelectorAsyncAction) const std 5134 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5146 modules/videoio/src/ppltasks_winrt.hpp void _Continue(std::false_type, details::_TypeSelectorAsyncOperationWithProgress) const std 5158 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5169 modules/videoio/src/ppltasks_winrt.hpp void _Continue(std::false_type, details::_TypeSelectorAsyncActionWithProgress) const std 5181 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5193 modules/videoio/src/ppltasks_winrt.hpp void _Continue(std::true_type, details::_TypeSelectorNoAsync) const std 5197 modules/videoio/src/ppltasks_winrt.hpp _ResultTask._SetImpl(std::move(_M_ancestorTaskImpl)); std 5200 modules/videoio/src/ppltasks_winrt.hpp HRESULT hr = _LogWorkItemAndInvokeUserLambda(_Continuation_func_transformer<_FuncInputType, _ContinuationReturnType>::_Perform(_M_function), std::move(_ResultTask), &retVal); std 5202 modules/videoio/src/ppltasks_winrt.hpp HRESULT hr = _Continuation_func_transformer<_FuncInputType, _ContinuationReturnType>::_Perform(_M_function)(std::move(_ResultTask), &retVal); std 5204 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5217 modules/videoio/src/ppltasks_winrt.hpp void _Continue(std::true_type, details::_TypeSelectorAsyncTask) const std 5221 modules/videoio/src/ppltasks_winrt.hpp _ResultTask._SetImpl(std::move(_M_ancestorTaskImpl)); std 5224 modules/videoio/src/ppltasks_winrt.hpp HRESULT hr = _LogWorkItemAndInvokeUserLambda(_M_function, std::move(_ResultTask), &retVal); std 5226 modules/videoio/src/ppltasks_winrt.hpp HRESULT hr = _M_function(std::move(_ResultTask), &retVal); std 5228 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5231 modules/videoio/src/ppltasks_winrt.hpp void _Continue(std::true_type, details::_TypeSelectorAsyncOperation) const std 5235 modules/videoio/src/ppltasks_winrt.hpp _ResultTask._SetImpl(std::move(_M_ancestorTaskImpl)); std 5238 modules/videoio/src/ppltasks_winrt.hpp HRESULT hr = _LogWorkItemAndInvokeUserLambda(_M_function, std::move(_ResultTask), &retVal); std 5240 modules/videoio/src/ppltasks_winrt.hpp HRESULT hr = _M_function(std::move(_ResultTask), &retVal); std 5242 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5253 modules/videoio/src/ppltasks_winrt.hpp void _Continue(std::true_type, details::_TypeSelectorAsyncAction) const std 5257 modules/videoio/src/ppltasks_winrt.hpp _ResultTask._SetImpl(std::move(_M_ancestorTaskImpl)); std 5260 modules/videoio/src/ppltasks_winrt.hpp HRESULT hr = _LogWorkItemAndInvokeUserLambda(_M_function, std::move(_ResultTask), &retVal); std 5262 modules/videoio/src/ppltasks_winrt.hpp HRESULT hr = _M_function(std::move(_ResultTask), &retVal); std 5264 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5276 modules/videoio/src/ppltasks_winrt.hpp void _Continue(std::true_type, details::_TypeSelectorAsyncOperationWithProgress) const std 5280 modules/videoio/src/ppltasks_winrt.hpp _ResultTask._SetImpl(std::move(_M_ancestorTaskImpl)); std 5285 modules/videoio/src/ppltasks_winrt.hpp HRESULT hr = _LogWorkItemAndInvokeUserLambda(_M_function, std::move(_ResultTask), &retVal); std 5287 modules/videoio/src/ppltasks_winrt.hpp HRESULT hr = _M_function(std::move(_ResultTask), &retVal); std 5289 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5301 modules/videoio/src/ppltasks_winrt.hpp void _Continue(std::true_type, details::_TypeSelectorAsyncActionWithProgress) const std 5305 modules/videoio/src/ppltasks_winrt.hpp _ResultTask._SetImpl(std::move(_M_ancestorTaskImpl)); std 5310 modules/videoio/src/ppltasks_winrt.hpp HRESULT hr = _LogWorkItemAndInvokeUserLambda(_M_function, std::move(_ResultTask), &retVal); std 5312 modules/videoio/src/ppltasks_winrt.hpp HRESULT hr = _M_function(std::move(_ResultTask), &retVal); std 5314 modules/videoio/src/ppltasks_winrt.hpp if (FAILED(hr)) throw std::make_exception_ptr(hr); std 5381 modules/videoio/src/ppltasks_winrt.hpp void _TaskInitMaybeFunctor(_Function & _Func, std::true_type) std 5390 modules/videoio/src/ppltasks_winrt.hpp void _TaskInitMaybeFunctor(_Ty & _Param, std::false_type) std 5678 modules/videoio/src/ppltasks_winrt.hpp task(task&& _Other) : _M_unitTask(std::move(_Other._M_unitTask)) {} std 5715 modules/videoio/src/ppltasks_winrt.hpp _M_unitTask = std::move(_Other._M_unitTask); std 5998 modules/videoio/src/ppltasks_winrt.hpp _M_unitTask._SetImpl(std::move(_Impl)); std 6076 modules/videoio/src/ppltasks_winrt.hpp void _TaskInitMaybeFunctor(_Function & _Func, std::true_type) std 6085 modules/videoio/src/ppltasks_winrt.hpp void _TaskInitMaybeFunctor(_T & _Param, std::false_type) std 6120 modules/videoio/src/ppltasks_winrt.hpp _Ty _GetTaskType(task_completion_event<_Ty>, std::false_type); std 6124 modules/videoio/src/ppltasks_winrt.hpp auto _GetTaskType(_Ty _NonFunc, std::false_type) -> decltype(_GetUnwrappedType(_NonFunc)); std 6128 modules/videoio/src/ppltasks_winrt.hpp auto _GetTaskType(_Ty _Func, std::true_type) -> decltype(_GetUnwrappedReturnType(stdx::declval<_FunctionTypeTraits<_Ty, void>::_FuncRetType>(), 0)); std 6131 modules/videoio/src/ppltasks_winrt.hpp void _GetTaskType(std::function<HRESULT()>, std::true_type); std 6184 modules/videoio/src/ppltasks_winrt.hpp static_assert(!std::is_same<typename details::_TaskTypeFromParam<_ReturnType, _Ty>::_Type, details::_BadArgType>::value, std 6244 modules/videoio/src/ppltasks_winrt.hpp static_assert(!std::is_same<typename details::_TaskTypeFromParam<_ReturnType, _Ty>::_Type, details::_BadArgType>::value, std 6333 modules/videoio/src/ppltasks_winrt.hpp typedef std::shared_ptr<details::_ProgressDispatcherBase<_ProgressType>> _PtrType; std 6408 modules/videoio/src/ppltasks_winrt.hpp template<typename _T, bool bTakesToken = std::is_same<_T, Concurrency::cancellation_token>::value, bool bTakesProgress = _ProgressTypeTraits<_T>::_TakesProgress> std 7761 modules/videoio/src/ppltasks_winrt.hpp if (!(std::is_same<_Attributes::_AsyncKind, _TypeSelectorAsyncTask>::value)) std 7996 modules/videoio/src/ppltasks_winrt.hpp static_assert(std::is_same<decltype(details::_IsValidCreateAsync<_ReturnType>(_Func, 0, 0, 0, 0, 0, 0, 0, 0)), std::true_type>::value, std 8038 modules/videoio/src/ppltasks_winrt.hpp _ResultHolder<std::vector<_Type> > _M_vector; std 8041 modules/videoio/src/ppltasks_winrt.hpp std::vector<_Type> _M_vector; std 8042 modules/videoio/src/ppltasks_winrt.hpp std::vector<_ContextCallback> _M_contexts; std 8050 modules/videoio/src/ppltasks_winrt.hpp struct _RunAllParam<std::vector<_Type> > std 8067 modules/videoio/src/ppltasks_winrt.hpp std::vector<_ResultHolder<std::vector<_Type> > > _M_vector; std 8151 modules/videoio/src/ppltasks_winrt.hpp static task<std::vector<_ElementType>> _Perform(const task_options& _TaskOptions, _Iterator _Begin, _Iterator _End) std 8153 modules/videoio/src/ppltasks_winrt.hpp static task<std::vector<_ElementType>> _Perform(Concurrency::details::_CancellationTokenState *_PTokenState, _Iterator _Begin, _Iterator _End) std 8171 modules/videoio/src/ppltasks_winrt.hpp auto _ReturnTask = _All_tasks_completed._Then([=](_Unit_type, std::vector<_ElementType>* retVal) -> HRESULT { std 8194 modules/videoio/src/ppltasks_winrt.hpp _PParam->_Resize(static_cast<size_t>(std::distance(_Begin, _End))); std 8256 modules/videoio/src/ppltasks_winrt.hpp struct _WhenAllImpl<std::vector<_ElementType>, _Iterator> std 8259 modules/videoio/src/ppltasks_winrt.hpp static task<std::vector<_ElementType>> _Perform(const task_options& _TaskOptions, _Iterator _Begin, _Iterator _End) std 8261 modules/videoio/src/ppltasks_winrt.hpp static task<std::vector<_ElementType>> _Perform(Concurrency::details::_CancellationTokenState *_PTokenState, _Iterator _Begin, _Iterator _End) std 8267 modules/videoio/src/ppltasks_winrt.hpp auto _PParam = new _RunAllParam<std::vector<_ElementType>>(); std 8279 modules/videoio/src/ppltasks_winrt.hpp auto _ReturnTask = _All_tasks_completed._Then([=](_Unit_type, std::vector<_ElementType>* retVal) -> HRESULT { std 8281 modules/videoio/src/ppltasks_winrt.hpp std::vector<_ElementType> _Result; std 8285 modules/videoio/src/ppltasks_winrt.hpp const std::vector<_ElementType>& _Vec = _PParam->_M_vector[_I].Get(); std 8287 modules/videoio/src/ppltasks_winrt.hpp std::vector<_ElementType>& _Vec = _PParam->_M_vector[_I]; std 8308 modules/videoio/src/ppltasks_winrt.hpp _PParam->_Resize(static_cast<size_t>(std::distance(_Begin, _End))); std 8337 modules/videoio/src/ppltasks_winrt.hpp _PTask->_Then([_PParam, _Index](task<std::vector<_ElementType>> _ResultTask) -> HRESULT { std 8403 modules/videoio/src/ppltasks_winrt.hpp _PParam->_Resize(static_cast<size_t>(std::distance(_Begin, _End))); std 8449 modules/videoio/src/ppltasks_winrt.hpp task<std::vector<_ReturnType>> _WhenAllVectorAndValue(const task<std::vector<_ReturnType>>& _VectorTask, const task<_ReturnType>& _ValueTask, std 8458 modules/videoio/src/ppltasks_winrt.hpp auto _ReturnTask = _All_tasks_completed._Then([=](_Unit_type, std::vector<_ReturnType>* retVal) -> HRESULT { std 8502 modules/videoio/src/ppltasks_winrt.hpp _VectorTask._Then([_PParam](task<std::vector<_ReturnType>> _ResultTask) -> HRESULT { std 8578 modules/videoio/src/ppltasks_winrt.hpp -> decltype (details::_WhenAllImpl<typename std::iterator_traits<_Iterator>::value_type::result_type, _Iterator>::_Perform(nullptr, _Begin, _End)) std 8580 modules/videoio/src/ppltasks_winrt.hpp typedef typename std::iterator_traits<_Iterator>::value_type::result_type _ElementType; std 8616 modules/videoio/src/ppltasks_winrt.hpp -> decltype (details::_WhenAllImpl<typename std::iterator_traits<_Iterator>::value_type::result_type, _Iterator>::_Perform(_TaskOptions, _Begin, _End)) std 8618 modules/videoio/src/ppltasks_winrt.hpp typedef typename std::iterator_traits<_Iterator>::value_type::result_type _ElementType; std 8623 modules/videoio/src/ppltasks_winrt.hpp -> decltype (details::_WhenAllImpl<typename std::iterator_traits<_Iterator>::value_type::result_type, _Iterator>::_Perform(_CancellationToken._GetImplValue(), _Begin, _End)) std 8625 modules/videoio/src/ppltasks_winrt.hpp typedef typename std::iterator_traits<_Iterator>::value_type::result_type _ElementType; std 8656 modules/videoio/src/ppltasks_winrt.hpp task<std::vector<_ReturnType>> operator&&(const task<_ReturnType> & _Lhs, const task<_ReturnType> & _Rhs) std 8688 modules/videoio/src/ppltasks_winrt.hpp task<std::vector<_ReturnType>> operator&&(const task<std::vector<_ReturnType>> & _Lhs, const task<_ReturnType> & _Rhs) std 8719 modules/videoio/src/ppltasks_winrt.hpp task<std::vector<_ReturnType>> operator&&(const task<_ReturnType> & _Lhs, const task<std::vector<_ReturnType>> & _Rhs) std 8750 modules/videoio/src/ppltasks_winrt.hpp task<std::vector<_ReturnType>> operator&&(const task<std::vector<_ReturnType>> & _Lhs, const task<std::vector<_ReturnType>> & _Rhs) std 8752 modules/videoio/src/ppltasks_winrt.hpp task<std::vector<_ReturnType>> _PTasks[2] = { _Lhs, _Rhs }; std 8878 modules/videoio/src/ppltasks_winrt.hpp static task<std::pair<_ElementType, size_t>> _Perform(const task_options& _TaskOptions, _Iterator _Begin, _Iterator _End) std 8880 modules/videoio/src/ppltasks_winrt.hpp static task<std::pair<_ElementType, size_t>> _Perform(Concurrency::details::_CancellationTokenState *_PTokenState, _Iterator _Begin, _Iterator _End) std 8890 modules/videoio/src/ppltasks_winrt.hpp auto _PParam = new _RunAnyParam<std::pair<std::pair<_ElementType, size_t>, Concurrency::details::_CancellationTokenState *>>(); std 8900 modules/videoio/src/ppltasks_winrt.hpp task<std::pair<std::pair<_ElementType, size_t>, Concurrency::details::_CancellationTokenState *>> _Any_tasks_completed(_PParam->_M_Completed, _Options); std 8902 modules/videoio/src/ppltasks_winrt.hpp task<std::pair<std::pair<_ElementType, size_t>, Concurrency::details::_CancellationTokenState *>> _Any_tasks_completed(_PParam->_M_Completed, _PParam->_M_cancellationSource.get_token()); std 8908 modules/videoio/src/ppltasks_winrt.hpp _PParam->_M_numTasks = static_cast<size_t>(std::distance(_Begin, _End)); std 8922 modules/videoio/src/ppltasks_winrt.hpp _PParamCopy->_M_Completed.set(std::make_pair(std::make_pair(_ResultTask._GetImpl()->_GetResult(), _IndexCopy), _ResultTask._GetImpl()->_M_pTokenState)); std 8926 modules/videoio/src/ppltasks_winrt.hpp _PParam->_M_Completed.set(std::make_pair(std::make_pair(_ResultTask._GetImpl()->_GetResult(), index), _ResultTask._GetImpl()->_M_pTokenState)); std 8940 modules/videoio/src/ppltasks_winrt.hpp return _Any_tasks_completed._Then([=](std::pair<std::pair<_ElementType, size_t>, Concurrency::details::_CancellationTokenState *> _Result, std::pair<_ElementType, size_t>* retVal) -> HRESULT { std 8972 modules/videoio/src/ppltasks_winrt.hpp auto _PParam = new _RunAnyParam<std::pair<size_t, Concurrency::details::_CancellationTokenState *>>(); std 8983 modules/videoio/src/ppltasks_winrt.hpp task<std::pair<size_t, _CancellationTokenState *>> _Any_tasks_completed(_PParam->_M_Completed, _Options); std 8985 modules/videoio/src/ppltasks_winrt.hpp task<std::pair<size_t, Concurrency::details::_CancellationTokenState *>> _Any_tasks_completed(_PParam->_M_Completed, _PParam->_M_cancellationSource.get_token()); std 8990 modules/videoio/src/ppltasks_winrt.hpp _PParam->_M_numTasks = static_cast<size_t>(std::distance(_Begin, _End)); std 9004 modules/videoio/src/ppltasks_winrt.hpp _PParamCopy->_M_Completed.set(std::make_pair(_IndexCopy, _ResultTask._GetImpl()->_M_pTokenState)); std 9008 modules/videoio/src/ppltasks_winrt.hpp _PParam->_M_Completed.set(std::make_pair(index, _ResultTask._GetImpl()->_M_pTokenState)); std 9023 modules/videoio/src/ppltasks_winrt.hpp return _Any_tasks_completed._Then([=](std::pair<size_t, Concurrency::details::_CancellationTokenState *> _Result, size_t* retVal) -> HRESULT { std 9063 modules/videoio/src/ppltasks_winrt.hpp -> decltype (details::_WhenAnyImpl<typename std::iterator_traits<_Iterator>::value_type::result_type, _Iterator>::_Perform(_TaskOptions, _Begin, _End)) std 9065 modules/videoio/src/ppltasks_winrt.hpp typedef typename std::iterator_traits<_Iterator>::value_type::result_type _ElementType; std 9070 modules/videoio/src/ppltasks_winrt.hpp -> decltype (details::_WhenAnyImpl<typename std::iterator_traits<_Iterator>::value_type::result_type, _Iterator>::_Perform(nullptr, _Begin, _End)) std 9072 modules/videoio/src/ppltasks_winrt.hpp typedef typename std::iterator_traits<_Iterator>::value_type::result_type _ElementType; std 9103 modules/videoio/src/ppltasks_winrt.hpp -> decltype (details::_WhenAnyImpl<typename std::iterator_traits<_Iterator>::value_type::result_type, _Iterator>::_Perform(_CancellationToken._GetImplValue(), _Begin, _End)) std 9105 modules/videoio/src/ppltasks_winrt.hpp typedef typename std::iterator_traits<_Iterator>::value_type::result_type _ElementType; std 9139 modules/videoio/src/ppltasks_winrt.hpp auto _PParam = new details::_RunAnyParam<std::pair<_ReturnType, size_t>>(); std 9141 modules/videoio/src/ppltasks_winrt.hpp task<std::pair<_ReturnType, size_t>> _Any_tasks_completed(_PParam->_M_Completed, _PParam->_M_cancellationSource.get_token()); std 9144 modules/videoio/src/ppltasks_winrt.hpp auto _ReturnTask = _Any_tasks_completed._Then([=](std::pair<_ReturnType, size_t> _Ret, _ReturnType* retVal) -> HRESULT { std 9151 modules/videoio/src/ppltasks_winrt.hpp auto _PParam = new details::_RunAnyParam<std::pair<_ReturnType, Concurrency::details::_CancellationTokenState *>>(); std 9153 modules/videoio/src/ppltasks_winrt.hpp task<std::pair<_ReturnType, Concurrency::details::_CancellationTokenState *>> _Any_tasks_completed(_PParam->_M_Completed, _PParam->_M_cancellationSource.get_token()); std 9156 modules/videoio/src/ppltasks_winrt.hpp auto _ReturnTask = _Any_tasks_completed._Then([=](std::pair<_ReturnType, Concurrency::details::_CancellationTokenState *> _Ret, _ReturnType* retVal) -> HRESULT { std 9174 modules/videoio/src/ppltasks_winrt.hpp _PParamCopy->_M_Completed.set(std::make_pair(_ResultTask._GetImpl()->_GetResult(), reinterpret_cast<size_t>(_ResultTask._GetImpl()->_M_pTokenState))); std 9178 modules/videoio/src/ppltasks_winrt.hpp _PParam->_M_Completed.set(std::make_pair(_ResultTask._GetImpl()->_GetResult(), _ResultTask._GetImpl()->_M_pTokenState)); std 9222 modules/videoio/src/ppltasks_winrt.hpp task<std::vector<_ReturnType>> operator||(const task<std::vector<_ReturnType>> & _Lhs, const task<_ReturnType> & _Rhs) std 9224 modules/videoio/src/ppltasks_winrt.hpp auto _PParam = new details::_RunAnyParam<std::pair<std::vector<_ReturnType>, Concurrency::details::_CancellationTokenState *>>(); std 9226 modules/videoio/src/ppltasks_winrt.hpp task<std::pair<std::vector<_ReturnType>, Concurrency::details::_CancellationTokenState *>> _Any_tasks_completed(_PParam->_M_Completed, _PParam->_M_cancellationSource.get_token()); std 9232 modules/videoio/src/ppltasks_winrt.hpp auto _ReturnTask = _Any_tasks_completed._Then([=](std::pair<std::vector<_ReturnType>, Concurrency::details::_CancellationTokenState *> _Ret, std::vector<_ReturnType>* retVal) -> HRESULT { std 9245 modules/videoio/src/ppltasks_winrt.hpp _Lhs._Then([_PParam](task<std::vector<_ReturnType>> _ResultTask) -> HRESULT { std 9251 modules/videoio/src/ppltasks_winrt.hpp _PParamCopy->_M_Completed.set(std::make_pair(_Result, _ResultTask._GetImpl()->_M_pTokenState)); std 9255 modules/videoio/src/ppltasks_winrt.hpp std::vector<_ReturnType> _Result = _ResultTask._GetImpl()->_GetResult(); std 9256 modules/videoio/src/ppltasks_winrt.hpp _PParam->_M_Completed.set(std::make_pair(_Result, _ResultTask._GetImpl()->_M_pTokenState)); std 9274 modules/videoio/src/ppltasks_winrt.hpp std::vector<_ReturnTypeDev10> _Vec; std 9276 modules/videoio/src/ppltasks_winrt.hpp _PParamCopy->_M_Completed.set(std::make_pair(_Vec, _ResultTask._GetImpl()->_M_pTokenState)); std 9282 modules/videoio/src/ppltasks_winrt.hpp std::vector<_ReturnType> _Vec; std 9284 modules/videoio/src/ppltasks_winrt.hpp _PParam->_M_Completed.set(std::make_pair(_Vec, _ResultTask._GetImpl()->_M_pTokenState)); std 9324 modules/videoio/src/ppltasks_winrt.hpp task<std::vector<_ReturnType>> operator||(const task<_ReturnType> & _Lhs, const task<std::vector<_ReturnType>> & _Rhs) std 9357 modules/videoio/src/ppltasks_winrt.hpp auto _PParam = new details::_RunAnyParam<std::pair<details::_Unit_type, Concurrency::details::_CancellationTokenState *>>(); std 9359 modules/videoio/src/ppltasks_winrt.hpp task<std::pair<details::_Unit_type, Concurrency::details::_CancellationTokenState *>> _Any_task_completed(_PParam->_M_Completed, _PParam->_M_cancellationSource.get_token()); std 9362 modules/videoio/src/ppltasks_winrt.hpp auto _ReturnTask = _Any_task_completed._Then([=](std::pair<details::_Unit_type, Concurrency::details::_CancellationTokenState *> _Ret) -> HRESULT { std 9382 modules/videoio/src/ppltasks_winrt.hpp _PParam1->_M_Completed.set(std::make_pair(details::_Unit_type(), _ResultTask._GetImpl()->_M_pTokenState)); std 9442 modules/videoio/src/ppltasks_winrt.hpp task<bool> do_while(std::function<task<bool>(void)> func) std 51 modules/videoio/test/test_basic_props.cpp using namespace std; std 50 modules/videoio/test/test_ffmpeg.cpp using namespace std; std 226 modules/videoio/test/test_ffmpeg.cpp static std::string TmpDirectory; std 228 modules/videoio/test/test_ffmpeg.cpp CreateVideoWriterInvoker(std::vector<VideoWriter*>& _writers, std::vector<std::string>& _files) : std 237 modules/videoio/test/test_ffmpeg.cpp std::ostringstream stream; std 239 modules/videoio/test/test_ffmpeg.cpp std::string fileName = tempfile(stream.str().c_str()); std 249 modules/videoio/test/test_ffmpeg.cpp std::vector<VideoWriter*>* writers; std 250 modules/videoio/test/test_ffmpeg.cpp std::vector<std::string>* files; std 253 modules/videoio/test/test_ffmpeg.cpp std::string CreateVideoWriterInvoker::TmpDirectory; std 265 modules/videoio/test/test_ffmpeg.cpp WriteVideo_Invoker(const std::vector<VideoWriter*>& _writers) : std 274 modules/videoio/test/test_ffmpeg.cpp std::string text = to_string(i); std 297 modules/videoio/test/test_ffmpeg.cpp static std::string to_string(unsigned int i) std 299 modules/videoio/test/test_ffmpeg.cpp std::stringstream stream(std::ios::out); std 305 modules/videoio/test/test_ffmpeg.cpp const std::vector<VideoWriter*>* writers; std 316 modules/videoio/test/test_ffmpeg.cpp CreateVideoCaptureInvoker(std::vector<VideoCapture*>& _readers, const std::vector<std::string>& _files) : std 330 modules/videoio/test/test_ffmpeg.cpp std::vector<VideoCapture*>* readers; std 331 modules/videoio/test/test_ffmpeg.cpp const std::vector<std::string>* files; std 338 modules/videoio/test/test_ffmpeg.cpp ReadImageAndTest(const std::vector<VideoCapture*>& _readers, cvtest::TS* _ts) : std 393 modules/videoio/test/test_ffmpeg.cpp const std::vector<VideoCapture*>* readers; std 405 modules/videoio/test/test_ffmpeg.cpp std::vector<VideoWriter*> writers(threadsCount); std 407 modules/videoio/test/test_ffmpeg.cpp std::vector<std::string> files(threadsCount); std 415 modules/videoio/test/test_ffmpeg.cpp for (std::vector<VideoWriter*>::iterator i = writers.begin(), end = writers.end(); i != end; ++i) std 419 modules/videoio/test/test_ffmpeg.cpp std::vector<VideoCapture*> readers(threadsCount); std 428 modules/videoio/test/test_ffmpeg.cpp for (std::vector<std::string>::const_iterator i = files.begin(), end = files.end(); i != end; ++i) std 432 modules/videoio/test/test_ffmpeg.cpp std::cerr << "Couldn't delete " << *i << std::endl; std 48 modules/videoio/test/test_framecount.cpp using namespace std; std 48 modules/videoio/test/test_positioning.cpp using namespace std; std 112 modules/videoio/test/test_positioning.cpp std::swap(idx.at(rng.uniform(0, N-1)), idx.at(N-1)); std 47 modules/videoio/test/test_video_io.cpp using namespace std; std 47 modules/videoio/test/test_video_pos.cpp using namespace std; std 74 modules/videostab/include/opencv2/videostab/deblurring.hpp virtual void setFrames(const std::vector<Mat> &val) { frames_ = &val; } std 75 modules/videostab/include/opencv2/videostab/deblurring.hpp virtual const std::vector<Mat>& frames() const { return *frames_; } std 77 modules/videostab/include/opencv2/videostab/deblurring.hpp virtual void setMotions(const std::vector<Mat> &val) { motions_ = &val; } std 78 modules/videostab/include/opencv2/videostab/deblurring.hpp virtual const std::vector<Mat>& motions() const { return *motions_; } std 80 modules/videostab/include/opencv2/videostab/deblurring.hpp virtual void setBlurrinessRates(const std::vector<float> &val) { blurrinessRates_ = &val; } std 81 modules/videostab/include/opencv2/videostab/deblurring.hpp virtual const std::vector<float>& blurrinessRates() const { return *blurrinessRates_; } std 85 modules/videostab/include/opencv2/videostab/deblurring.hpp const std::vector<Mat> *frames_; std 86 modules/videostab/include/opencv2/videostab/deblurring.hpp const std::vector<Mat> *motions_; std 87 modules/videostab/include/opencv2/videostab/deblurring.hpp const std::vector<float> *blurrinessRates_; std 110 modules/videostab/include/opencv2/videostab/fast_marching.hpp std::vector<DXY> narrowBand_; // narrow band heap std 131 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp dist_(yn,xn) = std::min(std::min(solve(xn-1, yn, xn, yn-1), solve(xn+1, yn, xn, yn-1)), std 132 modules/videostab/include/opencv2/videostab/fast_marching_inl.hpp std::min(solve(xn-1, yn, xn, yn+1), solve(xn+1, yn, xn, yn+1))); std 161 modules/videostab/include/opencv2/videostab/global_motion.hpp std::vector<double> obj_, collb_, colub_; std 162 modules/videostab/include/opencv2/videostab/global_motion.hpp std::vector<double> elems_, rowlb_, rowub_; std 163 modules/videostab/include/opencv2/videostab/global_motion.hpp std::vector<int> rows_, cols_; std 200 modules/videostab/include/opencv2/videostab/global_motion.hpp std::ifstream file_; std 214 modules/videostab/include/opencv2/videostab/global_motion.hpp std::ofstream file_; std 246 modules/videostab/include/opencv2/videostab/global_motion.hpp std::vector<uchar> status_; std 247 modules/videostab/include/opencv2/videostab/global_motion.hpp std::vector<KeyPoint> keypointsPrev_; std 248 modules/videostab/include/opencv2/videostab/global_motion.hpp std::vector<Point2f> pointsPrev_, points_; std 249 modules/videostab/include/opencv2/videostab/global_motion.hpp std::vector<Point2f> pointsPrevGood_, pointsGood_; std 279 modules/videostab/include/opencv2/videostab/global_motion.hpp std::vector<Point2f> hostPointsPrevTmp_, hostPointsTmp_; std 280 modules/videostab/include/opencv2/videostab/global_motion.hpp std::vector<uchar> rejectionStatus_; std 292 modules/videostab/include/opencv2/videostab/global_motion.hpp CV_EXPORTS Mat getMotion(int from, int to, const std::vector<Mat> &motions); std 81 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual void setFrames(const std::vector<Mat> &val) { frames_ = &val; } std 82 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual const std::vector<Mat>& frames() const { return *frames_; } std 84 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual void setMotions(const std::vector<Mat> &val) { motions_ = &val; } std 85 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual const std::vector<Mat>& motions() const { return *motions_; } std 87 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual void setStabilizedFrames(const std::vector<Mat> &val) { stabilizedFrames_ = &val; } std 88 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual const std::vector<Mat>& stabilizedFrames() const { return *stabilizedFrames_; } std 90 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual void setStabilizationMotions(const std::vector<Mat> &val) { stabilizationMotions_ = &val; } std 91 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual const std::vector<Mat>& stabilizationMotions() const { return *stabilizationMotions_; } std 96 modules/videostab/include/opencv2/videostab/inpainting.hpp const std::vector<Mat> *frames_; std 97 modules/videostab/include/opencv2/videostab/inpainting.hpp const std::vector<Mat> *motions_; std 98 modules/videostab/include/opencv2/videostab/inpainting.hpp const std::vector<Mat> *stabilizedFrames_; std 99 modules/videostab/include/opencv2/videostab/inpainting.hpp const std::vector<Mat> *stabilizationMotions_; std 116 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual void setFrames(const std::vector<Mat> &val); std 117 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual void setMotions(const std::vector<Mat> &val); std 118 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual void setStabilizedFrames(const std::vector<Mat> &val); std 119 modules/videostab/include/opencv2/videostab/inpainting.hpp virtual void setStabilizationMotions(const std::vector<Mat> &val); std 124 modules/videostab/include/opencv2/videostab/inpainting.hpp std::vector<Ptr<InpainterBase> > inpainters_; std 95 modules/videostab/include/opencv2/videostab/motion_core.hpp std::ceil(std::log(1 - prob) / std::log(1 - std::pow(1 - eps, size)))); std 66 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp int size, const std::vector<Mat> &motions, std::pair<int,int> range, std 77 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp int size, const std::vector<Mat> &motions, std::pair<int,int> range, std 81 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp std::vector<Ptr<IMotionStabilizer> > stabilizers_; std 90 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp int idx, const std::vector<Mat> &motions, std::pair<int,int> range) = 0; std 93 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp int size, const std::vector<Mat> &motions, std::pair<int,int> range, std 107 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp int idx, const std::vector<Mat> &motions, std::pair<int,int> range); std 112 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp std::vector<float> weight_; std 144 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp int size, const std::vector<Mat> &motions, std::pair<int,int> range, std 153 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp std::vector<double> obj_, collb_, colub_; std 154 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp std::vector<int> rows_, cols_; std 155 modules/videostab/include/opencv2/videostab/motion_stabilizing.hpp std::vector<double> elems_, rowlb_, rowub_; std 92 modules/videostab/include/opencv2/videostab/outlier_rejection.hpp typedef std::vector<int> Cell; std 93 modules/videostab/include/opencv2/videostab/outlier_rejection.hpp std::vector<Cell> grid_; std 57 modules/videostab/include/opencv2/videostab/ring_buffer.hpp template <typename T> inline T& at(int idx, std::vector<T> &items) std 62 modules/videostab/include/opencv2/videostab/ring_buffer.hpp template <typename T> inline const T& at(int idx, const std::vector<T> &items) std 130 modules/videostab/include/opencv2/videostab/stabilizer.hpp std::vector<Mat> frames_; std 131 modules/videostab/include/opencv2/videostab/stabilizer.hpp std::vector<Mat> motions_; // motions_[i] is the motion from i-th to i+1-th frame std 132 modules/videostab/include/opencv2/videostab/stabilizer.hpp std::vector<float> blurrinessRates_; std 133 modules/videostab/include/opencv2/videostab/stabilizer.hpp std::vector<Mat> stabilizedFrames_; std 134 modules/videostab/include/opencv2/videostab/stabilizer.hpp std::vector<Mat> stabilizedMasks_; std 135 modules/videostab/include/opencv2/videostab/stabilizer.hpp std::vector<Mat> stabilizationMotions_; std 191 modules/videostab/include/opencv2/videostab/stabilizer.hpp std::vector<Mat> motions2_; std 78 modules/videostab/include/opencv2/videostab/wobble_suppression.hpp virtual void setMotions(const std::vector<Mat> &val) { motions_ = &val; } std 79 modules/videostab/include/opencv2/videostab/wobble_suppression.hpp virtual const std::vector<Mat>& motions() const { return *motions_; } std 81 modules/videostab/include/opencv2/videostab/wobble_suppression.hpp virtual void setMotions2(const std::vector<Mat> &val) { motions2_ = &val; } std 82 modules/videostab/include/opencv2/videostab/wobble_suppression.hpp virtual const std::vector<Mat>& motions2() const { return *motions2_; } std 84 modules/videostab/include/opencv2/videostab/wobble_suppression.hpp virtual void setStabilizationMotions(const std::vector<Mat> &val) { stabilizationMotions_ = &val; } std 85 modules/videostab/include/opencv2/videostab/wobble_suppression.hpp virtual const std::vector<Mat>& stabilizationMotions() const { return *stabilizationMotions_; } std 90 modules/videostab/include/opencv2/videostab/wobble_suppression.hpp const std::vector<Mat> *motions_; std 91 modules/videostab/include/opencv2/videostab/wobble_suppression.hpp const std::vector<Mat> *motions2_; std 92 modules/videostab/include/opencv2/videostab/wobble_suppression.hpp const std::vector<Mat> *stabilizationMotions_; std 112 modules/videostab/src/deblurring.cpp (sensitivity_ + std::abs(intensity(p1) - intensity(p))); std 61 modules/videostab/src/fast_marching.cpp float r = std::sqrt(2 - sqr(t1 - t2)); std 87 modules/videostab/src/fast_marching.cpp std::swap(indexOf(narrowBand_[p]), indexOf(narrowBand_[idx])); std 88 modules/videostab/src/fast_marching.cpp std::swap(narrowBand_[p], narrowBand_[idx]); std 111 modules/videostab/src/fast_marching.cpp std::swap(indexOf(narrowBand_[idx]), indexOf(narrowBand_[smallest])); std 112 modules/videostab/src/fast_marching.cpp std::swap(narrowBand_[idx], narrowBand_[smallest]); std 134 modules/videostab/src/fast_marching.cpp std::swap(indexOf(narrowBand_[0]), indexOf(narrowBand_[size_])); std 135 modules/videostab/src/fast_marching.cpp std::swap(narrowBand_[0], narrowBand_[size_]); std 101 modules/videostab/src/global_motion.cpp d += std::sqrt(sqr(points[i].x) + sqr(points[i].y)); std 105 modules/videostab/src/global_motion.cpp float s = std::sqrt(2.f) / d; std 138 modules/videostab/src/global_motion.cpp *rmse = std::sqrt(*rmse / npoints); std 171 modules/videostab/src/global_motion.cpp *rmse = static_cast<float>(norm(A*sol, b, NORM_L2) / std::sqrt(static_cast<double>(npoints))); std 196 modules/videostab/src/global_motion.cpp float C = std::sqrt(A*A + B*B); std 219 modules/videostab/src/global_motion.cpp *rmse = std::sqrt(*rmse / npoints); std 273 modules/videostab/src/global_motion.cpp *rmse = std::sqrt(*rmse / npoints); std 306 modules/videostab/src/global_motion.cpp *rmse = static_cast<float>(norm(A*sol, b, NORM_L2) / std::sqrt(static_cast<double>(npoints))); std 345 modules/videostab/src/global_motion.cpp *rmse = static_cast<float>(norm(A*sol, b, NORM_L2) / std::sqrt(static_cast<double>(npoints))); std 396 modules/videostab/src/global_motion.cpp std::vector<int> indices(params.size); std 397 modules/videostab/src/global_motion.cpp std::vector<Point2f> subset0(params.size); std 398 modules/videostab/src/global_motion.cpp std::vector<Point2f> subset1(params.size); std 401 modules/videostab/src/global_motion.cpp std::vector<Point2f> subset0best(params.size); std 402 modules/videostab/src/global_motion.cpp std::vector<Point2f> subset1best(params.size); std 505 modules/videostab/src/global_motion.cpp std::vector<uchar> mask; std 693 modules/videostab/src/global_motion.cpp << M(2,0) << " " << M(2,1) << " " << M(2,2) << " " << ok_ << std::endl; std 845 modules/videostab/src/global_motion.cpp Mat getMotion(int from, int to, const std::vector<Mat> &motions) std 64 modules/videostab/src/inpainting.cpp void InpaintingPipeline::setFrames(const std::vector<Mat> &val) std 80 modules/videostab/src/inpainting.cpp void InpaintingPipeline::setMotions(const std::vector<Mat> &val) std 88 modules/videostab/src/inpainting.cpp void InpaintingPipeline::setStabilizedFrames(const std::vector<Mat> &val) std 96 modules/videostab/src/inpainting.cpp void InpaintingPipeline::setStabilizationMotions(const std::vector<Mat> &val) std 131 modules/videostab/src/inpainting.cpp std::vector<Mat_<float> > vmotions(2*radius_ + 1); std 137 modules/videostab/src/inpainting.cpp std::vector<Pixel3> pixels(2*radius_ + 1); std 171 modules/videostab/src/inpainting.cpp var /= std::max(n - 1, 1); std 175 modules/videostab/src/inpainting.cpp std::sort(pixels.begin(), pixels.begin() + n); std 220 modules/videostab/src/inpainting.cpp err += std::abs(intensity(frame1.at<Point3_<uchar> >(y1,x1)) - std 298 modules/videostab/src/inpainting.cpp float w = 1.f / (std::sqrt(distColor * (dx*dx + dy*dy)) + eps); std 339 modules/videostab/src/inpainting.cpp std::priority_queue<std::pair<float,int> > neighbors; std 340 modules/videostab/src/inpainting.cpp std::vector<Mat> vmotions(2*radius_ + 1); std 350 modules/videostab/src/inpainting.cpp neighbors.push(std::make_pair(-err, idx + i)); std 55 modules/videostab/src/motion_stabilizing.cpp int size, const std::vector<Mat> &motions, std::pair<int,int> range, Mat *stabilizationMotions) std 57 modules/videostab/src/motion_stabilizing.cpp std::vector<Mat> updatedMotions(motions.size()); std 61 modules/videostab/src/motion_stabilizing.cpp std::vector<Mat> stabilizationMotions_(size); std 84 modules/videostab/src/motion_stabilizing.cpp int size, const std::vector<Mat> &motions, std::pair<int,int> range, Mat *stabilizationMotions) std 94 modules/videostab/src/motion_stabilizing.cpp stdev_ = _stdev > 0.f ? _stdev : std::sqrt(static_cast<float>(_radius)); std 99 modules/videostab/src/motion_stabilizing.cpp sum += weight_[radius_ + i] = std::exp(-i*i/(stdev_*stdev_)); std 105 modules/videostab/src/motion_stabilizing.cpp Mat GaussianMotionFilter::stabilize(int idx, const std::vector<Mat> &motions, std::pair<int,int> range) std 110 modules/videostab/src/motion_stabilizing.cpp int iMin = std::max(idx - radius_, range.first); std 111 modules/videostab/src/motion_stabilizing.cpp int iMax = std::min(idx + radius_, range.second); std 135 modules/videostab/src/motion_stabilizing.cpp void LpMotionStabilizer::stabilize(int, const std::vector<Mat>&, std::pair<int,int>, Mat*) std 143 modules/videostab/src/motion_stabilizing.cpp int size, const std::vector<Mat> &motions, std::pair<int,int> /*range*/, Mat *stabilizationMotions) std 148 modules/videostab/src/motion_stabilizing.cpp const std::vector<Mat> &M = motions; std 95 modules/videostab/src/outlier_rejection.cpp cx = std::min(cvRound(points0_[i].x / cellSize_.width), ncells.width - 1); std 96 modules/videostab/src/outlier_rejection.cpp cy = std::min(cvRound(points0_[i].y / cellSize_.height), ncells.height - 1); std 105 modules/videostab/src/outlier_rejection.cpp std::vector<int> inliers; std 299 modules/videostab/src/stabilizer.cpp return motionFilter_->stabilize(curStabilizedPos_, motions_, std::make_pair(0, curPos_)); std 338 modules/videostab/src/stabilizer.cpp int frameCount, const std::vector<Mat> &motions, const std::vector<Mat> &stabilizationMotions) std 340 modules/videostab/src/stabilizer.cpp std::ofstream fm("log_motions.csv"); std 346 modules/videostab/src/stabilizer.cpp << M(2,0) << " " << M(2,1) << " " << M(2,2) << std::endl; std 348 modules/videostab/src/stabilizer.cpp std::ofstream fo("log_orig.csv"); std 354 modules/videostab/src/stabilizer.cpp << M(2,0) << " " << M(2,1) << " " << M(2,2) << std::endl; std 356 modules/videostab/src/stabilizer.cpp std::ofstream fs("log_stab.csv"); std 362 modules/videostab/src/stabilizer.cpp << M(2,0) << " " << M(2,1) << " " << M(2,2) << std::endl; std 433 modules/videostab/src/stabilizer.cpp frameCount_, motions_, std::make_pair(0, frameCount_ - 1), &stabilizationMotions_[0]); std 447 modules/videostab/src/stabilizer.cpp trimRatio_ = std::max(trimRatio_, estimateOptimalTrimRatio(S, frameSize_)); std 111 modules/videostab/src/wobble_suppression.cpp int k2 = std::min(k1 + period_, frameCount_ - 1); std 163 modules/videostab/src/wobble_suppression.cpp int k2 = std::min(k1 + period_, frameCount_ - 1); std 241 modules/viz/src/clouds.cpp actor->SetNumberOfCloudPoints(std::max<vtkIdType>(1, actor->GetNumberOfCloudPoints() + polydata->GetNumberOfPoints()/10)); std 283 modules/viz/src/clouds.cpp int sqlevel = (int)std::sqrt((double)level); std 160 modules/viz/src/precomp.hpp typedef std::map<String, vtkSmartPointer<vtkProp> > WidgetActorMap; std 164 modules/viz/src/precomp.hpp typedef std::map<String, Viz3d> type; std 223 modules/viz/src/precomp.hpp std::swap(scaled_color[0], scaled_color[2]); std 278 modules/viz/src/precomp.hpp std::fill(color_data, color_data + size, rgb); std 310 modules/viz/src/shapes.cpp bounds[0] = std::min(min_point.x, max_point.x); std 311 modules/viz/src/shapes.cpp bounds[1] = std::max(min_point.x, max_point.x); std 312 modules/viz/src/shapes.cpp bounds[2] = std::min(min_point.y, max_point.y); std 313 modules/viz/src/shapes.cpp bounds[3] = std::max(min_point.y, max_point.y); std 314 modules/viz/src/shapes.cpp bounds[4] = std::min(min_point.z, max_point.z); std 315 modules/viz/src/shapes.cpp bounds[5] = std::max(min_point.z, max_point.z); std 121 modules/viz/src/vizcore.cpp storage.m.insert(std::make_pair(window_name, window)); std 273 modules/viz/src/vizcore.cpp start = max(0, std::min(start, end)); std 274 modules/viz/src/vizcore.cpp end = std::max(start, end); std 276 modules/viz/src/vizcore.cpp std::vector<Affine3d> traj; std 296 modules/viz/src/vizcore.cpp std::vector<Mat>& v = *(std::vector<Mat>*)_traj.obj; std 298 modules/viz/src/vizcore.cpp std::vector<Mat>& v = *(std::vector<Mat>*)_traj.getObj(); std 51 modules/viz/src/vizimpl.cpp window_position_(Vec2i(std::numeric_limits<int>::min())), widget_actor_map_(new WidgetActorMap) std 122 modules/viz/src/vizimpl.cpp if (window_position_[0] != std::numeric_limits<int>::min()) //also workaround std 185 modules/viz/src/vizimpl.cpp timer_callback_->timer_id = local->CreateRepeatingTimer(std::max(1, time)); std 54 modules/viz/src/vtk/vtkOBJWriter.cpp std::ofstream fout; // only used to extract the default precision std 84 modules/viz/src/vtk/vtkOBJWriter.cpp std::ostream& outfile = *outfilep; std 87 modules/viz/src/vtk/vtkOBJWriter.cpp outfile << "# wavefront obj file written by opencv viz module" << std::endl << std::endl; std 88 modules/viz/src/vtk/vtkOBJWriter.cpp outfile << "mtllib NONE" << std::endl << std::endl; std 95 modules/viz/src/vtk/vtkOBJWriter.cpp outfile << std::setprecision(this->DecimalPrecision) << "v " << p[0] << " " << p[1] << " " << p[2] << std::endl; std 108 modules/viz/src/vtk/vtkOBJWriter.cpp outfile << std::setprecision(this->DecimalPrecision) << "vn " << p[0] << " " << p[1] << " " << p[2] << std::endl; std 119 modules/viz/src/vtk/vtkOBJWriter.cpp outfile << std::setprecision(this->DecimalPrecision) << "vt " << p[0] << " " << p[1] << std::endl; std 124 modules/viz/src/vtk/vtkOBJWriter.cpp outfile << std::endl << "g grp" << idStart << std::endl; std 125 modules/viz/src/vtk/vtkOBJWriter.cpp outfile << "usemtl mtlNONE" << std::endl; std 137 modules/viz/src/vtk/vtkOBJWriter.cpp outfile << std::endl; std 158 modules/viz/src/vtk/vtkOBJWriter.cpp outfile << std::endl; std 187 modules/viz/src/vtk/vtkOBJWriter.cpp outfile << std::endl; std 217 modules/viz/src/vtk/vtkOBJWriter.cpp << index[i] + idStart << "/" << index[i] + idStart << "/" << index[i] + idStart << std::endl; std 222 modules/viz/src/vtk/vtkOBJWriter.cpp << "//" << index[i2] + idStart << " " << index[i] + idStart << "//" << index[i] + idStart << std::endl; std 230 modules/viz/src/vtk/vtkOBJWriter.cpp << "/" << index[i2] + idStart << " " << index[i] + idStart << "/" << index[i] + idStart << std::endl; std 233 modules/viz/src/vtk/vtkOBJWriter.cpp outfile << "f " << index[i1] + idStart << " " << index[i2] + idStart << " " << index[i] + idStart << std::endl; std 143 modules/viz/src/vtk/vtkVizInteractorStyle.cpp psize = std::max(1.f, std::min(63.f, psize)); std 176 modules/viz/src/vtk/vtkVizInteractorStyle.cpp std::cout << data.c_str() << std::endl; std 270 modules/viz/src/vtk/vtkVizInteractorStyle.cpp std::cout << "| Help:\n" std 293 modules/viz/src/vtk/vtkVizInteractorStyle.cpp << std::endl; std 303 modules/viz/src/vtk/vtkVizInteractorStyle.cpp Dolly(std::pow(1.1, factor)); std 314 modules/viz/src/vtk/vtkVizInteractorStyle.cpp Dolly(std::pow(1.1, factor)); std 339 modules/viz/src/vtk/vtkVizInteractorStyle.cpp MotionUserScale = std::min(16.0, MotionUserScale*2.0); std 343 modules/viz/src/vtk/vtkVizInteractorStyle.cpp MotionUserScale = std::max(MotionUserScale * 0.5, 0.0625); std 398 modules/viz/src/vtk/vtkVizInteractorStyle.cpp std::cout << (FlyMode ? "Fly mode: on" : "Fly mode: off") << std::endl; std 54 modules/viz/src/vtk/vtkXYZWriter.cpp std::ofstream fout; // only used to extract the default precision std 87 modules/viz/src/vtk/vtkXYZWriter.cpp outfile << std::setprecision(this->DecimalPrecision) << p[0] << " " << p[1] << " " << p[2] << std::endl; std 91 modules/viz/test/test_precomp.hpp inline std::vector< Affine3<_Tp> > generate_test_trajectory() std 93 modules/viz/test/test_precomp.hpp std::vector< Affine3<_Tp> > result; std 4 modules/viz/test/test_tutorial2.cpp using namespace std; std 4 modules/viz/test/test_tutorial3.cpp using namespace std; std 84 modules/viz/test/tests_simple.cpp Vec3f qnan = Vec3f::all(std::numeric_limits<float>::quiet_NaN()); std 184 modules/viz/test/tests_simple.cpp std::vector<Vec3d> points; std 185 modules/viz/test/tests_simple.cpp std::vector<Vec2d> tcoords; std 186 modules/viz/test/tests_simple.cpp std::vector<int> polygons; std 269 modules/viz/test/tests_simple.cpp std::vector<Affine3d> path = generate_test_trajectory<double>(), sub0, sub1, sub2, sub3, sub4, sub5; std 304 modules/viz/test/tests_simple.cpp std::vector<Affine3f> path = generate_test_trajectory<float>(); std 13 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp using namespace std; std 32 samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp void detect(const cv::Mat &Image, std::vector<cv::Rect> &objects) std 7 samples/android/tutorial-2-mixedprocessing/jni/jni_part.cpp using namespace std; std 15 samples/cpp/3calibration.cpp using namespace std; std 120 samples/cpp/3calibration.cpp for( i = 0; i < (int)std::min(imagePoints1.size(), imgpt0.size()); i++ ) std 282 samples/cpp/3calibration.cpp std::copy(ptvec.begin(), ptvec.end(), imgpt[k1][i].begin()); std 33 samples/cpp/autofocus.cpp using namespace std; std 9 samples/cpp/bgfg_segm.cpp using namespace std; std 15 samples/cpp/calibration.cpp using namespace std; std 103 samples/cpp/calibration.cpp perViewErrors[i] = (float)std::sqrt(err*err/n); std 108 samples/cpp/calibration.cpp return std::sqrt(totalErr/totalPoints); std 190 samples/cpp/calibration.cpp fs << "nframes" << (int)std::max(rvecs.size(), reprojErrs.size()); std 11 samples/cpp/camshiftdemo.cpp using namespace std; std 29 samples/cpp/camshiftdemo.cpp selection.width = std::abs(x - origin.x); std 30 samples/cpp/camshiftdemo.cpp selection.height = std::abs(y - origin.y); std 32 samples/cpp/cloning_demo.cpp using namespace std; std 42 samples/cpp/cloning_gui.cpp using namespace std; std 8 samples/cpp/connected_components.cpp using namespace std; std 18 samples/cpp/connected_components.cpp std::vector<Vec3b> colors(nLabels); std 7 samples/cpp/contours2.cpp using namespace std; std 31 samples/cpp/contours2.cpp 3, LINE_AA, hierarchy, std::abs(_levels) ); std 7 samples/cpp/convexhull.cpp using namespace std; std 11 samples/cpp/cout_mat.cpp using namespace std; std 19 samples/cpp/create_mask.cpp using namespace std; std 14 samples/cpp/dbt_face_detection.cpp using namespace std; std 29 samples/cpp/dbt_face_detection.cpp void detect(const cv::Mat &Image, std::vector<cv::Rect> &objects) std 54 samples/cpp/dbt_face_detection.cpp std::string cascadeFrontalfilename = "../../data/lbpcascades/lbpcascade_frontalface.xml"; std 6 samples/cpp/delaunay2.cpp using namespace std; std 9 samples/cpp/demhist.cpp using namespace std; std 61 samples/cpp/demhist.cpp std::cout << "\nThis program demonstrates the use of calcHist() -- histogram creation.\n" std 62 samples/cpp/demhist.cpp << "Usage: \n" << "demhist [image_name -- Defaults to ../data/baboon.jpg]" << std::endl; std 81 samples/cpp/demhist.cpp std::cerr << "Cannot read image file: " << inputImage << std::endl; std 6 samples/cpp/detect_blob.cpp using namespace std; std 28 samples/cpp/detect_mser.cpp using namespace std; std 10 samples/cpp/dft.cpp using namespace std; std 8 samples/cpp/distrans.cpp using namespace std; std 9 samples/cpp/edge.cpp using namespace std; std 8 samples/cpp/example_cmake/example.cpp using namespace std; std 16 samples/cpp/facedetect.cpp using namespace std; std 18 samples/cpp/facial_features.cpp using namespace std; std 9 samples/cpp/fback.cpp using namespace std; std 59 samples/cpp/fback.cpp std::swap(prevgray, gray); std 9 samples/cpp/ffilldemo.cpp using namespace std; std 9 samples/cpp/filestorage.cpp using std::string; std 10 samples/cpp/filestorage.cpp using std::cout; std 11 samples/cpp/filestorage.cpp using std::endl; std 12 samples/cpp/filestorage.cpp using std::cerr; std 13 samples/cpp/filestorage.cpp using std::ostream; std 55 samples/cpp/filestorage.cpp static void write(FileStorage& fs, const std::string&, const MyData& x){ std 22 samples/cpp/fitellipse.cpp using namespace std; std 7 samples/cpp/grabcut.cpp using namespace std; std 8 samples/cpp/houghcircles.cpp using namespace std; std 8 samples/cpp/houghlines.cpp using namespace std; std 8 samples/cpp/image.cpp using namespace std; std 29 samples/cpp/image_alignment.cpp using namespace std; std 46 samples/cpp/image_alignment.cpp const std::string keys = std 8 samples/cpp/image_sequence.cpp using namespace std; std 10 samples/cpp/imagelist_creator.cpp using std::string; std 11 samples/cpp/imagelist_creator.cpp using std::cout; std 12 samples/cpp/imagelist_creator.cpp using std::endl; std 36 samples/cpp/imagelist_creator.cpp std::cerr << "fail! Please specify an output file, don't want to overwrite you images!" << endl; std 9 samples/cpp/inpaint.cpp using namespace std; std 10 samples/cpp/intelperc_capture.cpp using namespace std; std 7 samples/cpp/kmeans.cpp using namespace std; std 10 samples/cpp/laplace.cpp using namespace std; std 8 samples/cpp/letter_recog.cpp using namespace std; std 132 samples/cpp/letter_recog.cpp r = std::abs(r + rdelta - responses.at<int>(i)) <= FLT_EPSILON ? 1.f : 0.f; std 322 samples/cpp/letter_recog.cpp double r = std::abs(best_class - responses.at<int>(i)) < FLT_EPSILON ? 1 : 0; std 10 samples/cpp/lkdemo.cpp using namespace std; std 144 samples/cpp/lkdemo.cpp std::swap(points[1], points[0]); std 65 samples/cpp/logistic_regression.cpp using namespace std; std 10 samples/cpp/lsd_lines.cpp using namespace std; std 15 samples/cpp/lsd_lines.cpp std::string in; std 18 samples/cpp/lsd_lines.cpp std::cout << "Usage: lsd_lines [input image]. Now loading ../data/building.jpg" << std::endl; std 46 samples/cpp/lsd_lines.cpp std::cout << "It took " << duration_ms << " ms." << std::endl; std 9 samples/cpp/mask_tmpl.cpp using namespace std; std 5 samples/cpp/matchmethod_orb_akaze_brisk.cpp using namespace std; std 7 samples/cpp/minarea.cpp using namespace std; std 26 samples/cpp/npr_demo.cpp using namespace std; std 24 samples/cpp/opencv_version.cpp std::cout << cv::getBuildInformation() << std::endl; std 28 samples/cpp/opencv_version.cpp std::cout << "Welcome to OpenCV " << CV_VERSION << std::endl; std 8 samples/cpp/openni_capture.cpp using namespace std; std 71 samples/cpp/openni_capture.cpp uchar b = (uchar)(std::max(0.f, std::min (res.x, 1.f)) * 255.f); std 72 samples/cpp/openni_capture.cpp uchar g = (uchar)(std::max(0.f, std::min (res.y, 1.f)) * 255.f); std 73 samples/cpp/openni_capture.cpp uchar r = (uchar)(std::max(0.f, std::min (res.z, 1.f)) * 255.f); std 50 samples/cpp/pca.cpp using namespace std; std 55 samples/cpp/pca.cpp std::ifstream file(filename.c_str(), ifstream::in); std 102 samples/cpp/pca.cpp cout << "re-calculating PCA..." << std::flush; std 29 samples/cpp/phase_corr.cpp double radius = std::sqrt(shift.x*shift.x + shift.y*shift.y); std 13 samples/cpp/points_classifier.cpp using namespace std; std 8 samples/cpp/segment_objects.cpp using namespace std; std 71 samples/cpp/segment_objects.cpp cap.open(std::string(argv[1])); std 23 samples/cpp/select3dobj.cpp using namespace std; std 243 samples/cpp/select3dobj.cpp float len = 1.f/std::sqrt(dx*dx+dy*dy); std 13 samples/cpp/shape_example.cpp using namespace std; std 62 samples/cpp/shape_example.cpp std::cout<<"Using first image as query."<<std::endl; std 100 samples/cpp/shape_example.cpp std::cout<<" distance between "<<queryName.str()<<" and "<<iiname.str()<<" is: "<<dis<<std::endl; std 14 samples/cpp/smiledetect.cpp using namespace std; std 15 samples/cpp/squares.cpp using namespace std; std 17 samples/cpp/starter_imagelist.cpp using namespace std; std 71 samples/cpp/starter_imagelist.cpp std::string arg = av[1]; std 22 samples/cpp/starter_video.cpp using namespace std; std 79 samples/cpp/starter_video.cpp std::string arg = av[1]; std 40 samples/cpp/stereo_calib.cpp using namespace std; std 266 samples/cpp/stereo_calib.cpp std::copy(imagePoints[k][i].begin(), imagePoints[k][i].end(), back_inserter(allimgpt[k])); std 49 samples/cpp/stitching.cpp using namespace std; std 63 samples/cpp/stitching_detailed.cpp using namespace std; std 141 samples/cpp/stitching_detailed.cpp std::string save_graph_to; std 752 samples/cpp/stitching_detailed.cpp if (std::abs(compose_scale - 1) > 1e-1) std 12 samples/cpp/train_HOG.cpp using namespace std; std 15 samples/cpp/train_HOG.cpp void convert_to_ml(const std::vector< cv::Mat > & train_samples, cv::Mat& trainData ); std 50 samples/cpp/train_HOG.cpp void convert_to_ml(const std::vector< cv::Mat > & train_samples, cv::Mat& trainData ) std 54 samples/cpp/train_HOG.cpp const int cols = (int)std::max( train_samples[0].cols, train_samples[0].rows ); std 44 samples/cpp/tree_engine.cpp std::string typespec; std 16 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp using namespace std; std 30 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp std::vector<std::pair<cv::Vec3b,double> > color_range; std 179 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp if( dem.type() != CV_16SC1 ){ throw std::runtime_error("DEM image type must be CV_16SC1"); } std 184 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp color_range.push_back( std::pair<cv::Vec3b,double>(cv::Vec3b( 188, 154, 46), -1)); std 185 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp color_range.push_back( std::pair<cv::Vec3b,double>(cv::Vec3b( 110, 220, 110), 0.25)); std 186 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp color_range.push_back( std::pair<cv::Vec3b,double>(cv::Vec3b( 150, 250, 230), 20)); std 187 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp color_range.push_back( std::pair<cv::Vec3b,double>(cv::Vec3b( 160, 220, 200), 75)); std 188 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp color_range.push_back( std::pair<cv::Vec3b,double>(cv::Vec3b( 220, 190, 170), 100)); std 189 samples/cpp/tutorial_code/HighGUI/GDAL_IO/gdal-image.cpp color_range.push_back( std::pair<cv::Vec3b,double>(cv::Vec3b( 250, 180, 140), 200)); std 11 samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp using namespace std; std 7 samples/cpp/tutorial_code/HighGUI/video-write/video-write.cpp using namespace std; std 14 samples/cpp/tutorial_code/Histograms_Matching/EqualizeHist_Demo.cpp using namespace std; std 13 samples/cpp/tutorial_code/Histograms_Matching/MatchTemplate_Demo.cpp using namespace std; std 14 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo1.cpp using namespace std; std 14 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp using namespace std; std 13 samples/cpp/tutorial_code/Histograms_Matching/calcHist_Demo.cpp using namespace std; std 13 samples/cpp/tutorial_code/Histograms_Matching/compareHist_Demo.cpp using namespace std; std 25 samples/cpp/tutorial_code/ImgProc/AddingImages.cpp std::cout<<" Simple Linear Blender "<<std::endl; std 26 samples/cpp/tutorial_code/ImgProc/AddingImages.cpp std::cout<<"-----------------------"<<std::endl; std 27 samples/cpp/tutorial_code/ImgProc/AddingImages.cpp std::cout<<"* Enter alpha [0-1]: "; std 28 samples/cpp/tutorial_code/ImgProc/AddingImages.cpp std::cin>>input; std 38 samples/cpp/tutorial_code/ImgProc/AddingImages.cpp if( src1.empty() ) { std::cout<< "Error loading src1"<<std::endl; return -1; } std 39 samples/cpp/tutorial_code/ImgProc/AddingImages.cpp if( src2.empty() ) { std::cout<< "Error loading src2"<<std::endl; return -1; } std 27 samples/cpp/tutorial_code/ImgProc/BasicLinearTransforms.cpp std::cout<<" Basic Linear Transforms "<<std::endl; std 28 samples/cpp/tutorial_code/ImgProc/BasicLinearTransforms.cpp std::cout<<"-------------------------"<<std::endl; std 29 samples/cpp/tutorial_code/ImgProc/BasicLinearTransforms.cpp std::cout<<"* Enter the alpha value [1.0-3.0]: ";std::cin>>alpha; std 30 samples/cpp/tutorial_code/ImgProc/BasicLinearTransforms.cpp std::cout<<"* Enter the beta value [0-100]: "; std::cin>>beta; std 10 samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp using namespace std; std 14 samples/cpp/tutorial_code/ImgProc/Smoothing.cpp using namespace std; std 14 samples/cpp/tutorial_code/ImgTrans/Geometric_Transforms_Demo.cpp using namespace std; std 12 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp using namespace std; std 18 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp const std::string windowName = "Hough Circle Detection Demo"; std 19 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp const std::string cannyThresholdTrackbarName = "Canny threshold"; std 20 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp const std::string accumulatorThresholdTrackbarName = "Accumulator Threshold"; std 21 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp const std::string usage = "Usage : tutorial_HoughCircle_Demo <path_to_input_image>\n"; std 32 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp std::vector<Vec3f> circles; std 60 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp std::cerr<<"No input image specified\n"; std 61 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp std::cout<<usage; std 70 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp std::cerr<<"Invalid input image\n"; std 71 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp std::cout<<usage; std 98 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp cannyThreshold = std::max(cannyThreshold, 1); std 99 samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp accumulatorThreshold = std::max(accumulatorThreshold, 1); std 14 samples/cpp/tutorial_code/ImgTrans/HoughLines_Demo.cpp using namespace std; std 10 samples/cpp/tutorial_code/ImgTrans/imageSegmentation.cpp using namespace std; std 15 samples/cpp/tutorial_code/ShapeDescriptors/findContours_demo.cpp using namespace std; std 15 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo1.cpp using namespace std; std 15 samples/cpp/tutorial_code/ShapeDescriptors/generalContours_demo2.cpp using namespace std; std 15 samples/cpp/tutorial_code/ShapeDescriptors/hull_demo.cpp using namespace std; std 15 samples/cpp/tutorial_code/ShapeDescriptors/moments_demo.cpp using namespace std; std 14 samples/cpp/tutorial_code/ShapeDescriptors/pointPolygonTest_demo.cpp using namespace std; std 14 samples/cpp/tutorial_code/TrackingMotion/cornerDetector_Demo.cpp using namespace std; std 15 samples/cpp/tutorial_code/TrackingMotion/cornerHarris_Demo.cpp using namespace std; std 15 samples/cpp/tutorial_code/TrackingMotion/cornerSubPix_Demo.cpp using namespace std; std 15 samples/cpp/tutorial_code/TrackingMotion/goodFeaturesToTrack_Demo.cpp using namespace std; std 19 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp using namespace std; std 423 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp perViewErrors[i] = (float) std::sqrt(err*err/n); std 428 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp return std::sqrt(totalErr/totalPoints); std 503 samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp fs << "nr_of_frames" << (int)std::max(rvecs.size(), reprojErrs.size()); std 12 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvReader.cpp std::string line, tmp_str, n; std 69 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvReader.cpp std::vector<int> tmp_triangle(3); std 9 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvReader.h using namespace std; std 23 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.cpp _file << x << _separator << y << _separator << z << std::endl; std 46 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.cpp _file << std::endl; std 9 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/CsvWriter.h using namespace std; std 65 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.cpp void Mesh::load(const std::string path) std 67 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.h std::vector<std::vector<int> > getTrianglesList() const { return list_triangles_; } std 71 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.h void load(const std::string path_file); std 81 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.h std::vector<cv::Point3f> list_vertex_; std 83 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Mesh.h std::vector<std::vector<int> > list_triangles_; std 45 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.cpp void Model::save(const std::string path) std 61 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.cpp void Model::load(const std::string path) std 21 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h std::vector<cv::Point2f> get_points2d_in() const { return list_points2d_in_; } std 22 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h std::vector<cv::Point2f> get_points2d_out() const { return list_points2d_out_; } std 23 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h std::vector<cv::Point3f> get_points3d() const { return list_points3d_in_; } std 24 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h std::vector<cv::KeyPoint> get_keypoints() const { return list_keypoints_; } std 35 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h void save(const std::string path); std 36 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h void load(const std::string path); std 43 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h std::vector<cv::KeyPoint> list_keypoints_; std 45 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h std::vector<cv::Point2f> list_points2d_in_; std 47 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h std::vector<cv::Point2f> list_points2d_out_; std 49 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Model.h std::vector<cv::Point3f> list_points3d_in_; std 23 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ModelRegistration.h std::vector<cv::Point2f> get_points2d() const { return list_points2d_; } std 24 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ModelRegistration.h std::vector<cv::Point3f> get_points3d() const { return list_points3d_; } std 38 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ModelRegistration.h std::vector<cv::Point2f> list_points2d_; std 40 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/ModelRegistration.h std::vector<cv::Point3f> list_points3d_; std 20 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f get_nearest_3D_point(std::vector<cv::Point3f> &points_list, cv::Point3f origin); std 52 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp cv::Point3f get_nearest_3D_point(std::vector<cv::Point3f> &points_list, cv::Point3f origin) std 57 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp double d1 = std::sqrt( std::pow(p1.x-origin.x, 2) + std::pow(p1.y-origin.y, 2) + std::pow(p1.z-origin.z, 2) ); std 58 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp double d2 = std::sqrt( std::pow(p2.x-origin.x, 2) + std::pow(p2.y-origin.y, 2) + std::pow(p2.z-origin.z, 2) ); std 109 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp bool PnPProblem::estimatePose( const std::vector<cv::Point3f> &list_points3d, std 110 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp const std::vector<cv::Point2f> &list_points2d, std 135 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp void PnPProblem::estimatePoseRANSAC( const std::vector<cv::Point3f> &list_points3d, // list with model 3D coordinates std 136 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp const std::vector<cv::Point2f> &list_points2d, // list with scene 2D coordinates std 159 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp std::vector<cv::Point2f> PnPProblem::verify_points(Mesh *mesh) std 161 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp std::vector<cv::Point2f> verified_points_2d; std 200 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp std::vector<std::vector<int> > triangles_list = mesh->getTrianglesList(); std 229 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.cpp std::vector<cv::Point3f> intersections_list; std 28 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h std::vector<cv::Point2f> verify_points(Mesh *mesh); std 30 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h bool estimatePose(const std::vector<cv::Point3f> &list_points3d, const std::vector<cv::Point2f> &list_points2d, int flags); std 31 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/PnPProblem.h void estimatePoseRANSAC( const std::vector<cv::Point3f> &list_points3d, const std::vector<cv::Point2f> &list_points2d, std 18 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp void RobustMatcher::computeKeyPoints( const cv::Mat& image, std::vector<cv::KeyPoint>& keypoints) std 23 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp void RobustMatcher::computeDescriptors( const cv::Mat& image, std::vector<cv::KeyPoint>& keypoints, cv::Mat& descriptors) std 28 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp int RobustMatcher::ratioTest(std::vector<std::vector<cv::DMatch> > &matches) std 32 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp for ( std::vector<std::vector<cv::DMatch> >::iterator std 54 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp void RobustMatcher::symmetryTest( const std::vector<std::vector<cv::DMatch> >& matches1, std 55 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp const std::vector<std::vector<cv::DMatch> >& matches2, std 56 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp std::vector<cv::DMatch>& symMatches ) std 60 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp for (std::vector<std::vector<cv::DMatch> >::const_iterator std 69 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp for (std::vector<std::vector<cv::DMatch> >::const_iterator std 94 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp void RobustMatcher::robustMatch( const cv::Mat& frame, std::vector<cv::DMatch>& good_matches, std 95 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp std::vector<cv::KeyPoint>& keypoints_frame, const cv::Mat& descriptors_model ) std 106 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp std::vector<std::vector<cv::DMatch> > matches12, matches21; std 125 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp void RobustMatcher::fastRobustMatch( const cv::Mat& frame, std::vector<cv::DMatch>& good_matches, std 126 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp std::vector<cv::KeyPoint>& keypoints_frame, std 139 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp std::vector<std::vector<cv::DMatch> > matches; std 146 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.cpp for ( std::vector<std::vector<cv::DMatch> >::iterator std 41 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h void computeKeyPoints( const cv::Mat& image, std::vector<cv::KeyPoint>& keypoints); std 44 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h void computeDescriptors( const cv::Mat& image, std::vector<cv::KeyPoint>& keypoints, cv::Mat& descriptors); std 53 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h int ratioTest(std::vector<std::vector<cv::DMatch> > &matches); std 56 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h void symmetryTest( const std::vector<std::vector<cv::DMatch> >& matches1, std 57 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h const std::vector<std::vector<cv::DMatch> >& matches2, std 58 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h std::vector<cv::DMatch>& symMatches ); std 61 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h void robustMatch( const cv::Mat& frame, std::vector<cv::DMatch>& good_matches, std 62 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h std::vector<cv::KeyPoint>& keypoints_frame, std 66 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h void fastRobustMatch( const cv::Mat& frame, std::vector<cv::DMatch>& good_matches, std 67 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/RobustMatcher.h std::vector<cv::KeyPoint>& keypoints_frame, std 30 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string x = IntToString((int)point.x); std 31 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string y = IntToString((int)point.y); std 32 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string z = IntToString((int)point.z); std 34 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string text = " Where is point (" + x + "," + y + "," + z + ") ?"; std 39 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawText(cv::Mat image, std::string text, cv::Scalar color) std 45 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawText2(cv::Mat image, std::string text, cv::Scalar color) std 53 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string fps_str = IntToString((int)fps); std 54 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string text = fps_str + " FPS"; std 61 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string conf_str = IntToString((int)confidence); std 62 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string text = conf_str + " %"; std 69 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string n_str = IntToString(n); std 70 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string n_max_str = IntToString(n_max); std 71 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string text = n_str + " of " + n_max_str + " points"; std 76 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void drawPoints(cv::Mat image, std::vector<cv::Point2f> &list_points_2d, std::vector<cv::Point3f> &list_points_3d, cv::Scalar color) std 86 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string idx = IntToString(i+1); std 87 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string x = IntToString((int)point_3d.x); std 88 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string y = IntToString((int)point_3d.y); std 89 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string z = IntToString((int)point_3d.z); std 90 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string text = "P" + idx + " (" + x + "," + y + "," + z +")"; std 99 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void draw2DPoints(cv::Mat image, std::vector<cv::Point2f> &list_points, cv::Scalar color) std 131 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp void draw3DCoordinateAxes(cv::Mat image, const std::vector<cv::Point2f> &list_points2d) std 153 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::vector<std::vector<int> > list_triangles = mesh->getTrianglesList(); std 156 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::vector<int> tmp_triangle = list_triangles.at(i); std 271 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp int StringToInt ( const std::string &Text ) std 273 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::istringstream ss(Text); std 279 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string FloatToString ( float Number ) std 281 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::ostringstream ss; std 287 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::string IntToString ( int Number ) std 289 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.cpp std::ostringstream ss; std 19 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawText(cv::Mat image, std::string text, cv::Scalar color); std 22 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawText2(cv::Mat image, std::string text, cv::Scalar color); std 34 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void drawPoints(cv::Mat image, std::vector<cv::Point2f> &list_points_2d, std::vector<cv::Point3f> &list_points_3d, cv::Scalar color); std 37 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void draw2DPoints(cv::Mat image, std::vector<cv::Point2f> &list_points, cv::Scalar color); std 43 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h void draw3DCoordinateAxes(cv::Mat image, const std::vector<cv::Point2f> &list_points2d); std 61 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h int StringToInt ( const std::string &Text ); std 64 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h std::string FloatToString ( float Number ); std 67 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/Utils.h std::string IntToString ( int Number ); std 22 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_detection.cpp using namespace std; std 17 samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src/main_registration.cpp using namespace std; std 37 samples/cpp/tutorial_code/calib3d/stereoBM/SBM_Sample.cpp { std::cout<< " --(!) Error reading images " << std::endl; return -1; } std 73 samples/cpp/tutorial_code/calib3d/stereoBM/SBM_Sample.cpp { std::cout << " Usage: ./SBMSample <imgLeft> <imgRight>" << std::endl; } std 9 samples/cpp/tutorial_code/core/discrete_fourier_transform/discrete_fourier_transform.cpp using namespace std; std 6 samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp using namespace std; std 45 samples/cpp/tutorial_code/core/file_input_output/file_input_output.cpp static void write(FileStorage& fs, const std::string&, const MyData& x) std 8 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp using namespace std; std 12 samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.cpp using namespace std; std 8 samples/cpp/tutorial_code/core/ippasync/ippasync_sample.cpp using namespace std; std 8 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp using namespace std; std 6 samples/cpp/tutorial_code/core/mat_the_basic_image_container/mat_the_basic_image_container.cpp using namespace std; std 7 samples/cpp/tutorial_code/features2D/AKAZE_match.cpp using namespace std; std 11 samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp using namespace std; std 8 samples/cpp/tutorial_code/features2D/AKAZE_tracking/utils.h using namespace std; std 13 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp using namespace std; std 14 samples/cpp/tutorial_code/introduction/display_image/display_image.cpp using namespace std; std 36 samples/cpp/tutorial_code/introduction/display_image/display_image.cpp cout << "Could not open or find the image" << std::endl ; std 7 samples/cpp/tutorial_code/introduction/windows_visual_studio_Opencv/introduction_windows_vs.cpp using namespace std; std 22 samples/cpp/tutorial_code/introduction/windows_visual_studio_Opencv/introduction_windows_vs.cpp cout << "Could not open or find the image" << std::endl ; std 10 samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp using namespace std; std 13 samples/cpp/tutorial_code/ml/non_linear_svms/non_linear_svms.cpp using namespace std; std 9 samples/cpp/tutorial_code/objectDetection/objectDetection.cpp using namespace std; std 56 samples/cpp/tutorial_code/objectDetection/objectDetection.cpp std::vector<Rect> faces; std 71 samples/cpp/tutorial_code/objectDetection/objectDetection.cpp std::vector<Rect> eyes; std 14 samples/cpp/tutorial_code/objectDetection/objectDetection2.cpp using namespace std; std 65 samples/cpp/tutorial_code/objectDetection/objectDetection2.cpp std::vector<Rect> faces; std 77 samples/cpp/tutorial_code/objectDetection/objectDetection2.cpp std::vector<Rect> eyes; std 24 samples/cpp/tutorial_code/photo/decolorization/decolor.cpp using namespace std; std 9 samples/cpp/tutorial_code/photo/hdr_imaging/hdr_imaging.cpp using namespace std; std 44 samples/cpp/tutorial_code/photo/hdr_imaging/hdr_imaging.cpp path = path + std::string("/"); std 25 samples/cpp/tutorial_code/photo/non_photorealistic_rendering/npr_demo.cpp using namespace std; std 31 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_demo.cpp using namespace std; std 41 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp using namespace std; std 20 samples/cpp/tutorial_code/video/bg_sub.cpp using namespace std; std 21 samples/cpp/tutorial_code/viz/creating_widgets.cpp using namespace std; std 11 samples/cpp/tutorial_code/viz/launching_viz.cpp using namespace std; std 12 samples/cpp/tutorial_code/viz/transformations.cpp using namespace std; std 12 samples/cpp/tutorial_code/viz/widget_pose.cpp using namespace std; std 16 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp using namespace std; std 103 samples/cpp/tutorial_code/xfeatures2D/LATCH_match.cpp std::cerr << "OpenCV was built without xfeatures2d module" << std::endl; std 10 samples/cpp/tvl1_optical_flow.cpp using namespace std; std 14 samples/cpp/ufacedetect.cpp using namespace std; std 21 samples/cpp/videostab.cpp using namespace std; std 10 samples/cpp/watershed.cpp using namespace std; std 24 samples/directx/d3d10_interop.cpp using namespace std; std 30 samples/directx/d3d10_interop.cpp D3D10WinApp(int width, int height, std::string& window_name, cv::VideoCapture& cap) : std 112 samples/directx/d3d10_interop.cpp std::cerr << "Can't create texture with input image" << std::endl; std 246 samples/directx/d3d10_interop.cpp std::cerr << "Exception: " << e.what() << std::endl; std 309 samples/directx/d3d10_interop.cpp std::string title = "D3D10 interop sample"; std 24 samples/directx/d3d11_interop.cpp using namespace std; std 30 samples/directx/d3d11_interop.cpp D3D11WinApp(int width, int height, std::string& window_name, cv::VideoCapture& cap) : std 116 samples/directx/d3d11_interop.cpp std::cerr << "Can't create texture with input image" << std::endl; std 250 samples/directx/d3d11_interop.cpp std::cerr << "Exception: " << e.what() << std::endl; std 315 samples/directx/d3d11_interop.cpp std::string title = "D3D11 interop sample"; std 24 samples/directx/d3d9_interop.cpp using namespace std; std 30 samples/directx/d3d9_interop.cpp D3D9WinApp(int width, int height, std::string& window_name, cv::VideoCapture& cap) : std 85 samples/directx/d3d9_interop.cpp std::cerr << "Can't create surface for result" << std::endl; std 230 samples/directx/d3d9_interop.cpp std::cerr << "Exception: " << e.what() << std::endl; std 307 samples/directx/d3d9_interop.cpp std::string title = "D3D9 interop sample"; std 24 samples/directx/d3d9ex_interop.cpp using namespace std; std 30 samples/directx/d3d9ex_interop.cpp D3D9ExWinApp(int width, int height, std::string& window_name, cv::VideoCapture& cap) : std 85 samples/directx/d3d9ex_interop.cpp std::cerr << "Can't create surface for result" << std::endl; std 231 samples/directx/d3d9ex_interop.cpp std::cerr << "Exception: " << e.what() << std::endl; std 308 samples/directx/d3d9ex_interop.cpp std::string title = "D3D9Ex interop sample"; std 30 samples/directx/d3dsample.hpp D3DSample(int width, int height, std::string& window_name, cv::VideoCapture& cap) : std 54 samples/directx/d3dsample.hpp static std::queue<int64> time_queue; std 141 samples/directx/d3dsample.hpp int d3d_app(int argc, char** argv, std::string& title) std 169 samples/directx/d3dsample.hpp std::string wndname = title; std 181 samples/directx/d3dsample.hpp std::cerr << "Exception: " << e.what() << std::endl; std 187 samples/directx/d3dsample.hpp std::cerr << "FATAL ERROR: Unknown exception" << std::endl; std 15 samples/directx/winapp.hpp WinApp(int width, int height, std::string& window_name) std 131 samples/directx/winapp.hpp std::string m_window_name; std 7 samples/gpu/alpha_comp.cpp using namespace std; std 11 samples/gpu/bgfg_segm.cpp using namespace std; std 147 samples/gpu/bgfg_segm.cpp std::cout << "FPS : " << fps << std::endl; std 18 samples/gpu/cascadeclassifier.cpp using namespace std; std 16 samples/gpu/cascadeclassifier_nvidia_api.cpp using namespace std; std 25 samples/gpu/cascadeclassifier_nvidia_api.cpp std::cout << "CUDA support is required (CMake key 'WITH_CUDA' must be true)." << std::endl; std 29 samples/gpu/cascadeclassifier_nvidia_api.cpp std::cout << "Unsupported for ARM CUDA library." << std::endl; std 31 samples/gpu/driver_api_multi.cpp std::cout << "CUDA support is required (CMake key 'WITH_CUDA' must be true).\n"; std 35 samples/gpu/driver_api_multi.cpp std::cout << "TBB support is required (CMake key 'WITH_TBB' must be true).\n"; std 39 samples/gpu/driver_api_multi.cpp std::cout << "Unsupported for ARM CUDA library." << std::endl; std 50 samples/gpu/driver_api_multi.cpp using namespace std; std 62 samples/gpu/driver_api_multi.cpp std::cout << "CUDA driver API error: code " << code << ", expr " << expr std 77 samples/gpu/driver_api_multi.cpp std::cout << "Two or more GPUs are required\n"; std 88 samples/gpu/driver_api_multi.cpp std::cout << "CUDA module isn't built for GPU #" << i << " (" std 142 samples/gpu/driver_api_multi.cpp std::cout << "GPU #" << device_id << " (" << DeviceInfo().name() << "): " std 33 samples/gpu/driver_api_stereo_multi.cpp std::cout << "CUDA support is required (CMake key 'WITH_CUDA' must be true).\n"; std 37 samples/gpu/driver_api_stereo_multi.cpp std::cout << "TBB support is required (CMake key 'WITH_TBB' must be true).\n"; std 41 samples/gpu/driver_api_stereo_multi.cpp std::cout << "Unsupported for ARM CUDA library." << std::endl; std 52 samples/gpu/driver_api_stereo_multi.cpp using namespace std; std 64 samples/gpu/driver_api_stereo_multi.cpp std::cout << "CUDA driver API error: code " << code << ", expr " << expr std 93 samples/gpu/driver_api_stereo_multi.cpp std::cout << "Usage: driver_api_stereo_multi_gpu --left <left_image> --right <right_image>\n"; std 107 samples/gpu/driver_api_stereo_multi.cpp std::cout << "Two or more GPUs are required\n"; std 118 samples/gpu/driver_api_stereo_multi.cpp std::cout << "GPU module isn't built for GPU #" << i << " (" std 209 samples/gpu/driver_api_stereo_multi.cpp std::cout << "GPU #" << device_id << " (" << DeviceInfo().name() std 12 samples/gpu/farneback_optical_flow.cpp using namespace std; std 13 samples/gpu/generalized_hough.cpp using namespace std; std 13 samples/gpu/hog.cpp using namespace std; std 360 samples/gpu/hog.cpp throw std::runtime_error("can't create video writer"); std 10 samples/gpu/houghlines.cpp using namespace std; std 8 samples/gpu/morphology.cpp using namespace std; std 31 samples/gpu/multi.cpp std::cout << "CUDA support is required (CMake key 'WITH_CUDA' must be true).\n"; std 35 samples/gpu/multi.cpp std::cout << "TBB support is required (CMake key 'WITH_TBB' must be true).\n"; std 43 samples/gpu/multi.cpp using namespace std; std 54 samples/gpu/multi.cpp std::cout << "Two or more GPUs are required\n"; std 64 samples/gpu/multi.cpp std::cout << "CUDA module isn't built for GPU #" << i << " (" std 99 samples/gpu/multi.cpp std::cout << "GPU #" << device_id << " (" << DeviceInfo().name() << "): " std 7 samples/gpu/opengl.cpp std::cerr << "Library was built without OpenGL support" << std::endl; std 34 samples/gpu/opengl.cpp using namespace std; std 10 samples/gpu/optical_flow.cpp using namespace std; std 23 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "Please compile the library with CUDA support" << std::endl; std 149 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "Could not open '" << frame0Name << "'\n"; std 161 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "Could not open '" << frame1Name << "'\n"; std 209 samples/gpu/opticalflow_nvidia_api.cpp float d = std::max ( fabsf(*ptr_u), fabsf(*ptr_v) ); std 273 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "Usage help:\n"; std 274 samples/gpu/opticalflow_nvidia_api.cpp std::cout << std::setiosflags(std::ios::left); std 275 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "\t" << std::setw(15) << PARAM_ALPHA << " - set alpha\n"; std 276 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "\t" << std::setw(15) << PARAM_GAMMA << " - set gamma\n"; std 277 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "\t" << std::setw(15) << PARAM_INNER << " - set number of inner iterations\n"; std 278 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "\t" << std::setw(15) << PARAM_LEFT << " - specify left image\n"; std 279 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "\t" << std::setw(15) << PARAM_RIGHT << " - specify right image\n"; std 280 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "\t" << std::setw(15) << PARAM_OUTER << " - set number of outer iterations\n"; std 281 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "\t" << std::setw(15) << PARAM_SCALE << " - set pyramid scale factor\n"; std 282 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "\t" << std::setw(15) << PARAM_SOLVER << " - set number of basic solver iterations\n"; std 283 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "\t" << std::setw(15) << PARAM_TIME_STEP << " - set frame interpolation time step\n"; std 284 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "\t" << std::setw(15) << PARAM_HELP << " - display this help message\n"; std 396 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "OpenCV / NVIDIA Computer Vision\n"; std 397 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "Optical Flow Demo: Frame Interpolation\n"; std 398 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "=========================================\n"; std 399 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "Press:\n ESC to quit\n 'a' to move to the previous frame\n 's' to move to the next frame\n"; std 405 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "Using GPU: " << devId << "(" << devProp.name << std 406 samples/gpu/opticalflow_nvidia_api.cpp "), arch=" << devProp.major << "." << devProp.minor << std::endl; std 455 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "Estimating optical flow\nForward...\n"; std 459 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "Failed\n"; std 463 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "Backward...\n"; std 466 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "Failed\n"; std 517 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "Interpolating...\n"; std 518 samples/gpu/opticalflow_nvidia_api.cpp std::cout.precision (4); std 520 samples/gpu/opticalflow_nvidia_api.cpp std::vector<IplImage*> frames; std 601 samples/gpu/opticalflow_nvidia_api.cpp std::cout << "Could not create new frame in host memory\n"; std 605 samples/gpu/opticalflow_nvidia_api.cpp std::cout << timePos * 100.0f << "%\r"; std 607 samples/gpu/opticalflow_nvidia_api.cpp std::cout << std::setw (5) << "100%\n"; std 641 samples/gpu/opticalflow_nvidia_api.cpp std::vector<IplImage*>::iterator iter; std 7 samples/gpu/performance/performance.cpp using namespace std; std 67 samples/gpu/performance/performance.cpp double speedup = static_cast<double>(cpu_elapsed_) / std::max(1.0, gpu_elapsed_); std 101 samples/gpu/performance/performance.cpp << setprecision(3) << speedup_total_ / std::max(1, num_subtests_called_) std 128 samples/gpu/performance/performance.cpp void TestSystem::printError(const std::string& msg) std 16 samples/gpu/performance/performance.h explicit Runnable(const std::string& nameStr): name_(nameStr) {} std 19 samples/gpu/performance/performance.h const std::string& name() const { return name_; } std 24 samples/gpu/performance/performance.h std::string name_; std 37 samples/gpu/performance/performance.h void setWorkingDir(const std::string& val) { working_dir_ = val; } std 38 samples/gpu/performance/performance.h const std::string& workingDir() const { return working_dir_; } std 40 samples/gpu/performance/performance.h void setTestFilter(const std::string& val) { test_filter_ = val; } std 41 samples/gpu/performance/performance.h const std::string& testFilter() const { return test_filter_; } std 50 samples/gpu/performance/performance.h void printError(const std::string& msg); std 52 samples/gpu/performance/performance.h std::stringstream& startNewSubtest() std 114 samples/gpu/performance/performance.h double meanTime(const std::vector<int64> &samples); std 120 samples/gpu/performance/performance.h std::string working_dir_; std 121 samples/gpu/performance/performance.h std::string test_filter_; std 123 samples/gpu/performance/performance.h std::vector<Runnable*> inits_; std 124 samples/gpu/performance/performance.h std::vector<Runnable*> tests_; std 126 samples/gpu/performance/performance.h std::stringstream cur_subtest_description_; std 141 samples/gpu/performance/performance.h std::vector<int64> cpu_times_; std 142 samples/gpu/performance/performance.h std::vector<int64> gpu_times_; std 186 samples/gpu/performance/performance.h std::string abspath(const std::string& relpath); std 28 samples/gpu/performance/tests.cpp using namespace std; std 1194 samples/gpu/performance/tests.cpp const std::string inputFile = abspath("../data/768x576.avi"); std 1247 samples/gpu/performance/tests.cpp const std::string inputFile = abspath("../data/768x576.avi"); std 12 samples/gpu/pyrlk_optical_flow.cpp using namespace std; std 12 samples/gpu/stereo_match.cpp using namespace std; std 22 samples/gpu/stereo_multi.cpp using namespace std; std 16 samples/gpu/super_resolution.cpp using namespace std; std 85 samples/gpu/super_resolution.cpp std::transform(gpuOption.begin(), gpuOption.end(), gpuOption.begin(), ::tolower); std 13 samples/gpu/surf_keypoint_matcher.cpp using namespace std; std 92 samples/gpu/surf_keypoint_matcher.cpp std::cerr << "OpenCV was built without xfeatures2d module" << std::endl; std 24 samples/gpu/tick_meter.hpp std::ostream& operator << (std::ostream& out, const TickMeter& tm); std 46 samples/gpu/tick_meter.hpp std::ostream& operator << (std::ostream& out, const TickMeter& tm) { return out << tm.getTimeSec() << "sec"; } std 24 samples/gpu/video_reader.cpp const std::string fname(argv[1]); std 37 samples/gpu/video_reader.cpp std::vector<double> cpu_times; std 38 samples/gpu/video_reader.cpp std::vector<double> gpu_times; std 63 samples/gpu/video_reader.cpp std::cout << std::endl << "Results:" << std::endl; std 65 samples/gpu/video_reader.cpp std::sort(cpu_times.begin(), cpu_times.end()); std 66 samples/gpu/video_reader.cpp std::sort(gpu_times.begin(), gpu_times.end()); std 68 samples/gpu/video_reader.cpp double cpu_avg = std::accumulate(cpu_times.begin(), cpu_times.end(), 0.0) / cpu_times.size(); std 69 samples/gpu/video_reader.cpp double gpu_avg = std::accumulate(gpu_times.begin(), gpu_times.end(), 0.0) / gpu_times.size(); std 71 samples/gpu/video_reader.cpp std::cout << "CPU : Avg : " << cpu_avg << " ms FPS : " << 1000.0 / cpu_avg << std::endl; std 72 samples/gpu/video_reader.cpp std::cout << "GPU : Avg : " << gpu_avg << " ms FPS : " << 1000.0 / gpu_avg << std::endl; std 82 samples/gpu/video_reader.cpp std::cout << "OpenCV was built without CUDA Video decoding support\n" << std::endl; std 20 samples/gpu/video_writer.cpp std::cerr << "Usage : video_writer <input video file>" << std::endl; std 30 samples/gpu/video_writer.cpp std::cerr << "Can't open input video file" << std::endl; std 42 samples/gpu/video_writer.cpp std::vector<double> cpu_times; std 43 samples/gpu/video_writer.cpp std::vector<double> gpu_times; std 48 samples/gpu/video_writer.cpp std::cout << "Read " << i << " frame" << std::endl; std 54 samples/gpu/video_writer.cpp std::cout << "Stop" << std::endl; std 60 samples/gpu/video_writer.cpp std::cout << "Frame Size : " << frame.cols << "x" << frame.rows << std::endl; std 62 samples/gpu/video_writer.cpp std::cout << "Open CPU Writer" << std::endl; std 70 samples/gpu/video_writer.cpp std::cout << "Open CUDA Writer" << std::endl; std 78 samples/gpu/video_writer.cpp std::cout << "Write " << i << " frame" << std::endl; std 91 samples/gpu/video_writer.cpp std::cout << std::endl << "Results:" << std::endl; std 93 samples/gpu/video_writer.cpp std::sort(cpu_times.begin(), cpu_times.end()); std 94 samples/gpu/video_writer.cpp std::sort(gpu_times.begin(), gpu_times.end()); std 96 samples/gpu/video_writer.cpp double cpu_avg = std::accumulate(cpu_times.begin(), cpu_times.end(), 0.0) / cpu_times.size(); std 97 samples/gpu/video_writer.cpp double gpu_avg = std::accumulate(gpu_times.begin(), gpu_times.end(), 0.0) / gpu_times.size(); std 99 samples/gpu/video_writer.cpp std::cout << "CPU [XVID] : Avg : " << cpu_avg << " ms FPS : " << 1000.0 / cpu_avg << std::endl; std 100 samples/gpu/video_writer.cpp std::cout << "GPU [H264] : Avg : " << gpu_avg << " ms FPS : " << 1000.0 / gpu_avg << std::endl; std 109 samples/gpu/video_writer.cpp std::cout << "OpenCV was built without CUDA Video encoding support\n" << std::endl; std 11 samples/tapi/bgfg_segm.cpp using namespace std; std 99 samples/tapi/bgfg_segm.cpp std::cout << "FPS : " << fps << std::endl; std 100 samples/tapi/bgfg_segm.cpp std::cout << fgimg.size() << std::endl; std 25 samples/tapi/camshift.cpp selection.x = std::min(x, origin.x); std 26 samples/tapi/camshift.cpp selection.y = std::min(y, origin.y); std 27 samples/tapi/camshift.cpp selection.width = std::abs(x - origin.x); std 28 samples/tapi/camshift.cpp selection.height = std::abs(y - origin.y); std 52 samples/tapi/camshift.cpp std::cout << "\nThis is a demo that shows mean-shift based tracking using Transparent API\n" std 58 samples/tapi/camshift.cpp std::cout << "\n\nHot keys: \n" std 87 samples/tapi/camshift.cpp std::cout << "***Could not initialize capturing...***\n"; std 88 samples/tapi/camshift.cpp std::cout << "Current parameter's value: \n"; std 124 samples/tapi/camshift.cpp cv::inRange(hsv, cv::Scalar(0, smin, std::min(_vmin, _vmax)), std 125 samples/tapi/camshift.cpp cv::Scalar(180, 256, std::max(_vmin, _vmax)), mask); std 129 samples/tapi/camshift.cpp cv::mixChannels(std::vector<cv::UMat>(1, hsv), std::vector<cv::UMat>(1, hue), fromTo, 1); std 134 samples/tapi/camshift.cpp cv::calcHist(std::vector<cv::Mat>(1, roi.getMat(cv::ACCESS_READ)), std::vector<int>(1, 0), std 135 samples/tapi/camshift.cpp maskroi, hist, std::vector<int>(1, hsize), std::vector<float>(hranges, hranges + 2)); std 160 samples/tapi/camshift.cpp cv::calcBackProject(std::vector<cv::UMat>(1, hue), std::vector<int>(1, 0), hist, backproj, std 161 samples/tapi/camshift.cpp std::vector<float>(hranges, hranges + 2), 1.0); std 168 samples/tapi/camshift.cpp int cols = backproj.cols, rows = backproj.rows, r = (std::min(cols, rows) + 5)/6; std 11 samples/tapi/clahe.cpp using namespace std; std 16 samples/tapi/hog.cpp using namespace std; std 39 samples/tapi/hog.cpp std::vector<Rect>& cpu_rst, std 40 samples/tapi/hog.cpp std::vector<Rect>& gpu_rst); std 250 samples/tapi/hog.cpp throw std::runtime_error("can't create video writer"); std 12 samples/tapi/pyrlk_optical_flow.cpp using namespace std; std 203 samples/tapi/pyrlk_optical_flow.cpp std::cout << "OpenCL was disabled" << std::endl; std 15 samples/tapi/squares.cpp using namespace std; std 161 samples/tapi/squares.cpp std::cout << "OpenCL was disabled" << std::endl; std 12 samples/tapi/tvl1_optical_flow.cpp using namespace std; std 201 samples/tapi/tvl1_optical_flow.cpp std::cout << "OpenCL was disabled" << std::endl; std 59 samples/winrt/FaceDetection/FaceDetection/MainPage.xaml.cpp std::vector<cv::Rect> facesColl; std 40 samples/winrt/ImageManipulations/common/LayoutAwarePage.cpp DefaultViewModel = ref new Map<String^, Object^>(std::less<String^>()); std 76 samples/winrt/ImageManipulations/common/suspensionmanager.cpp std::vector<WeakFrame^> _registeredFrames; std 132 samples/winrt/ImageManipulations/common/suspensionmanager.cpp std::remove_if(_registeredFrames.begin(), _registeredFrames.end(), [=](WeakFrame^& e) std 96 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp std::string OcvImageProcessing::MainPage::CreateTempFile(const std::string &suffix) { std 118 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp std::wstring localPathW(path->Begin()); std 137 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp std::string OcvImageProcessing::MainPage::StrToWStr(const std::wstring &input) { std 139 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp return std::string(); std 143 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp std::string result(size, 0); std 213 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp std::vector<cv::KeyPoint> features; std 219 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.cpp for( unsigned int i = 0; i < std::min(features.size(), (size_t)50); i++ ) std 42 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.h std::string CreateTempFile(const std::string &suffix); std 45 samples/winrt/OcvImageProcessing/OcvImageProcessing/MainPage.xaml.h std::string StrToWStr(const std::wstring &wstr); std 131 samples/winrt_universal/VideoCaptureXAML/video_capture_xaml/video_capture_xaml.Shared/main.cpp std::vector<cv::Rect> facesColl; std 62 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp std::lock_guard<std::mutex> lock(m_mutex); std 65 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp std::swap(m_backFrame, m_frontFrame); std 73 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp std::lock_guard<std::mutex> lock(m_mutex); std 76 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp m_backFrame = std::shared_ptr<cv::Mat> (new cv::Mat(height, width, CV_8UC4)); std 77 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp m_frontFrame = std::shared_ptr<cv::Mat> (new cv::Mat(height, width, CV_8UC4)); std 161 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp std::vector<cv::KeyPoint> features; std 166 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.cpp for( unsigned int i = 0; i < std::min(features.size(), (size_t)50); i++ ) std 83 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h std::shared_ptr<cv::Mat> m_backFrame; std 84 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h std::shared_ptr<cv::Mat> m_frontFrame; std 85 samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/Direct3DInterop.h std::mutex m_mutex; std 315 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/CubeRenderer.cpp std::lock_guard<std::mutex> lock(m_mutex); std 56 samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/CubeRenderer.h std::mutex m_mutex; std 18 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp void CopyMatrixToVector(const cv::Mat& mat, std::vector<int>& vector, int size); std 39 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp std::vector<int> output; std 59 samples/wp8/OpenCVXaml/OpenCVComponent/OpenCVComponent.cpp void CopyMatrixToVector(const cv::Mat& mat, std::vector<int>& vector, int size)