• Alexander Alekhin's avatar
    core: kmeans refactoring · 90aac764
    Alexander Alekhin authored
    - reduce scope of i,k,j variables
    - use cv::AutoBuffer
    - template<bool onlyDistance> class KMeansDistanceComputer
    - eliminate manual unrolling: CV_ENABLE_UNROLLED
    90aac764
kmeans.cpp 15.1 KB