matlab在图像矩阵上绘制线段

收录时间:2018-03-13
资源分类:Matlab 工具:MATLAB 6.5 (R13)

在图像矩阵上绘制线段。

 

drawline

DRAWLINE Returns the geometric space (matrix indices) occupied by a line segment in a MxN matrix. Each line segment is defined by two endpoints.

 

IND = DRAWLINE(P1, P2, IMAGE_SIZE) returns the matrix indices of the line segment with endpoints p1 and p2. If both points are out of the image boundary no line is drawn and an error will appear. If only one of the endpoints is out of the image boundary a line is still drawn.

文件下载列表
drawline.zip (2.95KB)  
附件内容(只显示2中的1个)
drawline.m  
更多

目前尚无评论

用户反馈   关于我们
Copyright (©) ZHIHUISHI.COM 2013 All Rights Reserved.
京ICP备14040384号