[TASK] Add a machine for canny edge.

This commit is contained in:
Jan Philipp Timme 2015-12-18 13:16:13 +01:00
parent e0f93f3bbc
commit bd07eb280c
3 changed files with 30 additions and 0 deletions

27
canny_edge_machine.cpp Normal file
View File

@ -0,0 +1,27 @@
#ifndef CANNY_EDGE_MACHINE_C
#define CANNY_EDGE_MACHINE_C
#include <QtGlobal>
#include <QMainWindow>
#include <QColor>
#include <iostream>
#include <math.h>
class CannyEdgeMachine {
private:
LazyImage* img;
public:
CannyEdgeMachine(){
// TODO
};
~CannyEdgeMachine() {
// TODO
};
};
#endif

View File

@ -650,6 +650,8 @@ void ImageViewer::applyBasicFilterWithOverflowHandling() {
*/ */
void ImageViewer::runCannyEdge(void) { void ImageViewer::runCannyEdge(void) {
//TODO //TODO
CannyEdgeMachine cem = CannyEdgeMachine();
} }
/**************************************************************************************** /****************************************************************************************
* *

View File

@ -56,6 +56,7 @@
#include "lazy_image.cpp" #include "lazy_image.cpp"
#include "filter_gui.cpp" #include "filter_gui.cpp"
#include "canny_edge_machine.cpp"
class QAction; class QAction;
class QLabel; class QLabel;