bloom — GFX2D post op

• 데이터 종류: rgb → rgb

• 호출: import fullseye as fs; fs.ledger.bloom(rgb, threshold=0.8, sigma=4.0, intensity=0.6)(구현을 직접 호출하려면 import gfx2d; gfx2d.bloom(rgb, threshold=0.8, sigma=4.0, intensity=0.6), 원장에서 가져오려면 opsgfx2d.get("bloom"))

사용법

이미지의 밝은 부분을 주위로 번지게 합니다.

> 아래 상세 설명은 원문입니다 —— 요약과 제목은 번역되어 있습니다.

The classical three steps: isolate what is above threshold, blur it by a Gaussian of sigma, add intensity times the result back, clip.

A *linear-light* operator: light spreading in a lens adds radiance. Running it on sRGB-encoded values makes the halo too strong in the mid-tones — srgb_to_linear first, linear_to_srgb after.

Exact identities: intensity=0 and threshold >= 1 both return the input bit for bit, and a black image stays black.

The added energy is *not* conserved by the clip at the end. The suite measures both halves: on a centred bright blob the Gaussian preserves the bright mass to 5.0e-16 relative, so everything lost after that is the clip — on a random scene with a saturated square, 2.69 % of the pixels clip and 1.65 % of the total energy is thrown away, and neither number is returned to the caller.

참고(샘플 데이터·문헌)

• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.

• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.

• 알고리즘의 정전(저자·연도)과 용도는 위의 패밀리 사용 가이드에 적혀 있습니다.

실행 가능한 예제(이 연산자를 실제로 호출하는 검증된 샘플)

• gfx2d_scene — py -3.11 examples/gfx2d_scene.py

• poc_public_camera_heading_real — py -3.11 examples/poc_public_camera_heading_real.py

타입이 이어지는 다음 연산자(rgb 를 입력으로 받는 것)

srgb_to_linear · linear_to_srgb · blend_mode · light_mask · normal_map_decode · vignette · chromatic_aberration · film_grain

같은 카테고리(post)

vignette · chromatic_aberration · film_grain · color_lut · color_grade · dither · palette_quantize


*Provenance: gfx2d.py — GFX2D 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*

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