OpenCV  4.5.4
Open Source Computer Vision
Functions

Functions

void cv::sfm::meanAndVarianceAlongRows (InputArray A, OutputArray mean, OutputArray variance)
 Computes the mean and variance of a given matrix along its rows. More...
 
Mat cv::sfm::skew (InputArray x)
 Returns the 3x3 skew symmetric matrix of a vector. More...
 

Detailed Description

Function Documentation

◆ meanAndVarianceAlongRows()

void cv::sfm::meanAndVarianceAlongRows ( InputArray  A,
OutputArray  mean,
OutputArray  variance 
)

#include <opencv2/sfm/numeric.hpp>

Computes the mean and variance of a given matrix along its rows.

Parameters
AInput NxN matrix.
meanOutput Nx1 matrix with computed mean.
varianceOutput Nx1 matrix with computed variance.

It computes in the same way as woud do reduce but with Variance function.

◆ skew()

Mat cv::sfm::skew ( InputArray  x)

#include <opencv2/sfm/numeric.hpp>

Returns the 3x3 skew symmetric matrix of a vector.

Parameters
xInput 3x1 vector.

Reference: [103], p581, equation (A4.5).