2020-03-27 07:18:50 -0600 | received badge | ● Popular Question (source) |
2014-09-12 12:40:08 -0600 | asked a question | cornerSubPix returning null Mat Hi, I have been calibrating my camera with a chessboard. I have a problem when I try to use Cornersubpix() function it returns an empty Mat. Here is the code The chess is being recognized and the when I draw the corners into the image they are correctly placed. Is findChessboardCorners already doing the correction? Thanks in advance |
2014-09-10 13:31:19 -0600 | asked a question | Error transforming image_points into object_points after Calibration Hi, I have been struggling to convert image_points(2D) to object_points(3D) after calibrating my camera. The calibration is completed and reprojection error is below 0,5. If I use projectPoints() the results are accurate(3D -> 2D) but if I invert the process no valid results are thrown. I have followed this "tutorial" Here is my code S ia to high , is this a valid result? P final result is = not valid since Z= f3[0] is not equal to 0.The end result for the point obejctpoint(0,0,0) = 172, 5344, 3224 which is is crap. I have no clue why this results since I am new to camera calibration,(projectpoints works). I would really appreciate some advice or a alternative solution Thank you in advance |
2014-09-02 19:13:02 -0600 | commented answer | OpenCV Java camera calibration Thank you again for taking the time to answer my questions. I have really learned a lot in the past few days. I have two more questions, 1) I do not know the square size since the image is being projected would the pixel_size of the image be sufficient? 2) After successfully calibrating the camera I want to process some characteristics from images that are being displayed. How do I get those points without the camera distortion (projectpoints()), since I do not know which t_vec or r_vec to choose from the List that calibrateCamera() provided me . Thank you again for your time. |
2014-08-31 16:23:19 -0600 | commented answer | OpenCV Java camera calibration Hi thank you for your quick response. I really do not understand how opencv is able to calibrate the camera providing as object_points the size of the board ((0,0,0), (1,0,0)) etc). Would this calibration enable me to translate image_points into object_points inverting the process explained here without any problem with little error? Thank you in advance |
2014-08-31 16:08:18 -0600 | received badge | ● Supporter (source) |
2014-08-31 12:49:59 -0600 | asked a question | OpenCV Java camera calibration Hello, I have been struggling to calibrate my camera in a Java application . I have used the python tutorial code Python and when I tranformed it to my Java application the results are different( On the exact same image!!). Even the camera matrix has no resemblance. I don't understand why that may be. Here is the java code The corners position is exactly the same in both implementations. I have no clue on why this disparity between programs (Maybe the way I am initializing the object_points?) I hope someone could provide me a solution, Thank you in advance |