EndingEngine.hpp 1.07 KB
Newer Older
Elouan Wauquier's avatar
Elouan Wauquier committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
#ifndef RIDGEENDINGENGINE_HPP
#define RIDGEENDINGENGINE_HPP

#include <QVector>

#include "fuzzylite/fl/activation/General.h"
#include "fuzzylite/fl/defuzzifier/WeightedAverage.h"
#include "fuzzylite/fl/norm/s/DrasticSum.h"
#include "fuzzylite/fl/norm/s/Maximum.h"
#include "fuzzylite/fl/norm/t/BoundedDifference.h"
#include "fuzzylite/fl/norm/t/Minimum.h"
#include "fuzzylite/fl/rule/Antecedent.h"
#include "fuzzylite/fl/rule/Rule.h"
#include "fuzzylite/fl/rule/RuleBlock.h"
#include "fuzzylite/fl/term/Ramp.h"
#include "fuzzylite/fl/term/Triangle.h"
#include "fuzzylite/fl/variable/InputVariable.h"
#include "fuzzylite/fl/variable/OutputVariable.h"

#include "ReverseTrapezoid.hpp"
#include "MinutiaEngine.hpp"


// FIS détectant les terminaisons

class EndingEngine : public MinutiaEngine {
public:
    EndingEngine();

    int dataSize() const override;
    MinutiaEngine::Engine engineType() const override;
    void processImage(const QImage *src) override;

protected:
    static constexpr int POINT_COUNT = 12; // Nombre de points du  cercle externe
};

#endif // RIDGEENDINGENGINE_HPP