pe.m

版本 1.2.0.0 (1.3 KB) 作者: Kiarash Ahi
Extracting points from a curve:This code extract the points from a curve saved in image format.
201.0 次下载
更新时间 2014/9/22

查看许可证

This code extracts the points from a curve saved in image format. The output will be the points in the dimension of the original carve.
The inputs are: r= the curve acquired by the command ‘imread’ in workspace, xi=initial horizontal value, xf=final horizontal value, yi=initial vertical value and yf=final vertical value of the of the curve on the original axis.
The curve should be in black color and nothing else should be in black in the image. For example, toward this aim, the axis could be removed by using Microsoft Paint or Pain.Net software, if it is in black. The curves could be simply changed to clack by the mentioned paint software if is not presented in black color (simply change the color to black or draw a black line on the curve by the pen in Paint software).
For better understanding, the code plots the extracted points by employing
'plot' function as well. The 'plot' function is written at the last line of the code.
Written by Kiarash Ahi on 9/18/2014.

引用格式

Kiarash Ahi (2024). pe.m (https://www.mathworks.com/matlabcentral/fileexchange/47881-pe-m), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2013b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Vector Volume Data 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.2.0.0

Tags were updated.

1.1.0.0

Some details were added to the description section of the code.

1.0.0.0