You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+39-25Lines changed: 39 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,3 @@
1
-
🆕 *For examples running `DiffDRR` on real data, please check out our latest work, [`DiffPose`](https://github.com/eigenvivek/DiffPose).*
2
-
3
1
DiffDRR
4
2
================
5
3
@@ -20,19 +18,53 @@ DiffDRR
20
18
21
19
Most importantly, `DiffDRR` implements DRR synthesis as a PyTorch module, making it interoperable in deep learning pipelines.
22
20
23
-
Below is a comparison of `DiffDRR` to a real X-ray (X-rays and CTs from the [DeepFluoro dataset](https://github.com/rg2/DeepFluoroLabeling-IPCAI2020)):
24
-
25
-

26
-
27
21
## Install
28
22
29
-
Install `DiffDRR` from PyPI:
30
23
```zsh
31
24
pip install diffdrr
32
25
```
33
26
34
27
## Usage
35
28
29
+
### Rendering
30
+
31
+
The physics-based rendering pipeline in `DiffDRR` produces photorealistic synthetic X-rays.
32
+
For example, see a comparison of `DiffDRR` to a real X-ray (X-rays and CTs from the [DeepFluoro dataset](https://github.com/rg2/DeepFluoroLabeling-IPCAI2020)):
33
+
34
+

35
+
36
+
37
+
### 2D/3D Registration
38
+
39
+
The impotus for developing `DiffDRR` was to solve 2D/3D registration
40
+
problems with gradient-based optimization. We demonstrate `DiffDRR`'s
41
+
utility for this usecase with the following experiment.
42
+
Here, we generate two DRRs:
43
+
44
+
1. A fixed DRR from a set of ground truth parameters
45
+
2. A moving DRR from randomly initialized parameters
46
+
47
+
To solve the registration problem, we use gradient descent to maximize
48
+
an image loss similarity metric between the two DRRs. This produces
0 commit comments