Tutorials

Eigen Arrays, Matrices and Vectors: Definition, Initialization Resizing, Populating and Coefficient Wise Operations

 

 

Eigen Arrays, Matrices and Vectors: Definition, Initialization Resizing, Populating and Coefficient Wise Operations Read More »

Decomposing Projection Using OpenCV and C++

 

  And the output is:

 

Decomposing Projection Using OpenCV and C++ Read More »

Camera Projection Matrix with Eigen

 

Camera Projection Matrix with Eigen Read More »

Create OpenCV Matrix (cv::Mat, cv::Mat_ ) From Various Data Types

1) cv:: Mat_ You can create a matrix with cv:: Mat_

2) cv::Mat or like this with cv::Mat

if you forgot the list of data types you use

  more data types here

Create OpenCV Matrix (cv::Mat, cv::Mat_ ) From Various Data Types Read More »

Computing Fundamental Matrix and Drawing Epipolar Lines for Stereo Vision Cameras in OpenCV

Following my other post, you can extract the equation for epipolar lines. Basically choosing one point in one image and using fundamental matrix, we will get a line in the other image:

 

Computing Fundamental Matrix and Drawing Epipolar Lines for Stereo Vision Cameras in OpenCV Read More »

Creating a Simulated Stereo Vision Cameras With OpenCV and C++

n this tutorial, I created an ellipsoid in 3D space and create two cameras in right and left and captured the image:​  

 

Creating a Simulated Stereo Vision Cameras With OpenCV and C++ Read More »

How to use image_geometry and camera_info_manager in ROS

camera_info_publisher.cpp:

image_geometry_demo.cpp:

  CMakeLists.txt

   

How to use image_geometry and camera_info_manager in ROS Read More »

Simulating A Virtual Camera With OpenCV and Reverse Projection From 2D to 3D

Projection of Points from 3D in the camera plane: Computed rays from the camera origin in the direction of points:

  points are stored in CSV file like this:

The content of “reverse_projection.hpp”

The content of “transformation.hpp“

 

Simulating A Virtual Camera With OpenCV and Reverse Projection From 2D to 3D Read More »