OpenCV- 使用 cvProjectPoints2 时的"Homogeneous coordinates are not supported"
OpenCV-"Homogeneous coordinates are not supported" when using cvProjectPoints2
"OpenCV错误:未知函数中的错误参数(不支持同质坐标),文件......modulescalib3dsrccalibration.cpp,第826行"
我想我得到这个错误时,将以下矩阵传递到cvProjectPoints2()函数
CvMat *dstPoints2D = cvCreateMat (4, 1, CV_32FC3);
cvProjectPoints2(srcPoints3D,rotation,translation,intrinsic_matrix,NULL,dstPoints2D);
我正在使用OpenCV 2.3.0
完整代码:http://pastebin.com/TYthn6Nt
输出需要是两个通道。将声明更改为CvMat *dstPoints2D = cvCreateMat (4, 1, CV_32FC2);
,您将不会得到错误。
相关文章:
- OpenMP卸载说'fatal error: could not find accel/nvptx-none/mkoffload'
- 使用JsonCpp将数据返回到带有pybind11的python会在python调用中产生Symbol not foun
- OpenCV Android C++ imwrite not found
- 应用程序崩溃并显示"symbol _ZdlPvm, version Qt_5 not defined in file libQt5Core.so.5 with link time reference"
- 使用单词"not"作为C ++类的名称会导致VS2019错误
- 错误"Could not find Boost"(缺少:上下文标头)
- 如何修复"error: ‘_1’ was not declared in this scope"?
- 套接字连接"Operation not permitted"错误,甚至使用升压/平发器根.cpp
- Is !NaN not a NaN?
- 为什么我会" void value not ignored as it ought to be"?
- 解决"ld: library not found for -ltensorflow_framework.2.3.0"
- 加载与引用 .NET DLL 位于同一文件夹中的引用的 .NET DLL 时"Not found"异常
- Directx 11 - CompileFromFile() is not compiling
- 方法错误"not all control paths return a value"和方法不返回值
- C++ GLSL 着色器:"error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES,
- 为什么编译器说"Static_cast from to which are not related"?
- 最新草案§8.5.3/5第(5.2.3/5)段(5.2.2.1)中的"user-defined conversions are not considered"是什么意思?
- OpenCV- 使用 cvProjectPoints2 时的"Homogeneous coordinates are not supported"
- 英特尔C++编译器给出"offload constructs are not supported on this platform"错误
- "multiple template parameter lists are not allowed" ?