resample opimage2d → image2dimport fullseye as fs; fs.ledger.crop_rectangle2(image, row, col, phi, length1, length2) -> 'np.ndarray' (実装を直接呼ぶなら import image_gen; image_gen.crop_rectangle2(image, row, col, phi, length1, length2) -> 'np.ndarray'、台帳から引くなら opsmv.get("crop_rectangle2"))crop_rectangle2(意味・パラメータは HALCON リファレンスが参考になる)回転矩形の内側を線形補間で読み、軸に沿った画像として切り出す(crop_rectangle2)。
矩形は中心 (row, col)、長軸の半分 length1、短軸の半分 length2、向き phi
[rad]。向きはこの repo の矩形(gen_rectangle2_contour_xld)と同じで、phi が正だと
長軸は右へ進むほど行が増える。出力は (2 length2 + 1, 2 length1 + 1)。
空の入力(image が 0 要素)は ValueError。
py -3.11 examples/machine_vision_tour.pyimage2d を入力に取れる)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.