The OpenCV_ProcessAdapter namespace provides wrapper functions to apply various OpenCV-based image processing operations.
More...
|
void | grayImage (CVImageImpl *image_mat, int code) |
| Converts the image to grayscale using the given conversion code.
|
|
void | processBlurType (CVImageImpl *image_mat, int kernel_size) |
| Applies a simple blur to the image using the specified kernel size.
|
|
void | processGaussainBlurType (CVImageImpl *image_mat, int kernal_size, double sigma_x, double sigma_y) |
| Applies a Gaussian blur to the image.
|
|
void | processMedianBlurType (CVImageImpl *image_mat, int kernel_size) |
| Applies a median blur to the image using the specified kernel size.
|
|
void | processFilterBlurType (CVImageImpl *image_mat, int d, double sigma_color, double sigma_space) |
| Applies a bilateral filter to the image.
|
|
void | processCannyDetection (CVImageImpl *image_mat, int low, int high) |
| Applies Canny edge detection to the image.
|
|
void | processContoursDrawSession (CVImageImpl *drawmap, CVImageImpl *postProcessed, int contoursMethod) |
| Draws contours found in the source image onto the destination map.
|
|
void | generate_hist (CVImageImpl *drawmap, const CVImageImpl *src) |
| Generates a histogram visualization from the source image and draws it onto the drawmap.
|
|
void | draw_faces (CVImageImpl *drawmap, const CVImageImpl *src) |
| Draws face detection results on the target image.
|
|
The OpenCV_ProcessAdapter namespace provides wrapper functions to apply various OpenCV-based image processing operations.
◆ draw_faces()
Draws face detection results on the target image.
- Parameters
-
drawmap | The image to draw results on. |
src | The source image used for face detection. |
◆ generate_hist()
Generates a histogram visualization from the source image and draws it onto the drawmap.
- Parameters
-
drawmap | The image to draw the histogram on. |
src | The source image from which the histogram is computed. |
◆ grayImage()
void OpenCV_ProcessAdapter::grayImage |
( |
CVImageImpl * |
image_mat, |
|
|
int |
code |
|
) |
| |
Converts the image to grayscale using the given conversion code.
- Parameters
-
image_mat | Pointer to the image data. |
code | OpenCV color conversion code (e.g., cv::COLOR_BGR2GRAY). |
◆ processBlurType()
void OpenCV_ProcessAdapter::processBlurType |
( |
CVImageImpl * |
image_mat, |
|
|
int |
kernel_size |
|
) |
| |
Applies a simple blur to the image using the specified kernel size.
- Parameters
-
image_mat | Pointer to the image data. |
kernel_size | The size of the kernel to be used for blurring. |
◆ processCannyDetection()
void OpenCV_ProcessAdapter::processCannyDetection |
( |
CVImageImpl * |
image_mat, |
|
|
int |
low, |
|
|
int |
high |
|
) |
| |
Applies Canny edge detection to the image.
- Parameters
-
image_mat | Pointer to the image data. |
low | Lower threshold for edge detection. |
high | Upper threshold for edge detection. |
◆ processContoursDrawSession()
void OpenCV_ProcessAdapter::processContoursDrawSession |
( |
CVImageImpl * |
drawmap, |
|
|
CVImageImpl * |
postProcessed, |
|
|
int |
contoursMethod |
|
) |
| |
Draws contours found in the source image onto the destination map.
- Parameters
-
drawmap | Destination image where contours will be drawn. |
postProcessed | Source image to detect contours from. |
contoursMethod | Integer specifying the OpenCV contour approximation method. |
◆ processFilterBlurType()
void OpenCV_ProcessAdapter::processFilterBlurType |
( |
CVImageImpl * |
image_mat, |
|
|
int |
d, |
|
|
double |
sigma_color, |
|
|
double |
sigma_space |
|
) |
| |
Applies a bilateral filter to the image.
- Parameters
-
image_mat | Pointer to the image data. |
d | Diameter of each pixel neighborhood. |
sigma_color | Filter sigma in the color space. |
sigma_space | Filter sigma in the coordinate space. |
◆ processGaussainBlurType()
void OpenCV_ProcessAdapter::processGaussainBlurType |
( |
CVImageImpl * |
image_mat, |
|
|
int |
kernal_size, |
|
|
double |
sigma_x, |
|
|
double |
sigma_y |
|
) |
| |
Applies a Gaussian blur to the image.
- Parameters
-
image_mat | Pointer to the image data. |
kernal_size | The size of the kernel to be used for Gaussian blurring (must be odd). |
sigma_x | Gaussian kernel standard deviation in X direction. |
sigma_y | Gaussian kernel standard deviation in Y direction. |
◆ processMedianBlurType()
void OpenCV_ProcessAdapter::processMedianBlurType |
( |
CVImageImpl * |
image_mat, |
|
|
int |
kernel_size |
|
) |
| |
Applies a median blur to the image using the specified kernel size.
- Parameters
-
image_mat | Pointer to the image data. |
kernel_size | Size of the kernel; must be odd and greater than 1. |