面向河湖水域的AI半自动标注方法及软件设计OA
AI-based semi-automatic annotation method and software design for river and lake water bodies
针对目前开源主流标注工具在语义识别样本标注过程中,常常需要人工手动对水利目标进行描边、勾绘等才能完成标注,存在费时、费力、样本不精准等问题,提出一种结合MAFs(形态学属性滤波)和SAM(通用分割大模型)的河湖水域半自动标注方法.通过交互式选择提示点输入SAM提示编码器,获得初标注掩膜图像,对掩膜图像进行MAFs操作,消除SAM初标注结果存在的"孤岛""斑点"等噪声,得到高质量的掩膜图像.基于12 000余张无人机水域标注任务进行试验与软件开发,结果表明:相较于利用传统标注工具进行语义识别标注任务,所提标注方法的平均标注时间由20~30 s/张降低至2~3 s/张,同时减少"孤岛""毛刺"等噪声干扰,获得较高质量的标注图像.研究成果具有较高的标注效率与质量,可在语义模型训练中缩短样本准备时间并提高样本获取质量.
Currently,mainstream open-source annotation tools often require manual outlining and delineation of water conservancy targets during semantic annotation,which is time-consuming,labor-intensive,and prone to inaccuracies.To address these issues,a semi-automatic annotation method for river and lake water bodies was proposed,combining MAFs(Morphological Attribute Filtering)and SAM(Segment Anything Model).Interactive prompt points were input into the SAM prompt encoder to obtain initial segmentation masks.MAFs was then applied to the masks to eliminate noise such as"isolated islands"and"speckles"in the initial SAM results,ultimately producing high-quality masks.Experiments and software development were conducted using more than 12 000 UAV-acquired water body images.The results showed that,compared with traditional annotation tools,the average annotation time was reduced from 20~30 seconds per image to 2~3 seconds per image.In addition,noise interference such as"isolated islands"and"burrs"was reduced,resulting in higher-quality annotated images.These findings indicate that the proposed method achieves high annotation efficiency and quality,thereby shortening sample preparation time and improving sample quality in semantic model training.
朱水萍;胡世明;王灵敏;江乘辉;李翼星;唐喜珍
舟山市普陀区农业农村局,浙江舟山 316100浙江中泓智水科技有限公司,浙江 杭州 310052浙江中泓智水科技有限公司,浙江 杭州 310052舟山市普陀区农业农村局,浙江舟山 316100浙江中泓智水科技有限公司,浙江 杭州 310052浙江中泓智水科技有限公司,浙江 杭州 310052
信息技术与安全科学
AI语义识别半自动标注SAMMAFs河湖库
AI semantic recognitionsemi-automatic annotationSAMMAFsrivers and lakes
《水利信息化》 2026 (2)
46-53,8
评论