【问题标题】:Boofcv Video Mosaic Example compile errorBoofcv 视频马赛克示例编译错误
【发布时间】:2015-07-04 19:59:07
【问题描述】:

我在 Eclipse 中将 "boofcv\evaluation\visualization\src" 添加到我的普通 java 项目中。我也添加了预编译库。除了这一行之外,所有其他 java 文件都很好:

错误:

Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
The constructor VideoProcessAppBase<I>(int, (color ? ImageType.ms(3, imageType) : ImageType.single(imageType))) is undefined
Type mismatch: cannot convert from ImageType<MultiSpectral<ImageSingleBand>> to Class<I>
Type mismatch: cannot convert from ImageType<MultiSpectral<ImageSingleBand>> to Class<I>
Type mismatch: cannot convert from ImageType<ImageSingleBand> to Class<I>
Type mismatch: cannot convert from ImageType<ImageSingleBand> to Class<I>

at boofcv.alg.sfm.d2.VideoStitchBaseApp.<init>(VideoStitchBaseApp.java:97)
at boofcv.alg.sfm.d2.VideoMosaicSequentialPointApp.<init>(VideoMosaicSequentialPointApp.java:55)
at boofcv.alg.sfm.d2.VideoMosaicSequentialPointApp.main(VideoMosaicSequentialPointApp.java:137)

任何帮助表示赞赏。

【问题讨论】:

    标签: boofcv


    【解决方案1】:

    它是固定的 我用这些来修复错误:

    1. 评估库不在预编译库中。我下载并添加它
    2. 我删除了同一个包中的其他 java 文件,特别是有错误的那个。我的项目中只有一个java文件

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-12-25
      • 1970-01-01
      • 1970-01-01
      • 2021-05-31
      • 1970-01-01
      • 2022-08-24
      • 2017-09-21
      • 2016-04-14
      相关资源
      最近更新 更多