CCIMXDesktop
 
Loading...
Searching...
No Matches
OpenCV_ProcessAdapter.h
1#ifndef OPENCV_PROCESSADAPTER_H
2#define OPENCV_PROCESSADAPTER_H
3
7class CVImageImpl;
8
12class QString;
13
18
24 void grayImage(CVImageImpl* image_mat, int code);
25
31 void processBlurType(CVImageImpl* image_mat, int kernel_size);
32
41 int kernal_size,
42 double sigma_x, double sigma_y);
43
49 void processMedianBlurType(CVImageImpl* image_mat, int kernel_size);
50
58 void processFilterBlurType(CVImageImpl* image_mat, int d, double sigma_color, double sigma_space);
59
66 void processCannyDetection(CVImageImpl* image_mat, int low, int high);
67
74 void processContoursDrawSession(CVImageImpl* drawmap, CVImageImpl* postProcessed, int contoursMethod);
75
81 void generate_hist(CVImageImpl* drawmap, const CVImageImpl* src);
82
88 void draw_faces(CVImageImpl* drawmap, const CVImageImpl* src);
89
90} // namespace OpenCV_ProcessAdapter
91
92#endif // OPENCV_PROCESSADAPTER_H
The CVImageImpl class is the image interface classes, or, backend of the CVImage.
Definition CVImageImpl.h:9
The OpenCV_ProcessAdapter namespace provides wrapper functions to apply various OpenCV-based image pr...
Definition OpenCV_ProcessAdapter.h:17
void draw_faces(CVImageImpl *drawmap, const CVImageImpl *src)
Draws face detection results on the target image.
Definition OpenCV_ProcessAdapter.cpp:110
void processFilterBlurType(CVImageImpl *image_mat, int d, double sigma_color, double sigma_space)
Applies a bilateral filter to the image.
Definition OpenCV_ProcessAdapter.cpp:33
void grayImage(CVImageImpl *image_mat, int code)
Converts the image to grayscale using the given conversion code.
Definition OpenCV_ProcessAdapter.cpp:5
void processBlurType(CVImageImpl *image_mat, int kernel_size)
Applies a simple blur to the image using the specified kernel size.
Definition OpenCV_ProcessAdapter.cpp:12
void processGaussainBlurType(CVImageImpl *image_mat, int kernal_size, double sigma_x, double sigma_y)
Applies a Gaussian blur to the image.
Definition OpenCV_ProcessAdapter.cpp:19
void processMedianBlurType(CVImageImpl *image_mat, int kernel_size)
Applies a median blur to the image using the specified kernel size.
Definition OpenCV_ProcessAdapter.cpp:26
void generate_hist(CVImageImpl *drawmap, const CVImageImpl *src)
Generates a histogram visualization from the source image and draws it onto the drawmap.
Definition OpenCV_ProcessAdapter.cpp:61
void processCannyDetection(CVImageImpl *image_mat, int low, int high)
Applies Canny edge detection to the image.
Definition OpenCV_ProcessAdapter.cpp:40
void processContoursDrawSession(CVImageImpl *drawmap, CVImageImpl *postProcessed, int contoursMethod)
Draws contours found in the source image onto the destination map.
Definition OpenCV_ProcessAdapter.cpp:47