vol_gamma — 3D gray op

데이터 종류: voxelvoxel

호출: import fullseye as fs; fs.ledger.vol_gamma(vol, gamma)(구현을 직접 호출하려면 import volgray; volgray.vol_gamma(vol, gamma), 원장에서 가져오려면 ops3d.get("vol_gamma"))

사용법

볼륨 자신의 값역에서의 감마(멱법칙) 보정(HALCON `pow_image`).

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

Normalises `[min, max] to [0, 1], applies t**gamma`, and maps the

result back to the original `[min, max]` — so the volume's extremes are

fixed points and only the mid-tones move: `gamma > 1` darkens them,

`gamma < 1 brightens them, gamma == 1` is the identity. The transform

is strictly monotone, so intensity *ordering* is always preserved.

A constant volume is returned unchanged (no range to normalise —

see the module docstring's flat-volume note).

Parameters

----------

vol : array_like, shape (D, H, W)

Input volume (coerced to float64; NaN/Inf rejected).

gamma : float

Exponent, `> 0 (fail-closed: gamma <= 0` is not a monotone

intensity map).

Returns

-------

ndarray, shape (D, H, W), float64

The gamma-corrected volume, same `[min, max]` range as the input.

Raises

------

ValueError

Non-3-D / non-finite input, or `gamma <= 0`.

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

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

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

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

gray_window_levelpy -3.11 examples_3d/gray_window_level.py

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

voxel_to_mips · voxel_to_mesh · signed_distance_field · to_points · sobel3d · hessian3d · curvature_maps · edt_jfa

같은 카테고리(gray)

vol_window_level · vol_equalize · vol_stretch


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

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