Cell Nucleus Segmentation
A computer-vision pipeline that finds and counts cell nuclei in microscope images, then groups them by their measured features.
Python · OpenCV · NumPy · pandas · scikit-learn · Matplotlib · Jupyter
Segmentation
Working with the 2018 Data Science Bowl's stage-one test images, I started from Otsu and adaptive thresholding with morphological cleanup. That merged touching nuclei, so the second version measures how dense each image is and picks its watershed marker threshold to match: dense images get smaller, cleaner markers, and sparse ones get markers that reach into merged regions.
Features and clustering
For each segmented nucleus the notebook measures area, perimeter, circularity, mean intensity, and position. I standardized those features for 440 nuclei and clustered them with k-means, plotting size against intensity to look for distinct groups of cells.