10 2021 档案
摘要:Elements package org.jsoup.select; import org.jsoup.helper.Validate; import org.jsoup.nodes.Element; import org.jsoup.nodes.FormElement; import org.js
阅读全文
摘要:Document package org.jsoup.nodes; import org.jsoup.helper.StringUtil; import org.jsoup.helper.Validate; import org.jsoup.parser.ParseSettings; import
阅读全文
摘要:QThread Header: #include <QThread> qmake: QT += core Inherits: QObject Public Types enum Priority { IdlePriority, LowestPriority, LowPriority, NormalP
阅读全文
摘要:QAbstractState Header: #include <QAbstractState> qmake: QT += core Since: Qt 4.6 Inherits: QObject Inherited By: QFinalState, QHistoryState, and QStat
阅读全文
摘要:opencv Mat QImage if (imgParam.channels() == 3) { cv::cvtColor(imgParam, rgb, CV_BGR2RGB); img = QImage((const uchar*)(rgb.data), rgb.cols, rgb.rows,
阅读全文
摘要:QVector /**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https:/
阅读全文
摘要:QLabel显示opencv Mat图片 void showImgOnLabel(QLabel* labelParam, cv::Mat imgParam, int showType) { cv::Mat rgb; QImage img; if (showType==1) { cv::resize(
阅读全文
摘要:opencv RetrievalModes enum RetrievalModes { /** retrieves only the extreme outer contours. It sets `hierarchy[i][2]=hierarchy[i][3]=-1` for all the co
阅读全文
摘要:opencv calcHist3D_Invoker template<typename T> class calcHist3D_Invoker { public: calcHist3D_Invoker( const std::vector<uchar*>& _ptrs, const std::vec
阅读全文
摘要:opencv calcHist1D_Invoker template<typename T> class calcHist1D_Invoker { public: calcHist1D_Invoker( const std::vector<uchar*>& _ptrs, const std::vec
阅读全文
摘要:opencv CalcHist2D_8uInvoker class CalcHist2D_8uInvoker { public: CalcHist2D_8uInvoker( const std::vector<uchar*>& _ptrs, const std::vector<int>& _delt
阅读全文
摘要:opencv erode void cv::erode( InputArray src, OutputArray dst, InputArray kernel, Point anchor, int iterations, int borderType, const Scalar& borderVal
阅读全文
摘要: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
阅读全文
摘要:java Map Map<String, Integer> map2=sortMapByValue(map1);for(Entry<String, Integer> indexEntry:map2.entrySet()) { System.out.println(" "+indexEntry.get
阅读全文
摘要:基于BIM和UWB定位的综合管控平台 ###########################
阅读全文
摘要:osg绘制圆柱体 #include <iostream> #include <osgViewer/Viewer> #include <osg/Node> //#include <osgDB/ReadFile> //#include <osgDB/WriteFile> #include <osgUti
阅读全文
摘要:IfcFlowMovingDevice 实体定义 分配流量元件IfcFlowMovingDevice定义了用于分配、循环或输送流体(包括液体和气体(如泵或风扇))的装置的出现,并通常参与流量分配系统。其类型由IfcFlowMovingDeviceType或其子类型定义。 IFC2x中的新实体。 IF
阅读全文
摘要:opencv中计算两个数组差的绝对值的函数 void cv::absdiff( InputArray src1, InputArray src2, OutputArray dst ) { CV_INSTRUMENT_REGION() arithm_op(src1, src2, dst, noArra
阅读全文
摘要:IfcFlowMovingDeviceType 实体定义 元素类型IfcFlowMovingDeviceType定义了流移动设备的公共共享属性集定义列表和一组可选的产品表示。它用于定义流量移动设备规范(即特定产品信息,该产品类型的所有实例通用)。 流动类型用于定义流动设备的公共属性,该属性可应用于该
阅读全文
摘要:osg给节点染色 osg::ref_ptr<osg::ShapeDrawable> draw_h_bar_index = new osg::ShapeDrawable(new osg::Box(osg::Vec3(0.0, 0.0, 0.0), 1.0, 10.0, 10.0)); //设置材质 o
阅读全文
摘要:直线检测 void Hough_1(int, void*) { vector<Vec4i> vec_lines; HoughLinesP(img_canny1, vec_lines, 1, CV_PI / 360.0, hough_thread,1,50); for (size_t k = 0; k
阅读全文
摘要:发现ubuntu的ifconfig命令不能用了 bim@bim-ThinkPad-T440p:~$ bim@bim-ThinkPad-T440p:~$ ifconfig Command 'ifconfig' not found, but can be installed with: sudo apt
阅读全文
摘要:1.巡线(雷达避障)roslaunch simple_follower line_follower.launch 2.雷达跟随。roslaunch simple_follower laser_follower.launch 3.视觉跟踪。roslaunch simple_follower visua
阅读全文
摘要:纯黑色代表障碍物,纯黑色包围的墨绿色代表未探索区域,纯黑色周围的灰色是在障碍物上进行膨胀的区域,颜色越深代表越危险 #######################3
阅读全文
摘要:ros小车网络设置 编辑 bashrc wheeltec@wheeltec:~$ wheeltec@wheeltec:~$ nano .bashrc wheeltec@wheeltec:~$ export ROS_MASTER_URI=http://192.168.0.100:11311 expor
阅读全文
摘要:ubuntu查看硬盘大小 bim@bim-ThinkPad-T440p:~$ df -hl 文件系统 容量 已用 可用 已用% 挂载点 udev 3.8G 0 3.8G 0% /dev tmpfs 766M 2.0M 764M 1% /run /dev/sda1 916G 16G 855G 2% /
阅读全文
摘要:ssh 登录如果连接成功会提示需要输入从机的密码,输入密码后就可以登录从机了。密码:dongguan wheeltec@wheeltec:~$ wheeltec@wheeltec:~$ wheeltec@wheeltec:~$ wheeltec@wheeltec:~$ wheeltec@wheelt
阅读全文
摘要:osg Image转opencv Mat osg::ref_ptr<osg::Image> saveOsgImgObj = new osg::Image(); saveOsgImgObj = captureCallback2Obj->getOsgCameraImage(); cv::Mat open
阅读全文
摘要:osg绘制圆锥体 #include <iostream> #include <osgViewer/Viewer> #include <osg/Node> //#include <osgDB/ReadFile> //#include <osgDB/WriteFile> #include <osgUti
阅读全文
摘要:osg绘制球体 #include <iostream> #include <osgViewer/Viewer> #include <osg/Node> //#include <osgDB/ReadFile> //#include <osgDB/WriteFile> #include <osgUtil
阅读全文
摘要:基于BIM IFC osg的塔吊吊装对位模拟系统 osg::Matrix cameraMatrix = osg::Matrix::translate(-centerVec3d) *osg::Matrix::scale(1.0f, 1.0f, sz_value) *osg::Matrix::trans
阅读全文
摘要:osg相机移动时一定要重写 // 得到逆矩阵,标准接口,控制场景 osg::Matrixd CameraController::getInverseMatrix(void) const { std::cout << " getInverseMatrix " << std::endl; osg::Ma
阅读全文