Skip to content

Commit 2304e36

Browse files
committed
simplify slightly
1 parent 8ecb19c commit 2304e36

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

episodes/instance-segmentation-and-measurements.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ Let's try it.
203203
Create a new cell and run:
204204

205205
```python
206-
# Create an instant segmentation using scikit-image
206+
# Create an instant segmentation
207207

208208
# Import the label function
209209
from skimage.measure import label
@@ -224,8 +224,8 @@ nuclei can be done very easily by taking the maximum value of the instance
224224
segmentation image.
225225

226226
```python
227-
# Calculate number of nuclei from instance segmentation
228-
number_of_nuclei = instance_seg.max()
227+
# Calculate number of nuclei
228+
number_of_nuclei = instance_seg.max()
229229
print("Number of Nuclei =", number_of_nuclei)
230230
```
231231
```output

0 commit comments

Comments
 (0)