Camera Calibration

In this project, I use simple manual camera calibation method. The setup is as follows: Assuming pin hole camera, we can utilize similar triangle methods(see below), and can come up with focal lengths equation: # fx = (dx/dX) * dZ , fy = (dy/dY) * dZ where dX, dY are the physical length & width of the object in view and dZ is the distance from object to camera. dx and dy are the corresponding pixel width & height of the object...

Panorama

CV Project 2: Panorama Mosiac Stitching 1. For "make your own 360 panorama" took 17 translated imgs of WashU's Brookings building with Iphone SE using hand (no tripod). I converted the imgs to low (640x480) pixel using imageMagick's convert tool. 2. Initially found (in mm) = 4.2mm using image's exif data. Then found f (in pixels) = 640*4.2mm/4.8mm = 560 pixels where 4.8mm was the Iphone SE's camera sensor width and 640 was the width of each down-sampled image ...