error: The function/feature is not implemented (Odd-size DCT's are not implemented)in function cvDCT.

然后我在使用函数cvDCT(...)时,它所处理的矩阵的行数和列数必须是偶数。如果行列中任何一个是奇数,则会报错,如下:
  The function/feature is not  implemented (Odd-size DCT's are not implemented)in function cvDCT.

我了解一点DCT的实现,但不知道在opencv中DCT是如何实现的。

希望哪位前辈能解释一下这个。

为什么行或列是奇数则不能实现?

原文地址:https://www.cnblogs.com/wyuzl/p/7883530.html