filter op• 数据种类:image2d × matrix → image2d
• 调用: import fullseye as fs; fs.ledger.vx_nonlinear_filter(image, mask, *, function, border, constant_value=0, origin=None)(要直接调用实现,import vxcore; vxcore.vx_nonlinear_filter(image, mask, *, function, border, constant_value=0, origin=None);从台账取用则 opsvx.get("vx_nonlinear_filter"))
非线性滤波(3.38 节):掩模为真的像素值的中值 / 最小值(腐蚀)/ 最大值(膨胀)(REQ-0325、0330)。
*function*: "median" / "min" / "max"(vx_non_linear_filter_e)。*mask*: 2-D 的 bool(BOX / CROSS / DISK / OTHER 均可)。*origin*: 掩模的原点 (行, 列)(VX_MATRIX_ORIGIN,默认为中央 (rows // 2, cols // 2))。*border*(必需): "replicate" / "constant" / "undefined"(边缘以 0 填充后计算 —— 值按规格未定义)。★掩模像素数为偶数时的中位数规格中没有 —— 取升序排列后的第 n // 2 个(上中位数,与 scipy 的 median_filter 相同)。
REQ-0327: 9×9 以内的掩模必须处理(本实现没有上限)。
Raises ValueError: 不是 U8 的 2-D / function 不在列表中 / mask 不是 2-D 的 bool、为空 / origin 在掩模之外。
• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。
• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。
• 算法的正典(作者、年份)与用途见上面的族使用指南。
• (暂无)
image2d 作为输入)vx_sobel3x3 · vx_magnitude · vx_phase · vx_table_lookup · vx_histogram · vx_nonmax_suppression · vx_warp_affine · vx_warp_perspective
filter)—
*Provenance: vxcore.py — VX 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.