Calib3d.projectPoints - how to enable depth testing

asked 2015-01-15 03:31:00 -0500

visiony gravatar image

Is there anyway to use Calib3d.projectPoints(...) and have it specify that a point failed the depth-clip test? (Meaning, that the value of the 'z' dimension of point, after translation/rotation, is negative).

I would have expected some flag that could be specified to enable this, and perhaps it returns 'NaNs' as the values of the points that fail the test (or something similar).

I'm using the JavaOpenCV api, so maybe this is in the cpp API (but didn't make the java one)?

I can find nothing in the docs for the method, nor in the overview of the Calib3d module that seems to even mention that this isn't supported, which is confusing. If someone can confirm that indeed there's no built-in way to do this, that would also be helpful.

edit retag flag offensive close merge delete