解决哈里斯拐角检测器代码中的错误 [英] solve error in code of harris corner detector

查看:63
本文介绍了解决哈里斯拐角检测器代码中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我解决此代码中的错误:

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;



为什么程序重复(harriscornerdetecto)



Why the program duplicate about (harriscornerdetecto)

推荐答案

命名空间名称,但您可能想使用某些可用库的名称也可能是一个不同的程序集,但未能引用它.请参阅解决方案资源管理器中项目树中的添加引用"以引用程序集.如果您有源代码,则最好将此项目添加到相同的解决方案中.那么您可以使用添加引用"窗口的项目"选项卡来引用该项目(它将被编译为对该项目创建的程序集的引用,并且如果您更改了该引用项目中的任何内容,该程序集将自动更新).如果只有一个没有源代码的已编译程序集,则可以使用浏览"选项卡添加引用,并且需要选择要引用的程序集的主要可执行模块;否则,请执行以下操作:最常见的是一些* .DLL文件.

—SA
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


这篇关于解决哈里斯拐角检测器代码中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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