Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix rendering of animated GIF
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
  • Loading branch information
melissawm and rossbar authored Dec 3, 2020
commit a185612773cff8e7fc1fc3e884d372aa3f1bb4c0
7 changes: 2 additions & 5 deletions content/tutorial-x-ray-image-processing.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,11 @@ Let's create a GIF file with `imageio.mimwrite()` and display the result in the
notebook:

```{code-cell} ipython3
from IPython.display import Image

GIF_PATH = os.path.join(DIR, 'xray_image.gif')
imageio.mimwrite(GIF_PATH, combined_xray_images_1, format= '.gif', fps = 1)

Image(filename=GIF_PATH, width=400, height=400)
```

Which gives us:
![health_progress](tutorial-x-ray-image-processing/xray_image.gif)
## Edge detection using the Laplacian-Gaussian, Gaussian gradient, Sobel, and Canny filters

+++
Expand Down