def test_undistortion(): all_options = get_default_options() for opts in all_options: yield check_undistortion, opts
def test_projection(): all_options = get_default_options() for opts in all_options: for distorted in (True, False): yield check_projection, opts, distorted
def test_projection(): all_options = get_default_options() for opts in all_options: for distorted in (True,False): yield check_projection, opts, distorted
def test_camera_projection_roundtrip(): all_options = get_default_options() for distorted in (True,False): for opts in all_options: yield check_camera_projection_roundtrip, opts, distorted
def test_extrinsic_msg(): all_options = get_default_options() for opts in all_options: yield check_extrinsic_msg, opts
def test_stages(): all_options = get_default_options() for distorted in (True,False): for opts in all_options: yield check_stages, opts, distorted
def test_build_from_M(): all_options = get_default_options() for opts in all_options: yield check_built_from_M, opts
def test_view(): all_options = get_default_options() for opts in all_options: yield check_view, opts
def test_camcenter(): """check that our idea of camera center is theoretically expected value""" all_options = get_default_options() for opts in all_options: cam = _build_test_camera(**opts) assert np.allclose( cam.get_camcenter(), cam.t_inv.T )
def test_flip(): all_options = get_default_options() for opts in all_options: yield check_flip, opts
def test_distortion_yamlfile_roundtrip(): all_options = get_default_options() for opts in all_options: yield check_distortion_yamlfile_roundtrip, opts
def test_align(): all_options = get_default_options() for opts in all_options: yield check_align, opts
def test_roundtrip_ros_tf(): all_options = get_default_options() for opts in all_options: yield check_roundtrip_ros_tf, opts
def test_camera_distortion_roundtrip(): all_options = get_default_options() for opts in all_options: yield check_camera_distortion_roundtrip, opts
def test_bagfile_roundtrip(): all_options = get_default_options() for opts in all_options: yield check_bagfile_roundtrip, opts
def test_camcenter_like(): all_options = get_default_options() for opts in all_options: yield check_camcenter_like, opts