|
@@ -173,7 +173,6 @@ std::pair < QPoint *, QPoint * >StrengthLine::interpolateToEdge (int imgWidth, i
|
|
|
|
|
|
float StrengthLine::ea_score(const StrengthLine *sl, double imgWidth, double imgHeight) const
|
|
|
{
|
|
|
- std::srand(static_cast<unsigned int>(std::time(nullptr)+std::rand()));
|
|
|
std::pair < QPoint*, QPoint* > pointsSL1 = this->interpolateToEdge (imgWidth, imgHeight);
|
|
|
std::pair < QPoint*, QPoint* > pointsSL2 = sl->interpolateToEdge (imgWidth, imgHeight);
|
|
|
QPoint* p1SL1 = std::get < 0 > (pointsSL1);
|