您好先生..请帮我解决我的错误:'( [英] Hello sir.. Can you help me with my error please :'(

查看:73
本文介绍了您好先生..请帮我解决我的错误:'(的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是来自印度尼西亚的rezki,我是印度尼西亚一所大学的学生..

i使用emgu cv制作一个SURF程序来进行图像检索,我有一个像这样的列表代码这个:



指数fln =新指数(supermatrix,4);



然后,它给出了我是这样的错误:



参数2:无法从'int'转换为'Emgu.CV,Flann.IIndexparams



你可以帮我吗...



我很难解决这个错误:'(



非常感谢你...我很抱歉花时间:D



我尝试了什么:



i试图使用:

system.int32 x = 4;

我拿它到这个代码:



索引fln =新索引(supermatrix,x);



然后它说无法将int转换为emgu.cv.flann.iindexparams

i'm rezki from Indonesia, i was a student at a university in Indonesia..
i use emgu cv to make a SURF program to image retrieval, and i have a list code like this :

Index fln = new Index(supermatrix, 4);

but then, it gives me an error like this :

Argument 2 : cannot convert from 'int' to 'Emgu.CV,Flann.IIndexparams

can you help me please..

i'm so stressfull to solving this error :'(

thank you so much.. and i'm sorry to take your time :D

What I have tried:

i have tried to use :
system.int32 x = 4;
and i take it to this code :

Index fln = new Index(supermatrix, x);

and then it says that cannot convert int to emgu.cv.flann.iindexparams

推荐答案

你不是笑获取此Index类的代码。它的构造函数似乎采用了第二个参数,它是一个实现IIndexParams接口的对象,并且你试图传入一个整数。那不行。



我不能告诉你如何解决这个问题因为你没有提供足够的信息来说明你在做什么以及你做了什么重新尝试使用此代码。
You're not showing the code for this Index class. It's constructor appears to take, as it's second parameter, some object that implements the IIndexParams interface and you're trying to pass in an integer. That won't work.

I can't tell you how to fix this because you haven't supplied enough information on what you're doing and what you're trying to do with this code.


这篇关于您好先生..请帮我解决我的错误:'(的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆