공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ee.Image.resample
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
인수와 동일한 이미지를 반환하지만 기본 최근접 이웃 대신 양선형 또는 바이큐빅 보간을 사용하여 기본 투영 또는 동일한 이미지 피라미드의 다른 수준이 아닌 투영의 픽셀을 계산하는 알고리즘입니다.
이는 입력 이미지의 기본 투영이 의미가 있어야 하므로 컴포지트에서는 사용할 수 없습니다. (대신 컴포지션을 만드는 데 사용되는 이미지를 리샘플링해야 합니다.)
사용 | 반환 값 |
---|
Image.resample(mode) | 이미지 |
인수 | 유형 | 세부정보 |
---|
다음과 같은 경우: image | 이미지 | 리샘플링할 이미지입니다. |
mode | 문자열, 기본값: 'bilinear' | 사용할 보간 모드입니다. 'bilinear' 또는 'bicubic' 중 하나입니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eResamples an image using bilinear or bicubic interpolation, resulting in an identical image but with different pixel computation for projections and pyramid levels.\u003c/p\u003e\n"],["\u003cp\u003eRelies on the input image's inherent projection and is unsuitable for composite images, which require individual component resampling.\u003c/p\u003e\n"],["\u003cp\u003eOffers 'bilinear' and 'bicubic' as interpolation modes, impacting how pixel values are calculated during resampling.\u003c/p\u003e\n"],["\u003cp\u003eThe function \u003ccode\u003eImage.resample()\u003c/code\u003e takes the image and the desired interpolation mode as input and returns the resampled image.\u003c/p\u003e\n"]]],["The algorithm resamples an input image using either bilinear or bicubic interpolation, departing from the default nearest-neighbor method. This is applied when calculating pixels in projections outside the image's native projection or in different levels of the image pyramid. The input image must have a meaningful default projection; therefore, it cannot be used on composites. The function, `Image.resample(mode)`, accepts an `Image` and a `mode` string (\"bilinear\" or \"bicubic\") as arguments, and returns a resampled `Image`.\n"],null,["# ee.Image.resample\n\nAn algorithm that returns an image identical to its argument, but which uses bilinear or bicubic interpolation (rather than the default nearest-neighbor) to compute pixels in projections other than its native projection or other levels of the same image pyramid.\n\n\u003cbr /\u003e\n\nThis relies on the input image's default projection being meaningful, and so cannot be used on composites, for example. (Instead, you should resample the images that are used to create the composite.)\n\n| Usage | Returns |\n|----------------------------|---------|\n| Image.resample`(`*mode*`)` | Image |\n\n| Argument | Type | Details |\n|---------------|-----------------------------|----------------------------------------------------------------|\n| this: `image` | Image | The Image to resample. |\n| `mode` | String, default: \"bilinear\" | The interpolation mode to use. One of 'bilinear' or 'bicubic'. |"]]