resample op• Data kinds: image2d → image2d
• Call: import fullseye as fs; fs.ledger.crop_rectangle2(image, row, col, phi, length1, length2) -> 'np.ndarray' (to call the implementation directly, import image_gen; image_gen.crop_rectangle2(image, row, col, phi, length1, length2) -> 'np.ndarray'; from the registry, opsmv.get("crop_rectangle2"))
• HALCON equivalent: crop_rectangle2 (the HALCON reference is a useful guide to its meaning and parameters)
• GPU: none (CPU reference implementation only)
Read the inside of a rotated rectangle by linear interpolation and cut it out as an axis-aligned image.
> The detailed description below is the original text — the summary and the headings are translated.
矩形は中心 (row, col)、長軸の半分 length1、短軸の半分 length2、向き phi [rad]。向きはこの repo の矩形(gen_rectangle2_contour_xld)と同じで、phi が正だと長軸は右へ進むほど行が増える。出力は (2 length2 + 1, 2 length1 + 1)。空の入力(image が 0 要素)は ValueError。
• machine_vision_classics family guide
• 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.
• machine_vision_tour — py -3.11 examples/machine_vision_tour.py
image2d as input)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. 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.