Skip to content

Typo in Assert in fisheye.cpp #15788

@Cherubin7th

Description

@Cherubin7th

I think you want to assert K2 and D2 not K1 and D1 again in see last line
CV_Assert(K1.empty() || (K1.size() == Size(3,3)));
CV_Assert(D1.empty() || (D1.total() == 4));
CV_Assert(K2.empty() || (K1.size() == Size(3,3)));
CV_Assert(D2.empty() || (D1.total() == 4));

In: https://github.com/opencv/opencv/blob/master/modules/calib3d/src/fisheye.cpp#L860

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions