After an update of Macports, that I think updated numpy, I\'m getting the warning:
VisibleDeprecationWarning: boolean index did not match indexed array alon
I started getting a similar error after going up to numpy 1.10.1. I think you can get rid of the warning just by wrapping the boolean array in a numpy.where().
inliers = n.size(pixels[n.where(distances <= self.dst)])
Since you're just taking the size, there's no need to use the pixels array, so this should work:
inliers = n.size(n.where(distances <= self.dst])[0])