roviz  0.7
Code Documentation of roviz
gaussian_blur_item.h
1 #ifndef GAUSSIANBLUR_ITEM_H
2 #define GAUSSIANBLUR_ITEM_H
3 
4 #include "core/roviz_item.h"
5 #include "streams/image_m.h"
6 #include "opencv2/core.hpp"
7 #include "opencv2/imgproc.hpp"
8 
15 {
16 #if ROVIZ_BACKEND == ROVIZ_BACKEND_Dev
17  Q_OBJECT
18 #endif
19 
20 public:
21  ROVIZ_INVOKABLE GaussianBlurItem();
22  ~GaussianBlurItem();
23 
24 protected:
25  void thread(void) override;
26 
27 private:
28  Input<Image> input;
29  Output<Image> output;
30  Trim trim_sigma, trim_ksize;
31 };
32 
33 #endif // GAUSSIANBLUR_ITEM_H
void thread(void) override
Main thread of the item.
Definition: gaussian_blur_item.cpp:20
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
Blurs the image with a gaussian blur.
Definition: gaussian_blur_item.h:14