Skip to content

Commit

Permalink
Merge pull request #3 from geoyee/develop
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
geoyee authored Feb 3, 2023
2 parents c1e1b08 + 16f9ec8 commit 1d10bdc
Show file tree
Hide file tree
Showing 381 changed files with 1,154 additions and 150,787 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -366,4 +366,7 @@ FodyWeavers.xsd
testimgs/

# setup
setup/
setup/

# depends
labcd/depends/
35 changes: 16 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
# LabCD

https://user-images.githubusercontent.com/71769312/208237021-7da8c1c2-0d9a-4dbd-9f7d-a41b6dc6202a.mp4
简体中文| [English](./README_EN.md)

https://user-images.githubusercontent.com/71769312/216638896-bd1d5e40-6512-478d-b7b0-927c142aece6.mp4

遥感变化检测标注工具,设计参考[EISeg](https://github.com/PaddlePaddle/PaddleSeg/tree/release/2.6/EISeg),可以分别在左右两张画布中标注两个时段影像的变化信息,将自动同步在另一画布进行显示,[快捷键](https://github.com/geoyee/LabCD/wiki/%E5%BF%AB%E6%8D%B7%E9%94%AE%E5%88%97%E8%A1%A8)更方便。

**下载:[Windows exe](https://github.com/geoyee/LabCD/releases/download/0.1beta/LabCD-0.1beta-setup.exe)**
**哔哩哔哩:[https://www.bilibili.com/video/BV11j411T7up?t=23.2](https://www.bilibili.com/video/BV11j411T7up?t=23.2)**

**下载:[Windows x64 exe](https://github.com/geoyee/LabCD/releases/download/0.2/LabCD-0.2-x64-setup.exe)**

## 更新

1. 添加英语
2. 添加标注进程和定位十字丝
4. 增加对tif的支持,包含大图切块以及带地理参考的标签保存
6. 增加一个CVA参考图方便定位

## 环境及依赖

Expand All @@ -16,7 +27,7 @@ https://user-images.githubusercontent.com/71769312/208237021-7da8c1c2-0d9a-4dbd-

- JsonCpp 1.9.5

- ~~GDAL 3.5.3~~
- GDAL 3.5.3

## 文件组织

Expand All @@ -36,25 +47,11 @@ testimgs
## 使用帮助

1. 需要点击标签后才能在画布进行绘制
2. 绘制以鼠标左键开始,鼠标右键结束,最好每次绘制完一个多边形都在画布上点一下鼠标右键
3. 切换图像自动保存
4. 偶见无法绘制,暂时可以拖动一下另一个多边形的顶点,然后就可以绘制了,还没找到问题

## TODO

- [ ] 添加标注进程
- [ ] 添加左右画布的定位十字丝
- [ ] 增加对tif的支持,保存结果带有坐标
- [ ] 增加大图自动切块
- [ ] 翻译支持
- [ ] 增加一个变化检测的参考图方便定位
2. 绘制以鼠标左键开始,鼠标右键结束(最好每次绘制完一个多边形都在画布上点一下鼠标右键)
3. 切换图像会自动保存

## 参考与辅助资源

- 部分图标:[SuperMap GIS产品彩色系功能图标库](https://www.iconfont.cn/collections/detail?spm=a313x.7781069.1998910419.d9df05512&cid=32519)
- 标签预定义颜色:[色板 | AntV](https://antv.vision/zh/docs/specification/language/palette)
- 打包:[Inno Setup](https://jrsoftware.org/)

## 说明

作为一个C++小白,该项目为个人的第一个C++项目,目前也是一个学习练习项目,因此该项目仍存在较多问题,使用体验不佳,需要慢慢研究,其中写的不好的部分如有机会也希望得到大佬们的一二指点。欢迎大佬们提issue或者pr。
57 changes: 57 additions & 0 deletions README_EN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# LabCD

Englis | [简体中文](./README.md)

https://user-images.githubusercontent.com/71769312/216638896-bd1d5e40-6512-478d-b7b0-927c142aece6.mp4

Remote sensing change detection annotation tool, it was designed with reference to [EISeg](https://github.com/PaddlePaddle/PaddleSeg/tree/release/2.6/EISeg). It can mark the change information of images in two periods in the left and right canvases respectively, and automatically display it in the other canvas synchronously. It makes it easy to use [shortcut keys](https://github.com/geoyee/LabCD/wiki/%E5%BF%AB%E6%8D%B7%E9%94%AE%E5%88%97%E8%A1%A8).

**bilibili: [https://www.bilibili.com/video/BV11j411T7up?t=23.2](https://www.bilibili.com/video/BV11j411T7up?t=23.2)**

**download: [Windows x64 exe](https://github.com/geoyee/LabCD/releases/download/0.2/LabCD-0.2-x64-setup.exe)**

## News

1. Add English support
2. Add annotation process and positioning cross
4. Add tif support, about large image split and IO with geolocation
6. Add CVA reference image

## Environment and dependence

- Visual Studio 2019

- Qt 6.4.0

- OpenCV 4.5.5

- JsonCpp 1.9.5

- GDAL 3.5.3

## Data organization

```
testimgs
├-- A # time1 image folder
| └-- 01.jpg # time1 image
├-- B # time2 image folder
| └-- 01.jpg # time2 image
├-- GT # automatically generated for save annotation
| ├-- 01_pseudo.jpg # pseudo-color map
| ├-- 01.bmp # annotation with single band
| └-- 01.json # custom format used to restore polygons
└-- label.json # automatically generated for label import
```

## Help

1. You need to click the label to draw on the canvas
2. The starts with the left mouse button and ends with the right mouse button (It's best to right-click on the canvas every time you finish drawing a polygon)
3. Automatically saved after switching images

## Reference and resources

- Icon:[SuperMap GIS产品彩色系功能图标库](https://www.iconfont.cn/collections/detail?spm=a313x.7781069.1998910419.d9df05512&cid=32519&lang=en-us)
- Color:[Color Palette | AntV](https://antv.vision/en/docs/specification/language/palette)
- Packaging:[Inno Setup](https://jrsoftware.org/)
Loading

0 comments on commit 1d10bdc

Please sign in to comment.