Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - search shortest path
Search - search shortest path - List
DL : 0
本程序是为了实现读取一张图片,根据图片标注的特殊像素颜色,以及输入的路径权值,和起止点,实现最短路径寻路,并清晰显示到窗口上的功能,同时支持导出到另一张24位的BMP图片(函数已经写好了,有需求只需要调用). 包含内容: 由控制台创建窗口 BMP文件读取函数(自己编写) 目标点的查找,坐标化 寻路 标记以及用箭头展示路径.-This procedure is to read a picture, according to label the pictures of a particular pixel color, and the input path weights, and check points, to achieve the shortest path routing, and clearly to the window function, also support the export to another piece of 24 bits BMP image (function has been written, there is a demand only need to call). Include content: Create a window the console BMP file read function (write their own) Target point search, coordinate Find the way Mark and display the path with the arrow.
Date : 2026-01-11 Size : 1.13mb User : OG
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.