Commit a6491577 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

Update README.md

parent 67a8c2d3
...@@ -5,6 +5,8 @@ Class imagej_tiff to read multilayer tiff files and parse tags ...@@ -5,6 +5,8 @@ Class imagej_tiff to read multilayer tiff files and parse tags
# Examples # Examples
``` ```
#!/usr/bin/env python3
from PIL import Image from PIL import Image
import xml.etree.ElementTree as ET import xml.etree.ElementTree as ET
import numpy as np import numpy as np
...@@ -12,9 +14,9 @@ import matplotlib.pyplot as plt ...@@ -12,9 +14,9 @@ import matplotlib.pyplot as plt
import imagej_tiff as ijt import imagej_tiff as ijt
tiff = ijt.imagej_tiff('test.tiff') tiff = ijt.imagej_tiff('test.tiff')
print(ijt.labels) print(tiff.nimages)
print(ijt.infos) print(tiff.labels)
print(ijt.infos) print(tiff.infos)
tiff.show_images(['X-corr','Y-corr',0,2]) tiff.show_images(['X-corr','Y-corr',0,2])
plt.show() plt.show()
``` ```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment