我在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)任何帮助都很感激。
发布于 2015-07-04 11:59:07
它是固定的,我用这些来修正错误:
https://stackoverflow.com/questions/31211409
复制相似问题