공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ee.Image.spectralDilation
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
구조화 커널 아래의 각 픽셀의 스펙트럼 거리를 커널 아래의 모든 픽셀의 중심에서 계산하고 가장 먼 결과를 취하여 이미지의 스펙트럼/공간 팽창을 계산합니다. '다차원 형태학적 연산을 통한 공간/스펙트럼 엔드멤버 추출'을 참고하세요. IEEE transactions on geoscience and remote sensing 40.9 (2002): 2025-2041.
사용 | 반환 값 |
---|
Image.spectralDilation(metric, kernel, useCentroid) | 이미지 |
인수 | 유형 | 세부정보 |
---|
다음과 같은 경우: image | 이미지 | 입력 이미지입니다. |
metric | 문자열, 기본값: 'sam' | 사용할 스펙트럼 거리 측정항목입니다. 'sam' (스펙트럼 각도 매퍼), 'sid' (스펙트럼 정보 발산), 'sed' (제곱 유클리드 거리) 또는 'emd' (지구 이동자 거리) 중 하나입니다. |
kernel | 커널, 기본값: null | 연결성 커널입니다. 기본값은 반지름이 1인 정사각형 (8방향 연결)입니다. |
useCentroid | 불리언, 기본값: false | true인 경우 거리는 커널의 중심 픽셀이 아닌 커널 아래의 모든 픽셀의 평균에서 계산됩니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eComputes the spectral/spatial dilation of an image based on the spectral distance of pixels within a kernel.\u003c/p\u003e\n"],["\u003cp\u003eUses a specified spectral distance metric (SAM, SID, SED, or EMD) to calculate distances.\u003c/p\u003e\n"],["\u003cp\u003eOffers options to define the kernel shape and whether to use the centroid or center pixel for distance calculations.\u003c/p\u003e\n"],["\u003cp\u003eOutputs an image representing the spectral dilation result.\u003c/p\u003e\n"]]],[],null,["# ee.Image.spectralDilation\n\nComputes the spectral/spatial dilation of an image by computing the spectral distance of each pixel under a structuring kernel from the centroid of all pixels under the kernel and taking the most distant result. See 'Spatial/spectral endmember extraction by multidimensional morphological operations.' IEEE transactions on geoscience and remote sensing 40.9 (2002): 2025-2041.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------------------------------------|---------|\n| Image.spectralDilation`(`*metric* `, `*kernel* `, `*useCentroid*`)` | Image |\n\n| Argument | Type | Details |\n|---------------|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `image` | Image | The input image. |\n| `metric` | String, default: \"sam\" | The spectral distance metric to use. One of 'sam' (spectral angle mapper), 'sid' (spectral information divergence), 'sed' (squared Euclidean distance), or 'emd' (earth movers distance). |\n| `kernel` | Kernel, default: null | Connectedness kernel. Defaults to a square of radius 1 (8-way connected). |\n| `useCentroid` | Boolean, default: false | If true, distances are computed from the mean of all pixels under the kernel instead of the kernel's center pixel. |"]]