ee.Image.min
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.
Chọn giá trị tối thiểu của giá trị thứ nhất và giá trị thứ hai cho mỗi cặp dải tần số trùng khớp trong image1 và image2. Nếu image1 hoặc image2 chỉ có 1 dải tần, thì dải tần đó sẽ được dùng cho tất cả các dải tần trong hình ảnh còn lại. Nếu các hình ảnh có cùng số lượng dải tần nhưng không có cùng tên, thì chúng sẽ được sử dụng theo cặp theo thứ tự tự nhiên. Các dải đầu ra được đặt tên theo dải đầu vào dài hơn trong hai dải đầu vào, hoặc nếu chúng có độ dài bằng nhau, thì theo thứ tự của image1. Loại pixel đầu ra là hợp của các loại đầu vào.
Cách sử dụng | Giá trị trả về |
---|
Image.min(image2) | Hình ảnh |
Đối số | Loại | Thông tin chi tiết |
---|
this: image1 | Hình ảnh | Hình ảnh mà từ đó các dải toán hạng bên trái được lấy. |
image2 | Hình ảnh | Hình ảnh mà từ đó các dải toán hạng bên phải được lấy. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eReturns the minimum pixel values between two images, comparing corresponding bands.\u003c/p\u003e\n"],["\u003cp\u003eIf the images have different band counts, single-band images are compared against all bands of the multi-band image.\u003c/p\u003e\n"],["\u003cp\u003eOutput bands are named using the longer image's band names, prioritizing the first image in case of equal length.\u003c/p\u003e\n"],["\u003cp\u003eOutput pixel type is determined by combining the input pixel types to accommodate all possible values.\u003c/p\u003e\n"]]],["The `min` operation compares two images (`image1`, `image2`) band-wise. It computes the minimum value for each corresponding band pair. If one image has a single band, that band is compared against all bands of the other. If both images have multiple bands, they're paired in order. Output band names come from the longer input, or `image1` if equal. Output pixel type is the combination of the input pixel types. The output is an image.\n"],null,["# ee.Image.min\n\nSelects the minimum of the first and second values for each matched pair of bands in image1 and image2. If either image1 or image2 has only 1 band, then it is used against all the bands in the other image. If the images have the same number of bands, but not the same names, they're used pairwise in the natural order. The output bands are named for the longer of the two inputs, or if they're equal in length, in image1's order. The type of the output pixels is the union of the input types.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------|---------|\n| Image.min`(image2)` | Image |\n\n| Argument | Type | Details |\n|----------------|-------|---------------------------------------------------------|\n| this: `image1` | Image | The image from which the left operand bands are taken. |\n| `image2` | Image | The image from which the right operand bands are taken. |"]]