<commit_before>#ifndef IMAGEPROCESSING_MSER_PARAMETERS_COLLECTOR_H__
#define IMAGEPROCESSING_MSER_PARAMETERS_COLLECTOR_H__

#include <pipeline/all.h>
#include "MserParameters.h"

/**
 * A collector that bundles individual paramters into a single MserParameters
 * object.
 */
class ParametersCollector : public pipeline::SimpleProcessNode<> {

public:

	ParametersCollector();

	~ParametersCollector();

private:

	void updateOutputs();

	// inputs
	pipeline::Input<double> _delta;
	pipeline::Input<double> _minArea;
	pipeline::Input<double> _maxArea;
	pipeline::Input<double> _maxVariation;
	pipeline::Input<double> _minDiversity;
	pipeline::Input<bool>   _darkToBright;
	pipeline::Input<bool>   _brightToDark;

	// the graph cut parameters in a single object
	pipeline::Output<MserParameters> _parameters;
};

#endif // IMAGEPROCESSING_MSER_PARAMETERS_COLLECTOR_H__

<commit_msg>removed obsolete destructor in MserParametersCollector<commit_after>#ifndef IMAGEPROCESSING_MSER_PARAMETERS_COLLECTOR_H__
#define IMAGEPROCESSING_MSER_PARAMETERS_COLLECTOR_H__

#include <pipeline/all.h>
#include "MserParameters.h"

/**
 * A collector that bundles individual paramters into a single MserParameters
 * object.
 */
class ParametersCollector : public pipeline::SimpleProcessNode<> {

public:

	ParametersCollector();

private:

	void updateOutputs();

	// inputs
	pipeline::Input<double> _delta;
	pipeline::Input<double> _minArea;
	pipeline::Input<double> _maxArea;
	pipeline::Input<double> _maxVariation;
	pipeline::Input<double> _minDiversity;
	pipeline::Input<bool>   _darkToBright;
	pipeline::Input<bool>   _brightToDark;

	// the graph cut parameters in a single object
	pipeline::Output<MserParameters> _parameters;
};

#endif // IMAGEPROCESSING_MSER_PARAMETERS_COLLECTOR_H__


{'fraction_non_alphanumeric': 0.09791783905458638, 'fraction_numerical': 0.0, 'mean_word_length': 7.081818181818182, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '1519176', 'n_tokens_mistral': 583, 'n_tokens_neox': 588, 'n_words': 115}