image1과 image2의 일치하는 각 밴드 쌍에 대해 첫 번째 값을 두 번째 값에 더합니다. image1 또는 image2에 밴드가 하나만 있는 경우 다른 이미지의 모든 밴드에 대해 사용됩니다. 이미지의 밴드 수가 동일하지만 이름이 동일하지 않은 경우 자연스러운 순서로 쌍을 이루어 사용됩니다. 출력 밴드는 두 입력 중 더 긴 입력의 이름을 따서 지정되며, 길이가 같은 경우 image1의 순서로 지정됩니다. 출력 픽셀의 유형은 입력 유형의 합집합입니다.
[[["이해하기 쉬움","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)"],[[["`Image.add()` performs pixel-wise addition between two images, adding the values of corresponding bands."],["If the input images have different numbers of bands, the single-band image is applied to all bands of the multi-band image."],["Output band names and data types are determined based on the input images, prioritizing the longer or first image."],["Numerical inputs are automatically converted to images, allowing for operations with constants."],["This function is commonly used for arithmetic calculations on raster data, such as combining spectral bands or applying offsets."]]],["The `add()` method combines two images by adding corresponding band values. If one image has a single band, it's applied to all bands of the other. When both images have multiple bands with different names, bands are added pairwise. Output band names are taken from the longer input image, or the first if they are equal in length, with output pixel type being the union of the two inputs.\n"]]