The application discloses a kind of based on multi-process focus stack
image fusion method and
system, belong to industrial blemish detection and photography field, including the following steps: quickly acquire the mth, m=1,2,......,N, N is the total number of image, the image of the same object is shot;In the application, traditional
image edge detection method is changed into multi-
image gradient edge detection method based on multi-process, so as to realize the synthesis of focus stack image, which greatly improves the
running time of synthesis, especially when CPU is in multi-core condition, while the method also has the
processing process for image, which can effectively improve the quality of acquired image, thereby effectively improving the subsequent
focus stacking effect, ensuring the quality of final focus stack image, and in the end,
image evaluation process is also provided, which can learn high-quality images according to
deep learning algorithm, compare and evaluate, and evaluate the overall focus stack
image fusion method, which is powerful and suitable for promotion.