밴드 이름에서 밴드 유형으로의 사전입니다. 유형은 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"]]