Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think you're passing an invalid flag, CV_SVD_U_T. The documentation for SVD::compute says

  • flags – operation flags - see SVD::SVD().

There are 3 options

  • SVD::MODIFY_A
  • SVD::NO_UV
  • SVD::FULL_UV

Maybe you want SVD::FULL_UV ?