fullseye

crop_rectangle2 — MV resample op

使い方

回転矩形の内側を線形補間で読み、軸に沿った画像として切り出す(crop_rectangle2)。

矩形は中心 (row, col)、長軸の半分 length1、短軸の半分 length2、向き phi [rad]。向きはこの repo の矩形(gen_rectangle2_contour_xld)と同じで、phi が正だと 長軸は右へ進むほど行が増える。出力は (2 length2 + 1, 2 length1 + 1)。 空の入力(image が 0 要素)は ValueError。

詳しい使い方ガイド

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

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

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

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

同カテゴリ(resample)

map_image · rectify_to_world_plane · change_radial_distortion_image


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

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