#ifndef REJECTION_H #define REJECTION_H #include #include #include "model/processor/IProcessStrategy.h" #include "utils/OpenCLHelper.h" typedef struct Rejection_t { cl_int rejectThr; }Rejection_t; class Rejection : public IProcessStrategy { Q_OBJECT public: Q_INVOKABLE Rejection(const Context context, const QString kernelPath); virtual void cpuProcess(ScenGenOutput_t parameters) override; virtual void finalize() override; private: KernelFunctor _kernelFunctor; virtual Image* processKernel(Image *frames, Buffer* scratchPad) override; Rejection_t _kernelParameters; double _rejectionThr; }; #endif // REJECTION_H