Skip to content

Commit 252a12b

Browse files
committed
fixed radius for edge selection
1 parent 19bdae5 commit 252a12b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/eyestalker.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ std::vector<int> findEdges(const detectionVariables& mDetectionVariables, std::v
543543
std::vector<int> dX = { -1, -1, 0, 1, 1, 1, 0, -1};
544544
std::vector<int> dY = { 0, -1, -1, -1, 0, 1, 1, 1};
545545

546-
double radiusMax = mDetectionVariables.thresholdCircumferenceMax;
546+
double radiusMax = mDetectionVariables.thresholdCircumferenceMax / (2 * M_PI);
547547

548548
// Find a starting edge point using Starburst-like algorithm
549549

0 commit comments

Comments
 (0)