不同版本的OpenCV使用的是什么版本的libpng?

What version of libpng is used in different versions of OpenCV?

在我的应用程序中,我正在读取 .png 图像并进行一些处理。 OpenCV 2.4.9 和 OpenCV 3.0.0(均用于 windows)的输出并不准确。潜在的错误可能是什么。导致问题的两个版本的 libpng 是否有任何差异。

另外,windows 的 OpenCV 和 Android.

Is there any difference in libpng in both the versions which is causing the problem.

您可以使用 cv::getBuildInformation() 检查(参见 here

Also is there any possibility that the libs (e.g. libpng) or the version of libs is different in same version (say 2.4.9 or 3.0.0) of OpenCV for windows and OpenCV for Android.

当然可以。 OpenCV 动态链接到 libPNG。构建甚至可以使用系统 libPNG(例如在 Linux 发行版上)而不是捆绑的 libPNG。