이미지에서 픽셀의 직사각형 영역을 밴드별 ND 배열로 추출합니다. 배열은 이미지와 동일한 속성을 유지하는 기능과 이미지를 샘플링하는 데 사용된 것과 동일한 형상 (지정되지 않은 경우 이미지 설치 공간)으로 반환됩니다. 각 밴드는 입력 투영에서 샘플링되며, 지오메트리가 지정되지 않은 경우 설치 공간을 사용하여 샘플링됩니다. 스칼라 밴드의 경우 출력 배열은 2D입니다. 배열 밴드의 경우 출력 배열은 (2+N)D이며 여기서 N은 원래 밴드의 차원 수입니다. 배열 밴드를 샘플링하는 경우 모든 배열의 요소 수가 동일해야 합니다. 밴드의 샘플링된 영역이 완전히 마스크 처리되고 기본 배열 값이 지정된 경우 이미지를 샘플링하는 대신 기본 배열 값이 사용됩니다.
[[["이해하기 쉬움","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)"],[[["`sampleRectangle` extracts a rectangular region of pixels from a specified image into a multidimensional array for each band, preserving the image's original properties."],["The extracted region is defined by a geometry or defaults to the image's footprint, with each band sampled in its native projection."],["Output arrays are 2D for scalar bands and (2+N)D for array bands, where N represents the original band's dimensions, utilizing default values for masked or out-of-bounds pixels if provided."],["Users can customize the properties carried over from the original image and specify default values for masked or out-of-bounds pixel values."]]],["It extracts a rectangular pixel region from an image into an ND array per band, returning a feature with the same properties and geometry as the input. Bands are sampled in their input projection using a specified region or the image footprint. Output arrays are 2D for scalar bands and (2+N)D for array bands. If a sampled region is entirely masked, a specified default value or array is used. Properties from the image can be copied.\n"]]