Intelligent optical microscope multi-focus image fusion technology
Through the multi-focus image fusion technology of intelligent optical microscopes, the problem of unclear observation of defects caused by insufficient focal length positioning in traditional microscopes is solved, and the panoramic observation of height difference defects is achieved and the image clarity is improved, and the work efficiency and observation effect are improved.
Patent Information
- Application Number
- CN202411529824.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-02-07
AI Technical Summary
When taking pictures, traditional optical microscopes cannot clearly capture the entire picture of defects with large height difference due to insufficient focal length positioning, resulting in blurred details and loss of information during observation, which affects the evaluation and subsequent processing of defects.
The multi-focus image fusion technology of intelligent optical microscope is adopted to achieve comprehensive observation of height difference defects and image clarity and detail display through the steps of image alignment, focus extraction, image synthesis, smoothing processing and result preservation.
Panoramic observation is realized, the problem of insufficient traditional focal length positioning is solved, and the defects with large height difference are clearly visible. The local details of the image are retained through advanced fusion algorithms, the observation effect is improved, and the work efficiency is improved through automated image processing flow. , reducing manual intervention.
Smart Images

Figure CN119399041A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of optical microscopes, and in particular to a multi-focus image fusion technology for intelligent optical microscopes. Background Art
[0002] When taking photos with an optical microscope, the traditional method cannot clearly capture the entire picture of defects with large height differences due to insufficient focus positioning. Figure 1 As shown, this results in blurred details and loss of information during observation, which affects the evaluation and subsequent treatment of defects. Summary of the invention
[0003] In order to solve the technical problems existing in the prior art, the present invention provides an intelligent optical microscope multi-focus image fusion technology to achieve comprehensive observation of height difference defects, improve the clarity and detail presentation of microscope images, ensure accurate information is obtained in defect analysis, and improve overall work efficiency and accuracy.
[0004] To achieve the above object, the technical solution of the present invention is as follows:
[0005] An intelligent optical microscope multi-focus image fusion technology comprises the following steps:
[0006] Step 1, image alignment, includes using image processing libraries to ensure alignment of all images, and using feature matching and image transformation techniques to achieve alignment of images with different focal lengths;
[0007] Step 2, focus extraction, applies a high-pass filter to each image to enhance the details of the clear part of the image;
[0008] Step 3: Image synthesis, reconstructing the synthetic image through fusion algorithm;
[0009] Step 4: Smoothing: Use a smoothing or blurring filter to process the synthesized image to eliminate edge artifacts that may be generated during the synthesis process;
[0010] Step 5: Save the result and save the final composite image as a file.
[0011] As a preferred technical solution, in step 1, the image processing library is OpenCV.
[0012] As a preferred technical solution, in step one, the image transformation technology includes perspective transformation.
[0013] As a preferred technical solution, in step three, the image synthesis step includes creating a blank canvas and traversing the pixels of each image; setting a threshold, and retaining the pixels of the current image only when the clarity of a certain area exceeds the set value.
[0014] As a preferred technical solution, in step three, the fusion algorithm includes Laplace pyramid fusion and wavelet transform fusion.
[0015] As a preferred technical solution, in step 4, the smoothing or blurring filter includes Gaussian blur.
[0016] Compared with the prior art, the intelligent optical microscope multi-focus image fusion technology of the present invention has the following beneficial effects:
[0017] (1) It can realize panoramic observation, solve the problem of traditional focal length positioning, and make defects with large height differences clearly visible;
[0018] (2) Through advanced fusion algorithms, local details of the image are retained, improving the observation effect;
[0019] (3) The use of automated image processing processes improves work efficiency and reduces manual intervention. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 This is the effect of taking photos with an optical microscope using the traditional method;
[0021] Figure 2 This is a diagram showing the effect of using the multi-focus image fusion technology of the intelligent optical microscope of the present invention. DETAILED DESCRIPTION
[0022] The technical solution of the present invention is further described below in conjunction with specific implementation methods:
[0023] An intelligent optical microscope multi-focus image fusion technology comprises the following steps:
[0024] Step 1: Image alignment:
[0025] Use an image processing library (such as OpenCV) to ensure alignment of all images;
[0026] Feature matching and image transformation (such as perspective transformation) techniques are used to achieve accurate alignment of images with different focal lengths.
[0027] Step 2: Focus extraction:
[0028] Applies a high-pass filter to each image, enhancing detail in the sharp parts of the image.
[0029] Step 3: Image synthesis, reconstructing the synthetic image through fusion algorithm;
[0030] Specifically, the steps of image synthesis include: creating a blank canvas and traversing the pixels of each image; setting a threshold, and retaining the pixels of the current image only when the clarity of a certain area exceeds the set value, thereby achieving the selection and synthesis of high-quality areas.
[0031] The fusion algorithms include Laplace pyramid fusion and wavelet transform fusion.
[0032] Specifically, Laplacian pyramid fusion decomposes the multi-focus image into a Laplacian pyramid, selects the clearest part of each image at different resolutions, and finally synthesizes the final image through inverse pyramid reconstruction. Its advantage is that it retains the local details of different images and avoids the stitching traces that may appear in simple stitching methods.
[0033] Wavelet transform fusion decomposes the image into low-frequency and high-frequency components through wavelet transform, selects the high-frequency part (representing details) of each image for fusion, and then reconstructs the final image. Its advantage is that it can effectively process the different frequency components of the image, making the fused image more advantageous in detail expression.
[0034] Step 4: Smoothing: using a smoothing or blurring filter (such as Gaussian blur) to process the synthesized image to eliminate edge artifacts that may be generated during the synthesis process;
[0035] Step 5: Save the results and save the final composite image as a file for subsequent analysis and use.
[0036] The present invention significantly improves the ability of optical microscopes in defect detection and analysis through multi-focus image fusion technology. Figure 2 shown.
[0037] This embodiment is only a further explanation of the invention rather than a limitation of the invention. After reading this specification, those skilled in the art may make non-creative modifications to this embodiment as needed. However, as long as they are within the scope of the claims of the invention, they are protected by the patent law.
Claims
1. An intelligent optical microscope multi-focus image fusion technology, characterized in that: The following steps are involved: Step 1, image alignment, includes using image processing libraries to ensure alignment of all images, and using feature matching and image transformation techniques to achieve alignment of images with different focal lengths; Step 2, focus extraction, applies a high-pass filter to each image to enhance the details of the clear part of the image; Step 3: Image synthesis, reconstructing the synthetic image through fusion algorithm; Step 4: Smoothing: Use a smoothing or blurring filter to process the synthesized image to eliminate edge artifacts that may be generated during the synthesis process; Step 5: Save the results and save the final composite image as a file.
2. The intelligent optical microscope multi-focus image fusion technology according to claim 1, characterized in that: In the step 1, OpenCV is selected as the image processing library.
3. The intelligent optical microscope multi-focus image fusion technology according to claim 1, characterized in that: In the step 1, the image transformation technique includes perspective transformation.
4. The intelligent optical microscope multi-focus image fusion technology according to claim 1, characterized in that: In step three, the image synthesis step includes creating a blank canvas and traversing the pixels of each image; setting a threshold and retaining the pixels of the current image only when the clarity of a certain area exceeds the set value.
5. The intelligent optical microscope multi-focus image fusion technology according to claim 1, characterized in that: In the step three, the fusion algorithm includes Laplace pyramid fusion and wavelet transform fusion.
6. The intelligent optical microscope multi-focus image fusion technology according to claim 1, characterized in that: In the step 4, the smoothing or blurring filter includes Gaussian blur.