fullseye

change_radial_distortion_image — MV resample op

使い方

除算モデルの歪みを持つカメラの画像を、別の歪み・内部パラメータの画像へ描き直す。

cam_out の画素を歪み除去 → 正規化座標 → cam_in の焦点距離 → cam_in の歪みの順に 写して読む。kappa の単位は 1/画素^2 で、主点からの画素座標に掛かる。cam_out の kappa を 0 にすると歪み除去になる。空の入力(image が 0 要素)は ValueError。

Args: image: (H, W) の画像。 cam_in: 入力のカメラ(fx / fy / cx / cy / kappa)。 cam_out: 出力のカメラ(同じ鍵)。 fill: 入力の外の画素の値。

Returns: 入力と同じ形の float 画像。

出典: R. Lenz and D. Fritsch, ISPRS J. Photogramm. Remote Sens. 45(2), 90-110 (1990)。

詳しい使い方ガイド

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(image2d を入力に取れる)

binocular_disparity_ms · binocular_distance_ms · reconstruct_surface_stereo · map_image · rectify_to_world_plane · crop_rectangle2 · atan2_image · area_center_gray

同カテゴリ(resample)

map_image · rectify_to_world_plane · crop_rectangle2


Provenance: mvimage.py — MV operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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