inspect op• Data kinds: image2d × image2d → image2d
• Call: import fullseye as fs; fs.ledger.print_layer_defect_map(observed: 'Any', expected: 'Any', tolerance_px: 'int' = 2, threshold: 'float' = 0.5) -> 'np.ndarray' (implementation को सीधे call करना हो तो import printpath; printpath.print_layer_defect_map(observed: 'Any', expected: 'Any', tolerance_px: 'int' = 2, threshold: 'float' = 0.5) -> 'np.ndarray', registry से लेना हो तो opsprintpath.get("print_layer_defect_map"))
देखी गई layer image और अपेक्षित layer image (gcode_layer_image) की तुलना से बना sign वाला defect map image2d: +1 = जहाँ होना चाहिए वहाँ नहीं है (कमी, clog), −1 = जहाँ नहीं होना चाहिए वहाँ है (stringing, बाहर निकलना, spaghetti), 0 = मेल।
दोनों को threshold से binarise किया जाता है, और केवल वे pixels defect माने जाते हैं जो tolerance_px जितना फैलाए गए दूसरे में शामिल नहीं हैं (position shift और line width के उतार-चढ़ाव को सहन करते हुए)। registration नहीं किया जाता -- camera image को पहले gcode_layer_image वाले ही pixel grid पर map कर लें।
• 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 में दिए गए हैं।
• poc_print_layer_inspection — py -3.11 examples/poc_print_layer_inspection.py
image2d को input के रूप में लेते हैं)stipple_points_from_image · stipple_energy · stroke_tone_error · halftone_screen · engrave_lines · hatch_field · mosaic_tiles_sites · mosaic_tiles_render
inspect)—
*Provenance: printpath.py — PRINTPATH operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.