How to extract features from the inliner matrix produced by solvePNPRansac()

I understand that solvePNPRansac produces an inliner matrix that contains both the object points and image points.

I was wondering if there is a way to extract the two from the matrix so that I can plot the detected features and compare it with the features that are left after it has been filtered through RANSAC.

Note: To plot the matched features, I use the drawMatches().

Thanks in advance!