Ask Your Question
0

StereoCalibrate hack

asked 2016-03-04 06:01:35 -0500

I have a problem with stereocalibrating images using opencv StereoCalibrate. Basically this is because of rather poor quality of photos I use (640x480 blurry images). However, I have got an idea, that I can put a good quality texture over the photos in some image editor (e.g. Photoshop), for it seems to me now that to determine relative camera position you just need somehow to find out where are the corresponding points are, and this approach seems to preserve this information. Of course, I will loose some information about distortion coefficients.

How do you think, is it correct way?

edit retag flag offensive close merge delete

Comments

I don't think it will work. When you use a chessboard pattern, you need to retrieve the 2D information (with image processing) and the 3D information (the chessboard 3D model is known).

In your case, if I have understood correctly what you want to do, you would have to put the texture in a way that the 2D reprojection of the texture is coherent with the object pose.

Eduardo gravatar imageEduardo ( 2016-03-04 08:18:46 -0500 )edit

Yes, the idea is to overlay chessboard texture on a real chessboard photo. So, I know it's real sizes and all the rest, I just want to enhance it's image on photos. Of course, I will rotate and transform it so that it sits into it's place on every photo manually.

aspirisha gravatar imageaspirisha ( 2016-03-04 10:28:31 -0500 )edit

If you cannot take better images, you can try your idea. If you manage to place your texture in the same way as the chessboard would be back projected in the image, the approach is correct in my opinion (at least for pose estimation, maybe also for the estimation of the focal length and for the estimation of the principal point).

Eduardo gravatar imageEduardo ( 2016-03-04 11:02:16 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-07 05:53:20 -0500

So,to anyone who might be interested, I tested the approach. It seems to work more or less fine, yet I got a big Z-ccordinate offset and currently can't understand why.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-03-04 06:01:35 -0500

Seen: 106 times

Last updated: Mar 07 '16