Commit 9645db93 authored by Constantin Pape's avatar Constantin Pape Committed by Christian Tischer
Browse files

Add initial python materials

parent 7b278e5e
``` python
import numpy as np
import matplotlib.pyplot as plt
from skimage import io
# load the image from file
image_file = "/image-analysis-training-resources/image_data/xy_8bit__two_cells.tif"
image = io.imread(image_file)
# binarize the image, so that all values larger than the threshold are foreground
threshold_value = 60
binarized = image > threshold_value
# display the original and the binarized image
fig, ax = plt.subplots(2)
For associated course material in jupyter, [click here](
You can also spin up an interactive [binder session](
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