두 개의 병렬 목록으로 표시되는 입력 값에서 출력 값으로의 매핑입니다. 입력 목록에 포함되지 않은 입력 값은 defaultValue가 제공된 경우 defaultValue로 설정되고 그렇지 않은 경우 마스크 처리됩니다. 부동 소수점 값을 포함하는 입력은 부동 소수점 정밀도 오류로 인해 일치하지 않을 수 있습니다.
사용
반환 값
Image.remap(from, to, defaultValue, bandName)
이미지
인수
유형
세부정보
다음과 같은 경우: image
이미지
리매핑이 적용되는 이미지입니다.
from
목록
소스 값 (숫자 또는 ee.Array)입니다. 이 목록의 모든 값은 'to'의 해당 값에 매핑됩니다.
to
목록
대상 값 (숫자 또는 ee.Array)입니다. 이러한 값은 'from'의 해당 값을 대체하는 데 사용됩니다. 'from'과 동일한 수의 값이 있어야 합니다.
defaultValue
객체, 기본값: null
'from'의 값과 일치하지 않는 값을 대체하는 기본값입니다. 지정하지 않으면 일치하지 않는 값이 마스크 처리됩니다.
[[["이해하기 쉬움","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.remap` function replaces pixel values in an image based on two parallel lists: `from` and `to`. Values in `from` are mapped to corresponding values in `to`. Unmatched values are set to `defaultValue` if provided, otherwise they are masked. The function allows users to specify a `bandName`. It is designed to aggregate similar classes by mapping original values to new values, the remapped band name is \"remapped\".\n"]]