easyiec.problems.ImageSegmentation#
- class easyiec.problems.ImageSegmentation(size=192, n_cells=20, seed=0, image=None, mask=None)[source]#
Bases:
ProblemThreshold-and-morphology segmentation of a synthetic microscopy scene with known ground truth.
Genes: Gaussian smoothing, background correction (subtraction of a large blur), relative threshold, opening and closing radii, minimum object area and polarity. The phenotype shows the found object outlines over the image;
objectives()reports the Dice and Jaccard (IoU) coefficients against the hidden true mask and the error in the number of objects, so the visual judgments of people and vision models can be scored exactly.
Examples using easyiec.problems.ImageSegmentation#
Hybrid evaluation: the AI answers, people decide the hard cases
Hybrid evaluation: the AI answers, people decide the hard cases
Tuning an image-segmentation pipeline with a ground truth
Tuning an image-segmentation pipeline with a ground truth