@@ -50,7 +50,7 @@ usage: blurgenerator [-h] [--input INPUT] [--input_depth_map INPUT_DEPTH_MAP] [-
50
50
51
51
- Original image
52
52
53
- ![ original image] ( . /doc/test.png)
53
+ ![ original image] ( https://github.com/NatLee/Blur-Generator/raw/main /doc/test.png)
54
54
55
55
#### Usage
56
56
@@ -66,7 +66,7 @@ result = motion_blur(img, size=100, angle=30)
66
66
cv2.imwrite(' ./output.png' , result)
67
67
```
68
68
69
- ![ motion blur image] ( . /doc/motion.png)
69
+ ![ motion blur image] ( https://github.com/NatLee/Blur-Generator/raw/main /doc/motion.png)
70
70
71
71
- Lens blur
72
72
@@ -80,7 +80,7 @@ result = lens_blur(img, radius=5, components=4, exposure_gamma=2)
80
80
cv2.imwrite(' ./output.png' , result)
81
81
```
82
82
83
- ![ lens blur image] ( . /doc/lens.png)
83
+ ![ lens blur image] ( https://github.com/NatLee/Blur-Generator/raw/main /doc/lens.png)
84
84
85
85
- Gaussian blur
86
86
@@ -94,19 +94,19 @@ result = gaussian_blur(img, 100)
94
94
cv2.imwrite(' ./output.png' , result)
95
95
```
96
96
97
- ![ gaussian blur image] ( . /doc/gaussian.png)
97
+ ![ gaussian blur image] ( https://github.com/NatLee/Blur-Generator/raw/main /doc/gaussian.png)
98
98
99
99
### With depth map
100
100
101
101
Feature from this [ issue] ( https://github.com/NatLee/Blur-Generator/issues/1 ) .
102
102
103
103
- Original image
104
104
105
- ![ photo] ( . /doc/depth-test.jpg)
105
+ ![ photo] ( https://github.com/NatLee/Blur-Generator/raw/main /doc/depth-test.jpg)
106
106
107
107
- Depth map
108
108
109
- ![ depth map] ( . /doc/depth-map-test.png)
109
+ ![ depth map] ( https://github.com/NatLee/Blur-Generator/raw/main /doc/depth-map-test.png)
110
110
111
111
#### Usage
112
112
@@ -130,7 +130,7 @@ result = motion_blur_with_depth_map(
130
130
cv2.imwrite(' ./output.png' , result)
131
131
```
132
132
133
- ![ depth motion blur image] ( . /doc/depth-motion-output.png)
133
+ ![ depth motion blur image] ( https://github.com/NatLee/Blur-Generator/raw/main /doc/depth-motion-output.png)
134
134
135
135
- Lens blur with depth map
136
136
@@ -153,7 +153,7 @@ result = lens_blur_with_depth_map(
153
153
cv2.imwrite(' ./output.png' , result)
154
154
```
155
155
156
- ![ depth lens blur image] ( . /doc/depth-lens-output.png)
156
+ ![ depth lens blur image] ( https://github.com/NatLee/Blur-Generator/raw/main /doc/depth-lens-output.png)
157
157
158
158
- Gaussian blur with depth map
159
159
@@ -175,4 +175,26 @@ result = gaussian_blur_with_depth_map(
175
175
cv2.imwrite(' ./output.png' , result)
176
176
```
177
177
178
- ![ depth gaussian blur image] ( ./doc/depth-gaussian-output.png )
178
+ ![ depth gaussian blur image] ( https://github.com/NatLee/Blur-Generator/raw/main/doc/depth-gaussian-output.png )
179
+
180
+ ## Contributor
181
+
182
+ <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
183
+ <!-- prettier-ignore-start -->
184
+ <!-- markdownlint-disable -->
185
+ <table >
186
+ <tbody >
187
+ <tr>
188
+ <td align="center"><a href="https://github.com/NatLee"><img src="https://avatars.githubusercontent.com/u/10178964?v=3?s=100" width="100px;" alt="Nat Lee"/><br /><sub><b>Nat Lee</b></sub></a></td>
189
+ </tr>
190
+ </tbody >
191
+ </table >
192
+
193
+ <!-- markdownlint-restore -->
194
+ <!-- prettier-ignore-end -->
195
+
196
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
197
+
198
+ ## LICENSE
199
+
200
+ [ MIT] ( LICENSE )
0 commit comments