Question about segmenter.cpp
Hi Michal,
Could you give some details about code after line 749 in Segmenter.cpp file? I mean after if(!segmImg.empty()) What is that code doing?
Hi Artur, brief code description can be "speed up":
- each segmentation comes with keypoints, on that segmentation - the code does check if the keypoint intensity for segmentation is almost same (= will probably output same segmentation), the keypoints are marked as "not to be segmented again".
- the second part is merging same segmentations (based on IoU).
Michal
Hi Michal, Thanks for your answer. Line 774 in segmenter.cpp is: if( abs(abs( pixVal - intCheck.val[0]) + abs( img1_keypoints[i].response - kpCheck.response) ) <= this->delataIntResegment )
I'm wondering:
-
what is 'response' ? Is it attribute described in https://docs.opencv.org/3.2.0/d2/d29/classcv_1_1KeyPoint.html#a507d41b54805e9ee5042b922e68e4372 ?
-
what is variable 'delataIntResegment' responsible for?
-
and also in FASText.cpp in line 512 value of 'score' is assigned to 'response' of FastKeyPoint instance. What is 'score' in this case?
I have some assumptions, but it would be nice if you could give me some hints :)
Artur