Rate This Document
Findability
Accuracy
Completeness
Readability

kml_execute_filter2d

Perform the core filter2D filtering computation.

Interface Definition

C interface:

int kml_execute_filter2d(cvhalFilter2D *context, unsigned char *src_data, size_t src_step, unsigned char *dst_data, size_t dst_step, int width, int height, int full_width, int full_height, int offset_x, int offset_y);

Parameters

Parameter

Type

Description

Input/Output

context

cvhalFilter2D*

Pointer to an empty structure, which points to the internally allocated resource structure space after resource initialization is complete.

Input/Output

src_data

unsigned char*

Input image data.

Output

src_step

size_t

Number of bytes per row of the input image.

Input

dst_data

unsigned char*

Output image data.

Input

dst_step

size_t

Number of bytes per row of the output image.

Input

width

int

Width of the ROI of the input image.

Input

height

int

Height of the ROI of the input image.

Input

full_width

int

Full image width.

Input

full_height

int

Full image height.

Input

offset_x

int

Horizontal offset of the ROI origin relative to the full image origin.

Input

offset_y

int

Vertical offset of the ROI origin relative to the full image origin.

Input

The input parameters for this function interface are processed and passed down by the upper-level OpenCV filter2D framework. Direct explicit calling of kml_init_filter by users is not supported.

Return Value

0