Skip to content

Commit 220dea1

Browse files
committed
update examples
1 parent 2c75808 commit 220dea1

27 files changed

Lines changed: 171 additions & 98 deletions

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# CRF_wrap
2-
Matlab and Python wrap of conditional random field (CRF) and fully connected (dense) CRF for 2D and 3D image segmentation, according to the following papers:
1+
# SimpleCRF
2+
Matlab and Python wrap of Conditional Random Field (CRF) and fully connected (dense) CRF for 2D and 3D image segmentation, according to the following papers:
33

44
[1] Yuri Boykov and Vladimir Kolmogorov, "An experimental comparison of min-cut/max-flow algorithms for energy minimization in vision", in IEEE TPAMI, 2004.
55

@@ -9,7 +9,9 @@ Pushmeet Kohli and Philip H.S. Torr. "Efficiently solving dynamic markov random
99

1010
[3] Kamnitsas et al. "Multi-scale 3D convolutional neural networks for lesion segmentation in brain MRI", in Proceeding of ISLES challenge, MICCAI, 2015.
1111

12-
![crf_2d](./data/crf_2d.png)
12+
![maxflow](./data/maxflow.png)
13+
![densecrf1](./data/densecrf1.png)
14+
![densecrf2](./data/densecrf2.png)
1315

1416
# Dependency
1517
This repository depends on the following packages:
@@ -19,3 +21,12 @@ This repository depends on the following packages:
1921
* DenceCRF http://graphics.stanford.edu/projects/drf/
2022

2123
* 3D Fully Connected CRF https://github.com/Kamnitsask/dense3dCrf
24+
25+
# Examples
26+
Some demos of using this package are:
27+
28+
* `examples/demo_maxflow.py`: using maxflow for automatic and interactive segmentation of 2D and 3D images.
29+
30+
* `examples/demo_densecrf.py`: using dense CRF for 2D gray scale and RGB image segmentation.
31+
32+
* `examples/demo_densecrf3d.py`: using 3D dense CRF for 3D multi-modal image segmentation.

data/2013_12_1_img.nii.gz

1.37 MB
Binary file not shown.

data/2013_12_1_init.nii.gz

16.7 KB
Binary file not shown.

data/2013_12_1_scrb.nii.gz

1.82 KB
Binary file not shown.

data/atp.nii.gz

-275 KB
Binary file not shown.

data/brain.png

23.1 KB
Loading

data/brain_mask.png

853 Bytes
Loading

data/brain_scrb.png

953 Bytes
Loading

data/crf_2d.png

-17.6 KB
Binary file not shown.

data/crf_2d_matlab.png

-14.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)