object-splitting.md 1.16 KB
Newer Older
Christian Tischer's avatar
Christian Tischer committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
# Object splitting

## "Intensity based" watershed

<img src='https://g.gravizo.com/svg?
 digraph G {
        shift [fontcolor=white,color=white];
        "intensity image" -> "watershed" -> "label image";
	"label image" -> "pond regions";
}
'/>


### Activity: Explore intensity based watershed 

- Open image: xy_8bit__touching_objects.tif
- Invert image for watershed 
- Apply watershed

### Activity: Use intensity based watershed for object segmentation

- Open intensity image: xy_8bit__touching_objects.tif
- Threshold intensity image => binary image (aka "mask")
- Invert intensity image for watershed 
- Apply watershed, using the mask

## "Shape based" watershed

<img src='https://g.gravizo.com/svg?
 digraph G {
        shift [fontcolor=white,color=white];
        "binary image" -> "distance map" -> "watershed" -> "label image";
	"label image" -> "thickness ponds";
}
'/>

### Activity: Explore shape based watershed

- Open image: xy_8bit__touching_objects_same_intensity.tif
- Threshold -> Binary image
	- Copy binary image (we'll need it as mask later...)
- Binary image -> Distance map
- Distance map -> Watershed 


### Learn more

TODO

### Formative Assessment

TODO