随笔分类 - C++
摘要:opencv histPrepareImages static void histPrepareImages( const Mat* images, int nimages, const int* channels, const Mat& mask, int dims, const int* his
阅读全文
摘要:opencv calcHistLookupTables_8u static void calcHistLookupTables_8u( const Mat& hist, const SparseMat& shist, int dims, const float** ranges, const dou
阅读全文
摘要:opencv morphologyEx void cv::morphologyEx( InputArray _src, OutputArray _dst, int op, InputArray _kernel, Point anchor, int iterations, int borderType
阅读全文
摘要:opencv ocl_morphologyEx static bool ocl_morphologyEx(InputArray _src, OutputArray _dst, int op, InputArray kernel, Point anchor, int iterations, int b
阅读全文
摘要:opencv dilate void cv::dilate( InputArray src, OutputArray dst, InputArray kernel, Point anchor, int iterations, int borderType, const Scalar& borderV
阅读全文
摘要:opencv erode void cv::erode( InputArray src, OutputArray dst, InputArray kernel, Point anchor, int iterations, int borderType, const Scalar& borderVal
阅读全文
摘要:opencv polylines void polylines( InputOutputArray _img, const Point* const* pts, const int* npts, int ncontours, bool isClosed, const Scalar& color, i
阅读全文
摘要:opencv fillPoly void fillPoly( InputOutputArray _img, const Point** pts, const int* npts, int ncontours, const Scalar& color, int line_type, int shift
阅读全文
摘要:opencv FillEdgeCollection static void FillEdgeCollection( Mat& img, std::vector<PolyEdge>& edges, const void* color ) { PolyEdge tmp; int i, y, total
阅读全文
摘要:Opencv fillConvexPoly void fillConvexPoly( InputOutputArray _img, const Point* pts, int npts, const Scalar& color, int line_type, int shift ) { CV_INS
阅读全文
摘要:opencv rectangle void rectangle( InputOutputArray _img, Point pt1, Point pt2, const Scalar& color, int thickness, int lineType, int shift ) { CV_INSTR
阅读全文
摘要:opencv PolyLine static void PolyLine( Mat& img, const Point2l* v, int count, bool is_closed, const void* color, int thickness, int line_type, int shif
阅读全文
摘要:opencv ThickLine static void ThickLine( Mat& img, Point2l p0, Point2l p1, const void* color,int thickness, int line_type, int flags, int shift ) { sta
阅读全文
摘要:opencv ellipse /** @brief Draws a simple or thick elliptic arc or fills an ellipse sector. The function cv::ellipse with more parameters draws an elli
阅读全文
摘要:opencv circle /** @brief Draws a circle. The function circle draws a simple or filled circle with a given center and radius. @param img Image where th
阅读全文
摘要:opencv arrowedLine /** @brief Draws a arrow segment pointing from the first point to the second one. The function arrowedLine draws an arrow between p
阅读全文
摘要:opencv line /** @brief Draws a line segment connecting two points. The function line draws the line segment between pt1 and pt2 points in the image. T
阅读全文
摘要:寻找轮廓 void Demo_FindContours() { findContours(img3, vec_p, vec_4i, RETR_TREE, CHAIN_APPROX_SIMPLE, Point(0, 0));for (size_t j=0;j<vec_p.size();j++) { d
阅读全文
摘要:osg绘制圆柱体 #include <iostream> #include <osgViewer/Viewer> #include <osg/Node> //#include <osgDB/ReadFile> //#include <osgDB/WriteFile> #include <osgUti
阅读全文
摘要:opencv中计算两个数组差的绝对值的函数 void cv::absdiff( InputArray src1, InputArray src2, OutputArray dst ) { CV_INSTRUMENT_REGION() arithm_op(src1, src2, dst, noArra
阅读全文