要提取大棚的采样区域,可以通过图像处理技术进行。以下是一种可能的步骤:
需要注意的是,具体的实现方式可能会根据图像的特点和应用场景不同而有所差异。
大棚提取
方法参数
- fromGridRes( Image ImageCollection )
image实例
返回值: FeatureCollection
/**
* @File : AI_Greenhouse_Extraction
* @Time : 2024/04/24
* @Author : GEOVIS Earth Brain
* @Version : 0.1.0
* @Contact : 中国(安徽)自由贸易试验区合肥市高新区望江西路900号中安创谷科技园一期A1楼36层
* @License : (C)Copyright 中科星图数字地球合肥有限公司 版权所有
* @Desc : 提取采样区域的大棚
* @Name : 大棚提取
*/
/** */
// 获取geometry对象
var geometry = gve.Geometry.Polygon([
[
[
117.26078093203233,
32.462385551398796
],
[
117.26890898245301,
32.462385551398796
],
[
117.26890898245301,
32.45883666940317
],
[
117.26078093203233,
32.45883666940317
],
[
117.26078093203233,
32.462385551398796
]
]
]);
// 数据来源
var source = "Base_Image_V2024_1";
// 指定分辨率,外扩等
//@Ignore
var option = {};
// 获取指定区域tif数据
var image = gve.Image.fromGeometry(geometry, source, option);
var greenhouseFeatureCol = gve.Services.AI.greenhouseExtraction(image);
var style = { color: '#96eebc', fillColor: '#96eebc', lineWidth: 1, opacity: 0.5 }
Map.centerObject(geometry)
Map.addLayer(greenhouseFeatureCol, { style: style });
https://wx.zsxq.com/group/48888525452428
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有