java - 升级到Boofcv最新版本

标签 java image-processing boofcv

我当前正在运行旧版本 (0.17) 的 Boofcv 并且想要升级。文档( https://boofcv.org/index.php?title=Download )令人困惑:

The easiest way to use boofcv is to reference its jars on Maven Central. See below for Maven and Gradle code. BoofCV is broken up into many modules. To make it easier to use BoofCV all of its core functionality can be referenced using the 'all' module. Individual modules in "integration" still must be referenced individually.

Artifact List

boofcv-core : All the core functionality of BoofCV
boofcv-all : All the core and integration packages in BoofCV. YOU PROBABLY WANT CORE AND NOT THIS

这是自相矛盾的 - 我们使用“全部”还是“核心”?

当我引入 0.32 版本的 boofcv-core 时,我得到了许多 Unresolved reference 资料,例如 描述资源路径位置类型 ImageFloat32 无法解析为 BoofCVTest.java 类型

我的问题分为三个部分: 图像的基本类型是否已重命名? 遗留代码将如何需要编辑? Maven 中默认的库集是什么?

最佳答案

自 0.17 以来,由于事情变得越来越冗长以及为了简化 API,进行了大量重构。例如,ImageFloat32 现在是 GrayF32。找出所有更改的最简单方法是查看相关示例代码。

对于模块,从 boofcv-core 开始。然后根据需要添加集成中列出的模块。例如,如果您需要 android 支持,请添加 boofcv-android。如果您包含 boofcv-all,您将拥有很多可能不需要的东西,例如 Kinect 支持。

关于java - 升级到Boofcv最新版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54035630/

相关文章:

java - 在 Fragment 的 onAttach(Activity) 中存储 Activity

.net - GDI+ 用这个 "generic error"害死我了

java - 如何改进Java中的反转+灰度运算符?

java - Spring MVC 中 API 相关逻辑放在哪里?

java - Tomcat 5.5 DBCP 连接池数据源关闭

Java 事件 - java.util.ConcurrentModificationException

python - Python opencv过滤感兴趣区域之外的所有内容

matlab - 使用 MATLAB 实现视频稳定

.net - 视频转全景图