antialias — 3D render op

• Data kinds: image2d → image2d

• Call: import fullseye as fs; fs.ledger.antialias(hi_res_image, ss, filter: 'str' = 'box') -> 'np.ndarray' (implementation को सीधे call करना हो तो import render_ssaa; render_ssaa.antialias(hi_res_image, ss, filter: 'str' = 'box') -> 'np.ndarray', registry से लेना हो तो ops3d.get("antialias"))

उपयोग

high-resolution image को integer factor ss से छोटा करता है (area-average anti-aliasing)।

hi_res_image (H*ss, W*ss) या (H*ss, W*ss, C) की float image है। हर ss×ss block का weighted औसत लेकर (H, W[, C]) लौटाता है। filter:

• "box" — समान weight का औसत (सटीक area average, SSAA का मानक)।

• "gauss" — block के केंद्र को अधिक महत्व देने वाले Gaussian weight (σ = ss/2, थोड़ा नरम)।

Fail-closed: ss 1 या अधिक का integer हो, इनपुट 2D / 3D हो, और हर भुजा ss से पूरी विभाज्य हो। non-finite मान हों तो ValueError (औसत से NaN न फैले, इसलिए allocation से पहले अस्वीकार)।

पृष्ठभूमि guides (इस op के पीछे की physics और conventions)

• blender_interop — Blender के साथ उपयोग — shape बनाएँ, fullseye से मापें (सावधानियाँ: axes, units, ground truth)

संदर्भ (sample data, साहित्य)

• 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 के स्रोत।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• render_ssaa — py -3.11 examples_3d/render_ssaa.py

वे अगले ops जिनसे type जुड़ता है (image2d को input के रूप में लेते हैं)

fuse_to_voxel · fit_poly_surface · eval_poly_surface · surface_form_error · background_flatten · polar_unwrap · fit_zernike · matcap_shade

इसी category के (render)

project_points · render_point_depth · render_volume_projection · render_shaded · ambient_occlusion · cast_shadow · phong_shade · matcap_shade


*Provenance: render_ssaa.py — 3D operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.