Camera Calibration: pixel focal length and millimeter focal length conversion

Source: Internet
Author: User

1. pixel focal length and millimeter focal length conversion
  Fu = Ku * DPX;
  FV = Kv * dpy;
1) ku and KV are pixel focal lengths in the X (U) and Y (v) Directions of the internal camera matrix;
2) Fu and FV are the millimeter focal lengths in the X (U) and Y (v) Directions of the camera respectively;
3) DPX and dpy are measured in mm/pixel;
4) DPX and dpy indicate valid X (y) dimension of pixel in frame Graber, respectively, and the effective size of pixels in the horizontal (vertical) Direction of the imaging plane.

2. Calculate the pixel interval between the horizontal and vertical directions based on the fccdsize of the CCD size. The unit is mm)
1) DPX = DX * NCX/nfx;
  Dpy = Dy;

2) dx = (1/fccdsize * 25.4*4/5)/picture_cx;
  DY = (1/fccdsize * 25.4*4/5)/picture_cy;
Note: Dx and Dy are respectively X (y) dimension of camera's sensor element (in mm );
   25.4 meaning: 1inch inches =25.4mm;
   4 and 3 represent the X-and y-direction pixel ratios of CCD, which are generally the aspect ratio of the image;
   In the format, picture_cx and picture_cy are generally the width and height of the image.
3. NCX is the desired number (provided by the manufacturer) in the X direction, which is generally equal to the image width.
  Nfx is the number of pixels sampled per line of the camera, and the X-direction size of the image (number of pixels), which is generally equal to the width of the image.
  Fccdsize is the CCD size, which is generally 1/2, 1/3, 1/5, etc. camera parameters are provided by the manufacturer.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.