[−][src]Function opencv::cudafilters::create_linear_filter
pub fn create_linear_filter(
src_type: i32,
dst_type: i32,
kernel: &dyn ToInputArray,
anchor: Point,
border_mode: i32,
border_val: Scalar
) -> Result<Ptr<dyn Filter>>
Creates a non-separable linear 2D filter.
Parameters
- srcType: Input image type. Supports CV_8U , CV_16U and CV_32F one and four channel image.
- dstType: Output image type. Only the same type as src is supported for now.
- kernel: 2D array of filter coefficients.
- anchor: Anchor point. The default value Point(-1, -1) means that the anchor is at the kernel center.
- borderMode: Pixel extrapolation method. For details, see borderInterpolate .
- borderVal: Default border value.
See also
filter2D
C++ default parameters
- anchor: Point(-1,-1)
- border_mode: BORDER_DEFAULT
- border_val: Scalar::all(0)