surface op• 데이터 종류: depth → image2d
• 호출: import fullseye as fs; fs.ledger.dem_slope(dem, cell_size, method='horn', units='degrees')(구현을 직접 호출하려면 import demops; demops.dem_slope(dem, cell_size, method='horn', units='degrees'), 원장에서 가져오려면 opsdem.get("dem_slope"))
> 이 연산자의 설명은 아직 번역이 없습니다. 원문을 그대로 싣습니다.
傾斜角。`units は "degrees" / "radians" / "percent"`。
平面なら閉形式 `atan(|grad|)` と一致する(実測 1e-13 以下)。
手順: 3x3 近傍から `dz/dx(東向き)と dz/dy`(北向き = 行が減る向き)を
取り、`g = hypot(dz/dx, dz/dy)。"degrees" は atan(g)` を度で、
`"radians" はラジアン、"percent" は 100 g`(45 度 = 100 %)。
縁は端の値を複製して埋める(`pad mode="edge"`)ので、外周 1 セルは内側より
緩めに出る。
• `dem: (H, W) の標高 [m]、3x3 以上、実数、inf 不可。欠測は nan` で
渡す ―― `-9999 のような番兵値がそのまま入っている(<= -9000` があり
`nan が無い)と拒否する。nan` は 3x3 の範囲に伝播する。
• `cell_size`: セル辺長 [m]、正の有限値。bool / 文字列は拒否。緯度経度格子は
先に `dem_geodetic_slope` 側を使う。
• `method: "horn"(Horn 1981 の 3x3 重み付き差分、既定)/ "central"`
(Zevenbergen–Thorne の中央差分)。
• 返り値: `(H, W) float64。degrees は [0, 90)`。
• 失敗はすべて `ValueError(形・番兵値・cell_size`・選択肢)。
`dem_aspect と対で使う。dem_hillshade` はこの 2 つから陰影を作る。
• dem_terrain_analysis 패밀리 가이드
• 샘플 데이터 카탈로그(DL URL / 라이선스) —— 2-D 는 skimage.data(BSD/public)+ 합성, 3-D 는 실데이터 소스(Stanford/PDS 등)의 DL URL.
• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.
• 알고리즘의 정전(저자·연도)과 용도는 위의 패밀리 사용 가이드에 적혀 있습니다.
• dem_geodesy_tour — py -3.11 examples/dem_geodesy_tour.py
• poc_crop_phenotyping — py -3.11 examples/poc_crop_phenotyping.py
• poc_dem_terrain — py -3.11 examples/poc_dem_terrain.py
• poc_geodetic_height_frames — py -3.11 examples/poc_geodetic_height_frames.py
• poc_multibeam_bathymetry — py -3.11 examples/poc_multibeam_bathymetry.py
• poc_stockpile_volume — py -3.11 examples/poc_stockpile_volume.py
image2d 를 입력으로 받는 것)—
surface)dem_aspect · dem_curvature · dem_roughness · dem_tpi
*Provenance: demops.py — DEM 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.