<commit_before>/**
* @file Tools/ImageProcessing/GradientSpiderScan.cpp
* 
* Utility class which performs a GradientSpiderScan algorithm for blob region scanning
*
*/

#include "GradientSpiderScan.h"


GradientSpiderScan::GradientSpiderScan(const Image& theImage, CameraInfo::CameraID camID)
:
  theImage(theImage),
  cameraID(camID)
{
  init();
}

void GradientSpiderScan::setMaxBeamLength(unsigned int length)
{
  max_length_of_beam = length;
}

void GradientSpiderScan::setCurrentGradientThreshold(double threshold)
{
  currentGradientThreshold = threshold;
}

void GradientSpiderScan::setDynamicThresholdY(double threshold)
{<commit_msg>set useVUDistance to false per default<commit_after>/**
* @file Tools/ImageProcessing/GradientSpiderScan.cpp
* 
* Utility class which performs a GradientSpiderScan algorithm for blob region scanning
*
*/

#include "GradientSpiderScan.h"


GradientSpiderScan::GradientSpiderScan(const Image& theImage, CameraInfo::CameraID camID)
:
  theImage(theImage),
  useVUdifference(false),
  cameraID(camID)
{
  init();
}

void GradientSpiderScan::setMaxBeamLength(unsigned int length)
{
  max_length_of_beam = length;
}

void GradientSpiderScan::setCurrentGradientThreshold(double threshold)
{
  currentGradientThreshold = threshold;
}

void GradientSpiderScan::setDynamicThresholdY(double threshold)
{
{'fraction_non_alphanumeric': 0.09227306826706677, 'fraction_numerical': 0.0, 'mean_word_length': 7.389937106918239, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3020765', 'n_tokens_mistral': 429, 'n_tokens_neox': 407, 'n_words': 82}