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.