An algorithm and a program for detecting the boundaries of water bodies for the autopilot module of asurface robot are proposed. A method for detecting water objects on satellite maps by the method of finding a color in the HSV color space, using erosion, dilation - methods of digital image filtering is applied.The following operators for constructing contours on the image are investigated: the operators of Sobel,Roberts, Prewitt, and from them the one that detects the boundary more accurately is selected for thismodule. An algorithm for calculating the GPS coordinates of the contours is created. The proposed algorithm allows saving the result in a format suitable for the surface robot autopilot module.
翻译:提出了一个用于探测水体界限的算法和程序,用于探测地表机器人自动驾驶模块的水体界限。提出了一种在卫星地图上通过在 HSV 颜色空间中寻找颜色的方法探测水体的方法,使用侵蚀和放大法-数字图像过滤法。采用了以下操作员在图像上建造轮廓进行调查:为这个模块选择了Sobel、Roberts、Prewitt的操作员,并从他们中选择了更精确地探测边界的操作员。为计算轮廓的全球定位系统坐标,创建了一种算法。提议的算法允许以适合地面机器人自动驾驶模块的格式保存结果。