공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ee.Image.directionalDistanceTransform
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
소스의 각 0 값 픽셀에 대해 지정된 방향에서 가장 가까운 0이 아닌 픽셀까지의 거리를 가져옵니다.
'distance'라는 부동 소수점 거리 밴드를 반환합니다.
사용 | 반환 값 |
---|
Image.directionalDistanceTransform(angle, maxDistance, labelBand) | 이미지 |
인수 | 유형 | 세부정보 |
---|
다음과 같은 경우: source | 이미지 | 소스 이미지입니다. |
angle | 부동 소수점 수 | 0이 아닌 픽셀을 검색할 각도(단위: 도)입니다. |
maxDistance | 정수 | 검색할 최대 거리(픽셀)입니다. |
labelBand | 문자열, 기본값: null | 제공된 경우 다중 대역 입력이 허용되며 이 대역만 검색에 사용됩니다. 다른 모든 밴드는 반환되며 라벨 밴드에서 검색된 0이 아닌 픽셀에 있는 밴드별 값으로 채워집니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[],["The `directionalDistanceTransform` function calculates the distance from each zero-valued pixel in a source image to the nearest non-zero pixel along a specified angle. It returns an image containing these floating-point distances. The search is performed up to a maximum distance. Optionally, a specific band can be defined as the target for the search, while preserving the other bands with the values found at searched pixel locations.\n"],null,[]]