Compute 2-D discrete convolution of two input matrices
Convolver object computes 2-D discrete
convolution of two input matrices.
Starting in R2016b, instead of using the
H = vision.Convolver returns
a System object,
H, that performs two-dimensional
convolution on two inputs.
H = vision.Convolver( returns
a 2-D convolution System object,
H, with each specified
property set to the specified value. You can specify additional name-value
pair arguments in any order as (
Specify dimensions of output
This property controls the size of the output scalar, vector,
or matrix produced as a result of the convolution between the two
inputs. You can set this property to one of
Whether to normalize the output
|step||Compute 2-D convolution of input matrices|
|Common to All System Objects|
Create System object with same property values
Expected number of inputs to a System object
Expected number of outputs of a System object
Check locked states of a System object (logical)
Allow System object property value changes
Compute the 2D convolution of two matrices.
hconv2d = vision.Convolver; x1 = [1 2;2 1]; x2 = [1 -1;-1 1]; y = step(hconv2d, x1, x2)
This object implements the algorithm, inputs, and outputs described on the 2-D Convolution block reference page. The object properties correspond to the block parameters.
Usage notes and limitations:
See System Objects in MATLAB Code Generation (MATLAB Coder).