roviz  0.7
Code Documentation of roviz
canny_item.h
1 #ifndef CANNY_ITEM_H
2 #define CANNY_ITEM_H
3 
4 #include "core/roviz_item.h"
5 #include "streams/image_m.h"
6 #include "opencv2/opencv.hpp"
7 #include "opencv2/imgproc.hpp"
8 
9 class CannyItem : public RovizItem
10 {
11 #if ROVIZ_BACKEND == ROVIZ_BACKEND_Dev
12  Q_OBJECT
13 #endif
14 
15 public:
16  ROVIZ_INVOKABLE CannyItem();
17  ~CannyItem();
18 
19 protected:
20  void thread(void) override;
21 
22 private:
23  Input<Image> input;
24  Output<Image> output;
25  Trim trim_thres, trim_ratio;
26 };
27 
28 #endif // CANNY_ITEM_H
A value that can be trimmed at runtime.
Definition: trim.h:21
Definition: canny_item.h:9
Base class for all items that use the roviz framework.
Definition: roviz_item.h:43
void thread(void) override
Main thread of the item.
Definition: canny_item.cpp:20