Ask Your Question

pingping__'s profile - activity

2017-01-01 22:52:35 -0500 received badge  Notable Question (source)
2016-06-27 04:20:00 -0500 received badge  Popular Question (source)
2015-04-02 03:53:43 -0500 commented question using surffeaturedetector, findHomography() to find a match

@StevenPuttemans thanks! ill give it a try!

2015-04-01 03:43:19 -0500 commented question using surffeaturedetector, findHomography() to find a match
2015-03-31 23:32:48 -0500 commented question using surffeaturedetector, findHomography() to find a match

@StevenPuttemans sorry for the late reply Dx. i added images. is there a way to do something like that? thanks!

2015-03-08 22:09:26 -0500 commented question using surffeaturedetector, findHomography() to find a match

@StevenPuttemans yes, sorry about that. say i have a irregular shaped center (like a blob) with non straight lines coming out from the side (like sun rays). what i want to do is to remove that blob. since im new to opencv, i thought of maybe finding a match using that tutorial and then somehow remove that blob (range of that center would be given where the lines are drawn). thats what I want to achieve.. not sure if its possible though.

2015-03-08 21:42:27 -0500 commented question Mat img = imread(..) vs img = imread(..)

@FooBar there werent any error messages... a window popped up saying it stopped running and that it is checking for a solution, and on my Qt creator IDE, it says after the program closed, this: The program has unexpectedly finished.

@StevenPuttemans yes it was in the header file, but in private instead. I tried putting it as public, but it was still the same... I actually dont want to make it a local variable, but it seems like it wont crash if i do it that way.. could it be that it wasnt initialized to something? not sure how this works.. :(

2015-03-08 21:09:28 -0500 received badge  Enthusiast
2015-03-04 19:28:25 -0500 asked a question using surffeaturedetector, findHomography() to find a match

i have an image where i want to remove the center only. how can i do so?

i played around with this tutorial. at first i found a match but that was when i used 2.4. I switched over to 3.0 and even if i followed the tutorial and changed some syntax for 3.0, it doesnt find the right match.

the only things ive changed from the tutorial is

// this
SurfFeatureD`enter code here`etector detector( minHessian );
// to this
Ptr<SurfFeatureDetector> detector = SURF::create(minHessian);

//and this
SurfDescriptorExtractor extractor;
// to this
Ptr<SurfDescriptorExtractor> extractor = SURF::create();

where

int minHessian = 400;

im not sure if im instantiating it right or not. thanks in advance!

EDIT: So say i have an image like this

image description

and I want to get something like this, where the lines come to a point image description

note: opencv 3.0 beta, qt, windows 8.1

2015-03-04 14:01:57 -0500 asked a question Mat img = imread(..) vs img = imread(..)

i have img as a member in the .h file, but when i use

img = imread(..);

in the .cpp file, it crashes. however, using

Mat img = imread(..);

works. what is the difference? thanks!

note: opencv3.0 with qt

2015-03-04 13:49:23 -0500 commented question opencv 3.0 what is the correct way to use surffeaturedetector?

@berak okay thanks! ill give it a try!

2015-03-04 13:44:39 -0500 commented question opencv 3.0 what is the correct way to use surffeaturedetector?

@berak i think the surfer_matcher.cpp works, just that im not sure if the structs in the beginning is needed. sorry.. im new to opencv.

2015-03-04 13:38:21 -0500 received badge  Editor (source)
2015-03-04 13:29:00 -0500 asked a question opencv 3.0 what is the correct way to use surffeaturedetector?

I looked all over of the site and from different sites, and found that the syntax were different for each for opencv 3.0

https://github.com/Itseez/opencv_cont...

http://docs.opencv.org/trunk/doc/tuto...

http://answers.opencv.org/question/52...

all these sites provide different syntax for instantiating surffeaturedetector.

I followed the homography tutorial but it was in 2.4. When i switched to 3.0 beta, but it's not getting the same results. any guidance? thanks!

notes: windows 8.1, opencv 3.0 beta with Qt creator

EDIT: sorry wrong problem. i meant to say wrong results instead of compilation errors.

int minHessian = 40; //400

//this worked with 2.4 but didnt with 3.0
//SurfFeatureDetector detector(minHessian);

// this wouldnt work if minHessian goes over 40
Ptr<FeatureDetector> detector = FastFeatureDetector::create(minHessian);
vector<KeyPoint> keypoints_obj, keypoints_scene;
detector->detect(center, keypoints_obj);
detector->detect(theScene, keypoints_scene);