上一页 1 ··· 152 153 154 155 156 157 158 159 160 ··· 176 下一页
  2019年5月14日
摘要: B = imresize(A,scale) B = imresize(A,scale) 返回图像 B,它是将 A 的长宽大小缩放 scale 倍之后的图像。输入图像 A 可以是灰度、RGB 或二值图像。如果 A 有两个以上维度,则 imresize 只调整前两个维度的大小。如果 scale 在 [0 阅读全文
posted @ 2019-05-14 12:18 一杯明月 阅读(5593) 评论(0) 推荐(0) 编辑
摘要: Idx = knnsearch(X,Y) finds the nearest neighbor in X for each query point in Y and returns the indices of the nearest neighbors in Idx, a column vecto 阅读全文
posted @ 2019-05-14 00:18 一杯明月 阅读(4035) 评论(0) 推荐(0) 编辑
  2019年5月13日
摘要: 1.显示茶壶点云 ptCloud = pcread('teapot.ply');figure(1)pcshow(ptCloud); title('Teapot'); 2.Create a transform object with 30 degree rotation along z -axis a 阅读全文
posted @ 2019-05-13 22:05 一杯明月 阅读(4736) 评论(0) 推荐(0) 编辑
摘要: 1. pcread: 输入文件名,返回pointCloud类(用于存储点云)。eg: pcloud = pcread(“filename.ply”) 2. pcshow: 输入pointCloud类,展示该点云图。eg: pcshow(pcloud) 3. pcshowpair: 输入两个point 阅读全文
posted @ 2019-05-13 22:01 一杯明月 阅读(5754) 评论(0) 推荐(0) 编辑
摘要: http://zhuanlan.zhihu.com/p/83078037 一.最基本两个形态学运算 膨胀与腐蚀 啥叫形态学操作 形态学操作其实就是改变物体的形状,比如腐蚀就是”变瘦”,膨胀就是”变胖”,看下图就明白了: (http://ex2tron.wang/opencv-python-erode 阅读全文
posted @ 2019-05-13 14:32 一杯明月 阅读(12099) 评论(0) 推荐(1) 编辑
  2019年5月10日
摘要: figure(721);hold on;x=1:1:5;%x轴上的数据,第一个值代表数据开始,第二个值代表间隔,第三个值代表终止 a=[203.024,113.857,256.259,244.888,293.376]; %a数据y值 b=[334.4,143.2,297.4,487.2,596.2] 阅读全文
posted @ 2019-05-10 19:17 一杯明月 阅读(888) 评论(0) 推荐(0) 编辑
  2019年5月9日
摘要: matlab画圆: 注: 已知圆心和半径。 m=80; x=newdata(m).center(1); y=newdata(m).center(2); r=20; figure(73);hold on;rectangle('Position',[x-r,y-r,2*r,2*r],'Curvature 阅读全文
posted @ 2019-05-09 21:11 一杯明月 阅读(17213) 评论(0) 推荐(0) 编辑
  2019年5月7日
摘要: fliplr 左右翻转矩阵 语法: B = fliplr(A) 将矩阵A的列绕垂直轴进行左右翻转 matabc 如果A是一个行向量,fliplr(A)将A中元素的顺序进行翻转。 如果A是一个列向量,fliplr(A)还等于A。 举例说明:例一:如果A是一个3×2的矩阵 A =[ 1 4 2 5 3 阅读全文
posted @ 2019-05-07 19:42 一杯明月 阅读(7635) 评论(0) 推荐(0) 编辑
  2019年5月6日
摘要: 例如:假如rectx的形式在命令窗口显示: rectx = 1.0e+05 * 5.2294 5.2294 5.2294 5.2294 5.2294 那么,命令窗口输入vpa(rectx): ans = 522938.95232622162438929080963135 522944.0503688 阅读全文
posted @ 2019-05-06 16:23 一杯明月 阅读(2659) 评论(0) 推荐(0) 编辑
摘要: 1.白色虚线: 划于路段中时,用于分割同向行驶的交通流或作为行车安全距离识别线;划与路口时,用以引导车辆行进。 2.黄色虚线: 划于路段中,用于分割对向行驶的交通流。划与路侧或缘石上时,用以禁止车辆长时在路边停放。 3. 白色实线: 划于路段中时,用于分割同向行驶的机动车和非机动车,或指示车行道的边 阅读全文
posted @ 2019-05-06 14:53 一杯明月 阅读(4443) 评论(0) 推荐(0) 编辑
上一页 1 ··· 152 153 154 155 156 157 158 159 160 ··· 176 下一页