public static < I extends ImageGray < I > , D extends ImageGray < D > > PointTracker < I > dda_ST_BRIEF ( int maxAssociationError , ConfigGeneralDetector configExtract , Class < I > imageType , Class < D > derivType ) { if ( derivType == null ) derivType = GImageDerivativeOps . getDerivativeType ( imageType ) ; DescribePointBrief < I > brief = FactoryDescribePointAlgs . brief ( FactoryBriefDefinition . gaussian2 ( new Random ( 123 ) , 16 , 512 ) , FactoryBlurFilter . gaussian ( ImageType . single ( imageType ) , 0 , 4 ) ) ; GeneralFeatureDetector < I , D > detectPoint = createShiTomasi ( configExtract , derivType ) ; EasyGeneralFeatureDetector < I , D > easy = new EasyGeneralFeatureDetector <> ( detectPoint , imageType , derivType ) ; 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 Shi - Tomasi corner features and describes them with BRIEF .