vx_nonlinear_filter — VX filter op

• Data kinds: image2d × matrix → image2d

• Call: import fullseye as fs; fs.ledger.vx_nonlinear_filter(image, mask, *, function, border, constant_value=0, origin=None) (to call the implementation directly, import vxcore; vxcore.vx_nonlinear_filter(image, mask, *, function, border, constant_value=0, origin=None); from the registry, opsvx.get("vx_nonlinear_filter"))

Usage

> This operator's description has not been translated yet. The original text follows as it is.

非線形フィルタ(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 がマスクの外。

Detailed usage guide

• openvx_ports family guide

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

• (none yet)

Ops the type connects to (they accept image2d as input)

vx_sobel3x3 · vx_magnitude · vx_phase · vx_table_lookup · vx_histogram · vx_nonmax_suppression · vx_warp_affine · vx_warp_perspective

Same category (filter)

—


*Provenance: vxcore.py — VX operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.