Thông báo: Tất cả dự án phi thương mại đã đăng ký sử dụng Earth Engine trước ngày 15 tháng 4 năm 2025 phải xác minh điều kiện sử dụng phi thương mại để duy trì quyền truy cập vào Earth Engine.
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Giảm một tập hợp hình ảnh bằng cách tính toán giá trị phổ biến nhất tại mỗi pixel trên ngăn xếp của tất cả các dải phù hợp. Các dải tần được so khớp theo tên.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["`ImageCollection.mode()` reduces an image collection to a single image by calculating the most frequent pixel value for each band across the collection."],["Bands are matched by name during the reduction process."],["If multiple pixel values have the same highest frequency (multiple modes), the minimum mode value is selected for that pixel."],["The resulting image represents the most common values observed in the collection for each band."]]],["The content details the `mode()` function within an `ImageCollection`, which finds the most frequent pixel value across matching bands in a stack of images, returning a single `Image`. It demonstrates reducing an image collection using functions such as: `mean()`, `median()`, `min()`, `max()`, `sum()`, and `product()`. It also shows how to calculate a pixel frequency using `count()` and to mosaic together images with `mosaic()`. `mode` returns the lowest value if multiple values have the same frequency.\n"]]