shape op• 데이터 종류: image2d → image2d
• 호출: import fullseye as fs; fs.ledger.ellipse(img, center, radii, angle_deg=0.0, color='neutral', width=2, fill=False, alpha=1.0, scheme='okabe_ito')(구현을 직접 호출하려면 import annotate; annotate.ellipse(img, center, radii, angle_deg=0.0, color='neutral', width=2, fill=False, alpha=1.0, scheme='okabe_ito'), 원장에서 가져오려면 opsannotate.get("ellipse"))
타원(angle_deg 로 회전, fill=True 면 칠하기).
ValueError
반경이 양이 아님, 비유한, alpha가 [0,1] 밖.
그리기: 화소를 angle_deg만큼 돌린 국소 좌표 (u, v)로 옮기고, q = (u/ra)^2 + (v/rb)^2로 판정한다. fill=True는 q <= 1, fill=False는 |sqrt(q) - 1| <= max(1, width) / (2 min(ra, rb))의 띠(안티에일리어싱 없음). 띠의 폭을 단축으로 정규화하고 있으므로, 납작한 타원에서는장축의 끝일수록 선이 굵어 보인다(근사).
• center: (x, y), x = 열·y = 행. 영상 밖이어도 된다.
• radii: (ra, rb) [px]. ra가 angle_deg 방향, rb가 그 직교 방향. 둘 다 양.
• angle_deg: 회전각 [도]. x축에서 시계 방향(화면 좌표, y가 아래 방향).
• width: 선폭 [px] (fill=False일 때).
• img / color / alpha / scheme의 취급은 rounded_rect와 같다(float64 복제, [0, 1], 역할명 또는 RGB).
• 반환값: 입력과 같은 형태의 float64.
ra == rb이면 원. 계측 결과(타원 피팅의 row, col, phi, ra, rb)를겹칠 때는 center=(col, row), angle_deg=degrees(phi)로 바꿔 읽는다.
• dataset_conventions — 학습 데이터셋 규약 지식 — COCO / YOLO / VOC와 외관 검사의 함정
• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.
• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.
• 알고리즘의 정전(저자·연도)과 용도는 위의 패밀리 사용 가이드에 적혀 있습니다.
• annotate_gallery — py -3.11 examples/annotate_gallery.py
• poc_dimensional_inspection — py -3.11 examples/poc_dimensional_inspection.py
• poc_driving_crossing — py -3.11 examples/poc_driving_crossing.py
• poc_driving_lateral — py -3.11 examples/poc_driving_lateral.py
• poc_driving_pass — py -3.11 examples/poc_driving_pass.py
• poc_machine_condition_fusion — py -3.11 examples/poc_machine_condition_fusion.py
• poc_peg_insertion_tactile — py -3.11 examples/poc_peg_insertion_tactile.py
• poc_public_camera_heading_real — py -3.11 examples/poc_public_camera_heading_real.py
image2d 를 입력으로 받는 것)text_box · arrow · leader_line · label_points · crosshair · legend_box · color_bar · scale_bar
shape)rounded_rect · filled_polygon · arc
*Provenance: annotate.py — ANNOTATE 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.