--- /dev/null
+#include "ConvolutionProvider.h"
+
+#include <iostream>
+using namespace std;
+
+#include "CaptureVideo.h"
+
+Convolution* ConvolutionProvider::create(int w, int h)
+ {
+ return new Convolution(w, h);
+ }
+
+Image* ConvolutionProvider::createGL(const string& videoPath)
+ {
+ CaptureVideo* captureur = new CaptureVideo(videoPath, "");
+
+ ColorRGB_01* ptrColorTitre = new ColorRGB_01(0, 0, 0);
+ return new ImageConvolutionCuda(create(captureur->getW(), captureur->getH()), captureur, ptrColorTitre); // both ptr destroy by destructor of ImageFonctionel
+ }