public static < I extends ImageGray < I > , D extends ImageGray < D > > PointTracker < I > dda_FAST_BRIEF ( ConfigFastCorner configFast , ConfigGeneralDetector configExtract , int maxAssociationError , Class < I > imageType ) { DescribePointBrief < I > brief = FactoryDescribePointAlgs . brief ( FactoryBriefDefinition . gaussian2 ( new Random ( 123 ) , 16 , 512 ) , FactoryBlurFilter . gaussian ( ImageType . single ( imageType ) , 0 , 4 ) ) ; GeneralFeatureDetector < I , D > corner = FactoryDetectPoint . createFast ( configFast , configExtract , imageType ) ; EasyGeneralFeatureDetector < I , D > easy = new EasyGeneralFeatureDetector <> ( corner , imageType , null ) ; ScoreAssociateHamming_B score = new ScoreAssociateHamming_B ( ) ; AssociateDescription2D < TupleDesc_B > association = new AssociateDescTo2D <> ( FactoryAssociation . greedy ( score , maxAssociationError , true ) ) ; DdaManagerGeneralPoint < I , D , TupleDesc_B > manager = new DdaManagerGeneralPoint <> ( easy , new WrapDescribeBrief <> ( brief , imageType ) , 1.0 ) ; return new DetectDescribeAssociate <> ( manager , association , new ConfigTrackerDda ( ) ) ; }
Creates a tracker which detects FAST corner features and describes them with BRIEF .