ee.Algorithms.FMask.matchClouds
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ạy tính năng so khớp đám mây và bóng đổ FMask. Xuất một dải duy nhất ("csm"), chứa các mặt nạ đám mây và bóng được tính toán.
Cách sử dụng | Giá trị trả về |
---|
ee.Algorithms.FMask.matchClouds(input, cloud, shadow, btemp, sceneLow, sceneHigh, neighborhood) | Hình ảnh |
Đối số | Loại | Thông tin chi tiết |
---|
input | Hình ảnh | Cảnh cần tính toán mặt nạ đám mây và mặt nạ bóng. |
cloud | Hình ảnh | Hình ảnh mặt nạ đám mây tiềm năng. Dự kiến sẽ chứa 1 cho các pixel có mây và các pixel được che ở mọi nơi khác. |
shadow | Hình ảnh | Hình ảnh mặt nạ bóng tiềm ẩn. Dự kiến sẽ chứa 1 cho các pixel bóng và pixel được che ở mọi nơi khác. |
btemp | Hình ảnh | Hình ảnh nhiệt độ độ sáng, tính bằng độ C. |
sceneLow | Số thực dấu phẩy động | Nhiệt độ độ sáng ở phân vị thứ 0,175 của cảnh. |
sceneHigh | Số thực dấu phẩy động | Nhiệt độ độ sáng ở bách phân vị 0,825 của cảnh. |
neighborhood | Số nguyên, mặc định: 50 | Vùng lân cận để đệm xung quanh mỗi ô. |
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\u003eGenerates cloud and shadow masks for satellite imagery using the FMask algorithm.\u003c/p\u003e\n"],["\u003cp\u003eTakes an input image and potential cloud/shadow masks to identify these features.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes brightness temperature and scene percentiles to refine mask accuracy.\u003c/p\u003e\n"],["\u003cp\u003eOutputs a single-band image ('csm') representing the combined cloud and shadow mask.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization of neighborhood padding for tile processing.\u003c/p\u003e\n"]]],[],null,["# ee.Algorithms.FMask.matchClouds\n\nRuns the FMask cloud and shadow matching. Outputs a single band ('csm'), containing the computed cloud and shadow masks.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------------------------------------------------------------------------------|---------|\n| `ee.Algorithms.FMask.matchClouds(input, cloud, shadow, btemp, sceneLow, sceneHigh, `*neighborhood*`)` | Image |\n\n| Argument | Type | Details |\n|----------------|----------------------|----------------------------------------------------------------------------------------------------------|\n| `input` | Image | The scene for which to compute cloud and shadow masks. |\n| `cloud` | Image | Potential cloud mask image. Expected to contain 1s for cloudy pixels and masked pixels everywhere else. |\n| `shadow` | Image | Potential shadow mask image. Expected to contain 1s for shadow pixels and masked pixels everywhere else. |\n| `btemp` | Image | Brightness temperature image, in Celsius. |\n| `sceneLow` | Float | The 0.175 percentile brightness temperature of the scene. |\n| `sceneHigh` | Float | The 0.825 percentile brightness temperature of the scene. |\n| `neighborhood` | Integer, default: 50 | The neighborhood to pad around each tile. |"]]