fly_sky_1f — FLYVISION stimulus op

• 資料種類:無 → image2d(僅由參數決定的運算子 —— 不接受影像或資料輸入)

• 呼叫: import fullseye as fs; fs.ledger.fly_sky_1f(width=1024, height=512, band_lo_deg=20.0, band_hi_deg=60.0, amp=0.12, seed=0, edge_deg=5.0)(要直接呼叫實作,import flyvision; flyvision.fly_sky_1f(width=1024, height=512, band_lo_deg=20.0, band_hi_deg=60.0, amp=0.12, seed=0, edge_deg=5.0);從台帳取用則 opsflyvision.get("fly_sky_1f"))

用法

> 該運算子的說明尚無譯文,以下照原文給出。

Synthetic equirectangular sky panorama with a banded 1/f azimuthal texture.

An equirectangular image (row = elevation +90 deg down to -90 deg, column = azimuth 0 to 360 deg). Luminance is a vertical backlight gradient (0.62 at the zenith to 0.95 at the nadir) modulated in azimuth by a 1/f texture confined to an elevation band with cosine edges::

L = gradient(el) * (1 + amp * band(el) * noise(az)) clipped to [0, 1]

where noise has unit std, is clipped to +-2, and drops azimuthal frequencies below 2 cycles per revolution; band is 1 inside [band_lo_deg, band_hi_deg] with raised-cosine edges of width *edge_deg*.

width / height: the panorama size in pixels. band_lo_deg / band_hi_deg / edge_deg: the textured elevation band.

amp: the texture contrast on the backlight.

seed: integer seed for the azimuth noise (no None).

Returns a float64 (height, width) image in [0, 1].

Ground truth: the standard deviation across azimuth of a row inside the band exceeds that of a row outside it by more than 5x, and the log-log slope of the azimuthal power spectrum of an in-band row is -2 +- 0.4 (both pinned in the tests).

Raises ValueError: *width* / *height* outside their caps, a non-real / string / bool parameter, a negative *amp*, a non-positive *edge_deg*, and a band that does not satisfy -90 <= band_lo_deg < band_hi_deg <= 90.

詳細使用指南

• fly_vision 族使用指南

參考(範例資料、文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

• 演算法的正典(作者、年份)與用途見上面的族使用指南。

可執行的範例(實際呼叫該運算子並已驗證的樣例)

• poc_fly_optomotor_steering — py -3.11 examples/poc_fly_optomotor_steering.py

• poc_fly_vision — py -3.11 examples/poc_fly_vision.py

型別可銜接的下一個運算子(可接受 image2d 作為輸入)

fly_hex_resample

同類別(stimulus)

—


*Provenance: flyvision.py — FLYVISION 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

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