use of boofcv.struct.image.GrayU16 in project BoofCV by lessthanoptimal.
the class TestVisOdomPixelDepthPnP_to_DepthVisualOdometry method createAlgorithm.
protected DepthVisualOdometry<GrayU8, GrayU16> createAlgorithm() {
PkltConfig config = new PkltConfig();
config.pyramidScaling = new int[] { 1, 2, 4, 8 };
config.templateRadius = 3;
ConfigGeneralDetector configDetector = new ConfigGeneralDetector(600, 3, 1);
PointTrackerTwoPass<GrayU8> tracker = FactoryPointTrackerTwoPass.klt(config, configDetector, GrayU8.class, GrayS16.class);
DepthSparse3D<GrayU16> sparseDepth = new DepthSparse3D.I<>(depthUnits);
return FactoryVisualOdometry.depthDepthPnP(1.5, 120, 2, 200, 50, false, sparseDepth, tracker, GrayU8.class, GrayU16.class);
}
Aggregations