Earth Engine은 공유 컴퓨팅 리소스를 보호하고 모든 사용자에게 안정적인 성능을 보장하기 위해 비상업적 할당량 등급을 도입합니다. 모든 비상업용 프로젝트는 2026년 4월 27일까지 할당량 등급을 선택해야 하며, 선택하지 않으면 커뮤니티 등급이 기본적으로 사용됩니다. 등급 할당량은 등급 선택 날짜와 관계없이 2026년 4월 27일에 모든 프로젝트에 적용됩니다. 자세히 알아보기
ee.Image.cast
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이미지의 일부 또는 모든 밴드를 지정된 유형으로 변환합니다.
사용
반환 값
Image.cast(bandTypes, bandOrder)
이미지
인수
유형
세부정보
다음과 같은 경우: image
이미지
전송할 이미지입니다.
bandTypes
딕셔너리
밴드 이름에서 밴드 유형으로의 사전입니다. 유형은 PixelTypes 또는 문자열일 수 있습니다. 유효한 문자열은 'int8', 'int16', 'int32', 'int64', 'uint8', 'uint16', 'uint32', 'byte', 'short', 'int', 'long', 'float', 'double'입니다. bandTypes에 입력 이미지에 아직 없는 밴드가 포함되어 있으면 투명 밴드로 이미지에 추가됩니다. bandOrder도 지정하지 않으면 새 밴드가 알파벳순으로 추가됩니다.
bandOrder
목록, 기본값: null
결과의 밴드 순서를 지정하는 목록입니다. 지정된 경우 결과의 전체 대역 목록과 일치해야 합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-26(UTC)"],[],["The `Image.cast` function modifies an image by changing the data type of its bands. It takes a dictionary, `bandTypes`, mapping band names to new data types (PixelTypes or strings like 'int8', 'float'). If a specified band is not present in the original image, a transparent band of that type is added. An optional `bandOrder` list defines the sequence of the resulting bands. The function returns the modified `Image`.\n"]]