Ask Your Question

x10s's profile - activity

2016-11-04 14:14:20 -0600 received badge  Enthusiast
2016-10-18 09:22:55 -0600 commented question Reduce reprojection error from computed Homography

That helped, thanks! They had a very good depiction of the two valid conditions and how they work.

2016-10-18 09:22:11 -0600 received badge  Organizer (source)
2016-10-17 10:04:02 -0600 commented answer Sobel function documentation

Delta is usually used in math to refer to a change in value e.g x +/- delta

2016-10-14 13:37:23 -0600 answered a question Sobel function documentation

A simple search in the documentation gave me this http://docs.opencv.org/2.4/modules/im...

scale is the scaling factor for the computed derivatives while delta is the delta that can be added to the output image before it is stored. borderType should be the way the border pixels are extrapolated(I'm not a 100% sure on this)

2016-10-13 22:54:01 -0600 commented answer Videocapture in opencv 3.0.0 is not reading the video

dll? Your original question says that you're on a linux machine and your file paths indicate the same. Have you followed the correct compile and install procedure for opencv on linux?

2016-10-13 10:55:46 -0600 commented answer Videocapture in opencv 3.0.0 is not reading the video

No, that's what I meant. The only other thing I can think of are unmet dependencies like ffmpeg?

2016-10-13 09:27:19 -0600 commented question Reduce reprojection error from computed Homography

I realized that my purely rotating camera has some translation which maybe the cause for the Homography to be bad overall. My scene does not have a planar surface as of now. I shall be testing my hypothesis today. This link states the two conditions when a Homography is valid but doesn't explain it very well :(

2016-10-13 09:19:34 -0600 commented answer Videocapture in opencv 3.0.0 is not reading the video

Does your program have read permissions on the video file?

2016-10-12 15:06:35 -0600 commented answer Errors on compiling OpenCV on MacOS Sierra

I missed this but I hope you skipped checking out the release branch for opencv_contrib as well. They need to be the same version.

2016-10-12 14:10:40 -0600 answered a question Errors on compiling OpenCV on MacOS Sierra

Clone the opencv repo to a new folder and don't do the checkout step i.e.

git checkout 3.0.0

The rest of the steps can be followed as mentioned in the link. This means you will be working with the dev branch instead of the release branch. The dev branch has the fix.

2016-10-12 13:23:32 -0600 answered a question Camera pose (pitch, roll, yaw) from observing ceiling from two different positions

Have you tried using the matched image co-ordinates from the two images of the planar surface and computing the homography to calculate the euler angles(i.e. pitch, yaw and roll) ?

P.S Apologies for the throwback as I just noticed this question is from more than a year ago.

2016-10-12 13:15:40 -0600 answered a question Videocapture in opencv 3.0.0 is not reading the video

You should check if the video you're trying to read is opened before trying to read a frame and convert it to grayscale.

  cap = cv2.VideoCapture("/home/user/.VIRTUALENVS/cv/lib/python2.7/site-packages/ped1.avi")
  while(cap.isOpened()):
    ret, frame1 = cap.read()
    if ret:
      prvs = cv2.cvtColor(frame1,cv2.COLOR_BGR2GRAY)
2016-10-12 12:21:51 -0600 received badge  Editor (source)
2016-10-12 10:23:43 -0600 commented question Reduce reprojection error from computed Homography

Thank you for your input. I shall edit my question to be more specific :)

2016-10-11 20:45:07 -0600 asked a question Reduce reprojection error from computed Homography

Hello,

I am computing the Homography between two images and using that to estimate the change in camera pose.

  1. The images are being taken by a camera rotating about the z-axis(or a purely rotating camera)
  2. I use a feature detection method e.g. SIFT/SURF/ORB and use the Flann matcher to get the putative matches. On visual inspection the matches look correct.
  3. The outlier detection method being used is RANSAC with a low reprojection threshold of 1.0
  4. When the yaw between images taken is larger than 15 degrees or so, the matches look right on visual inspection but the average reprojection error((I calculate this myself using x' - H*x)) goes high. And unfortunately its not just a few outliers, the reprojection error is high with all the matches.
  5. The matches are the close to the image boundaries i.e. in the first image the interest points are close to the right boundary and in the second image its close to the left boundary. Not sure if this changes anything though.

Are there any guidelines to improve the re-projection error(and so the Homography)? Or does anyone know of any literature that could help?

Thanks!