Search in sources :

Example 11 with DescribeRegionPoint

use of boofcv.abst.feature.describe.DescribeRegionPoint in project BoofCV by lessthanoptimal.

the class TestWrapVisOdomDualTrackPnP method createAlgorithm.

@Override
public StereoVisualOdometry<GrayF32> createAlgorithm() {
    ConfigGeneralDetector configDetector = new ConfigGeneralDetector(600, 2, 1);
    PkltConfig kltConfig = new PkltConfig();
    kltConfig.templateRadius = 3;
    kltConfig.pyramidScaling = new int[] { 1, 2, 4, 8 };
    PointTracker<GrayF32> trackerLeft = FactoryPointTracker.klt(kltConfig, configDetector, GrayF32.class, GrayF32.class);
    PointTracker<GrayF32> trackerRight = FactoryPointTracker.klt(kltConfig, configDetector, GrayF32.class, GrayF32.class);
    DescribeRegionPoint describe = FactoryDescribeRegionPoint.surfFast(null, GrayF32.class);
    return FactoryVisualOdometry.stereoDualTrackerPnP(90, 2, 1.5, 1.5, 200, 50, trackerLeft, trackerRight, describe, GrayF32.class);
}
Also used : GrayF32(boofcv.struct.image.GrayF32) PkltConfig(boofcv.alg.tracker.klt.PkltConfig) DescribeRegionPoint(boofcv.abst.feature.describe.DescribeRegionPoint) FactoryDescribeRegionPoint(boofcv.factory.feature.describe.FactoryDescribeRegionPoint) ConfigGeneralDetector(boofcv.abst.feature.detect.interest.ConfigGeneralDetector)

Aggregations

DescribeRegionPoint (boofcv.abst.feature.describe.DescribeRegionPoint)11 FactoryDescribeRegionPoint (boofcv.factory.feature.describe.FactoryDescribeRegionPoint)9 GrayF32 (boofcv.struct.image.GrayF32)5 ConfigGeneralDetector (boofcv.abst.feature.detect.interest.ConfigGeneralDetector)4 GeneralFeatureDetector (boofcv.alg.feature.detect.interest.GeneralFeatureDetector)4 Test (org.junit.Test)4 DetectorInterestPointMulti (boofcv.abst.feature.detect.interest.DetectorInterestPointMulti)3 PkltConfig (boofcv.alg.tracker.klt.PkltConfig)3 FactoryInterestPoint (boofcv.factory.feature.detect.interest.FactoryInterestPoint)3 AssociateDescription2D (boofcv.abst.feature.associate.AssociateDescription2D)2 ScoreAssociateHamming_B (boofcv.abst.feature.associate.ScoreAssociateHamming_B)2 DetectDescribeMulti (boofcv.abst.feature.detdesc.DetectDescribeMulti)2 DetectDescribeMultiFusion (boofcv.abst.feature.detdesc.DetectDescribeMultiFusion)2 ConfigExtract (boofcv.abst.feature.detect.extract.ConfigExtract)2 NonMaxSuppression (boofcv.abst.feature.detect.extract.NonMaxSuppression)2 GeneralFeatureIntensity (boofcv.abst.feature.detect.intensity.GeneralFeatureIntensity)2 GeneralToInterestMulti (boofcv.abst.feature.detect.interest.GeneralToInterestMulti)2 InterestPointDetector (boofcv.abst.feature.detect.interest.InterestPointDetector)2 PointTracker (boofcv.abst.feature.tracker.PointTracker)2 PointTrackerToTwoPass (boofcv.abst.feature.tracker.PointTrackerToTwoPass)2