// note that comparisons order is modified in each block (but first 128 comparisons remain globally the same-->does not affect the 128,384 bits segmanted matching strategy)
intcnt=0;
for(intn=FREAK_NB_PAIRS/128;n--;)
for(intn=FREAK::NB_PAIRS/128;n--;)
{
__m128iresult128=_mm_setzero_si128();
for(intm=128/16;m--;cnt+=16)
...
...
@@ -457,7 +453,7 @@ void FREAK_Impl::computeDescriptors( InputArray _image, std::vector<KeyPoint>& k
std::vector<int>kpScaleIdx(keypoints.size());// used to save pattern scale index corresponding to each keypoints
conststd::vector<int>::iteratorScaleIdxBegin=kpScaleIdx.begin();// used in std::vector erase function
conststd::vector<cv::KeyPoint>::iteratorkpBegin=keypoints.begin();// used in std::vector erase function