Update cv::calcCovarMatrix API to use vectors rather than an array and length (Feature #494)


Added by Stephen McKeague over 14 years ago. Updated almost 13 years ago.


Status:Done Start date:
Priority:Normal Due date:
Assignee:Marina Kolpakova % Done:

0%

Category:imgproc, video
Target version:2.4.0
Difficulty: Pull request:

Description

The C++ API for cv::calcCovarMatrix doesn't support vectors and instead uses a very C like API

void calcCovarMatrix( const Mat* samples, int nsamples, ...

Perhaps the following API should be implemented

void calcCovarMatrix(const std::vector<Mat> samples, ...


Associated revisions

Revision c0f6e219
Added by Marina Kolpakova almost 13 years ago

calcCovarMatrix cupport fot std::vectors of cv::Mat (#494)

History

Updated by Marina Kolpakova almost 13 years ago

  • Assignee set to Marina Kolpakova

Updated by Marina Kolpakova almost 13 years ago

Since now you can use cv::calcCovarMatrix c++ interface and for std::vector<cv::Mat> too.
Thanks for reporting!

  • Status changed from Open to Done
  • Target version set to 2.4.0

Also available in: Atom PDF