The invention discloses a fry counting method based on
image processing, and relates to the technical field of
image processing. Comprising the steps of
image acquisition, fry image target segmentation, image region division, fry target identification, preliminary fry counting, overlapped fry identification and final fry counting. Median filtering denoising is adopted, and the
image quality is guaranteed; a threshold value is determined in combination with global and local maximum between-cluster variance methods, expansion and
corrosion operations are assisted, fry and a background are accurately distinguished, and the
processing efficiency and segmentation precision are improved through a sub-region division strategy; through connected region marking, multi-
feature fusion screening and adjacent region splicing de-weighting, single fry is effectively identified, repeated counting is avoided, distance transformation and
watershed algorithm accurate segmentation are adopted for overlapped fry, then a correction
coefficient optimization result is introduced, and finally high efficiency and high precision of fry counting are achieved. And powerful support is provided for intelligent counting management of
fishery breeding.