我在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)
任何帮助表示感谢。
答案 0 :(得分:0)
它是固定的 我用这些来修复错误: