Patent ID: 11893685
Assignee: BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. An electronic device, comprising:
at least one processor; and
a memory communicatively connected with the at least one processor;
wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform a method for building landform map, wherein the method comprises:
acquiring a to-be-processed image to obtain a grayscale image of the to-be-processed image;
classifying pixels in the grayscale image according to grayscale values to obtain binary images corresponding to different landform categories;
extracting image spot contours of image spots in the binary images, and taking the extracted image spot contours as vector graphs to obtain a vector graph set;
merging, according to position information, the vector graphs corresponding to a same landform category in the vector graph set, and obtaining a first landform map according to merging results corresponding to different landform categories; and
mapping, by using a preset landform type, the vector graphs corresponding to different landform categories in the first landform map, and taking a mapping result as a second landform map.