@ocharles I've rebased this ons master and constrained the camera matrix to have a 3x3 shape and the distortion coefficients to be a matrix with either a 4x1, 5x1, 8x1, 12x1 or 14x1 shape.
I would expect that the number of channels and depth also need to be restrained but that's not specified in the documentation and I couldn't quickly discover it in the source code.
@ocharles I've rebased this ons
master
and constrained the camera matrix to have a 3x3 shape and the distortion coefficients to be a matrix with either a 4x1, 5x1, 8x1, 12x1 or 14x1 shape.I would expect that the number of channels and depth also need to be restrained but that's not specified in the documentation and I couldn't quickly discover it in the source code.