Skip to content

Commit ae5089c

Browse files
authored
Update FeatureExtraction.md with algorithm details
Clarified the core algorithm section in FeatureExtraction.md.
1 parent d7a8886 commit ae5089c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

EMT_data_analysis/tracking_Aug2024/FeatureExtraction.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,13 @@
6363
Core Algorithm (UNCHANGED)
6464

6565
The actual feature computation logic remained the same throughout:
66+
```
6667
for z in range(seg_img.shape[0]):
6768
mask = seg_img[z] > 0
6869
area = np.sum(mask)
6970
mean_intensity = np.mean(raw_img[z][mask]) if area > 0 else 0
7071
total_intensity = np.sum(raw_img[z][mask]) if area > 0 else 0
72+
```
7173

7274
This Z-plane-by-Z-plane computation of:
7375
- Area of all cells mask

0 commit comments

Comments
 (0)