easyiec.problems.synthetic_cells#
- easyiec.problems.synthetic_cells(size=192, n=20, seed=0, noise=0.1, gradient=0.45, contrast=(0.12, 0.4))[source]#
A microscopy-like scene with its true mask.
Elliptical cells of varying brightness (some faint, some touching) on a strongly uneven, noisy background: a global threshold fails, so background correction, smoothing and morphology must be tuned together.