hdl.npufun
Apply neighborhood processing and element-wise operations to an incoming image or matrix for frame-to-sample conversion
Since R2022b
Syntax
Description
applies the output_data
= hdl.npufun(kernelFun
,kernelSize
,input_data
)kernelFun
function to each sliding window of the input
data, input_data
, using a sliding window determined by
kernelSize
. The function outputs one argument for each output
argument in the function kernelFun
.
Use hdl.npufun
to process neighborhood and element-wise operations
performed on frame-based inputs, such as filtering with a kernel.
Note
hdl.npufun
is a utility function that applies a neighborhood
processing operation from another function to incoming data.
applies the function using optional name-value arguments.output_data
= hdl.npufun(kernelFun
,kernelSize
,input_data
,Name,Value
)