Skip to content

wrong limit in BestOf2NearestRangeMatcher for loop #5240

@LaurentBerger

Description

@LaurentBerger

In loop for https://github.com/Itseez/opencv/blob/master/modules/stitching/src/matchers.cpp#L679 I think upper limit should be std::min(num_images, i + 1+ range_width_) and not std::min(num_images, i + range_width_).
In current code if range_width_ is equal to 1 no featuresare push back and hence pairwise_matches is empty.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions