使用OpenCV 2.4.1时出错

时间:2012-07-04 09:00:43

标签: image-processing opencv object-recognition

我有opencv的delphi-7包装器。

执行某些OpenCV方法时出现以下错误:

cvPyrDown - error: External exception E06D7363.
    main thread ($1e24):
    7c812afb +000052 kernel32.dll                               RaiseException
    008af8ec +00004c MSVCR90D.dll                               _CxxThrowException
    1022d1bd +226673 opencv_core241d.dll                        ?    error@cv@@YAXABVException@1@@Z
    00ae084b +1aba11 opencv_imgproc241d.dll                     cvPyrDown
    0049a3f6 +00013e TestProject.exe        OpenCV_Test  93 +23 FindSquares

cvSetImageCOI: error: External exception E06D7363.
    main thread ($192c):
    7c812afb +000052 kernel32.dll                            RaiseException
    008af8ec +00004c MSVCR90D.dll                            _CxxThrowException
    1022d1bd +226673 opencv_core241d.dll                     ?error@cv@@YAXABVException@1@@Z
    1006572c +06235a opencv_core241d.dll                     cvSetImageCOI
    0049a410 +000160 TestProject.exe     OpenCV_Test  99 +29 FindSquares

有什么问题或可能有问题?

1 个答案:

答案 0 :(得分:0)

解决。目标图像中的图像通道数存在问题。