• Matthew Self's avatar
    Make goodFeaturesToTrack() return deterministic results · 72672c29
    Matthew Self authored
    When using OCL, the results of goodFeaturesToTrack() vary slightly from
    run to run. This appears to be because the order of the results from
    the findCorners kernel depends on thread execution and the sorting
    function that is used at the end to rank the features only enforces are
    partial sort order.
    
    This does not materially impact the quality of the results, but it
    makes it hard to build regression tests and generally introduces noise
    into the system that should be avoided.
    
    An easy fix is to change the sort function to enforce a total sort on
    the features, even in cases where the match quality is exactly the same
    for two features.
    72672c29
Name
Last commit
Last update
..
calib3d Loading commit data...
core Loading commit data...
cudaarithm Loading commit data...
cudabgsegm Loading commit data...
cudacodec Loading commit data...
cudafeatures2d Loading commit data...
cudafilters Loading commit data...
cudaimgproc Loading commit data...
cudalegacy Loading commit data...
cudaobjdetect Loading commit data...
cudaoptflow Loading commit data...
cudastereo Loading commit data...
cudawarping Loading commit data...
cudev Loading commit data...
features2d Loading commit data...
flann Loading commit data...
highgui Loading commit data...
imgcodecs Loading commit data...
imgproc Loading commit data...
java Loading commit data...
ml Loading commit data...
objdetect Loading commit data...
photo Loading commit data...
python Loading commit data...
shape Loading commit data...
stitching Loading commit data...
superres Loading commit data...
ts Loading commit data...
video Loading commit data...
videoio Loading commit data...
videostab Loading commit data...
viz Loading commit data...
world Loading commit data...
CMakeLists.txt Loading commit data...