cellUview 1.0.0
A real-time image processing and analysis suite for digital microscopy.
Loading...
Searching...
No Matches
edgeDetection.h
1
2#ifndef CELLUVIEW_EDGE_DETECTION_H
3#define CELLUVIEW_EDGE_DETECTION_H
4
5
6#include <opencv2/core.hpp>
7#include <opencv2/videoio.hpp>
8#include <iostream>
9#include <stdlib.h>
10#include <thread>
11#include "imageProcessor.h"
12
13
19
20
21public:
22 edgeDetection() = default;
23 int threshold= 0;
24 int sliderThreshold = 100; //slider threshold used for metadata purposes
25 void receiveFrame(frame newFrame);
26 void updateThreshold(int value);
27 void updateSettings(std::map<std::string, std::string>);
31 std::string getParamLabel(){return paramLabel;};
32private:
33 //add any other methods here
34 void enhanceEdge(frame); //edge detection
35 std::string paramLabel = "edgeThreshold";
36};
37#endif // CELLUVIEW_EDGE_DETECTION_H
Definition: edgeDetection.h:18
void updateThreshold(int value)
Definition: edgeDetection.cpp:63
void receiveFrame(frame newFrame)
Definition: edgeDetection.cpp:14
void updateSettings(std::map< std::string, std::string >)
Definition: edgeDetection.cpp:75
std::string getParamLabel()
Definition: edgeDetection.h:31
Definition: frame.h:20
Definition: imageProcessor.h:15