matchinglib_poselib/source/poselib/include/arrsac/sample_consensus_estimator.h
// Count the number of inliers.

Count the number of inliers.
Count the number of inliers .
int GetNumInliers() {
    int num_inliers = 0;
	for(size_t i = 0; i < inliers_.size(); i++) {
      if (inliers_[i]) num_inliers++;
    }
    return num_inliers;
  }
int GetNumInliers ( ) { int num_inliers = 0 ; for ( size_t i = 0 ; i < inliers_ . size ( ) ; i ++ ) { if ( inliers_ [ i ] ) num_inliers ++ ; } return num_inliers ; }
Count the number of inliers.
Count the number of inliers .