2016-11-11 06:13:54 -0600 | received badge | ● Necromancer (source) |
2014-02-17 09:39:44 -0600 | answered a question | How can I reference a standalone OpenCV installation inspite of having other version of Opencv version in ROS I had the same problem. The thing is ros sets CPATH variable to something like: Then when compiling gcc always finds ROS opencv headers instead of the standalone ones... So I ended up just deleting CPATH whenever I need to compile somthing with the OpenCV standalone version. |
2013-12-17 03:47:49 -0600 | asked a question | Pose from Fundamental matrix and vice versa I have computed the Fundamental Matrix between two cameras using opencv's findFundamentalMat. Then I plot the epipolar lines in the image. And I get something like: Now, I tried to get the pose from that fundamental matrix, computing first the essential matrix and then using Hartley & Zissserman approach. In order to check everything until here was correct, I recompute E and F and plot the epipolar lines again. But surprise, the lines have moved and they don't go through the points anymore. Have I done something wrong? It looks similar to this question http://answers.opencv.org/question/18565/pose-estimation-produces-wrong-translation-vector/ The matrices I get are: |
2013-11-29 09:14:14 -0600 | commented question | Selecting pixel with mouse That could be the reason... But it happens as well with the hole icon inside the same pixel ! |
2013-11-29 08:20:40 -0600 | asked a question | Selecting pixel with mouse I'm using the cv2.setMouseCallback function to select a pixel of an image shown in a window. The callback function returns an x and y integers that represent the position of the pixel in the image, but paying attention to it's behaviour it seems to me that doesn't return the pixel you are over but the rounded value of a point in an imaginary axis. If you look at the two first images, in both the mouse is over the pixel 0,0 but the result is diferent if you move closer to other pixels. Ok. I know in a real image the error is insignificant, but is this a bug? |
2013-11-26 05:22:52 -0600 | commented answer | rectify fisheye stereo setup Hi Jenseb. How did you manage to solve your situation? Did you finally implement these constraints? I made a look to the code, but it doesn't seem easy to implement it to me... |
2013-11-26 05:18:19 -0600 | commented answer | rectify fisheye stereo setup Would be possible to share that piece of code you modified somewhere Kristian? It would help a lot other users. Cheers |
2013-11-21 11:13:08 -0600 | commented answer | Stereo Rectification - Rectified image larger than original one Invalid means, that there will be black pixels, as they aren't in the original images... Alpha should go from 0 to 1... -1 it's like default value. I don't get what part of the image you want to cut... |
2013-11-21 09:05:34 -0600 | answered a question | Stereo Rectification - Rectified image larger than original one What is happening is that only the valid points on the images are shown. Have a look at the documentation of alpha parameter of stereorectify. If you set alpha to 1 you will see all the original pixels in the rectified image. |
2013-11-21 08:37:26 -0600 | asked a question | Wide angle lenses calibration with Opencv I'm using a wide-angle lens (178ยบ Diagonal FOV ) and I'm trying to calibrate it properly using Opencv Calibration module. All the detection and calibration process are working fine, but the result is very poor. I have tried many different configurations:
The best I can get is something like: Any ideas about how could I get a good calibration? Do you think using two calibrattion patterns at the same time, or using a circles grid as calibration pattern would help? I've tried as well the opencv 3.0 thin prism coeffs, but they didn't help. |
2013-09-10 04:48:23 -0600 | received badge | ● Supporter (source) |
2013-09-04 02:34:51 -0600 | asked a question | projectPoints fails with points behind the camera I'm using the pojectPoints opencv function to get the projection of a 3d point in a camera image plane. The problem I'm facing is when Z (in camera local frame) is negative, instead of returning a point out of the image boundaries, it returns me the symmetric (Z positive) instead. I was expecting that function to check for positive Z values... I can check this manually by myself, but is there a better way? Thanks! |
2013-07-11 07:21:14 -0600 | received badge | ● Editor (source) |
2013-07-11 07:18:27 -0600 | commented answer | Merge separated bayer channels. Thanks alberto but is no that. I think it's actually the other way around, what I want to do is redo the original bayer image from the jpegs in the most efficient way possible. |
2013-07-08 10:19:17 -0600 | received badge | ● Student (source) |
2013-07-08 09:06:56 -0600 | asked a question | Merge separated bayer channels. Hi, I have a camera that is giving 4 separated JPEG images for the 4 different Bayer channels (B,G1,G2,R). I want to transform this in to a colour image. What I'm doing at the moment is uncompress the jpeg, restore the "original" image manually and converting to a colour image using cvtColor. But this is too slow. How could I do it better? Edit: It seems that where it takes more time is when decoding the jpeg image. Has anybody found out a work around for this? |