private void saveInlierMatches ( ModelMatcher < ? , ? > ransac , FastQueue < AssociatedIndex > matches , PairwiseImageGraph2 . Motion edge ) { int N = ransac . getMatchSet ( ) . size ( ) ; edge . inliers . reset ( ) ; for ( int i = 0 ; i < N ; i ++ ) { int idx = ransac . getInputIndex ( i ) ; edge . inliers . grow ( ) . set ( matches . get ( idx ) ) ; } }
Puts the inliers from RANSAC into the edge s list of associated features