공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ee.Image.matrixDiagonal
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
행렬의 대각선을 단일 열로 계산합니다.
사용 | 반환 값 |
---|
Image.matrixDiagonal() | 이미지 |
인수 | 유형 | 세부정보 |
---|
다음과 같은 경우: value | 이미지 | 작업이 적용되는 이미지입니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eThis operation computes the diagonal of an image matrix and returns it as a single column in a new image.\u003c/p\u003e\n"],["\u003cp\u003eIt's applicable to image data and can be accessed using \u003ccode\u003eImage.matrixDiagonal()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe input is an image, and the output is a new image containing the diagonal elements.\u003c/p\u003e\n"]]],["The `matrixDiagonal()` function extracts the diagonal elements of a matrix within an image. It takes an image as input and returns a new image containing the diagonal values arranged in a single column. The operation is applied directly to the input image. The function doesn't require any additional arguments.\n"],null,["# ee.Image.matrixDiagonal\n\nComputes the diagonal of the matrix in a single column.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------|---------|\n| Image.matrixDiagonal`()` | Image |\n\n| Argument | Type | Details |\n|---------------|-------|----------------------------------------------|\n| this: `value` | Image | The image to which the operation is applied. |"]]