采用c标记的兴趣点在图像中++ [英] Marking an interest point in an image using c++

查看:136
本文介绍了采用c标记的兴趣点在图像中++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这样的一个位图图像

I have a bitmap image like this


我的要求是创建一个GUI来加载图像和改变图像和算法的对比度和其他的东西,以纪念在银色的特定区域作为使用C ++或C#显示在图。我是新来的图像处理,并通过我的搜索,我发现了,我可以用图像的直方图查找所需area.These步骤如下。

My requirement is to create a GUI to load the image and for changing the contrast and other things on the image and algorithm to mark the particular area in silver colour as shown in the fig using C++ or C#.I am new to image processing and through my search I have found out that I can use the Histogram of the image for finding the required area.These are the steps.


  • 获取直方图

  • 搜索强度差

  • 搜索中的换行符

有人建议我如何从here.Can继续我使用OpenCV进行或任何其他有效的方法可用..?

Can someone suggest me how can I proceed from here.Can I use Opencv for this or any other efficient methods are available..?

请注意:

此图片有很多亮点和BLOB算法并不成功。
任何其他建议检索状物体的矩形正确的坐标。

This image have many bright points and the blob algorithm is not successful. Any other suggestions to retrieve the correct coordinates of the rectangle like object.

感谢

推荐答案

OpenCV的应该工作。

OpenCV should work.


  1. 将您输入图像灰度。

  2. adaptiveThreshold 将其转换为黑白

  3. 特征检测有OpenCV的特征检测的完整列表;选择一种取决于你想检测的确切功能。

  1. Convert your input image to greyscale.
  2. adaptiveThreshold converts it to black and white
  3. Feature detection has a whole list of OpenCV feature detectors; choose one depending on the exact feature that you're trying to detect.

例如。看看在 简单的Blob探测器 列出所需的基本步骤。你的银子肯定矩形资格作为简单的斑点(无孔或其他硬位)

E.g. have a look at the Simple Blob Detector which lists the basic steps needed. Your silver rectangle certainly qualifies as "simple blob" (no holes or other hard bits)

这篇关于采用c标记的兴趣点在图像中++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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