roviz  0.7
Code Documentation of roviz
harris_corner_item.h
1 #ifndef HARRISEDGE_ITEM_H
2 #define HARRISEDGE_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 HarrisCornerItem : public RovizItem
10 {
11 #if ROVIZ_BACKEND == ROVIZ_BACKEND_Dev
12  Q_OBJECT
13 #endif
14 
15 public:
16  ROVIZ_INVOKABLE HarrisCornerItem();
17  ~HarrisCornerItem();
18 
19 protected:
20  void thread(void) override;
21 
22 private:
23  Input<Image> input;
24  Output<Sparse<Point2D> > output;
25  Trim trim_block_size, trim_aperture_size, trim_threshold, trim_k_param;
26 };
27 
28 #endif // HARRISEDGE_ITEM_H
void thread(void) override
Main thread of the item.
Definition: harris_corner_item.cpp:33
Represents the output of an item.
Definition: output.h:18
Definition: harris_corner_item.h:9
A value that can be trimmed at runtime.
Definition: trim.h:21
Base class for all items that use the roviz framework.
Definition: roviz_item.h:43