perlin2 — DRIVE terrain op

• Data kinds: image2d × image2d → table

• Call: import fullseye as fs; fs.ledger.perlin2(x, y, seed: 'int' = 0, freq: 'float' = 1.0) -> 'dict' (implementation को सीधे call करना हो तो import driveterrain; driveterrain.perlin2(x, y, seed: 'int' = 0, freq: 'float' = 1.0) -> 'dict', registry से लेना हो तो opsdrive.get("perlin2"))

• GPU: हाँ (allow-list का mechanical GPU path, CuPy)। device="auto" मापे गए आकार (4,194,304 pixel) और उससे बड़े पर GPU चुनता है

उपयोग

Perlin (2002, improved noise) के 2-D gradient noise का world coordinates (x, y) पर मूल्यांकन करता है।

जालक का अंतराल freq [आवर्त/m] है, प्रवणताएँ 8 दिशाओं के इकाई सदिश हैं, अंतर्वेशन quintic fade 6t⁵−15t⁴+10t³ है। लौटाया गया मान {"value", "dx", "dy"} (अवकलज विश्लेषणात्मक, d/dx प्रति विश्व निर्देशांक)। प्रमेय: जालक बिंदुओं पर मान 0, आवर्त 256 जालक, |value| ≤ 1।

संदर्भ (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 के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

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

• poc_world_terrain — py -3.11 examples/poc_world_terrain.py

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

course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same

इसी category के (terrain)

fbm_params · fbm_height · fbm_gradient · radial_periodogram · spectral_slope · course_distance · terrain_params · terrain_height


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

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