简体   繁体   English

如何在python中从其图(图像)获取函数方程?

[英]How to get equation of function from its graph(image) in python?

我有一个问题,例如,我可以在python中的numpy和mathmatplotlib的帮助下将任何函数绘制为图形图像,相比之下,如何在python中从其graph(image)获取函数?

Have a look at OpenCV on how to read images and preprocess them to detect objects in them. 看看OpenCV如何读取图像并对其进行预处理以检测其中的对象。 That might help with "reading" the graph data. 这可能有助于“读取”图形数据。 But it will be tricky! 但这会很棘手!

Once you have the function values, you want to look for Curve Fitting ., eg python numpy/scipy curve fitting . 获得函数值后,您要查找“ 曲线拟合” ,例如python numpy / scipy curve拟合

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM