Boofcv Video Mosaic示例编译错误

时间:2015-07-03 16:55:35

标签: boofcv

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

enter image description here

错误:

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)

任何帮助表示感谢。

1 个答案:

答案 0 :(得分:0)

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

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