# BSD500-Segmentation-Evaluator
This repo is used to evaluate the results of segmentation with BSD500 dataset, including Probabilistic Rand Index (PRI), Variation of Information (VI) and Segmentation Covering (SC).
This repo provide the python code for calculating the PRI, VI and SC between a single prediction and groundTruth.
The python code is completed with reference to the matlab code which are provided by the BSD500 benchmark.
reference: [https://www2.eecs.berkeley.edu/Research/Projects/CS/vision/grouping/resources.html](https://www2.eecs.berkeley.edu/Research/Projects/CS/vision/grouping/resources.html)
## Dependencies
```
# Build a conda enviroment
conda create -n bsd-evaluation python=3.7
source activate bsd-evaluation
conda install numpy
pip install scipy tqdm scikit-image matplotlib
```
## Testing data
![fig1](./figures/Figure_1.png)
![fig2](./figures/Figure_2.png)
![fig3](./figures/Figure_3.png)
![fig4](./figures/Figure_4.png)
![fig5](./figures/Figure_5.png)
## Testing Example
```
cd python
python test_bench.py
```
## Results:
- mean SC is: 0.6355703654947689
- mean PRI is: 0.828961683464492
- mean VI is: 1.507315850885107
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
region growing.rar (64个子文件)
region growing
189080.jpg 50KB
lena.bmp 257KB
c.bmp 85KB
My_RegionGrowing.m 2KB
image.mat 48KB
main.m 169B
B.mat 224B
246009.jpg 63KB
blood.bmp 423KB
BSD500-Segmentation-Evaluator-master
matlab
benchmarks
evaluation_reg_image.m 4KB
match_segmentations.m 1KB
collect_eval_reg.m 4KB
plot_eval.m 1KB
regionBench.m 2KB
match_segmentations2.m 2KB
test_benchs.m 387B
README.md 1KB
data
figures
Figure_5.png 425KB
Figure_3.png 523KB
Figure_1.png 162KB
Figure_4.png 553KB
Figure_2.png 409KB
segs
8068.mat 224B
3063.mat 16KB
2018.mat 19KB
6046.mat 14KB
5096.mat 14KB
images
3063.jpg 46KB
8068.jpg 53KB
6046.jpg 83KB
2018.jpg 73KB
5096.jpg 70KB
test_5
3063_ev2.txt 55B
5096_ev2.txt 55B
6046_ev3.txt 11B
2018_ev2.txt 55B
2018_ev3.txt 11B
3063_ev3.txt 11B
6046_ev4.txt 33B
5096_ev4.txt 33B
6046_ev2.txt 55B
2018_ev4.txt 33B
5096_ev3.txt 11B
3063_ev4.txt 33B
groundTruth
8068.mat 33KB
3063.mat 34KB
2018.mat 42KB
6046.mat 46KB
5096.mat 41KB
.gitignore 53B
color_regiongrowing
189080.jpg 50KB
lenacolor.tiff 768KB
108004_1.jpg 104KB
2.jpg 18KB
61034.mat 42KB
2018_seg.mat 97KB
0001.bmp 314KB
color.m 6KB
61034.jpg 72KB
test.jpg 20KB
2018.jpg 73KB
pcnn_region_growing.m 3KB
2018.jpg 73KB
practice.m 60B
共 64 条
- 1
资源评论
- world6802021-11-11用户下载后在一定时间内未进行评价,系统默认好评。
- 普通网友2023-03-16终于找到了超赞的宝藏资源,果断冲冲冲,支持!
- qq_26086942832023-07-12终于找到了超赞的宝藏资源,果断冲冲冲,支持!
- junfei12312022-03-08用户下载后在一定时间内未进行评价,系统默认好评。
- 2301_763185822023-05-11资源内容详细全面,与描述一致,对我很有用,有一定的使用价值。
余淏
- 粉丝: 52
- 资源: 3975
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功