Click here to Skip to main content
13,767,136 members
Rate this:
 
Please Sign up or sign in to vote.
hi, 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
Posted 3-Jan-18 8:16am
Updated 3-Jan-18 11:17am

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  
Comments
Member 13605443 18-Jan-18 9:34am
   
thank you so much sir for response my question :D

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web01-2016 | 2.8.181114.1 | Last Updated 3 Jan 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100