求bmp 图像 阴魂检测 mfc算法

求bmp 图像 异物检测 mfc算法
求bmp 图像 阴魂检测 mfc算法
  灰度图像上的异物 检测出坐标和标记异物算法 求高手指点 
harris 角点检测 也能起作用  想用其他算法 如亮度信息
------解决思路----------------------
fast,surf,sift什么的特征点检测按理说都能用啊,把这个当成特征点来看

话说我看了半天还以为我屏幕是脏的呢。。。
------解决思路----------------------
// feature_detection.cpp : 定义控制台应用程序的入口点。
//

#include "stdafx.h"

#include <opencv2/core/core.hpp>
#include <opencv2/features2d/features2d.hpp>
#include <opencv2/highgui/highgui.hpp>

#include <vector>

#pragma comment(lib,"opencv_core2410d.lib")              
#pragma comment(lib,"opencv_highgui2410d.lib")              
#pragma comment(lib,"opencv_imgproc2410d.lib") 
#pragma comment(lib,"opencv_features2d2410d.lib") 

using namespace cv;

void main()
{
Mat image;
image = imread("church01.jpg");
// vector of keyPoints
std::vector<KeyPoint> keyPoints;
// construction of the fast feature detector object
FastFeatureDetector fast(40); // 检测的阈值为40
// feature point detection
fast.detect(image,keyPoints);
drawKeypoints(image, keyPoints, image, Scalar::all(255), DrawMatchesFlags::DRAW_OVER_OUTIMG);
imshow("FAST feature", image);
cvWaitKey(0);
}

------解决思路----------------------
引用:
fast,surf,sift什么的特征点检测按理说都能用啊,把这个当成特征点来看

话说我看了半天还以为我屏幕是脏的呢。。。


屏幕擦一下求bmp 图像 阴魂检测 mfc算法