vol_rotate — 3D geom_transform op

데이터 종류: voxelvoxel

호출: import fullseye as fs; fs.ledger.vol_rotate(vol, angle_deg, axes=(1, 2), order=1, reshape=False, mode='constant', cval=0.0)(구현을 직접 호출하려면 import volxform; volxform.vol_rotate(vol, angle_deg, axes=(1, 2), order=1, reshape=False, mode='constant', cval=0.0), 원장에서 가져오려면 ops3d.get("vol_rotate"))

사용법

축 쌍이 이루는 평면 안에서 볼륨을 회전(`scipy.ndimage.rotate`).

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

*axes* names the rotation plane and must be exactly one of `(0, 1)`

(z-y plane, turning about the x-axis), `(0, 2)` (z-x, about y) or

`(1, 2)` (y-x, about z — the axial-slice rotation; the default). Any

other pair — including a reversed one like `(2, 1)` — raises

`ValueError`, so the direction convention below is never silently

flipped.

Direction (pinned): a positive *angle_deg* rotates **from the first

axis of** *axes* toward the second — the same convention as

`np.rot90. Concretely, `vol_rotate(v, 90, axes=a, reshape=False,

order=0)` equals np.rot90(v, 1, axes=a)` bit-for-bit when the in-plane

shape is square (the test pins this).

`reshape=False` (default) keeps the input shape (in-plane corners that

leave the frame are lost, entering ones are filled with *cval* per *mode*);

`reshape=True` grows the in-plane shape to contain the whole rotated

frame — the grown output is cap-checked against `MAX_VOXELS` *before*

the call. *order* is the spline degree (exact integer 0..5; >1 overshoots

— module notes).

Returns a `(D, H, W)` float64 volume (same shape unless *reshape*).

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

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

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

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

vol_geometry_transformpy -3.11 examples_3d/vol_geometry_transform.py

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

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

같은 카테고리(geom_transform)

vol_resize · vol_affine


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

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