Skip to content

I see that the calibrate and uncalibrate function with k1 distortion is not correct.  #79

@lastsupper108

Description

@lastsupper108

pub struct CameraIntrinsicsK1Distortion {

As per opencv to move from 3d point ( or barring ) to 2D point the transform is not as required by equations.
X,Y,Z points -> U, V image point should be as per ,

distortion

that is first after scaling by Z, ( X/Z, Y/Z) it should be mulitplied by (1+k1*r^2) whereas in function ,
uncalibrate(&self, projection: UnitVector3) -> Option
opposite is happening. Can someone correct me ?

Ref:
https://docs.opencv.org/4.x/d9/d0c/group__calib3d.html#:%7E:text=The%20next%20figures,monotonically%20increasing

Can somebody please guide if it is correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions