diff --git a/canny_edge_machine.cpp b/canny_edge_machine.cpp new file mode 100644 index 0000000..aa4e9de --- /dev/null +++ b/canny_edge_machine.cpp @@ -0,0 +1,27 @@ +#ifndef CANNY_EDGE_MACHINE_C +#define CANNY_EDGE_MACHINE_C + +#include +#include +#include + +#include + +#include + +class CannyEdgeMachine { + + private: + LazyImage* img; + public: + CannyEdgeMachine(){ + // TODO + }; + + ~CannyEdgeMachine() { + // TODO + }; + +}; + +#endif diff --git a/imageviewer-qt4.cpp b/imageviewer-qt4.cpp index aafa773..d05a10f 100644 --- a/imageviewer-qt4.cpp +++ b/imageviewer-qt4.cpp @@ -650,6 +650,8 @@ void ImageViewer::applyBasicFilterWithOverflowHandling() { */ void ImageViewer::runCannyEdge(void) { //TODO + CannyEdgeMachine cem = CannyEdgeMachine(); + } /**************************************************************************************** * diff --git a/imageviewer-qt4.h b/imageviewer-qt4.h index 3a8f942..05aad74 100644 --- a/imageviewer-qt4.h +++ b/imageviewer-qt4.h @@ -56,6 +56,7 @@ #include "lazy_image.cpp" #include "filter_gui.cpp" +#include "canny_edge_machine.cpp" class QAction; class QLabel;