Ask Your Question

Kashif's profile - activity

2015-03-20 10:24:23 -0600 commented question How can I get keypoints for given location in MATLAB

I wanted to compute BRIEF descriptors on my specified locations. This is part of another task that I am doing.

2015-03-20 05:33:54 -0600 commented question How can I get keypoints for given location in MATLAB

Though Its not a standard way. I used the same code as above.

detector = cv.FeatureDetector('STAR'); keypoints = detector.detect(im);

Then I took first keypoint and changed the location as followed.

keypoint1 = keypoints(1);

keypoint1.pt = [16,16];

And computed the descriptor for my desired point.

extractor = cv.DescriptorExtractor('BRIEF'); descriptors = extractor.compute(im, keypoint1);

(In my case, point location is important, size, angle etc of keypoint does not matter)

2015-03-19 11:50:07 -0600 commented question How can I get keypoints for given location in MATLAB

I tried, it didn't work. Thank you btw... I resolved the issue by another way (By editing the location of randomly obtained keypoints)..

2015-03-19 09:13:48 -0600 commented question How can I get keypoints for given location in MATLAB

@thdrksdfthmn... I have already written a lot of code in MATLAB and used other descriptors such as SURF, BRISK, FREAK etc... and I want to replace BRIEF descriptor only in the code.

2015-03-19 06:06:29 -0600 commented question How can I get keypoints for given location in MATLAB

Yes, I know Keypoints carry other information, but I am not able to call cv2.KeyPoint() method in MATLAB... cv.KeyPoint() is not working/available... is there any alternate?

2015-03-19 05:06:10 -0600 asked a question How can I get keypoints for given location in MATLAB

I am working in MATLAB, i connected MATLAB with opencv through mexopencv. I want to extract BRIEF descriptors for some keypoints. I am getting keypoints by following code.

detector = cv.FeatureDetector('STAR');
keypoints = detector.detect(im);
extractor = cv.DescriptorExtractor('BRIEF');
descriptors = extractor.compute(im, keypoints);

This code is working fine. But I want dont want to use this command.

keypoints = detector.detect(im);

Instead, I want to get keypoints on my specific location. For example... I want to do this...

keypoint1 = cv.KeyPoint (16,16);

But this is not working...

How can I get keypoints for my specific location? Thank you, Best Regards,

2015-03-18 10:52:11 -0600 commented answer How to extract BRIEF descriptor for the keypoint on given location.

Ok, Thank you :)

2015-03-18 08:41:35 -0600 commented answer How to extract BRIEF descriptor for the keypoint on given location.

@berak, No Problem :) Thanks btw. @Guanta, can you guide please

2015-03-18 08:25:57 -0600 commented answer How to extract BRIEF descriptor for the keypoint on given location.

Thank you berak. I am sorry to be too naive. I am working in matlab file. I connected opencv with matlab through mexopencv. I did not import cv either. how can I import cv2 ? should I import it in .m file?

2015-03-18 08:06:55 -0600 received badge  Supporter (source)
2015-03-18 08:02:46 -0600 commented answer How to extract BRIEF descriptor for the keypoint on given location.

Ok, Can you please share the link from where I can download and use it?

2015-03-18 07:41:11 -0600 commented answer How to extract BRIEF descriptor for the keypoint on given location.

Thank you Guanta for your response. Yes, I want to convert points into keypoints. But I am not able to do this.

cv.Keypoint() is not working. it seems this function is not avaialable???

I am using opencv in MATLAB that i connected through mexopencv ( By follwing the guidlines given here http://vision.is.tohoku.ac.jp/~kyamag... )

Best Regards,

2015-03-18 07:02:11 -0600 asked a question How to extract BRIEF descriptor for the keypoint on given location.

Hello,

I recently started working with opencv. I want to extract BRIEF descriptors for some keypoints. For this I am using this code.

    detector = cv.FeatureDetector('STAR');
    keypoints = detector.detect(im);
    extractor = cv.DescriptorExtractor('BRIEF');
    descriptors = extractor.compute(im, keypoints);

This code is working fine. But what I actually want is, I want to provide location of keypoints by myself. For Example, I want to extract BRIEF descriptor for the keypoints on location (16,16). Apparently, I can write the code in this way

    detector = cv.FeatureDetector('STAR');
    keypoints = detector.detect(im, [16,16]);
    extractor = cv.DescriptorExtractor('BRIEF');
    descriptors = extractor.compute(im, keypoints);

Of course, This is not working. How can I extract BRIEF descriptor for my defined location??? I have already done it with SURF, BRISK and FREAK in matlab. But I want to do it with BRIEF descriptor.

Thank you, Best Regards.