private void describeImage ( T left , ImageInfo < TD > info ) { detector . process ( left ) ; for ( int i = 0 ; i < detector . getNumberOfSets ( ) ; i ++ ) { PointDescSet < TD > set = detector . getFeatureSet ( i ) ; FastQueue < Point2D_F64 > l = info . location [ i ] ; FastQueue < TD > d = info . description [ i ] ; for ( int j = 0 ; j < set . getNumberOfFeatures ( ) ; j ++ ) { l . grow ( ) . set ( set . getLocation ( j ) ) ; d . grow ( ) . setTo ( set . getDescription ( j ) ) ; } } }
Computes image features and stores the results in info