feature-detection

Implementing a Harris corner detector

房东的猫 提交于 2019-11-28 19:21:25
问题 I am implementing a Harris corner detector for educational purposes but I'm stuck at the harris response part. Basically, what I am doing, is: Compute image intensity gradients in x- and y-direction Blur output of (1) Compute Harris response over output of (2) Suppress non-maximas in output of (3) in a 3x3-neighborhood and threshold output 1 and 2 seem to work fine; however, I get very small values as the Harris response, and no point does reach the threshold. Input is a standard outdoor

What does size and response exactly represent in a SURF keypoint?

点点圈 提交于 2019-11-28 16:14:49
I'm using OpenCV 2.3 for keypoints detection and matching. But I am a bit confused with the size and response parameters given by the detection algorithm. What do they exactly mean? Based on the OpenCV manual, I can't figure it out: float size : diameter of the meaningful keypoint neighborhood float response : the response by which the most strong keypoints have been selected. Can be used for further sorting or subsampling I thought the best point to track would be the one with the highest response but it seems that it is not the case. So how could I subsample the set of key points returned by

Detect touching/overlapping circles/ellipses with OpenCV and Python

一笑奈何 提交于 2019-11-28 15:33:31
问题 i want to measure the circularity of circles (difference of the "circles" height and width or ellipse parameters). The circles are given in pictures as shown here: After doing usual stuff like color2gray, thresholding and border detection, I get the following picture as shown: With this, I already tried a lot of different things: List item Watershed with findContour (similar to this question) -> openCV detects the space between the circles as a closed contour and not the circles since they

Difference between Feature Detection and Descriptor Extraction

杀马特。学长 韩版系。学妹 提交于 2019-11-28 15:21:19
Does anyone know the difference between FeatureDetection and DescriptorExtraction in OpenCV 2.3? I understand that the latter is required for matching using DescriptorMatcher. If that's the case, what is FeatureDetection used for? Thank you. Feature detection In computer vision and image processing the concept of feature detection refers to methods that aim at computing abstractions of image information and making local decisions at every image point whether there is an image feature of a given type at that point or not. The resulting features will be subsets of the image domain, often in the

Extracting HoG Features using OpenCV

大憨熊 提交于 2019-11-28 15:12:47
I am trying to extract features using OpenCV's HoG API, however I can't seem to find the API that allow me to do that. What I am trying to do is to extract features using HoG from all my dataset (a set number of positive and negative images), then train my own SVM. I peeked into HoG.cpp under OpenCV, and it didn't help. All the codes are buried within complexities and the need to cater for different hardwares (e.g. Intel's IPP) My question is: Is there any API from OpenCV that I can use to extract all those features / descriptors to be fed into a SVM ? If there's how can I use it to train my

cvSnakeImage() OpenCV API example/documentation

倾然丶 夕夏残阳落幕 提交于 2019-11-28 09:34:46
问题 Can anyone refer me any tutorial/documentation on how to use cvSnakeImage(). I have refered this link but example has not been provided. I want to use this cvSnakeImage() to perfrom Active contour model on an image. The image is of eye after thresholding and the black thing is eye pupil. I want to detect (draw circle) eye pupil in this image using cvSnakeImage() (sort of constraint, I have to use this function only). C++ platform Can anyone refer me any tutorial/documentation on how to use

OpenCV filtering ORB matches

一笑奈何 提交于 2019-11-28 07:47:43
I am using the ORB feature detector to find matches between two images using this code: FeatureDetector detector = FeatureDetector.create(FeatureDetector.ORB); DescriptorExtractor descriptor = DescriptorExtractor.create(DescriptorExtractor.ORB);; DescriptorMatcher matcher = DescriptorMatcher.create(DescriptorMatcher.BRUTEFORCE_HAMMING); // First photo Imgproc.cvtColor(img1, img1, Imgproc.COLOR_RGB2GRAY); Mat descriptors1 = new Mat(); MatOfKeyPoint keypoints1 = new MatOfKeyPoint(); detector.detect(img1, keypoints1); descriptor.compute(img1, keypoints1, descriptors1); // Second photo Imgproc

How should I replace FeatureDetector function in new OpenCV?

时光怂恿深爱的人放手 提交于 2019-11-28 05:59:05
问题 I have downloaded a sample code of Java OpenCV. In few lines of the code there is FeatureDetectore() method that the compiler says it's deprecated. FeatureDetector detector = FeatureDetector.create(FeatureDetector.MSER); detector.detect(mGrey, keypoint); listpoint = keypoint.toList(); So, How should I replace this part of code? Are there any new alternative for this? or can I continue use of the deprecated function? 回答1: You can continue with this and this will work. Deprecation means that

Fracture detection in hand using image proccessing

核能气质少年 提交于 2019-11-28 02:04:34
What I have done : Taken input image and resized image to standard size as I have to compare it with template. converted in binary using threshold value. Detected connected component and displayed largest component. As it is whole hand.as shows here: Place image at same coordinates to check placement of finger for comparison with template image but their positioning is different purple one is template image I m doing comparison of image with Image subtraction method. These case will not able to predict if their is hairline fracture as their are many small lines detected in image. Is their any

Multiple tracking in a Video

允我心安 提交于 2019-11-27 22:38:36
问题 I m working on small image processing assignment where I need to track 4 red color object. I got how to track single one. I want to know what is the best approach to track more than one point. There are 4 points which are positioned to form a rectangle so can I use shape detection or corner detection to detect and track the points Please see image below.. 回答1: My naive implementation uses a technique described at OpenCV bounding boxes to do the tracking of red blobs. The following is a helper