提出了一种等值线区域填充算法。该算法根据等值线和边界的关系,将等值线分类、排序,构造等值线填充区域。通过查找子等值线确定等值线填充区域的拓扑关系,还对不同的颜色选择方式进行了探讨,分析其各自优缺点后认为引入格点数据进行颜色选择是必要的。该算法可以在规则边界条件下实现等值线快速填充,并在上海市气象局短时/临近预报预警系统(NoCAWS)中应用,效果良好。
An algorithm of area filling based on isoline classification is presented.Based on the relationship between isolines and borderlines,isolines are classified and ranked,and the isoline areas are constructed.The isoline area topology is built by searching the subisolines.The advantages and disadvantages of different ways of color filling are also discussed,and the analysis concludes that it is necessary to use grid data to choose color.This algorithm can be used to fill the areas between regular isolines for less computing time.The algorithm has been applied successfully in the Shanghai Nowcasting Warning System(NoCAWS).