Ask Your Question

dazdylz's profile - activity

2016-01-09 13:05:17 -0600 commented question Comparing two images (rotate, brightness)

template

Did not saw your comment, This should be a better template, and then just run HoughCircles again?

2016-01-09 12:45:16 -0600 received badge  Editor (source)
2016-01-09 12:44:34 -0600 commented question Comparing two images (rotate, brightness)

All right, so I now have this: double dist = matchShapes(findContours(temp)[0], findContours(backgroundElem(roi, d))[0], CV_CONTOURS_MATCH_I1, 0); cout << dist << endl;

dist gives some random values, what do I do know?

2016-01-09 11:05:24 -0600 commented question Comparing two images (rotate, brightness)

It should compare the colors and that it has a inner circle in it

2016-01-09 06:32:05 -0600 asked a question Comparing two images (rotate, brightness)

Hi,

So I have this:

image description

I need to compare the template (left window) with the detected one (middle window)

What is the best way to do this? As you can see, it can be rotated and the brightness can be diffrent?

UPDATE:

All right, so I now have this

double dist = matchShapes(findContours(temp)[0], findContours(backgroundElem(roi, d))[0], CV_CONTOURS_MATCH_I1, 0);
 cout << dist << endl;

dist gives some random values, what do I do know?