Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
Please help me to resolve an error in this code :
// Create a new Harris Corners Detector using the given parameters
HarrisCornersDetector harris = new HarrisCornersDetector(k);
harris.Measure = checkBox1.Checked ? HarrisCornerMeasure.Harris : HarrisCornerMeasure.Nobel;
harris.Threshold = threshold;
harris.Sigma = sigma;
 
Why the program duplicate about (harriscornerdetecto)
Posted 14-Oct-12 7:57am
ri1987236
Edited 14-Oct-12 23:03pm
lukeer15.2K
v3
Comments
Sergey Alexandrovich Kryukov at 14-Oct-12 23:01pm
   
Not enough information to reveal the problem.
--SA
ri1987 at 15-Oct-12 2:50am
   
Error 1 The type or namespace name 'HarrisCornersDetector' could not be found (are you missing a using directive or an assembly reference?) C:\Users\TA\documents\visual studio 2010\Projects\Harrissr\Harrissr\Form1.cs 29 13 Harrissr
 
how can i resolve this word ..i dont know what the error
lukeer at 15-Oct-12 4:07am
   
Have you referenced all necessary libraries?
Sergey Alexandrovich Kryukov at 15-Oct-12 11:11am
   
OK, now it's clear what you need to do -- please see my answer.
Learn how CLI assemblies work.
--SA

1 solution

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

Solution 3

After some clarification of the question, it looks like you did not provide full name of the type HarrisCornersDetector, with the namespace name, but it also likely, that you wanted to use some library available is a different assembly but failed to reference it. See "Add reference" in the project tree in the Solution Explorer to reference the assembly. If you have source code, you should better add this project to the same solution; then you can use the tab "Projects" of the "Add Reference" window to reference the project (it will be compiled to a reference to whatever assembly is created by this project and updated automatically if you change anything in that referenced project). If you only have a compiled assembly without source code, you can add a reference using the "Browse" tab and will need to select a main executable module of the assembly you want to reference; most usually, some *.DLL file.
 
—SA
  Permalink  
Comments
Marcus Kramer at 15-Oct-12 15:29pm
   
+5. Just what the OP needs.
Sergey Alexandrovich Kryukov at 15-Oct-12 15:37pm
   
Thank you, Marcus, I hope so.
--SA

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

  Print Answers RSS
0 Mika Wendelius 191
1 Peter Leow 150
2 TheRealSteveJudge 129
3 Abhinav S 125
4 Suvendu Shekhar Giri 100
0 Sergey Alexandrovich Kryukov 8,513
1 OriginalGriff 6,526
2 Peter Leow 3,657
3 Zoltán Zörgő 3,426
4 Richard MacCutchan 2,417


Advertise | Privacy | Mobile
Web04 | 2.8.150123.1 | Last Updated 15 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

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