Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

1.0 KB
Raw Blame

normalize_points, normalize_transformation, run_8point, compute_correspond_epilines, fundamental_from_essential, fundamental_from_projections, intrinsics_like, projection_from_KRt and cross_product_matrix raise ShapeError, naming the argument and the expected shape, instead of a bare AssertionError (an IndexError for a 0-d cross_product_matrix input); intrinsics_like raises ValueCheckError for a focal length that is zero or negative. multiply_deg_two_one_poly raises ShapeError when a is not (B, 10) or b is not (B, 4), and batch sizes still broadcast as before: an unbatched input raised an IndexError or a RuntimeError, and some inputs of other shapes, such as (2, 4) and (2, 10), returned a tensor. The length messages of RandomGaussianIllumination, RandomLinearIllumination, RandomLinearCornerIllumination and RandomSaltAndPepperNoise, the range messages of RandomSaltAndPepperNoise and the different-shapes message of ImageRegistrator no longer contain runs of spaces.