パラメタ: samples – 個別の行列,あるいは1つの行列の列や行として格納されているサンプル. nsamples – サンプルが個別の行列に格納されている場合のサンプル数. covar – 出力される共分散行列. type= ctype の正方行列となります.
opencv.jp