[TASK] Add a machine for canny edge.
This commit is contained in:
parent
e0f93f3bbc
commit
bd07eb280c
|
@ -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
|
|
@ -650,6 +650,8 @@ void ImageViewer::applyBasicFilterWithOverflowHandling() {
|
||||||
*/
|
*/
|
||||||
void ImageViewer::runCannyEdge(void) {
|
void ImageViewer::runCannyEdge(void) {
|
||||||
//TODO
|
//TODO
|
||||||
|
CannyEdgeMachine cem = CannyEdgeMachine();
|
||||||
|
|
||||||
}
|
}
|
||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
*
|
*
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue