1、imfilter
- N-D filtering of multidimensional image
-
B = imfilter(A,h)
B = imfilter(A,h,options,...)
filters the multidimensional arrayB
= imfilter(A
,h
)A
with the multidimensional filterh
and returns the result inB
.You optionally can filter a multidimensional array with a 2-D filter using a GPU (requires Parallel Computing Toolbox™). For more information, see Image Processing on a GPU.
performs multidimensional filtering according to one or more specified options.B
= imfilter(A
,h
,options
,...)
parameters A— Image to be filtered numeric array
Image to be filtered, specified as a numeric array of any class and dimension.
Data Types:
single
|double
|int8
|int16
|int32
|uint8
|uint16
|uint32
|logica
h— Multidimensional filter N-D array of data type
double
Multidimensional filter, specified as an N-D array of data type
double
.To perform the image filtering using a GPU, specify
h
as a vector or 2-D matrix of data typedouble
.Data Types:
double
options
— Options that control the filtering operation
character vector | string scalar | numeric scalarOptions that control the filtering operation, specified as a character vector, string scalar, or numeric scalar. The following table lists all supported options. B—Output Arguments
numeric array
Filtered image, returned as a numeric array of the same size and class as the input image, A
.