MATLAB的dll文件我已经生成,function LEN = EstLen(ifbl, THETA, expertstatus),这是MATLAB的函数,需要把picturebox中的图片作为ifbl输入进行图像处理,
using MathWorks.
using MathWorks.
using length_estimation;
这是开头的引用
Length_estimation Len = new length_estimation.Length_estimation();
MWNumericArray LEN;
LEN = Len.EstLen(pictureBox1.Image, 45, 0);
我是这样引用的是不行的
是不是要把图片转换成矩阵形式,像MATLAB那样?
怎么转换,求高手指点啊
真心不会啊