The invention relates to the technical field of
image processing, and particularly discloses an adaptive multi-focus
restoration method based on
plankton digital holographic images, which comprises the following steps of: shooting a holographic in-situ image, reconstructing the in-situ image, and performing
edge detection and threshold segmentation on the reconstructed image to obtain contour information of
plankton in the reconstructed image; and
cutting the reconstructed image
data set according to the contour information to obtain a target image
data set, generating a definition index basedon the gradient and variance of the target image, screening the clewest target
image based on the definition index, and splicing the clewest target image to the in-situ image according to the original coordinates to obtain the target image. According to the invention, a clear image of
plankton can be extracted, a huge
data processing problem existing in an acquisition
system is effectively solved, the work amount of marine plankton detection is effectively simplified, and then the plankton quantity change is effectively monitored so as to forecast disasters such as
red tide and the like.