1#ifndef CANNYPROCESSOR_H
2#define CANNYPROCESSOR_H
3#include "BlurProcessor.h"
4#include "GrayProcessor.h"
5#include "image_proc_base.h"
14 static constexpr unsigned int LOW = 50;
15 static constexpr unsigned int HIGH = 150;
17 static constexpr unsigned int def_blurksize = 5;
18 static constexpr float thred = 1.4;
44 Processor::Canny::LOW,
45 Processor::Canny::HIGH
The CVImage class is the image class that provides the image in the frameworks.
Definition CVImage.h:9
CannyProcessor process Canny lol.
Definition CannyProcessor.h:25
std::pair< int, int > threholds_pair
pair controller
Definition CannyProcessor.h:43
void setParamsPackage(const GaussainPackage &package)
setParamsPackage if you want to modified the gaussain package interfaces is ready for settings!
Definition CannyProcessor.h:40
bool process(CVImage &prev_image) override
process images
Definition CannyProcessor.cpp:4
make image gray
Definition GrayProcessor.h:8
Performs Gaussian blur on images.
Definition BlurProcessor.h:167
GaussainPackage package
Parameters used in Gaussian blur.
Definition BlurProcessor.h:194
The Processor namespace contains different image processing categories.
Parameters for Gaussian blur processing.
Definition BlurProcessor.h:69
double sigma_y
Standard deviation in the Y direction.
Definition BlurProcessor.h:94
int kernel_size
Size of the kernel used for convolution.
Definition BlurProcessor.h:84
double sigma_x
Standard deviation in the X direction.
Definition BlurProcessor.h:89
base of all processors
Definition image_proc_base.h:8
ImageProc()=default
Construct a new Image Proc object.