基于COANet的遥感道路提取

在这里插入图片描述

1. 数据准备

1.1 原始数据格式

标签为二值图,后缀为png

- ${your data root}
	-- train_images
		--- xxx.tif
		--- xxx.tif
		...
	-- train_labels
		--- xxx.png
		--- xxx.png
		...

train_images
在这里插入图片描述
train_labels

在这里插入图片描述

1.2 生成connect标签

cd ${your project root}/dataGenerators
python create_connection.py --base_dir D:\MyWorkSpace\dl_dataset\road_extraction\masa\test\png

运行完成后,你的数据根目录如下

- ${your data root}
	-- train_images
		--- xxx.tif
		--- xxx.tif
		...
	-- train_labels
		--- xxx.png
		--- xxx.png
		...
	-- train_connect_8_d1
		-

猜你喜欢

转载自blog.csdn.net/weixin_42990464/article/details/124977907
今日推荐