Skip to content

Commit

Permalink
Amend course schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
tischi committed Jul 8, 2024
1 parent e5d400f commit 682c867
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
8 changes: 4 additions & 4 deletions _includes/binarization/binarization_act1_skimage_napari.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# Thresholding bright and dim cells

# %%
# Instantiate the napari
# Instantiate napari
import napari
from OpenIJTIFF import open_ij_tiff
viewer = napari.Viewer()

# %%
# Load the image
from OpenIJTIFF import open_ij_tiff
image, *_ = open_ij_tiff('https://github.com/NEUBIAS/training-resources/raw/master/image_data/xy_8bit__two_cells.tif')

# %%
Expand All @@ -35,11 +35,11 @@

# %%
# Overlay the binary image
viewer.add_image(binary_image_two_cells, opacity=0.8)
viewer.add_labels(binary_image_two_cells, opacity=0.8)

# %%
# Apply a higher threshold
# to only select the brighter cell
# and also add this to the viewer
binary_image_one_cell = image > 100
viewer.add_image(binary_image_one_cell, opacity=0.8)
viewer.add_labels(binary_image_one_cell, opacity=0.8)
4 changes: 2 additions & 2 deletions _includes/measure_shapes/measure_shapes_act1.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h4 id='measure_act1'><a href="#measure_act1">Measure object shapes in a digital image</a></h4>
<h4 id='measure_2d_shapes'><a href="#measure_2d_shapes">Measure 2-D shapes in an image</a></h4>

- Using a drawing board, discuss important shape features and concepts, such as,
- Area
Expand All @@ -14,7 +14,7 @@
- Discuss how objects can be distiguished by various shape measurements
- Perform shape measurements in pixel or calibrated units

### Example data
##### Example data

- Fluorescence image with nuclei of different shapes: [xy_16bit_calibrated__nuclei_various_shapes.tif](https://github.com/NEUBIAS/training-resources/raw/master/image_data/xy_16bit_calibrated__nuclei_various_shapes.tif)
- Useful for manual delineation of objects and subsequent measurements
Expand Down
6 changes: 5 additions & 1 deletion courses/2024_07_IDIP-Heidelberg_skimage_napari_beginners.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,13 @@ The first day is an onboarding day to bring everyone to the same level on basic
- [Max and sum projections of an anisotropic image]()

### Image analysis basics (day 2)

1. [Segmentation](https://neubias.github.io/training-resources/segmentation/index.html)
- Arif Khan
1. [Workflow: Basic 2D object analysis](https://neubias.github.io/training-resources/workflow_segment_2d_nuc lei_measure_shape/index.html)
- Arif Khan
- Only discuss the figure:
- The most basic segmentation workflow
- The components of this workflow will be taught now
1. [Manual thresholding](https://neubias.github.io/training-resources/binarization/index.html)
- Arif Khan
1. [Automated thresholding](https://neubias.github.io/training-resources/auto_threshold/index.html)
Expand Down

0 comments on commit 682c867

Please sign in to comment.