wide angle camera calibration and merge image

asked 2014-07-16 10:12:22 -0600

wuling gravatar image

updated 2014-07-16 10:14:44 -0600

Hi all, I have a case use wide angle camera to tkae picture( the same object) at two poitions , then merge image. The object almost has no any character ,i try some ways but all don't do well. I don't want stereo Image, I just want 2D image( 2D undistortion and no rotation image) and merge image perfect Does Someone has any idea or any referance can help me? I appreciate your help.

edit retag flag offensive close merge delete


What do you mean by merge? 3D reconstruction? Find 3D position of the camera related to the object? Undistorted images?

Mathieu Barnachon gravatar imageMathieu Barnachon ( 2014-07-16 10:29:45 -0600 )edit

Dear Mathieu Barnachon: Thanks your response. All are based on 2D. The two position images is the part of the object ( the object size is large so use wide angle camera and takes two images)

wuling gravatar imagewuling ( 2014-07-16 10:48:09 -0600 )edit

I assume you want to stitch two images of your object to get a single image with the entire object. Is that right? If the object has few features it will be quite difficult. Post some images to illustrate your problem.

Witek gravatar imageWitek ( 2014-07-16 11:36:40 -0600 )edit

Dear Witek yes. I check calibration plate images, left & right sides scale are different. The object is solar cell module.

wuling gravatar imagewuling ( 2014-07-16 11:55:15 -0600 )edit

Can you mount the camera somewhere and move your solar cell by an exact distance underneath? If so you could calculate the stitching transformation for a feature-rich object that you precisely move by this distance. If you make sure that your object is moved by exactly same distance, you can reuse the transformation to stitch it.

Witek gravatar imageWitek ( 2014-07-16 12:06:28 -0600 )edit

Dear Witek That's good ideal. But how to calibrate distorted image? Can I use the same size feature-rich plate ,and take two positon images then save calculate the stitching transformation? Finally, I change solar cell module and do again.

wuling gravatar imagewuling ( 2014-07-16 12:24:48 -0600 )edit

Exactly. First perform classical camera calibration. It is necessary to remove lens distortions (especially in case of a wide-lens camera) before stitching. Then, use a feature-rich, flat object (the dimensions do not have to be the same as your solar panel, only thickness or height matters) to calculate the transformation necessary to join two fragments of your object. Move the object as much as you have to move your solar panel and remember that you have to see at least the same 1/4 or even more of your object in both images! Having such 2 photos (undistorted!) calculate the transformation (homography) and join them for verification (warpPerspective). If everything works well for your pattern it will work well for your solar panel provided you move it by exactly the same distance.

Witek gravatar imageWitek ( 2014-07-16 13:39:14 -0600 )edit

Hi Witek, thanks very much. I follow the way.

wuling gravatar imagewuling ( 2014-07-16 19:59:35 -0600 )edit

Let us know how it goes.

Witek gravatar imageWitek ( 2014-07-17 13:11:26 -0600 )edit

dear Witek , it can work, thank very much.

wuling gravatar imagewuling ( 2014-08-12 10:02:22 -0600 )edit