Y = filterN(X, OP, MASK) performs N-D filtering of array X. The region defined by MASK is scanned across X to produce, at each step, the inputs to OP, whose output is placed in the corresponding element of Y.
OP may be a function handle or one of the strings "max", "min", "maxabs" or "sumsqr".
MASK may be a scalar cell to define a (hyper-)rectangular region, or a logical array to define a possibly scattered set of elements.
Optional arguments allow the form of the argument to OP and the behaviour at the boundaries of X to be specified. The output may be sampled onto a regular grid, avoiding unnecessary computation.
filterN is related to the Image Processing Toolbox functions nlfilter and colfilt.
引用格式
David Young (2025). filterN (https://www.mathworks.com/matlabcentral/fileexchange/178614-filtern), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2024b
与 R2023b 及更高版本兼容
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |