공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ui.Thumbnail.setParams
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
썸네일을 생성하는 데 사용되는 매개변수를 설정합니다.
이 썸네일을 반환합니다.
사용 | 반환 값 |
---|
Thumbnail.setParams(params) | ui.Thumbnail |
인수 | 유형 | 세부정보 |
---|
다음과 같은 경우: ui.thumbnail | ui.Thumbnail | ui.Thumbnail 인스턴스입니다. |
params | 객체 | 썸네일을 생성하는 데 사용된 매개변수입니다.
dimensions (WIDTHxHEIGHT 형식의 숫자 또는 숫자 쌍) 렌더링할 썸네일의 최대 크기(픽셀)입니다. 하나의 숫자만 전달되면 최댓값으로 사용되고 다른 측정기준은 비례 조정으로 계산됩니다. |
region (E,S,W,N 또는 GeoJSON) 렌더링할 이미지의 지리정보 영역입니다. 기본적으로 전체 이미지입니다. |
format (문자열) 'png' 또는 'jpg'입니다. |
bands (쉼표로 구분된 문자열) RGB에 매핑할 밴드 이름의 쉼표로 구분된 목록입니다. |
min (쉼표로 구분된 숫자) 00에 매핑할 값 (또는 밴드당 하나)입니다. |
max (쉼표로 구분된 숫자) FF에 매핑할 값 (또는 밴드당 하나)입니다. |
gain (쉼표로 구분된 숫자) 00~FF에 매핑할 게인 (또는 대역당 하나)입니다. |
bias (쉼표로 구분된 숫자) 00~FF에 매핑할 오프셋 (또는 밴드당 하나)입니다. |
gamma (쉼표로 구분된 숫자) 감마 보정 계수 (또는 대역별 하나) |
palette (쉼표로 구분된 문자열) CSS 스타일 색상 문자열 목록 (단일 밴드 미리보기만 해당) |
opacity (숫자): 불투명도를 나타내는 0과 1 사이의 숫자입니다. |
version (숫자) 이미지의 버전 번호 (또는 최신 버전)입니다. |
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eThe \u003ccode\u003eThumbnail\u003c/code\u003e class allows you to set parameters for generating thumbnails of images.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esetParams\u003c/code\u003e method is used to configure the thumbnail generation process with options like dimensions, region, format, and color adjustments, and returns the \u003ccode\u003eui.Thumbnail\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eYou can control the size, area, and visual appearance of the thumbnail using parameters like \u003ccode\u003edimensions\u003c/code\u003e, \u003ccode\u003eregion\u003c/code\u003e, \u003ccode\u003ebands\u003c/code\u003e, \u003ccode\u003emin\u003c/code\u003e, \u003ccode\u003emax\u003c/code\u003e, \u003ccode\u003egain\u003c/code\u003e, \u003ccode\u003ebias\u003c/code\u003e, \u003ccode\u003egamma\u003c/code\u003e, \u003ccode\u003epalette\u003c/code\u003e, and \u003ccode\u003eopacity\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt's possible to specify the image format (PNG or JPG) and opacity for the thumbnail.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eversion\u003c/code\u003e parameter lets you request a specific version of the image or the latest one.\u003c/p\u003e\n"]]],["The `Thumbnail.setParams(params)` method configures thumbnail generation parameters and returns the `ui.Thumbnail`. Parameters include `dimensions` for pixel size, `region` for the geospatial area, `format` ('png' or 'jpg'), and `bands` for RGB mapping. It accepts numerical adjustments like `min`, `max`, `gain`, `bias`, `gamma`, color settings through a `palette`, `opacity`, and `version` controls. The given `ui.thumbnail` instance is modified with these settings.\n"],null,[]]