Ask Your Question

Doomb0t's profile - activity

2015-11-12 19:47:34 -0500 received badge  Nice Question (source)
2015-08-27 12:25:31 -0500 commented question Contador de Vehiculos con OpenCV y C++

No esta un problema si tu Ingles esta mal, estamos entendiendo (mi espanol no esta bien tambien ;) )

2015-08-24 09:43:03 -0500 commented question how to manage memory consumption in Features2D + Homography

ORB and BRISK are supposedly designed to run on low memory devices OR run faster on high end devices. They also are free of any patents whatsoever, contrary to SURF...

2015-07-03 11:55:00 -0500 commented answer Knn match for blobs

Thanks! Actually, I already know the area of each of my blobs, so right now I am able to pair them "by hand". I was just looking if there was an already made function in OpenCV instead of having to do it myself. It's Friday and I don't want to reinvent the wheel if possible :)

2015-07-03 10:28:05 -0500 commented question Knn match for blobs

Well, actually I must do a comparative study between some methods such as ORB, BRISK, etc. and blob detection, over a wide range of synthetic and real life images, in order to characterize their functioning under some circumstances... This is in relation with my master's thesis. So it is normal that blobs won't work well in a lot of situations, but I need to show which ones...

2015-07-03 09:51:43 -0500 commented question Knn match for blobs

Yeah, I know this is only relevant in some special cases. Right now, I use synthetic images that are simple enough for it to work...

2015-07-03 09:34:50 -0500 asked a question Knn match for blobs

Is there a ready made solution to match blobs (detected by the SimpleBlobDetector) the same way that one may match keypoint descriptors such as ORB in OpenCV?

I mean, when using the "detect" method of the blob detector, it stores the blobs as a vector of keypoints and, given that I used the relevant parameters, it gives me the area of each blobs. Now, I have two vectors of keypoints/blobs from two images and I want to match the blobs. Using something like knnmatch requires descriptors as inputs.

I thought of 2 possibilities, but I would prefer if there was something already optimized.

  • Implement by myself the matching algorithm so that it takes as input two vector of keypoints and as output a vector of vector of DMatches (I don't trust myself to make this more efficient than a naive implementation) OR
  • Create a routine that fills a mat of descriptors, with each areas encoded as a bit vector to make it look like a standard descriptors. Then use knnmatch.

Does anyone know of an alternative? Thanks :)

2015-07-02 09:32:32 -0500 commented question Correlation of high resolution images

You might want to use binary descriptors such as ORB or BRISK They are quite faster than SURF or SIFT, there are no patents on them! Usually the quality of the detection is similar or pretty close to SURF, but they are optimized to run fast on modern processors

2015-07-02 09:29:45 -0500 commented question more SIFT matches than descriptors

Maybe change to k=1? in c++, K=2 means that you want the 2 best candidate matches for a specific feature...

2015-06-26 12:41:15 -0500 commented question Drawmatches throws error when trying to use only good matches

Mmmm sorry that I don't have much time at hand right now, but it seems that you are confusing between a vector of vector of keypoints and a plain simple vector of keypoints. But I am unsure, if somebody else could check it would be great!

2015-06-23 05:07:42 -0500 received badge  Student (source)
2015-06-22 10:59:13 -0500 commented question OpenCV to measure fish length

Do you really need 2 cameras? I mean, if you lay the fish flat on a table close to a ruler, then take a picture with a single camera, you can determine that 1 cm equals n pixels. So, finding the length would not be hard... Then we don't know if it possible for you to put the fish on a table ;)

2015-06-17 15:25:29 -0500 commented question What's the best way to create a 3-channel grayscale from BGR?

First, you must understand that a MxNx3 in greyscale doesn't exist. I mean, the concept of greyscale is that you have one channel describing the intensity on a gradual scale between black and white. So, it is not clear why would you need a 3 channels greyscale image, but if you do, I suggest that you take the value of each pixel of your 1 channel greyscale image and that you copy it three times, one on each channel of a BGR image. When a BGR image has the same value on each channel, it appears to be grey. I don't program in Python so I can't provide a direct code...

2015-05-25 13:26:57 -0500 commented answer Too many outliers in findHomography

That's it!

2015-05-22 14:40:34 -0500 commented question Quality findHomography OpenCV 3 vs. OpenCV 2
2015-05-22 14:31:00 -0500 commented answer Too many outliers in findHomography

You could look at this: This was not applicable for me but MAYBE it could fit your needs

2015-05-22 09:34:45 -0500 answered a question Too many outliers in findHomography

findHomography's implementation in OpenCV comes with some assumptions behind. In the "standard" case of use, you detect keypoints (x,y coordinates) in two images. According to the comments, you get keypoints as coordinates of stars from another algorithm. Now, in the standard case, you compute a "descriptor" for each keypoint in both images. I don't want to delve too much in the details, but it is a way to almost "uniquely" distinguish a keypoint from another.

When you have computed all the descriptors, you use a matching algorithm to pair a keypoint from the first set of point to a keypoint from the second set. The matching algorithm often just compare all the descriptors and pair the most similar. A good proportion of actual outliers may be matched this way, but for the usual application it is okay. Then, you use findHomography as you did and usually, good results arise.

In OpenCV's implementation of findHomography, the assumption is that all the points in input set 1 are already paired with a plausible match in the input set 2. This is where I see a problem with your use of findHomography; I am not sure that you have some way to pair those plausible matches.

In the literature, algorithms exist to match two sets of (x,y) based on their coordinates. One of them is RANSAC, and it is used in findHomography, even if it is in a form not directly of use for you.

If you ever used Matlab, this library implements RANSAC and could be of use to you:

2015-05-21 13:06:17 -0500 commented question Too many outliers in findHomography

For example, here is the tutorial suggested by OpenCV:

2015-05-21 13:02:49 -0500 commented question Too many outliers in findHomography

Could you explain/show how do you get your points (ReferenceImage_pts, ImageToRegister_pts) in the first place?

2015-05-06 07:36:27 -0500 received badge  Enthusiast
2015-04-29 13:09:28 -0500 commented answer Contact forum moderators or other users service?

@AlexanderShishkov, I have a problem with my "normal" account, so I created a new one.

2015-04-28 13:56:21 -0500 commented question Contact site admin for account issue

Ok! In my case, I had email notifications turned on some time ago so it seems my address was correctly set up in the forum.

2015-04-28 13:16:44 -0500 commented question Contact site admin for account issue

Ok, well I only had 406 karma so it's not that bad. nayway, I can access my former public profile to consult previous questions...


2015-04-28 13:03:31 -0500 commented question Contact site admin for account issue

Yes! ^^ I have been away so I completely forgot to migrate my account to a more "standard" form.

2015-04-28 12:47:33 -0500 commented question Contact site admin for account issue

An issue with the Google ID

2015-04-28 08:35:08 -0500 received badge  Supporter (source)
2015-04-28 08:34:11 -0500 commented question How to migrate from OpenId to Google+ Sign-In

what if the date is passed and I am unable to log in my OpenCV account?

2015-04-28 08:30:02 -0500 asked a question Contact site admin for account issue


how may I contact the site admin in order to retrieve an account? It wasn't hacked, but I had an issue with my account and I don't receive anything from the account retrieval system (with the email address stuff). I checked my spam btw ;)

Thanks! :)