paper op• Data kinds: कोई नहीं → table (केवल arguments से तय होने वाला op — यह कोई image या data input नहीं लेता)
• Call: import fullseye as fs; fs.ledger.annotate_scale_bar_layout(shape, units_per_pixel, unit='µm', corner='rb', target_fraction=0.2, margin=14, thickness=5) (implementation को सीधे call करना हो तो import annotate; annotate.annotate_scale_bar_layout(shape, units_per_pixel, unit='µm', corner='rb', target_fraction=0.2, margin=14, thickness=5), registry से लेना हो तो opsannotate.get("annotate_scale_bar_layout"))
table (dict) लौटाता है: image की चौड़ाई के target_fraction से अधिक नहीं, गोल लंबाई वाली bar।
लंबाई 1/2/5 × 10^k में से वह अधिकतम मान है जो target_fraction * W * units_per_pixel से अधिक न हो। pixel लंबाई = round(length / units_per_pixel)।
dict
{"length","px","rect":(x,y,w,h),"unit","corner","label"}।
ValueError
units_per_pixel / target_fraction धनात्मक नहीं, अज्ञात corner,
या bar 1 pixel से छोटी है या image में फ़िट नहीं होती।
• figure_annotation family guide
• dataset_conventions — Training dataset के conventions — COCO / YOLO / VOC और visual inspection में सावधानियाँ
• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।
• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।
• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।
• paper_figure — py -3.11 examples/paper_figure.py
table को input के रूप में लेते हैं)—
paper)annotate_leader_layout · annotate_leader · annotate_markers · annotate_legend · annotate_dimension_layout · annotate_dimension · annotate_angle_layout · annotate_angle
*Provenance: annotate.py — ANNOTATE operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.