feature op• 데이터 종류: voxel → measurement
• 호출: import fullseye as fs; fs.ledger.vol_euler_number(vol_binary, connectivity=26)(구현을 직접 호출하려면 import volops; volops.vol_euler_number(vol_binary, connectivity=26), 원장에서 가져오려면 ops3d.get("vol_euler_number"))
• 원장 경유의 반환값: fullseye.ledger.vol_euler_number(...) 는 **선언된 out 형 measurement 의 값만** 반환합니다(실제 함수는 보조 정보도 반환). 버려진 쪽이 필요하면 fullseye.ledger.vol_euler_number.raw(...) 를 쓰거나 volops.vol_euler_number 를 직접 호출하세요.
• 실제 반환: chi(b0-b1+b2)
이진 볼륨의 오일러 표수를 세 베티 수(물체・관통 구멍・닫힌 공동)로 나누어 반환.
> 아래 상세 설명은 원문입니다 —— 요약과 제목은 번역되어 있습니다.
`chi = b0 - b1 + b2 where b0 counts **separate objects**, b1`
counts tunnels (handles that pass right through) and `b2` counts
enclosed cavities. For porous media that split is the whole point:
`b1` is open, connected porosity — the paths a fluid can take — while
`b2 is closed porosity that no fluid reaches. A single chi` cannot
tell a foam with many tunnels from one with many sealed bubbles; the three
numbers can.
*connectivity* is `6, 18 or 26` for the foreground; the background
is counted with the complementary neighbourhood (`26 vs 6`), which is
what makes the pair of counts consistent — using the same neighbourhood for
both is the classical way to produce a set that is simultaneously connected
and disconnected.
Returns ``{"euler": chi, "objects": b0, "tunnels": b1, "cavities": b2,
"connectivity": connectivity}`. b1 is derived as b0 + b2 - chi`, so
it inherits the exactness of the other three.
HALCON's `euler_number` is 2-D (regions) only; there is no voxel
equivalent.
• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.
• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.
• ct_porosity_and_fibre_morphometry — py -3.11 examples_3d/ct_porosity_and_fibre_morphometry.py
measurement 를 입력으로 받는 것)vol_gaussian_psf · fuse_to_voxel · fresnel_reflectance · snell_angle
feature)sobel3d · hessian3d · curvature_maps · edt_jfa · vol_frangi · vol_local_std · vol_local_thickness · vol_orientation_coherence
*Provenance: volops.py — 3D 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.