2020-02-25 05:29:37 -0600 | received badge | ● Popular Question (source) |
2018-02-08 09:08:45 -0600 | received badge | ● Notable Question (source) |
2017-06-07 23:23:22 -0600 | received badge | ● Popular Question (source) |
2015-11-26 03:38:01 -0600 | asked a question | Calculate the inverse of an affine transformation matrix I have to stitch two images using OpenCV. I have very good KeyPoints detected, what I need to do is to find and apply the transformation. I have tried it but I get bad results. What I have testedAt the begining, I tested with Second, I have tested with I think that I need get the inverse of the transformation matrix If I try to use this matrix, I get an error because the previous result is a 2x2 matrix, that I can't use with Here is the code, I only want to show both transformed images: Obtained transformation matrixes Since the A * iA matrix is 2x2 and I need a 2x3 matrix to apply the affine trsansform |
2015-11-09 13:15:02 -0600 | asked a question | Stitch images with OpenCV 3 (+contrib) and Python 2.7 I want to stitch 2 mages using OpenCV 3.0 (with contrib) and Python 2.7. I have written a program to do this but the result is so bad. I'm using SIFT features to do this. I have displayed the found features and I think they are very good, the problem is the homography. The transformation applied to the images is totally wrong and I don't know why. Here are the two images that I want to stitchHere the keypointsAnd here the results after applying the homography (and its inverse)What I have testedHere my program, 90% is copied from this post: http://stackoverflow.com/questions/65... I have added two methods explained below. The implementation of my methods (more) |
2015-11-09 13:13:26 -0600 | answered a question | Filtering SIFT points by y-coordinate with OpenCV + Python I have found the solution. First of all, according to keypoints1[i] has a corresponding point in keypoints2[matches[i]] In my code, 'keypoints1' is The correspondency between Here the finally function which filter the keypoints removing all of them which y-coordinate is higher than the image's height * n, where n is a given number (between 0 and 1): |
2015-11-03 08:38:53 -0600 | asked a question | Filtering SIFT points by y-coordinate with OpenCV + Python I have the SIFT keypoints of two images (calculated with Python + OpenCV 3). I want to filter them by their y-coordinate. Specifically, I want to remove all matching points whose difference of y-coordinate is higher than the image height divided by 10, for example: If two matching points are A(x1, y1) and B(x2, y2):
What I have testHere is the code I have tested. I'm removing keypoints, but not what I want to remove. I'm not sure if I'm using |