XImgprocInvokeCovarianceEstimation Method |
http://www.emgu.com
Computes the estimated covariance matrix of an image using the sliding window forumlation.
Namespace:
Emgu.CV.XImgproc
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic static void CovarianceEstimation(
IInputArray src,
IOutputArray dst,
int windowRows,
int windowCols
)
Public Shared Sub CovarianceEstimation (
src As IInputArray,
dst As IOutputArray,
windowRows As Integer,
windowCols As Integer
)
public:
static void CovarianceEstimation(
IInputArray^ src,
IOutputArray^ dst,
int windowRows,
int windowCols
)
static member CovarianceEstimation :
src : IInputArray *
dst : IOutputArray *
windowRows : int *
windowCols : int -> unit
Parameters
- src
- Type: Emgu.CVIInputArray
The source image. Input image must be of a complex type. - dst
- Type: Emgu.CVIOutputArray
The destination estimated covariance matrix. Output matrix will be size (windowRows*windowCols, windowRows*windowCols). - windowRows
- Type: SystemInt32
The number of rows in the window. - windowCols
- Type: SystemInt32
The number of cols in the window. The window size parameters control the accuracy of the estimation. The sliding window moves over the entire image from the top-left corner to the bottom right corner. Each location of the window represents a sample. If the window is the size of the image, then this gives the exact covariance matrix. For all other cases, the sizes of the window will impact the number of samples and the number of elements in the estimated covariance matrix.
See Also