The iron ML notebook
  • The iron data science notebook
  • ML & Data Science
    • Frequent Questions
      • Discriminative vs Generative models
      • Supervised vs Unsupervised learning
      • Batch vs Online Learning
      • Instance-based vs Model-based Learning
      • Bias-Variance Tradeoff
      • Probability vs Likelihood
      • Covariance vs Correlation Matrix
      • Precision vs Recall
      • How does a ROC curve work?
      • Ridge vs Lasso
      • Anomaly detection methods
      • How to deal with imbalanced datasets?
      • What is "Statistically Significant"?
      • Recommendation systems methods
    • Statistics
      • The basics
      • Distributions
      • Sampling
      • IQR
      • Z-score
      • F-statistic
      • Outliers
      • The bayesian basis
      • Statistic vs Parameter
      • Markov Monte Carlo Chain
    • ML Techniques
      • Pre-process
        • PCA
      • Loss functions
      • Regularization
      • Optimization
      • Metrics
        • Distance measures
      • Activation Functions
      • Selection functions
      • Feature Normalization
      • Cross-validation
      • Hyperparameter tuning
      • Ensemble methods
      • Hard negative mining
      • ML Serving
        • Quantization
        • Kernel Auto-Tuning
        • NVIDIA TensorRT vs ONNX Runtime
    • Machine Learning Algorithms
      • Supervised Learning
        • Support Vector Machines
        • Adaptative boosting
        • Gradient boosting
        • Regression algorithms
          • Linear Regression
          • Lasso regression
          • Multi Layer Perceptron
        • Classification algorithms
          • Perceptron
          • Logistic Regression
          • Multilayer Perceptron
          • kNN
          • Naive Bayes
          • Decision Trees
          • Random Forest
          • Gradient Boosted Trees
      • Unsupervised learning
        • Clustering
          • Clustering metrics
          • kMeans
          • Gaussian Mixture Model
          • Hierarchical clustering
          • DBSCAN
      • Cameras
        • Intrinsic and extrinsic parameters
    • Computer Vision
      • Object Detection
        • Two-Stage detectors
          • Traditional Detection Models
          • R-CNN
          • Fast R-CNN
          • Faster R-CNN
        • One-Stage detectors
          • YOLO
          • YOLO v2
          • YOLO v3
          • YOLOX
        • Techniques
          • NMS
          • ROI Pooling
        • Metrics
          • Objectness Score
          • Coco Metrics
          • IoU
      • MOT
        • SORT
        • Deep SORT
  • Related Topics
    • Intro
    • Python
      • Global Interpreter Lock (GIL)
      • Mutability
      • AsyncIO
    • SQL
    • Combinatorics
    • Data Engineering Questions
    • Distributed computation
      • About threads & processes
      • REST vs gRPC
  • Algorithms & data structures
    • Array
      • Online Stock Span
      • Two Sum
      • Best time to by and sell stock
      • Rank word combination
      • Largest subarray with zero sum
    • Binary
      • Sum of Two Integers
    • Tree
      • Maximum Depth of Binary Tree
      • Same Tree
      • Invert/Flip Binary Tree
      • Binary Tree Paths
      • Binary Tree Maximum Path Sum
    • Matrix
      • Set Matrix Zeroes
    • Linked List
      • Reverse Linked List
      • Detect Cycle
      • Merge Two Sorted Lists
      • Merge k Sorted Lists
    • String
      • Longest Substring Without Repeating Characters
      • Longest Repeating Character Replacement
      • Minimum Window Substring
    • Interval
    • Graph
    • Heap
    • Dynamic Programming
      • Fibonacci
      • Grid Traveler
      • Can Sum
      • How Sum
      • Best Sum
      • Can Construct
      • Count Construct
      • All Construct
      • Climbing Stairs
Powered by GitBook
On this page
  • Extrinsic parameters
  • Intrinsic parameters

Was this helpful?

  1. ML & Data Science
  2. Machine Learning Algorithms
  3. Cameras

Intrinsic and extrinsic parameters

PreviousCamerasNextComputer Vision

Last updated 7 months ago

Was this helpful?

What are Intrinsic and Extrinsic Camera Parameters in Computer Vision? ()

These are parameters used for transforming the world into a 2D plane. More specificly, they are transformation matrices to convert points from one system to another.

Extrinsic parameters

  • Depends on the localization and orientation of the camera in the world coordinate system.

  • They describe the transformation from the world coordinates to the camera's coordinate system.

  • They are:

    • Rotation Matrix (R):

      • A 3x3 matrix that represents the rotation of the camera in the world coordinate system. It describes how the camera's axes are oriented relative to the world's axes.

    • Translation Vector (t):

      • A 3x1 vector that defines the camera's position in the world coordinate system. It describes the shift from the world's origin to the camera's origin.

    The extrinsic parameters are usually combined into a 3x4 matrix:

E=[R∣t]E = [R | t]E=[R∣t]

Intrinsic parameters

  • Properties of the camera itself and relate to how it captures images.

  • The matrix transforms 3D world coordinates to the 2D image coordinates in the camera frame.

  • These are some of the parameters:

    • Focal length (f): distance between the camera's lens and the image sensor.

    • Principal Point (c): point in the image where the optical axis intersects the image plane.

    • Skew Coefficient (s): angle between the x and y pixel axes.

    • Distortion Coefficients

The intrinsic parameters are typically represented in a 3x3 matrix:

K=[fxscx0fycy001]K = \begin{bmatrix} f_x & s & c_x \\ 0 & f_y & c_y \\ 0 & 0 & 1 \end{bmatrix}K=​fx​00​sfy​0​cx​cy​1​​

Where:

  • f_x​ and f_y​ are the focal lengths along the x and y axes.

  • s is the skew coefficient.

  • (c_x, c_y) is the principal point.

Aqeel Anwar